1 2015-07-21 Mike Frysinger <vapier@gentoo.org>
4 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
6 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
8 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
11 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
12 (spawn_thread): New function.
13 (load): Rename to reg_dtor_and_close. Move dlopen to...
14 (do_test): ... here. Use IS_LOADED to test for its
17 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
19 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
24 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
29 2015-07-16 David S. Miller <davem@davemloft.net>
31 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
33 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
37 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
38 fail output information.
40 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
44 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
45 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
46 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
47 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
48 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
50 2015-07-16 Mike Frysinger <vapier@gentoo.org>
52 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
53 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
54 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
55 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
57 2015-07-16 Mike Frysinger <vapier@gentoo.org>
59 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
60 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
62 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
64 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
66 * tst-nodelete-opened.c (do_test): Add comment to clarify how
69 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
72 * elf/tst-nodelete-opened.c: New test case.
73 * elf/tst-nodelete-opened-lib.c: New test case module.
74 * elf/Makefile (tests, modules-names): Use them.
75 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
78 2015-07-15 David S. Miller <davem@davemloft.net>
80 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
82 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
83 * sysdeps/sparc/sparc64/Makefile: Likewise.
84 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
85 Remove space from macro define.
86 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
88 2015-07-15 Pravin Satpute <psatpute@redhat.com>
91 * locale/iso-639.def: Update Bhili and Tulu language codes as
94 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
96 * elf/tst-leaks1.c (main): Converted to ...
98 (TEST_FUNCTION): New macro.
99 Include test-skeleton.c.
100 * localedata/tst-langinfo.c (main): Converted to ...
102 (TEST_FUNCTION): New macro.
103 Include test-skeleton.c.
104 * math/test-fpucw.c (main): Converted to ...
106 (TEST_FUNCTION): New macro.
107 Include test-skeleton.c.
108 * math/test-tgmath.c (main): Converted to ...
110 (TEST_FUNCTION): New macro.
111 Include test-skeleton.c.
112 * math/test-tgmath2.c (main): Converted to ...
114 (TEST_FUNCTION): New macro.
115 Include test-skeleton.c.
116 * setjmp/tst-setjmp.c (main): Converted to ...
118 (TEST_FUNCTION): New macro.
119 Include test-skeleton.c.
120 * stdio-common/tst-sscanf.c (main): Converted to ...
122 (TEST_FUNCTION): New macro.
123 Include test-skeleton.c.
124 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
126 (TEST_FUNCTION): New macro.
127 Include test-skeleton.c.
129 * elf/tst-audit9.c (main): Converted to ...
131 (TEST_FUNCTION): New macro.
132 Include test-skeleton.c.
134 2015-07-15 Mike Frysinger <vapier@gentoo.org>
136 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
138 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
140 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
143 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
145 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
147 2015-07-14 Roland McGrath <roland@hack.frob.com>
149 * sysdeps/generic/dl-fileid.h: New file.
150 * sysdeps/posix/dl-fileid.h: New file.
151 * sysdeps/nacl/dl-fileid.h: New file.
152 * include/link.h: Include <dl-fileid.h>.
153 (struct link_map): Replace l_dev and l_ino with l_file_id.
154 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
155 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
156 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
158 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
160 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
162 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
164 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
166 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
168 (tst-nodelete-zmodiff): Likewise.
169 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
171 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
173 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
175 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
177 * sysdeps/aarch64/fpu/math_private.h
178 (define math_opt_barrier): Add AArch64 version.
179 (math_force_eval): Likewise.
181 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
183 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
185 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
187 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
188 %ld with %jd and cast to intmax_t.
189 (do_test_length_zero): Likewise.
191 2015-07-10 Roland McGrath <roland@hack.frob.com>
193 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
195 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
197 * sysdeps/tile/libm-test-ulps: Regenerated.
199 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
200 Comment out the whole function, not just its body.
202 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
204 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
207 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
209 2015-07-10 Torvald Riegel <triegel@redhat.com>
211 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
212 (sem_assume_only_signals_cause_futex_EINTR): Remove.
214 2015-07-10 Torvald Riegel <triegel@redhat.com>
216 * sysdeps/nptl/futex-internal.h: New file.
217 * sysdeps/nacl/futex-internal.h: New file.
218 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
219 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
221 (setxid_unmark_thread): Likewise.
222 (__nptl_setxid): Likewise.
223 (__wait_lookup_done): Likewise.
224 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
225 * nptl/nptl-init.c (sighandler_setxid): Likewise.
226 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
227 * nptl/pthread_once.c (clear_once_control): Likewise.
228 (__pthread_once_slow): Likewise.
229 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
230 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
231 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
232 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
233 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
234 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
236 (__pthread_rwlock_rdlock): Likewise.
237 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
239 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
241 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
243 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
244 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
246 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
247 __ASSUME_PRIVATE_FUTEX check.
248 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
249 Check that shared futexes are supported.
250 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
251 wrappers with error checking.
252 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
253 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
254 * nptl/pthread_barrierattr_setpshared.c
255 (pthread_barrierattr_setpshared): Check that shared futexes are
257 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
259 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
261 * nptl/sem_init.c (futex_private_if_supported): Remove.
262 (__new_sem_init): Adapt and check that shared futexes are supported.
263 * nptl/sem_open.c (sem_open): Likewise.
264 * nptl/sem_post.c (futex_wake): Remove.
265 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
266 (do_futex_wait): Use futex wrappers with error checking.
267 * nptl/sem_wait.c: Include lowlevellock.h.
268 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
269 Use futex_supports_pshared.
270 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
271 Use futex wrappers with error checking.
272 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
274 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
275 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
276 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
277 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
278 (futex_wake): Likewise.
279 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
280 (do_futex_wait): Use futex wrappers with error checking.
281 (__new_sem_wait_slow): Update EINTR handling.
282 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
284 2015-07-09 Martin Sebor <msebor@redhat.com>
287 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
288 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
289 * nptl/Makefile (test-xfail-tst-once5): Define.
291 2015-07-09 Roland McGrath <roland@hack.frob.com>
293 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
294 * elf/dl-minimal.c: For readability, reorder some definitions and
295 introduce more page breaks. Include <stdio.h>.
296 (__libc_fatal): New function.
298 * include/unistd.h: Add rtld_hidden_proto for _exit.
299 * posix/_exit.c: Add rtld_hidden_def.
300 * sysdeps/mach/hurd/_exit.c: Likewise.
301 * sysdeps/nacl/_exit.c: Likewise.
302 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
303 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
305 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
307 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
308 bndmov encoding with zero displacement.
310 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
311 H.J. Lu <hongjiu.lu@intel.com>
314 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
315 * sysdeps/i386/configure: Regenerated.
316 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
317 (_dl_runtime_profile): Save and restore Intel MPX return bound
318 registers when calling _dl_call_pltexit. Add
319 PRESERVE_BND_REGS_PREFIX before return.
320 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
321 (LRV_BND1_OFFSET): Likewise.
322 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
324 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
325 typo in bndmov encoding.
326 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
327 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
328 branch instructions to preserve bounds.
330 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
333 [GLIBC_2.22]: Add fmemopen.
335 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
337 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
338 returns an error, also try to use host port from __mach_host_self for
340 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
342 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
346 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
347 Fix pr_uid and pr_gid members.
348 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
349 definition to elf_greg_t.
351 2015-07-08 Roland McGrath <roland@hack.frob.com>
354 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
355 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
356 * sysdeps/arm/configure: Regenerated.
357 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
358 (test-xfail-tst-tlsalign-static): Variable removed.
360 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
361 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
362 rather than explicit 'ln -s'.
364 * resolv/rpc/netdb.h: New file.
365 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
367 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
369 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
371 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
380 * include/stdio.h (fmemopen): Remove hidden prototype.
381 (__fmemopen): Add new hidden prototype.
382 * libio/Makefile: Add oldfmemopen object.
383 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
384 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
386 * libio/oldfmemopen.c: New file: old fmemopen implementation for
387 symbol compatibility.
388 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
389 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
391 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
392 on append and read mode.
393 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
395 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
396 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
397 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
398 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
400 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
401 [GLIBC_2.22]: Likewise.
402 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
404 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
406 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
407 [GLIBC_2.22]: Likewise.
408 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
409 [GLIBC_2.22]: Likewise.
410 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
411 [GLIBC_2.22]: Likewise.
412 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
413 [GLIBC_2.22]: Likewise.
414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
415 [GLIBC_2.22]: Likewise.
416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
417 [GLIBC_2.22]: Likewise.
418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
419 [GLIBC_2.22]: Likewise.
420 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
422 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
424 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
425 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
426 [GLIBC_2.22]: Likewise.
427 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
428 [GLIBC_2.22]: Likewise.
429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
430 [GLIBC_2.22]: Likewise.
431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
432 [GLIBC_2.22]: Likewise.
433 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
435 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
437 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
439 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
440 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
442 2015-07-08 Carlos O'Donell <carlos@redhat.com>
445 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
446 IPV6_PATHMTU, and IPV6_DONTFRAG.
448 2015-07-08 Feng Gao <gfree.wind@gmail.com>
450 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
452 * libio/oldfileops.c: Likewise.
453 * libio/wfileops.c: Likewise.
455 2015-07-08 Mike Frysinger <vapier@gentoo.org>
457 * nscd/selinux.c: Delete selinux/flask.h include.
459 2015-07-08 Mike Frysinger <vapier@gentoo.org>
462 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
463 (putpwent): Likewise.
464 (getpwnam): Likewise.
465 (getpwent_r): Likewise.
466 (getpwuid_r): Likewise.
467 (getpwnam_r): Likewise.
468 (fgetpwent_r): Likewise.
470 2015-07-08 Carlos O'Donell <carlos@redhat.com>
473 * inet/rcmd.c (__validuser2_sa): Check user first to
474 short-circuit host check.
476 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
477 Mikhail Ilin <m.ilin@samsung.com>
480 * elf/Makefile (tests): Add tst-nodelete.
481 (modules-names): Add tst-nodelete-uniquemod.
482 (tst-nodelete-uniquemod.so-no-z-defs): New.
483 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
484 (tst-nodelete-zmod.so-no-z-defs): Likewise.
485 ($(objpfx)tst-nodelete): Likewise.
486 ($(objpfx)tst-nodelete.out): Likewise.
487 (LDFLAGS-tst-nodelete): Likewise.
488 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
489 * elf/dl-close.c (_dl_close_worker): Add a parameter to
490 implement forced object deletion.
491 (_dl_close): Pass false to _dl_close_worker.
492 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
493 * elf/tst-nodelete.cc: New file.
494 * elf/tst-nodeletelib.cc: Likewise.
495 * elf/tst-znodeletelib.cc: Likewise.
496 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
498 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
501 * stdlib/Makefile ($(objpfx)tst-makecontext3):
503 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
504 is not called infinitely times.
505 (backtrace_helper): New function.
506 (trace_arg): New struct.
507 (st1): Enlarge stack size.
508 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
509 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
510 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
513 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
515 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
517 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
519 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
520 Include sys/types.h instead of bits/types.h.
521 Remove inclusion of bits/wordsize.h.
523 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
525 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
526 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
527 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
528 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
529 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
530 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
532 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
534 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
536 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
537 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
538 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
540 * sysdeps/i386/link-defines.sym: New file.
542 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
544 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
545 (modules-names): Add tst-auditmod3a tst-auditmod3b.
546 ($(objpfx)tst-audit3): New rule.
547 ($(objpfx)tst-audit3.out): Likewise.
548 * sysdeps/i386/tst-audit3.c: New file.
549 * sysdeps/i386/tst-audit3.h: Likewise.
550 * sysdeps/i386/tst-auditmod3a.c: Likewise.
551 * sysdeps/i386/tst-auditmod3b.c: Likewise.
553 2015-07-07 Torvald Riegel <triegel@redhat.com>
556 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
558 (__strcat_c): Likewise.
559 (__strcat_g): Likewise.
561 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
564 * misc/sbrk.c: Set errno to ENOMEM on overflow.
566 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
568 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
569 New function. (__ieee754_sqrtf): New function.
570 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
572 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
575 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
577 * sysdeps/ieee754/support.c: Remove unused file.
579 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
581 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
582 registers instead of d ones so the layout is kernel abi compatible.
583 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
584 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
587 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
589 * sysdeps/aarch64/libm-test-ulps: Regenerated.
591 2015-07-01 Joseph Myers <joseph@codesourcery.com>
594 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
595 and return argument in case of subnormal argument.
597 2015-07-01 Martin Sebor <msebor@redhat.com>
600 * nptl/Makefile: Add tst-once5.cc.
601 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
602 Remove macro redefinitions.
603 * nptl/tst-once5.cc: New test.
605 2015-07-01 Joseph Myers <joseph@codesourcery.com>
607 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
609 * sysdeps/arm/libm-test-ulps: Regenerated.
611 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
612 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
614 2015-06-30 Torvald Riegel <triegel@redhat.com>
616 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
617 lll_lock_wait_private and lll_futex_wake probes.
619 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
620 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
622 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
624 * sysdeps/x86_64/bits/atomic.h: Likewise.
625 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
626 to atomic_spin_nop and move ...
627 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
629 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
630 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
631 atomic_spin_nop instead of BUSY_WAIT_NOP.
632 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
634 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
635 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
636 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
637 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
638 instead of atomic_delay.
640 2015-06-29 Joseph Myers <joseph@codesourcery.com>
643 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
644 X_ADJ not X when adjusting exponent.
645 (__ieee754_gamma_r): Do intermediate computations in
646 round-to-nearest then adjust overflowing and underflowing results
648 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
649 of X_ADJ not X when adjusting exponent.
650 (__ieee754_gammaf_r): Do intermediate computations in
651 round-to-nearest then adjust overflowing and underflowing results
653 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
654 log of X_ADJ not X when adjusting exponent.
655 (__ieee754_gammal_r): Do intermediate computations in
656 round-to-nearest then adjust overflowing and underflowing results
657 as needed. Use 1.0L not 1.0f as numerator of division.
658 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
659 log of X_ADJ not X when adjusting exponent.
660 (__ieee754_gammal_r): Do intermediate computations in
661 round-to-nearest then adjust overflowing and underflowing results
662 as needed. Use 1.0L not 1.0f as numerator of division.
663 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
664 of X_ADJ not X when adjusting exponent.
665 (__ieee754_gammal_r): Do intermediate computations in
666 round-to-nearest then adjust overflowing and underflowing results
667 as needed. Use 1.0L not 1.0f as numerator of division.
668 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
669 to auto-libm-test-in.
670 (tgamma_test): Use ALL_RM_TEST.
671 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
672 tests of tgamma with spurious-overflow.
673 * math/auto-libm-test-out: Regenerated.
674 * math/gen-libm-have-vector-test.sh: Do not check for START.
675 * sysdeps/i386/fpu/libm-test-ulps: Update.
676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
679 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
680 arguments, just return 0.5 times the argument, with underflow
682 * math/auto-libm-test-in: Add more tests of j1.
683 * math/auto-libm-test-out: Regenerated.
686 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
687 (__ieee754_j1): Force underflow exception for small results.
688 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
689 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
690 (__ieee754_j1f): Force underflow exception for small results.
691 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
692 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
693 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
694 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
695 (__ieee754_j1l): Force underflow exception for small results.
696 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
697 * math/auto-libm-test-in: Add more tests of j1 and jn.
698 * math/auto-libm-test-out: Regenerated.
700 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
701 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
705 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
707 (MS_RMT_MASK): Include MS_LAZYTIME.
709 2015-06-26 Mel Gorman <mgorman@suse.de>
712 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
715 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
717 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
718 (DT_MIPS_NUM): Update.
719 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
722 2015-06-25 Joseph Myers <joseph@codesourcery.com>
726 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
727 round-to-nearest internally then recompute results that
728 underflowed to zero in the original rounding mode.
729 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
730 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
731 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
732 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
733 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
734 * sysdeps/i386/fpu/libm-test-ulps: Update.
735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
737 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
739 * NEWS: Fixed description of link with vector math library.
741 2015-06-25 Andreas Schwab <schwab@suse.de>
744 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
745 * libio/test-fmemopen.c (do_test): Add test for it.
747 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
750 * Makeconfig (no-pie-ldflag): New.
751 (+link): Set to $(+link-pie) if default to PIE.
752 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
753 * config.make.in (build-pie-default): New.
754 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
755 is default. AC_SUBST.
756 * configure: Regenerated.
757 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
759 2015-06-24 Roland McGrath <roland@hack.frob.com>
761 * nptl/descr.h (struct pthread): Change type of field setxid_futex
764 * resolv/gai_misc.h (struct waitlist): Change type of field
765 counterp to 'volatile unsigned int *'.
766 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
767 FUTEXADDR and OLDVAL.
768 * resolv/getaddrinfo_a.c (getaddrinfo_a):
769 Give local variable TOTAL type 'volatile unsigned int'.
770 (struct async_waitlist): Change type of field counter to 'unsigned int'.
771 * resolv/gai_suspend.c (gai_suspend):
772 Give local variable CNTR type 'unsigned int'.
774 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
775 counterp to 'volatile unsigned int *'.
776 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
777 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
778 (aio_suspend): Give local variable CNTR type 'unsigned int'.
779 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
780 Give local variable TOTAL type 'volatile unsigned int'.
781 (struct async_waitlist): Change type of field counter to 'unsigned int'.
783 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
786 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
787 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
788 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
789 comment for i386/x86-64.
790 (test-xfail-tst-tlsalign-extern-static): Removed.
792 2015-06-24 Joseph Myers <joseph@codesourcery.com>
794 * math/test-double.h: New file.
795 * math/test-float.h: Likewise.
796 * math/test-ldouble.h: Likewise.
797 * math/test-math-inline.h: Likewise.
798 * math/test-math-no-inline.h: Likewise.
799 * math/test-math-scalar.h: Likewise.
800 * math/test-math-vector.h: Likewise.
801 * math/test-vec-loop.h: Remove file. Contents moved into
803 * math/libm-test.inc (MATHCONST): Do not document macro.
804 * math/test-double.c: Include test-double.h, test-math-no-inline.h
805 and test-math-scalar.h.
806 (FUNC): Remove macro.
807 (FUNC_TEST): Likewise.
809 (MATHCONST): Likewise.
810 (PRINTF_EXPR): Likewise.
811 (PRINTF_XEXPR): Likewise.
812 (PRINTF_NEXPR): Likewise.
813 (TEST_DOUBLE): Likewise.
814 (TEST_MATHVEC): Likewise.
815 (__NO_MATH_INLINES): Likewise.
816 * math/test-float.c: Include test-float.h, test-math-no-inline.h
817 and test-math-scalar.h.
818 (FUNC): Remove macro.
819 (FUNC_TEST): Likewise.
821 (MATHCONST): Likewise.
822 (PRINTF_EXPR): Likewise.
823 (PRINTF_XEXPR): Likewise.
824 (PRINTF_NEXPR): Likewise.
825 (TEST_FLOAT): Likewise.
826 (TEST_MATHVEC): Likewise.
827 (__NO_MATH_INLINES): Likewise.
828 * math/test-idouble.c: Include test-double.h, test-math-inline.h
829 and test-math-scalar.h.
830 (FUNC): Remove macro.
831 (FUNC_TEST): Likewise.
833 (MATHCONST): Likewise.
834 (PRINTF_EXPR): Likewise.
835 (PRINTF_XEXPR): Likewise.
836 (PRINTF_NEXPR): Likewise.
837 (TEST_DOUBLE): Likewise.
838 (TEST_MATHVEC): Likewise.
839 (TEST_INLINE): Likewise.
840 (__NO_MATH_INLINES): Likewise.
841 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
843 (FUNC): Remove macro.
844 (FUNC_TEST): Likewise.
846 (MATHCONST): Likewise.
847 (PRINTF_EXPR): Likewise.
848 (PRINTF_XEXPR): Likewise.
849 (PRINTF_NEXPR): Likewise.
850 (TEST_FLOAT): Likewise.
851 (TEST_MATHVEC): Likewise.
852 (TEST_INLINE): Likewise.
853 (__NO_MATH_INLINES): Likewise.
854 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
855 and test-math-scalar.h.
856 (FUNC): Remove macro.
857 (FUNC_TEST): Likewise.
859 (MATHCONST): Likewise.
860 (PRINTF_EXPR): Likewise.
861 (PRINTF_XEXPR): Likewise.
862 (PRINTF_NEXPR): Likewise.
863 (TEST_LDOUBLE): Likewise.
864 (TEST_MATHVEC): Likewise.
865 (TEST_INLINE): Likewise.
866 (__NO_MATH_INLINES): Likewise.
867 * math/test-ldouble.c: Include test-ldouble.h,
868 test-math-no-inline.h and test-math-scalar.h.
869 (FUNC): Remove macro.
870 (FUNC_TEST): Likewise.
872 (MATHCONST): Likewise.
873 (PRINTF_EXPR): Likewise.
874 (PRINTF_XEXPR): Likewise.
875 (PRINTF_NEXPR): Likewise.
876 (TEST_LDOUBLE): Likewise.
877 (TEST_MATHVEC): Likewise.
878 (__NO_MATH_INLINES): Likewise.
879 * math/test-double-vlen2.h: Include test-double.h,
880 test-math-no-inline.h and test-math-vector.h.
881 (FLOAT): Remove macro.
883 (MATHCONST): Likewise.
884 (PRINTF_EXPR): Likewise.
885 (PRINTF_XEXPR): Likewise.
886 (PRINTF_NEXPR): Likewise.
887 (TEST_DOUBLE): Likewise.
888 (TEST_MATHVEC): Likewise.
889 (__NO_MATH_INLINES): Likewise.
892 (WRAPPER_NAME): Likewise.
893 (WRAPPER_DECL): Likewise.
894 (WRAPPER_DECL_ff): Likewise.
895 (WRAPPER_DECL_fFF): Likewise.
896 (VECTOR_WRAPPER): Likewise.
897 (VECTOR_WRAPPER_ff): Likewise.
898 (VECTOR_WRAPPER_fFF): Likewise.
899 (VEC_LEN): New macro.
900 * math/test-double-vlen4.h: Include test-double.h,
901 test-math-no-inline.h and test-math-vector.h.
902 (FLOAT): Remove macro.
904 (MATHCONST): Likewise.
905 (PRINTF_EXPR): Likewise.
906 (PRINTF_XEXPR): Likewise.
907 (PRINTF_NEXPR): Likewise.
908 (TEST_DOUBLE): Likewise.
909 (TEST_MATHVEC): Likewise.
910 (__NO_MATH_INLINES): Likewise.
913 (WRAPPER_NAME): Likewise.
914 (WRAPPER_DECL): Likewise.
915 (WRAPPER_DECL_ff): Likewise.
916 (WRAPPER_DECL_fFF): Likewise.
917 (VECTOR_WRAPPER): Likewise.
918 (VECTOR_WRAPPER_ff): Likewise.
919 (VECTOR_WRAPPER_fFF): Likewise.
920 (VEC_LEN): New macro.
921 * math/test-double-vlen8.h: Include test-double.h,
922 test-math-no-inline.h and test-math-vector.h.
923 (FLOAT): Remove macro.
925 (MATHCONST): Likewise.
926 (PRINTF_EXPR): Likewise.
927 (PRINTF_XEXPR): Likewise.
928 (PRINTF_NEXPR): Likewise.
929 (TEST_DOUBLE): Likewise.
930 (TEST_MATHVEC): Likewise.
931 (__NO_MATH_INLINES): Likewise.
934 (WRAPPER_NAME): Likewise.
935 (WRAPPER_DECL): Likewise.
936 (WRAPPER_DECL_ff): Likewise.
937 (WRAPPER_DECL_fFF): Likewise.
938 (VECTOR_WRAPPER): Likewise.
939 (VECTOR_WRAPPER_ff): Likewise.
940 (VECTOR_WRAPPER_fFF): Likewise.
941 (VEC_LEN): New macro.
942 * math/test-float-vlen4.h: Include test-float.h,
943 test-math-no-inline.h and test-math-vector.h.
944 (FLOAT): Remove macro.
946 (MATHCONST): Likewise.
947 (PRINTF_EXPR): Likewise.
948 (PRINTF_XEXPR): Likewise.
949 (PRINTF_NEXPR): Likewise.
950 (TEST_FLOAT): Likewise.
951 (TEST_MATHVEC): Likewise.
952 (__NO_MATH_INLINES): Likewise.
955 (WRAPPER_NAME): Likewise.
956 (WRAPPER_DECL): Likewise.
957 (WRAPPER_DECL_ff): Likewise.
958 (WRAPPER_DECL_fFF): Likewise.
959 (VECTOR_WRAPPER): Likewise.
960 (VECTOR_WRAPPER_ff): Likewise.
961 (VECTOR_WRAPPER_fFF): Likewise.
962 (VEC_LEN): New macro.
963 * math/test-float-vlen8.h: Include test-float.h,
964 test-math-no-inline.h and test-math-vector.h.
965 (FLOAT): Remove macro.
967 (MATHCONST): Likewise.
968 (PRINTF_EXPR): Likewise.
969 (PRINTF_XEXPR): Likewise.
970 (PRINTF_NEXPR): Likewise.
971 (TEST_FLOAT): Likewise.
972 (TEST_MATHVEC): Likewise.
973 (__NO_MATH_INLINES): Likewise.
976 (WRAPPER_NAME): Likewise.
977 (WRAPPER_DECL): Likewise.
978 (WRAPPER_DECL_ff): Likewise.
979 (WRAPPER_DECL_fFF): Likewise.
980 (VECTOR_WRAPPER): Likewise.
981 (VECTOR_WRAPPER_ff): Likewise.
982 (VECTOR_WRAPPER_fFF): Likewise.
983 (VEC_LEN): New macro.
984 * math/test-float-vlen16.h: Include test-float.h,
985 test-math-no-inline.h and test-math-vector.h.
986 (FLOAT): Remove macro.
988 (MATHCONST): Likewise.
989 (PRINTF_EXPR): Likewise.
990 (PRINTF_XEXPR): Likewise.
991 (PRINTF_NEXPR): Likewise.
992 (TEST_FLOAT): Likewise.
993 (TEST_MATHVEC): Likewise.
994 (__NO_MATH_INLINES): Likewise.
997 (WRAPPER_NAME): Likewise.
998 (WRAPPER_DECL): Likewise.
999 (WRAPPER_DECL_ff): Likewise.
1000 (WRAPPER_DECL_fFF): Likewise.
1001 (VECTOR_WRAPPER): Likewise.
1002 (VECTOR_WRAPPER_ff): Likewise.
1003 (VECTOR_WRAPPER_fFF): Likewise.
1004 (VEC_LEN): New macro.
1005 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1007 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1008 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1009 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1010 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1011 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1012 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1013 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1015 2015-06-24 Roland McGrath <roland@hack.frob.com>
1017 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1018 (__getlogin_r): ... this.
1020 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1023 * math/s_ccosh.c (__ccosh): Compare with least normal value
1024 instead of comparing class with FP_SUBNORMAL.
1025 * math/s_ccoshf.c (__ccoshf): Likewise.
1026 * math/s_ccoshl.c (__ccoshl): Likewise.
1027 * math/s_cexp.c (__cexp): Likewise.
1028 * math/s_cexpf.c (__cexpf): Likewise.
1029 * math/s_cexpl.c (__cexpl): Likewise.
1030 * math/s_csin.c (__csin): Likewise.
1031 * math/s_csinf.c (__csinf): Likewise.
1032 * math/s_csinh.c (__csinh): Likewise.
1033 * math/s_csinhf.c (__csinhf): Likewise.
1034 * math/s_csinhl.c (__csinhl): Likewise.
1035 * math/s_csinl.c (__csinl): Likewise.
1036 * math/s_ctan.c (__ctan): Likewise.
1037 * math/s_ctanf.c (__ctanf): Likewise.
1038 * math/s_ctanh.c (__ctanh): Likewise.
1039 * math/s_ctanhf.c (__ctanhf): Likewise.
1040 * math/s_ctanhl.c (__ctanhl): Likewise.
1041 * math/s_ctanl.c (__ctanl): Likewise.
1042 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1043 csin, csinh, ctan and ctanh.
1044 * math/auto-libm-test-out: Regenerated.
1045 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1046 * sysdeps/i386/fpu/libm-test-ulps: Update.
1047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1049 2015-06-24 Roland McGrath <roland@hack.frob.com>
1051 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1052 return value is wrong, print the expected value too.
1054 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
1057 * elf/readlib.c (is_gdb_python_file): New.
1058 (process_file): Don't issue errors on filenames with -gdb.py
1061 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1063 * math/auto-libm-test-in: Add more tests of csin and csinh.
1064 * math/auto-libm-test-out: Regenerated.
1065 * math/libm-test.inc (csin_test_data): Remove tests moved to
1067 (csinh_test_data): Likewise.
1070 * math/s_csin.c (__csin): Negate before rather than after possibly
1071 overflowing multiplication.
1072 * math/s_csinf.c (__csinf): Likewise.
1073 * math/s_csinh.c (__csinh): Likewise.
1074 * math/s_csinhf.c (__csinhf): Likewise.
1075 * math/s_csinhl.c (__csinhl): Likewise.
1076 * math/s_csinl.c (__csinl): Likewise.
1077 * math/auto-libm-test-in: Add some tests of csin and csinh.
1078 * math/auto-libm-test-out: Regenerated.
1079 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1080 (csinh_test_data): Likewise.
1081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1084 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1085 underflow exception for small results.
1087 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
1089 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1090 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1091 variable and included header.
1092 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1093 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1094 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1095 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1096 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1097 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1098 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1099 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1100 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1101 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1102 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1103 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1104 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1105 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1106 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1107 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1109 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1113 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1114 (__sin): Force underflow exception for arguments with small
1116 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1117 (__kernel_sinf): Force underflow exception for arguments with
1118 small absolute value.
1119 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1120 (__kernel_sincosl): Force underflow exception for arguments with
1121 small absolute value.
1122 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1123 (__kernel_sinl): Force underflow exception for arguments with
1124 small absolute value.
1125 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1126 (__kernel_sincosl): Force underflow exception for arguments with
1127 small absolute value.
1128 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1129 (__kernel_sinl): Force underflow exception for arguments with
1130 small absolute value.
1131 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1132 (__kernel_sinl): Force underflow exception for arguments with
1133 small absolute value.
1134 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1135 (__kernel_sinf): Force underflow exception for arguments with
1136 small absolute value.
1137 * math/auto-libm-test-in: Add more tests of sin and sincos.
1138 * math/auto-libm-test-out: Regenerated.
1142 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1143 (__kernel_standard_l): Use feholdexcept and fesetenv around
1144 conversion to double instead of special-casing overflow and
1146 * math/libm-test.inc (fmod_test_data): Add more tests.
1147 (remainder_test_data): Likewise.
1148 (sqrt_test_data): Likewise.
1150 2015-06-23 Torvald Riegel <triegel@redhat.com>
1153 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1154 atomic_read_barrier, atomic_write_barrier): Define.
1155 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1156 atomic_read_barrier, atomic_write_barrier): Define.
1158 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1160 * math/Makefile [$(PERL) != no]
1161 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1162 dependency on libm-test.stmp below the inclusion of Rules.
1164 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
1166 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1167 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1168 and included header.
1169 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1170 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1171 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1172 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1173 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1174 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1175 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1176 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1177 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1178 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1179 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1180 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1181 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1182 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1183 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1184 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1185 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1186 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1187 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1189 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1192 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1193 intermediate but not final result might underflow.
1194 * math/s_csqrtf.c (__csqrtf): Likewise.
1195 * math/s_csqrtl.c (__csqrtl): Likewise.
1196 * math/auto-libm-test-in: Add more tests of csqrt.
1197 * math/auto-libm-test-out: Regenerated.
1198 * sysdeps/i386/fpu/libm-test-ulps: Update.
1201 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1202 threshold on absolute value of exponent for which scaling is used.
1203 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1204 * math/auto-libm-test-in: Add more tests of exp2.
1205 * math/auto-libm-test-out: Regenerated.
1207 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
1210 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1211 when initializing interface list, based on the bug analysis
1212 and the patch proposed by Eric Newton.
1213 * resolv/tst-res_hconf_reorder.c: New test.
1214 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1215 tst-res_hconf_reorder.
1216 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1217 and $(shared-thread-library).
1218 (tst-res_hconf_reorder-ENV): New variable.
1220 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1223 2015-06-22 Joseph Myers <joseph@codesourcery.com>
1226 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1227 (__expm1): Force underflow exception for arguments with small
1229 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1230 (__expm1f): Force underflow exception for arguments with small
1232 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1233 (__expm1): Force underflow exception for arguments with small
1235 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1236 (__expm1f): Force underflow exception for arguments with small
1238 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1239 Check for small arguments before calling __expm1.
1240 * math/auto-libm-test-in: Do not mark underflow exceptions as
1241 possibly missing for bug 16353.
1242 * math/auto-libm-test-out: Regenerated.
1244 2015-06-22 Andreas Schwab <schwab@suse.de>
1247 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1250 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
1252 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1254 * string/strcoll_l.c: Remove unused struct element idxnow.
1256 2015-06-21 Joseph Myers <joseph@codesourcery.com>
1259 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1260 underflow and return argument in case of subnormal argument.
1261 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1263 * math/auto-libm-test-in: Add more tests of expm1.
1264 * math/auto-libm-test-out: Regenerated.
1267 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1268 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1270 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1271 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1273 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
1274 mark underflow exceptions as possibly missing for bug 16361.
1275 * math/auto-libm-test-out: Regenerated.
1277 2015-06-19 Joseph Myers <joseph@codesourcery.com>
1279 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1280 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1282 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1283 (test-xfail-XOPEN2K8/utmpx.h/conform).
1285 * conform/conformtest.pl ($xerrors): New variable.
1286 (note_error): New function.
1287 (compiletest): New argument $xfail. Use not_error.
1288 (runtest): Likewise.
1289 (top level): Handle xfail- lines. Update calls to compiletest and
1290 runtest. Handle xfail- and optional- in headers listed with
1292 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1294 (O_SEARCH): Likewise.
1295 * conform/data/stropts.h-data (ioctl): Likewise.
1296 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1297 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1298 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1299 (msghdr.msg_controllen): Likewise.
1300 (cmsghdr.cmsg_len): Likewise.
1301 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1302 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1304 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1305 (test-xfail-XPG4/stropts.h/conform): Likewise.
1306 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1307 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1308 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1309 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1310 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1311 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1312 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1313 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1314 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1315 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1316 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1317 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1318 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1319 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1320 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1321 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1322 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1323 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1324 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1326 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
1328 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1329 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1330 definitions for proper unfolding of __MATHDECL_VEC.
1332 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1334 * benchtests/bench-strcoll.c:
1336 (main): Remove unused variable res.
1338 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1340 * timezone/Makefile (%/UTC %/Universal):
1341 Generate test-result files for UTC and Universal.
1343 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1345 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1347 2015-06-18 Joseph Myers <joseph@codesourcery.com>
1350 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1351 for arguments with small absolute value.
1352 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1353 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1354 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1355 (__asinh): Force underflow exception for arguments with small
1357 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1358 (__asinhf): Force underflow exception for arguments with small
1360 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1361 (__asinhl): Force underflow exception for arguments with small
1363 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1364 (__asinhl): Force underflow exception for arguments with small
1366 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1367 (__asinhl): Force underflow exception for arguments with small
1369 * math/auto-libm-test-in: Do not mark underflow exceptions as
1370 possibly missing for bug 16350.
1371 * math/auto-libm-test-out: Regenerated.
1373 * include/bits/ipc.h: Remove file.
1374 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1376 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1377 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1378 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1379 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1380 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1381 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1382 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1383 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1384 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1386 * math/auto-libm-test-in: Remove spurious underflow allowance for
1388 * math/auto-libm-test-out: Regenerated.
1391 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1392 unconditional definition.
1393 (MCAST_BLOCK_SOURCE): Likewise.
1394 (MCAST_UNBLOCK_SOURCE): Likewise.
1395 (MCAST_LEAVE_GROUP): Likewise.
1396 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1397 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1398 (MCAST_MSFILTER): Likewise.
1399 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1401 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1402 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1403 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1404 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1405 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1407 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
1409 * NEWS: Mention addition of x86_64 vector sincosf.
1410 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1411 * math/test-float-vlen4.h: Likewise.
1412 * math/test-float-vlen8.h: Likewise.
1413 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1414 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1415 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1416 * sysdeps/x86_64/fpu/Versions: New versions added.
1417 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1418 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1419 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1420 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1421 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1422 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1423 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1424 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1425 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1426 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1427 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1428 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1429 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1430 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1431 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1432 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1433 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1434 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1435 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1436 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1437 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1438 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1439 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1440 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1442 * NEWS: Mention addition of x86_64 vector sincos.
1443 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1444 * math/math.h (__MATHDECL_VEC): New macro.
1445 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1446 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1447 declaration under condition.
1448 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1449 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1450 TEST_VEC_LOOP change.
1451 * math/test-double-vlen4.h: Likewise.
1452 * math/test-double-vlen8.h: Likewise.
1453 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1454 * math/test-float-vlen4.h: Likewise.
1455 * math/test-float-vlen8.h: Likewise.
1456 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1457 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1458 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1459 * sysdeps/x86_64/fpu/Versions: New versions added.
1460 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1461 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1462 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1463 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1464 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1465 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1466 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1467 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1468 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1469 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1470 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1471 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1472 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1473 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1474 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1475 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1476 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1477 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1478 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1479 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1480 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1481 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1482 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1483 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1485 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1486 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1487 redirections for powf.
1488 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1489 * sysdeps/x86_64/fpu/Versions: New versions added.
1490 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1491 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1492 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1493 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1494 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1495 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1496 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1497 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1498 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1499 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1500 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1501 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1502 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1503 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1504 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1505 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1506 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1507 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1508 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1509 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1510 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1511 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1512 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1513 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1514 * math/test-float-vlen16.h: Fixed 2 argument macro.
1515 * math/test-float-vlen4.h: Likewise.
1516 * math/test-float-vlen8.h: Likewise.
1517 * NEWS: Mention addition of x86_64 vector powf.
1519 2015-06-17 Joseph Myers <joseph@codesourcery.com>
1521 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1523 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1525 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1526 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1527 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1530 * resource/getpriority.c (getpriority): Rename to __getpriority
1531 and define as weak alias of __getpriority.
1532 * resource/setpriority.c (setpriority): Rename to __setpriority
1533 and define as weak alias of __setpriority.
1534 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1535 __getpriority and define as weak alias of __getpriority.
1536 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1537 __setpriority and define as weak alias of __setpriority.
1538 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1540 (setpriority): Use __setpriority as strong name.
1541 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1542 __getpriority and define as weak alias of __getpriority.
1543 * include/sys/resource.h (__getpriority): Declare. Use
1545 (__setpriority): Likewise.
1546 (getpriority): Don't use libc_hidden_proto.
1547 (setpriority): Likewise.
1548 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1549 getpriority. Call __setpriority instead of setpriority.
1550 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1554 * misc/getttyent.c (getttynam): Rename to __getttynam and define
1555 as weak alias of __getttynam. Use prototype function definition.
1556 Call __setttyent, __getttyent and __endttyent instead of
1557 setttyent, getttyent and endttyent.
1558 (getttyent): Rename to __getttyent and define as weak alias of
1559 __getttyent. Call __setttyent instead of setttyent. Call
1560 __fgets_unlocked instead of fgets_unlocked.
1561 (setttyent): Rename to __setttyent and define as weak alias of
1563 (endttyent): Rename to __endttyent and define as weak alias of
1565 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
1566 (__setttyent): Likewise.
1567 (__endttyent): Likewise.
1568 (getttyent): Don't use libc_hidden_proto.
1569 (setttyent): Likewise.
1570 (endttyent): Likewise.
1571 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1572 __endttyent instead of setttyent, getttyent and endttyent.
1573 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1577 * socket/recv.c (__recv): Use libc_hidden_def.
1578 * socket/socket.c (__socket): Likewise.
1579 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1580 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1581 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1582 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1583 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1585 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1587 * include/sys/socket.h (__socket): Do not use attribute_hidden.
1588 Use libc_hidden_proto.
1590 * socket/Versions (libc): Export __recv and __socket at version
1592 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1594 (init_mq_netlink): Call __socket instead of socket.
1595 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1599 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1600 __mq_timedreceive and define as alias of __mq_timedreceive. Use
1602 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1603 define as alias of __mq_timedsend. Use hidden_weak.
1604 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1605 __mq_timedsend as strong name.
1606 (mq_timedreceive): Use __mq_timedreceive as strong name.
1607 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
1608 (__mq_timedreceive): Likewise.
1609 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1610 __mq_timedreceive instead of mq_timedreceive.
1611 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1612 instead of mq_timedsend.
1613 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1616 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1617 hidden_def and hidden_weak instead of libc_hidden_def and
1619 (top level): Refer to hidden_def in comment.
1620 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1621 macro. Use it instead of libc_hidden_def.
1622 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1623 specify __GI_* name explicitly.
1624 (mq_timedreceive): Likewise.
1625 (mq_setattr): Likewise.
1628 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1629 __pthread_barrier_init and define as weak alias of
1630 __pthread_barrier_init.
1631 * sysdeps/sparc/nptl/pthread_barrier_init.c
1632 (pthread_barrier_init): Likewise.
1633 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1634 __pthread_barrier_wait and define as weak alias of
1635 __pthread_barrier_wait.
1636 * sysdeps/sparc/nptl/pthread_barrier_wait.c
1637 (pthread_barrier_wait): Likewise.
1638 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1639 (pthread_barrier_wait): Likewise.
1640 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1641 (pthread_barrier_wait): Likewise.
1642 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1643 (pthread_barrier_wait): Likewise.
1644 * nptl/Versions (libpthread): Export __pthread_barrier_init and
1645 __pthread_barrier_wait at version GLIBC_PRIVATE.
1646 * include/pthread.h (__pthread_barrier_init): Declare.
1647 (__pthread_barrier_wait): Likewise.
1648 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1649 Call __pthread_barrier_wait instead of pthread_barrier_wait.
1650 (helper_thread): Likewise.
1651 (init_mq_netlink): Call __pthread_barrier_init instead of
1652 pthread_barrier_init.
1655 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1656 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1657 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
1658 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1660 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1664 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1665 strong alias of _IO_fflush. Use libc_hidden_def.
1666 * libio/iofflush_u.c (fflush_unlocked): Rename to
1667 __fflush_unlocked and define as weak alias of __fflush_unlocked.
1668 Use libc_hidden_weak.
1669 * include/stdio.h (__fflush_unlocked): Declare. Use
1671 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1673 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1677 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1678 define as weak alias of __addseverity.
1679 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1681 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1682 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1683 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1686 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1687 (__tfind): Likewise.
1688 (__tdelete): Likewise.
1689 (__twalk): Likewise.
1690 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1691 __twalk to GLIBC_PRIVATE.
1692 * include/search.h (__tsearch): Use libc_hidden_proto.
1693 (__tfind): Likewise.
1694 (__tdelete): Likewise.
1695 (__twalk): Likewise.
1696 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1697 Call __tdelete instead of tdelete.
1698 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1699 tfind. Call __tsearch instead of tsearch.
1700 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1701 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1703 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1706 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1707 (dprintf): Define as a weak alias of __dprintf, not a strong
1709 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
1710 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1712 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1714 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1715 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1718 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1720 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1724 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1725 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
1726 (in6addr_loopback): Rename to __in6addr_loopback and define as
1727 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
1728 * include/netinet/in.h (__in6addr_loopback): Declare. Use
1730 (__in6addr_any): Likewise.
1731 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1733 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1735 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1737 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
1739 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1740 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1741 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1742 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1743 redirections for pow.
1744 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1745 * sysdeps/x86_64/fpu/Versions: New versions added.
1746 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1747 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1748 build of SSE, AVX2 and AVX512 IFUNC versions.
1749 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1750 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1751 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1752 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1753 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1754 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1755 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1756 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1757 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1758 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1759 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1760 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1761 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1762 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1763 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1764 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1765 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1766 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1767 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1768 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1769 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1770 * NEWS: Mention addition of x86_64 vector pow.
1772 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1773 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1774 redirections for expf.
1775 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1776 * sysdeps/x86_64/fpu/Versions: New versions added.
1777 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1778 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1779 build of SSE, AVX2 and AVX512 IFUNC versions.
1780 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1781 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1782 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1783 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1784 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1785 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1786 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1787 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1788 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1789 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1790 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1791 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1792 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1793 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1794 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1795 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1796 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1797 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1798 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1799 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1800 * NEWS: Mention addition of x86_64 vector expf.
1802 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1803 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1804 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1805 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1806 redirections for exp.
1807 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1808 * sysdeps/x86_64/fpu/Versions: New versions added.
1809 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1810 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1811 build of SSE, AVX2 and AVX512 IFUNC versions.
1812 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1813 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1814 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1815 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1816 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1817 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1818 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1819 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1820 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1821 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1822 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1823 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1824 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1825 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1826 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1827 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1828 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1829 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1830 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1831 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1832 * NEWS: Mention addition of x86_64 vector exp.
1834 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1835 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1836 redirections for logf.
1837 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1838 * sysdeps/x86_64/fpu/Versions: New versions added.
1839 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1840 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1841 build of SSE, AVX2 and AVX512 IFUNC versions.
1842 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1843 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1844 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1845 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1846 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1847 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1848 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1849 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1850 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1851 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1852 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1853 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1854 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1855 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1856 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1857 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1858 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1859 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1860 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1861 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1862 * NEWS: Mention addition of x86_64 vector logf.
1864 * bits/libm-simd-decl-stubs.h: Added stubs for log.
1865 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1866 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1867 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1868 redirections for log.
1869 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1870 * sysdeps/x86_64/fpu/Versions: New versions added.
1871 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1872 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1873 build of SSE, AVX2 and AVX512 IFUNC versions.
1874 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1875 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1876 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1877 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1878 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1879 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1880 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1881 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1882 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1883 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1884 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1885 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1886 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1888 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1889 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1890 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1891 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1892 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1893 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1894 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1895 * NEWS: Mention addition of x86_64 vector log.
1897 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
1899 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1900 cfi_adjust_cfa_offset argument.
1901 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1902 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1905 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1906 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1907 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1908 ordering using ldar.
1909 (_dl_tlsdesc_dynamic): Likewise.
1910 (_dl_tlsdesc_return_lazy): Likewise.
1911 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1912 relaxed atomics instead of volatile and synchronize with release store.
1913 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1915 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1917 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
1919 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1920 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1921 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1922 * sysdeps/x86_64/fpu/Versions: New versions added.
1923 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1924 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1925 build of SSE, AVX2 and AVX512 IFUNC versions.
1926 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1927 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1928 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1929 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1930 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1931 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1932 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1933 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1934 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1935 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1936 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1937 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1938 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1939 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1940 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1941 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1942 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1943 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1944 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1945 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1946 * NEWS: Mention addition of x86_64 vector sinf.
1948 2015-06-14 Joseph Myers <joseph@codesourcery.com>
1950 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1951 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1952 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1954 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1955 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1957 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1960 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1961 strong alias of _IO_fputs. Use libc_hidden_def.
1962 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1963 and define as weak alias of __fputs_unlocked. Use
1965 * include/stdio.h (__fputs_unlocked): Declare. Use
1967 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1971 * resolv/netdb.h [__USE_POSIX]: Change condition to
1973 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1975 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1976 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1977 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1978 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1979 [XPG4 || UNIX98] (AI_ALL): Likewise.
1980 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1981 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1982 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1983 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1984 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1985 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1986 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1987 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1988 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1989 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1990 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1991 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1992 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1993 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1994 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1995 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1996 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1997 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1998 [XPG4 || UNIX98] (gai_strerror): Likewise.
1999 [XPG4 || UNIX98] (getaddrinfo): Likewise.
2000 [XPG4 || UNIX98] (getnameinfo): Likewise.
2003 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2004 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2006 (getgrent): Likewise.
2007 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2009 [XPG3 || POSIX2008] (endgrent): Likewise.
2010 [XPG3] (setgrent): Likewise.
2011 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2013 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2016 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2017 define as weak alias of __getlogin_r. Use libc_hidden_weak.
2018 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2019 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2020 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2021 * include/unistd.h (__getlogin_r): Declare. Use
2023 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2024 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2026 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2027 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2028 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2030 2015-06-12 Martin Sebor <msebor@redhat.com>
2033 * Makerules (check-install-supported): New target.
2034 (install): Add check-install-supported as a dependency.
2035 * manual/install.texi (Installing the C Library): Document
2036 that overriding prefix and exec_prefix is not supported.
2038 * INSTALL: Regenerate from the above.
2040 2015-06-12 Joseph Myers <joseph@codesourcery.com>
2043 * posix/Versions (libc): Export __libc_pread at version
2045 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2047 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2052 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2053 (cvt_symbol): Use weak_alias instead of strong_alias.
2054 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2055 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2057 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2058 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2061 * inet/herrno.c (h_errno): Rename to __h_errno.
2062 (__libc_h_errno): Define as alias of __h_errno not h_errno.
2063 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2064 to __h_errno instead of h_errno.
2065 * nptl/herrno.c (h_errno): Rename to __h_errno.
2066 (__h_errno_location): Refer to __h_errno not h_errno.
2067 * resolv/Versions (h_errno): Rename to __h_errno.
2068 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2070 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2072 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
2074 * configure.ac: More strict check for AVX512 assembler support.
2075 * configure: Regenerated.
2077 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2078 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2079 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2080 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2081 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2082 * sysdeps/x86_64/fpu/Versions: New versions added.
2083 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2084 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2085 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2086 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2087 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2088 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2089 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2090 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2091 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2092 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2093 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2094 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2095 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2096 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2097 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2098 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2100 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2101 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2102 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2103 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2104 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2105 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2106 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2107 * NEWS: Mention addition of x86_64 vector sin.
2109 2015-06-11 Florian Weimer <fweimer@redhat.com>
2111 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2114 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2117 * nptl/pt-interp.c: New file.
2118 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2120 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2121 $(common-objpfx)runtime-linker.h.
2123 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
2125 * Makeconfig (+interp): Remove unused variable.
2126 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2127 only. Depend on $(common-objpfx)runtime-linker.h instead of
2128 $(elf-objpfx)runtime-linker.h.
2129 ($(elf-objpfx)runtime-linker.h): Rename to
2130 $(common-objpfx)runtime-linker.h and move ...
2131 * Makerules [$(build-shared) = yes]: ... here.
2132 * elf/interp.c: Include <runtime-linker.h> instead of
2133 <elf/runtime-linker.h>.
2135 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2137 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2138 (__gettimeofday_syscall): Remove vsyscall fallback.
2139 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2140 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2141 Add syscall fallback function.
2142 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2143 if vDSO is not present.
2144 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2146 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2148 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2149 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2151 2015-06-09 Joseph Myers <joseph@codesourcery.com>
2154 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2156 (wcscmp): Define as weak alias of WCSCMP.
2157 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2159 (USE_HIDDEN_DEF): Define.
2160 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2161 __wcscoll. Don't use libc_hidden_weak.
2162 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2164 * sysdeps/i386/i686/multiarch/wcscmp-c.c
2165 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2167 (weak_alias): Undefine and redefine.
2168 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2169 __wcscmp and define as weak alias of __wcscmp.
2170 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2171 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
2172 (__wcscoll): Likewise.
2173 (wcscmp): Don't use libc_hidden_proto.
2174 (wcscoll): Likewise.
2175 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2177 * posix/regexec.c (check_node_accept_bytes): Likewise.
2178 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2180 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2181 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2184 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2185 __fstatvfs and define as weak alias of __fstatvfs. Use
2187 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2188 and define as weak alias of __statvfs. Use libc_hidden_weak.
2189 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2190 Define as alias of __fstatvfs, not fstatvfs.
2191 (fstatvfs64): Likewise.
2192 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2193 Define as alias of __statvfs, not statvfs.
2194 (statvfs64): Likewise.
2195 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2198 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2201 (HAVE_GETCPU_VSYSCALL): Define.
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2203 (HAVE_GETCPU_VSYSCALL): Likewise.
2204 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2205 * sysdeps/unix/sysv/linux/sched_getcpu.c
2206 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2207 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2208 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2210 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2211 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2212 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2215 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2216 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2217 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2218 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2220 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
2222 * sysdeps/x86_64/fpu/Makefile: New file.
2223 * sysdeps/x86_64/fpu/Versions: New file.
2224 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2225 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2226 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2227 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2228 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2229 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2230 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2231 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2232 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2233 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2234 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2235 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2236 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2237 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2238 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2239 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2240 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2241 * sysdeps/x86_64/configure.ac: Options for libmvec build.
2242 * sysdeps/x86_64/configure: Regenerated.
2243 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2244 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2245 * manual/install.texi (Configuring and compiling): Document
2247 * INSTALL: Regenerated.
2248 * NEWS: Mention addition of libmvec and x86_64 vector cos.
2250 * math/Makefile: Added rules for vector tests.
2251 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2252 declaration under condition.
2253 * math/test-double-vlen2.h: New file.
2254 * math/test-double-vlen4.h: New file.
2255 * math/test-double-vlen8.h: New file.
2256 * math/test-vec-loop.h: Added initialization macro.
2257 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2258 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2259 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2260 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2261 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2262 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2263 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2264 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2265 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2266 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2267 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
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/svml_s_cosf4_core.S: New file.
2272 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2273 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2274 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2275 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2276 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2277 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2278 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2279 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2280 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2281 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2282 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2283 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2284 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2285 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2286 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2287 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2288 * NEWS: Mention addition of x86_64 vector cosf.
2290 * math/Makefile: Added CFLAGS for new tests.
2291 * math/test-float-vlen16.h: New file.
2292 * math/test-float-vlen4.h: New file.
2293 * math/test-float-vlen8.h: New file.
2294 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2295 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2296 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2297 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2298 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2299 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2300 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2301 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2302 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2303 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2304 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2306 2015-06-09 Marko Myllynen <myllynen@redhat.com>
2308 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2309 * locale/programs/ld-ctype.c: Likewise.
2311 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
2313 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2314 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2315 bit_ZMM16_31_state): New macro.
2316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2317 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2319 2015-06-08 Joseph Myers <joseph@codesourcery.com>
2321 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2323 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
2325 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2327 2015-06-05 Joseph Myers <joseph@codesourcery.com>
2330 * libio/memstream.c (open_memstream): Rename to __open_memstream
2331 and define as weak alias of __open_memstream.
2332 * include/stdio.h (__open_memstream): Declare. Use
2334 (open_memstream): Don't use libc_hidden_proto.
2335 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2337 * posix/getopt.c (_getopt_internal_r): Likewise.
2338 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2340 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2341 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2342 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2345 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2349 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2350 [__USE_XOPEN2K8]. Remove redundant #endif.
2351 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2352 Remove redundant #if.
2353 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2355 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2356 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2359 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2360 (__iswlower): Likewise.
2361 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
2362 (__iswlower): Likewise.
2363 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2364 instead of towlower.
2365 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2366 instead of iswlower. Call __towupper instead of towupper.
2367 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2368 instead of iswalnum.
2370 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2372 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2375 2015-06-05 Florian Weimer <fweimer@redhat.com>
2379 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2380 Check for overflow properly. Check for O_APPEND. Ignore large
2381 file system block sizes. Add comments about problems.
2382 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2383 * manual/filesys.texi (Storage Allocation): New node.
2385 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2387 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2388 cancellable syscalls.
2389 (SYS_ify): Add guard to no redefine it.
2390 (INLINE_SYSCALL): Likewise.
2391 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2392 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2393 SYSCALL_CANCEL instead.
2394 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2395 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2396 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2397 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2398 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2399 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2400 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2401 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2402 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2403 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2404 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2405 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2406 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2407 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2408 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2409 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2411 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2412 (__libc_pread64): Likewise.
2413 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2414 (__libc_preadv): Likewise.
2415 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2416 (__libc_readv64): Likewise.
2417 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2418 (__libc_pwrite): Likewise.
2419 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2420 (__libc_pwrite64): Likewise.
2421 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2422 (__libc_pwritev): Likewise.
2423 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2424 (__libc_pwritev64): Likewise.
2425 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2426 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2427 (sync_file_range): Likewise.
2428 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2430 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2432 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2433 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2434 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2435 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2436 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2437 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2438 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2439 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2443 (__libc_read64): Likewise.
2444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2453 (__libc_pread64): Likewise.
2454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2457 (__libc_pwrite64): Likewise.
2458 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2459 (sync_file_range): Likewise.
2460 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2461 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2462 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2463 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2464 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2465 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2466 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2467 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2468 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2469 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2470 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2471 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2472 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2473 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2474 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2475 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2476 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2477 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2478 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2480 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2482 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2483 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2485 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2486 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2487 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2488 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2490 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2491 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2492 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2493 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2494 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2496 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
2498 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2500 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2501 Use VDSO routines for gettimeofday, clock_gettime if
2503 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2504 Declare VDSO symbols.
2505 * sysdeps/unix/sysv/linux/arm/sysdep.h:
2506 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2507 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2508 * sysdeps/unix/sysv/linux/arm/Versions: Add
2509 __vdso_clock_gettime.
2511 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2513 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2514 be an inline implementation regardless of library is built within.
2515 (open_not_cancel_2): Likewise.
2516 (__read_nocancel): Likewise.
2517 (__write_nocancel): Likewise.
2518 (openat_not_cancel): Likewise.
2519 (openat_not_cancel_3): Likewise.
2520 (openat64_not_cancel): Likewise.
2521 (openat64_not_cancel_3): Likewise.
2522 (__close_nocancel): Likewise.
2523 (pause_not_cancel): Likewise.
2524 (nanosleep_not_cancel): Likewise.
2525 (sigsuspend_not_cancel): Likewise.
2527 2015-06-04 Torvald Riegel <triegel@redhat.com>
2530 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2532 (__pthread_rwlock_rdlock_slow): Likewise.
2533 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2535 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2537 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2538 * nptl/tst-rwlock16.c: New file.
2539 * nptl/Makefile (tests): Add new test.
2541 2015-06-04 Torvald Riegel <triegel@redhat.com>
2544 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2545 missing wake-up of readers.
2546 * nptl/tst-rwlock15.c: New file.
2547 * nptl/Makefile (tests): Add new test.
2549 2015-06-03 Roland McGrath <roland@hack.frob.com>
2551 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2552 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2553 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2554 and __nacl_supply_interface_rtld.
2555 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2556 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2557 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2558 Add __nacl_supply_interface_rtld.
2559 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2561 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2563 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2565 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2566 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2568 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2570 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2571 __signbit* with standard C99 macros.
2572 * math/e_exp10l.c: Likewise.
2573 * math/e_exp2l.c: Likewise.
2574 * math/e_scalb.c: Likewise.
2575 * math/e_scalbf.c: Likewise.
2576 * math/e_scalbl.c: Likewise.
2577 * math/s_ldexp.c: Likewise.
2578 * math/s_ldexpf.c: Likewise.
2579 * math/s_ldexpl.c: Likewise.
2580 * math/w_atan2.c: Likewise.
2581 * math/w_atan2f.c: Likewise.
2582 * math/w_atan2l.c: Likewise.
2583 * math/w_cosh.c: Likewise.
2584 * math/w_coshf.c: Likewise.
2585 * math/w_coshl.c: Likewise.
2586 * math/w_exp10.c: Likewise.
2587 * math/w_exp10f.c: Likewise.
2588 * math/w_exp10l.c: Likewise.
2589 * math/w_exp2.c: Likewise.
2590 * math/w_exp2f.c: Likewise.
2591 * math/w_exp2l.c: Likewise.
2592 * math/w_fmod.c: Likewise.
2593 * math/w_fmodf.c: Likewise.
2594 * math/w_fmodl.c: Likewise.
2595 * math/w_hypot.c: Likewise.
2596 * math/w_hypotf.c: Likewise.
2597 * math/w_hypotl.c: Likewise.
2598 * math/w_jnl.c: Likewise.
2599 * math/w_lgamma.c: Likewise.
2600 * math/w_lgamma_r.c: Likewise.
2601 * math/w_lgammaf.c: Likewise.
2602 * math/w_lgammaf_r.c: Likewise.
2603 * math/w_lgammal.c: Likewise.
2604 * math/w_lgammal_r.c: Likewise.
2605 * math/w_pow.c: Likewise.
2606 * math/w_powf.c: Likewise.
2607 * math/w_powl.c: Likewise.
2608 * math/w_remainder.c: Likewise.
2609 * math/w_remainderf.c: Likewise.
2610 * math/w_remainderl.c: Likewise.
2611 * math/w_scalb.c: Likewise.
2612 * math/w_scalbf.c: Likewise.
2613 * math/w_scalbl.c: Likewise.
2614 * math/w_scalbln.c: Likewise.
2615 * math/w_scalblnf.c: Likewise.
2616 * math/w_scalblnl.c: Likewise.
2617 * math/w_sinh.c: Likewise.
2618 * math/w_sinhf.c: Likewise.
2619 * math/w_sinhl.c: Likewise.
2620 * math/w_tgamma.c: Likewise.
2621 * math/w_tgammaf.c: Likewise.
2622 * math/w_tgammal.c: Likewise.
2623 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2624 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2625 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2626 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2627 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2629 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2630 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2631 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2632 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2633 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2634 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2635 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2636 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2637 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2638 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2639 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2640 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2641 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2642 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2643 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2644 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2645 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2646 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2647 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2648 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2649 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2650 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2651 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2652 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2653 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2654 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2655 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2656 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2657 * stdio-common/printf_fp.c: Likewise.
2658 * stdio-common/printf_fphex.c: Likewise.
2659 * stdio-common/printf_size.c: Likewise.
2661 2015-06-03 Joseph Myers <joseph@codesourcery.com>
2664 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2666 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2668 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2669 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2670 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2671 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2672 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2673 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2674 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2675 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2676 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2677 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2680 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2681 weak alias of __wmemchr. Use libc_hidden_weak.
2682 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
2683 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2686 2015-06-02 Roland McGrath <roland@hack.frob.com>
2689 * elf/tst-tlsalign-extern.c: New file.
2690 * elf/tst-tlsalign-extern-static.c: New file.
2691 * elf/tst-tlsalign-vars.c: New file.
2692 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2693 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2694 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2695 ($(objpfx)tst-tlsalign-extern-static): Likewise.
2696 (test-xfail-tst-tlsalign-extern-static): New variable.
2698 2015-06-02 Joseph Myers <joseph@codesourcery.com>
2700 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2701 Use variable name _sc_err instead of err.
2702 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2704 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2705 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2706 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2707 (INLINE_SYSCALL): Likewise.
2709 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2710 * include/string.h (__strnlen): Use libc_hidden_proto.
2711 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2712 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2713 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2714 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2715 (libc_hidden_def): Undefine and redefine.
2716 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2717 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2719 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2721 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2724 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2725 weak alias of __towlower. Use libc_hidden_weak.
2726 (towupper): Rename to __towupper and define as weak alias of
2727 __towupper. Use libc_hidden_weak.
2728 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
2729 (__towupper): Likewise.
2730 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2731 __towlower instead of towlower.
2733 2015-06-02 Roland McGrath <roland@hack.frob.com>
2735 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2736 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2738 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2740 * sysdeps/aarch64/libm-test-ulps: Update.
2742 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2744 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2746 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2748 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2749 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2750 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2751 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2752 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2754 2015-06-01 Martin Sebor <msebor@redhat.com>
2757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2758 (__setcontext): Use extended four-operand version of mtsf whenever
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2761 (__novec_swapcontext): Likewise.
2763 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2765 * benchtests/scripts/compare_bench.py: New file.
2766 * benchtests/scripts/import_bench.py (mean): New function.
2767 (split_list): Likewise.
2768 (do_for_all_timings): Likewise.
2769 (compress_timings): Likewise.
2771 * benchtests/scripts/import_bench.py: New file.
2772 * benchtests/scripts/validate_benchout.py: Import import_bench
2773 instead of jsonschema.
2774 (validate_bench): Remove function.
2775 (main): Use import_bench.
2777 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
2779 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2780 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2782 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2786 2015-05-28 Roland McGrath <roland@hack.frob.com>
2788 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2789 set THREAD_SELF->tid to a magic value and futex-wake it.
2790 Pass its address to the thread_exit system call.
2791 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2793 * sysdeps/nacl/lowlevellock.h: New file.
2794 * sysdeps/nacl/lll_timedwait_tid.c: New file.
2796 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2797 Add TIMEOUT to current time, don't subtract it.
2799 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
2802 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2803 ($(objpfx)tst-audit2.out): Also depend on
2804 $(objpfx)tst-auditmod9b.so.
2805 * elf/tst-audit2.c: Include <dlfcn.h>.
2806 (calloc_called): New.
2807 (calloc): Allow to be called more than once.
2808 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2810 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
2812 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2813 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2815 2015-05-27 Marko Myllynen <myllynen@redhat.com>
2817 * stdlib/monetary.h: Fix comment.
2819 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
2821 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2822 Avoid using variables in #defines that might cause shadowing.
2823 (INTERNAL_VSYSCALL_CALL): Likewise.
2825 2015-05-26 Roland McGrath <roland@hack.frob.com>
2827 * sysdeps/nacl/lll_timedlock_wait.c: New file.
2829 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2830 * nptl/lll_timedlock_wait.c: ... to this new file.
2831 * nptl/Makefile (libpthread-routines): Add it.
2832 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2833 * nptl/lll_timedwait_tid.c: ... to this new file.
2834 * nptl/Makefile (libpthread-routines): Add it.
2835 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2836 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2837 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2838 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2839 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2840 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2841 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2842 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2843 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2844 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2846 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2848 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2849 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2850 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2851 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2852 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2853 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2854 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2855 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2856 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2857 * sysdeps/unix/sysv/linux/tile/sysdep.h
2858 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2859 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2860 using vDSO syscall macro.
2862 2015-05-26 Andriy Rysin <arysin@gmail.com>
2865 * uk_UA: Fix sorting order for Ukrainian locale
2867 2015-05-26 Marko Myllynen <myllynen@redhat.com>
2869 * stdlib/monetary.h: Fix comment.
2871 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2874 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2875 st_mtim and st_ctim members.
2876 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2877 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2878 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2879 (struct stat64): Likewise.
2880 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2881 (struct stat64): Likewise.
2882 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2883 (struct stat64): Likewise.
2885 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2887 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2888 Define and include sysdep-vdso.h.
2889 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2891 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2893 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2894 Define with VDSO_SYMBOL and use PTR_MANGLE.
2895 (__vdso_clock_gettime): Likewise.
2896 (__vdso_clock_getres): Likewise.
2897 (_libc_vdso_platform_setup): Likewise.
2898 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2900 (_libc_vdso_platform_setup): Likewise.
2901 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2903 (__vdso_clock_gettime): Likewise.
2904 (__vdso_clock_getres): Likewise.
2905 (__vdso_get_tbfreq): Likewise.
2906 (__vdso_getcpu): Likewise.
2907 (__vdso_time): Likewise.
2908 (__vdso_sigtramp_rt64): Likewise.
2909 (__vdso_signtramp32): Likewise.
2910 (__vdso_sigtramp_rt32): Likewise.
2911 (_libc_vdso_platform_setup): Likewise.
2912 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2914 (__vdso_clock_gettime): Likewise.
2915 (__vdso_clock_getres): Likewise.
2916 (_libc_vdso_platform_setup): Likewise.
2917 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2919 (__vdso_clock_gettime): Likewise.
2920 (_libc_vdso_platform_setup): Likewise.
2921 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2923 (__vdso_getcpu): Likewise.
2924 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2925 Use VDSO_SYMBOL macro to define.
2926 (__vdso_clock_gettime): Likewise.
2927 (__vdso_clock_getres): Likewise.
2928 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2930 (__vdso_clock_gettime): Likewise.
2931 (__vdso_clock_getres): Likewise.
2932 (__vdso_get_tbfreq): Likewise.
2933 (__vdso_getcpu): Likewise.
2934 (__vdso_time): Likewise.
2935 (__vdso_sigtramp_rt64): Likewise.
2936 (__vdso_signtramp32): Likewise.
2937 (__vdso_sigtramp_rt32): Likewise.
2938 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2940 (__vdso_clock_gettime): Likewise.
2941 (__vdso_clock_getres): Likewise.
2942 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2944 (__vdso_clock_gettime): Likewise.
2945 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2947 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
2949 (INTERNAL_VSYSCALL): Likewise.
2950 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2952 (INTERNAL_VSYSCALL): Likewise.
2953 (INTERNAL_VSYSCALL_NCS): Likewise.
2954 (INTERNAL_VSYSCALL_CALL): New macro.
2955 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2956 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2958 (INTERNAL_VSYSCALL): Likewise.
2959 (INTERNAL_VSYSCALL_NCS): Likewise.
2960 (INTERNAL_VSYSCALL_CALL): New macro.
2961 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2963 (INLINE_VSYSCALL): Remove macro.
2964 (INTERNAL_VSYSCALL): Remove macro.
2965 (INTERNAL_VSYSCALL_NCS): Remove macro.
2966 (INTERNAL_VSYSCALL_CALL): New macro.
2967 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2968 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2969 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2970 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2971 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2973 (INLINE_VSYSCALL): Remove macro.
2974 (INTERNAL_VSYSCALL): Likewise.
2975 (INTERNAL_VSYSCALL_NCS): Likewise.
2976 (INTERNAL_VSYSCALL_CALL): New macro.
2977 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2978 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2979 PTR_DEMANGLE on vDSO pointer.
2980 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2981 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2983 (INTERNAL_SYSCALL): Likewise.
2984 (INTERNAL_VSYSCALL_NCS): Remove macro.
2985 (INTERNAL_VSYSCALL_CALL): New macro.
2986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2988 (INTERNAL_VSYSCALL): Likewise.
2989 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2990 sysdep-vdso.h instead of libc-vdso.h.
2991 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2993 (INLINE_VSYSCALL): Likewise.
2994 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2995 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2997 (INLINE_VSYSCALL): Likewise.
2998 (INTERNAL_VSYSCALL): Likewise.
2999 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3000 * sysdeps/unix/sysv/linux/timespec_get.c
3001 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3002 (timespec_get): Use ANSI prototype.
3003 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3004 and definition for Linux.
3006 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
3008 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3009 * include/libc-symbols.h: libmvec_hidden_* macro series added.
3011 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
3014 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3015 for missing DT_PLTRELSZ.
3017 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
3019 Remove obsolete aliases that broke 'locale -a'
3021 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3022 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3023 breaking some applications that use 'locale -a' output.
3024 Change the encoding of this file from Latin-1 to ASCII to avoid
3025 other potential problems with people grepping this file.
3027 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3029 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3030 -fasynchronous-unwind-tables.
3031 (CFLAGS-sendto.c): Likewise.
3032 (CFLAGS-sendmsg.c): Likewise.
3033 (CFLAGS-connect.c): Likewise.
3034 (CFLAGS-recvmsg.c): Likewise.
3035 (CFLAGS-recvfrom.c): Likewise.
3036 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3037 (SOCKETCALL): New macro: non-cancellable socketcall.
3038 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3039 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3040 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3041 * sysdeps/unix/sysv/linux/accept.c: New file.
3042 * sysdeps/unix/sysv/linux/bind.c: Likewise.
3043 * sysdeps/unix/sysv/linux/connect.c: Likewise.
3044 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3045 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3046 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3047 * sysdeps/unix/sysv/linux/listen.c: Likewise.
3048 * sysdeps/unix/sysv/linux/recv.c: Likewise.
3049 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3050 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3051 * sysdeps/unix/sysv/linux/send.c: Likewise.
3052 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3053 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3054 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3055 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3056 * sysdeps/unix/sysv/linux/socket.c: Likewise.
3057 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3058 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3060 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3061 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3062 instead of __internal_xxx function.
3063 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3065 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3066 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3067 instead of __internal_xxx function.
3068 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3070 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3071 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3072 instead of __internal_xxx function.
3073 * sysdeps/unix/sysv/linux/accept.S: Remove file.
3074 * sysdeps/unix/sysv/linux/bind.S: Likewise.
3075 * sysdeps/unix/sysv/linux/connect.S: Likewise.
3076 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3077 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3078 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3079 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3080 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3081 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3082 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3083 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3084 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3085 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3086 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3087 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3088 * sysdeps/unix/sysv/linux/listen.S: Likewise.
3089 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3090 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3091 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3092 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3095 * sysdeps/unix/sysv/linux/recv.S: Likewise.
3096 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3097 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3098 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3099 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3100 * sysdeps/unix/sysv/linux/send.S: Likewise.
3101 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3102 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3103 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3104 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3105 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3106 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3107 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3108 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3109 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3110 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3111 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3112 socketcall is implemented in GLIBC.
3114 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3116 * soft-fp/fmadf4.c: Include <libc-internal.h>.
3117 (__fma): Ignore uninitialized warnings around packing.
3118 * soft-fp/fmasf4.c: Include <libc-internal.h>.
3119 (__fmaf): Ignore uninitialized warnings around packing.
3120 * soft-fp/fmatf4.c: Include <libc-internal.h>.
3121 (__fmal): Ignore uninitialized warnings around packing.
3123 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3124 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3125 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3126 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3128 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3129 switch statement into default case.
3130 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3132 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3133 a conditional in forcing "inexact".
3134 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3137 2015-05-22 Roland McGrath <roland@hack.frob.com>
3139 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3140 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3141 for each INTERNAL_SYSCALL use.
3143 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3146 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3147 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3151 * string/basename.c (basename): Rename to __basename and define as
3152 weak alias of __basename. Use libc_hidden_weak.
3153 * include/string.h (__basename): Declare. Use libc_hidden_proto.
3154 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3155 __basename instead of basename.
3156 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3158 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3160 2015-05-18 Florian Weimer <fweimer@redhat.com>
3162 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3163 (_IO_JUMPS_FILE_plus): New.
3164 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3165 _IO_CAST_FIELD_ACCESS.
3166 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3167 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3168 * libio/freopen.c (freopen): Likewise.
3169 * libio/freopen64.c (freopen64): Likewise.
3170 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3171 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3172 * libio/iofwide.c (_IO_fwide): Likewise.
3173 * libio/memstream.c (open_memstream): Likewise.
3174 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3175 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3176 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3178 2015-05-21 Joseph Myers <joseph@codesourcery.com>
3180 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3181 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3183 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3184 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3186 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3187 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3190 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3193 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3194 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3196 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3197 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3198 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3200 2015-05-21 Florian Weimer <fweimer@redhat.com>
3202 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3203 Adjust jump table label generation macros.
3205 2015-05-21 Florian Weimer <fweimer@redhat.com>
3207 * stdio-common/vfprintf.c (vfprintf): Move local variables
3208 args_malloced, specs, specs_malloced, and the code after
3209 do_positional to the printf_positional function.
3210 (printf_positional): New function.
3212 2015-05-21 Florian Weimer <fweimer@redhat.com>
3214 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3216 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3217 STEP4_TABLE, process_arg): Move macro definitions
3218 out of the vfprintf function. (Cosmetic change only.)
3220 2015-05-21 Carlos O'Donell <carlos@redhat.com>
3222 * benchtests/Makefile (stdio-common-bench): Define.
3223 (benchset): Add stdio-common-bench.
3224 * sprintf-inputs: New file.
3225 * sprintf-source.c: New file.
3227 2015-05-21 Andreas Schwab <schwab@suse.de>
3231 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3232 of struct __res_state.
3233 * resolv/res_send.c (__libc_res_nsend): Likewise.
3234 (get_nsaddr): New function.
3235 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3238 2015-05-20 Joseph Myers <joseph@codesourcery.com>
3240 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3241 -D_POSIX_C_SOURCE=199506L.
3243 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3245 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3246 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3247 Do not mention otherwise.
3248 [POSIX] (_XOPEN_VERSION): Do not expect.
3249 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3250 [POSIX] (_POSIX2_C_BIND): Likewise.
3251 [POSIX] (_POSIX2_VERSION): Likewise.
3252 [POSIX] (_XOPEN_XPG2): Likewise.
3253 [POSIX] (_XOPEN_XPG3): Likewise.
3254 [POSIX] (_XOPEN_XPG4): Likewise.
3255 [POSIX] (_XOPEN_UNIX): Likewise.
3256 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3257 [POSIX] (_POSIX_BARRIERS): Likewise.
3258 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3259 [POSIX] (_POSIX_CPUTIME): Likewise.
3260 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3261 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3262 [POSIX] (_POSIX_SHELL): Likewise.
3263 [POSIX] (_POSIX_SPAWN): Likewise.
3264 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3265 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3266 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3267 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3268 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3269 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3270 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3271 [POSIX] (_XBS5_LP64_OFF64): Likewise.
3272 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3273 [POSIX] (_POSIX_TIMEOUTS): Likewise.
3274 [POSIX] (_POSIX2_PBS): Likewise.
3275 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3276 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3277 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3278 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3279 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3280 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3281 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3282 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3283 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3284 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3285 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3286 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3287 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3288 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3289 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3290 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3291 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3292 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3293 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3294 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3295 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3296 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3297 [POSIX] (_SC_2_C_BIND): Likewise.
3298 [POSIX] (_SC_2_C_VERSION): Likewise.
3299 [POSIX] (_SC_2_PBS): Likewise.
3300 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3301 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3302 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3303 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3304 [POSIX] (_SC_2_PBS_TRACK): Likewise.
3305 [POSIX] (_SC_ATEXIT_MAX): Likewise.
3306 [POSIX] (_SC_BARRIERS): Likewise.
3307 [POSIX] (_SC_BASE): Likewise.
3308 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3309 [POSIX] (_SC_DEVICE_IO): Likewise.
3310 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3311 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3312 [POSIX] (_SC_FD_MGMT): Likewise.
3313 [POSIX] (_SC_FIFO): Likewise.
3314 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3315 [POSIX] (_SC_FILE_LOCKING): Likewise.
3316 [POSIX] (_SC_FILE_SYSTEM): Likewise.
3317 [POSIX] (_SC_IOV_MAX): Likewise.
3318 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3319 [POSIX] (_SC_NETWORKING): Likewise.
3320 [POSIX] (_SC_PAGE_SIZE): Likewise.
3321 [POSIX] (_SC_PASS_MAX): Likewise.
3322 [POSIX] (_SC_PIPE): Likewise.
3323 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3324 [POSIX] (_SC_REGEXP): Likewise.
3325 [POSIX] (_SC_SHELL): Likewise.
3326 [POSIX] (_SC_SIGNALS): Likewise.
3327 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3328 [POSIX] (_SC_SPIN_LOCKS): Likewise.
3329 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3330 [POSIX] (_SC_USER_GROUPS): Likewise.
3331 [POSIX] (_SC_USER_GROUPS_R): Likewise.
3332 [POSIX] (_SC_STREAMS): Likewise.
3333 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3334 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3335 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3336 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3337 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3338 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3339 [POSIX] (_PC_FILESIZEBITS): Likewise.
3340 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3341 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3342 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3343 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3344 [POSIX] (uid_t): Likewise.
3345 [POSIX] (gid_t): Likewise.
3346 [POSIX] (off_t): Likewise.
3347 [POSIX] (pid_t): Likewise.
3348 [POSIX] (cuserid): Allow.
3349 (_SC_2_CHAR_TERM): Require constant.
3350 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3351 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3354 2015-05-20 Roland McGrath <roland@hack.frob.com>
3356 * sysdeps/nacl/pthread-pids.h: New file.
3357 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3358 (create_thread): Use __nacl_get_tid to initialize PD->tid.
3360 * nptl/pthread-pids.h: New file.
3361 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3362 * nptl/nptl-init.c: Include <pthread-pids.h>.
3363 (__pthread_initialize_minimal_internal):
3364 Call __pthread_initialize_pids instead of set_tid_address syscall.
3366 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3367 * sysdeps/posix/usleep.c: ... here.
3369 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3371 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3372 call_pselect6 object.
3373 [$(subdir) = io]: Remove call_sync_file_range object.
3374 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3375 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3376 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3377 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3379 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
3381 * math/s_cproj.c: Add include "math_private.h".
3382 * math/s_cprojf.c: Likewise.
3383 * math/s_cprojl.c: Likewise.
3385 2015-05-19 Joseph Myers <joseph@codesourcery.com>
3388 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3389 high mantissa bit when testing whether P is a NaN.
3390 * math/libm-test.inc (remainder_test_data): Add more tests.
3391 (remquo_test_data): Likewise.
3394 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3395 below -32, return the argument, with underflow if subnormal.
3396 * math/auto-libm-test-in: Add more tests of atanh.
3397 * math/auto-libm-test-out: Regenerated.
3399 2015-05-19 Roland McGrath <roland@hack.frob.com>
3402 * nptl/tst-sem15.c: New file.
3403 * nptl/Makefile (tests): Add it.
3404 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3405 s/<</>>/ to fix typo in EOVERFLOW check.
3406 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3408 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3410 * manual/strings.texi (envz_remove): Fix typo in safety
3413 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
3414 Steve Ellcey <sellcey@imgtec.com>
3416 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3417 in order to avoid strict alias warnings.
3418 (iruserok_af): Ditto for ra.
3420 2015-05-19 James Lemke <jwlemke@codesourcery.com>
3424 (magicbyte): Convert to a function and avoid returning 0x01.
3425 (mem2mem_check): Avoid using a length byte equal to the magic byte.
3426 (mem2chunk_check): Fix unsigned comparisons to zero.
3427 Hoist defs of sz and magic.
3429 2015-05-19 Richard Henderson <rth@redhat.com>
3431 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3433 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3435 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3438 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3439 * malloc/arena.c (arena_lock): Check if arena is corrupt.
3440 (reused_arena): Find a non-corrupt arena.
3441 (heap_trim): Pass arena to unlink.
3442 * malloc/hooks.c (malloc_check_get_size): Pass arena to
3444 (top_check): Likewise.
3445 (free_check): Likewise.
3446 (realloc_check): Likewise.
3447 * malloc/malloc.c (malloc_printerr): Add arena argument.
3449 (munmap_chunk): Adjust.
3450 (ARENA_CORRUPTION_BIT): New macro.
3451 (arena_is_corrupt): Likewise.
3452 (set_arena_corrupt): Likewise.
3453 (sysmalloc): Use mmap if there are no usable arenas.
3454 (_int_malloc): Likewise.
3455 (__libc_malloc): Don't fail if arena_get returns NULL.
3456 (_mid_memalign): Likewise.
3457 (__libc_calloc): Likewise.
3458 (__libc_realloc): Adjust for additional argument to
3460 (_int_free): Likewise.
3461 (malloc_consolidate): Likewise.
3462 (_int_realloc): Likewise.
3463 (_int_memalign): Don't touch corrupt arenas.
3464 * malloc/tst-malloc-backtrace.c: New test case.
3466 * Makefile (summarize-tests): Fix return value on success.
3468 * manual/string.texi (Envz Functions): Add envz_remove.
3470 2015-05-18 Roland McGrath <roland@hack.frob.com>
3472 * sysdeps/posix/opendir.c: Include <stdbool.h>.
3473 (invalid_name): New function, broken out of ...
3474 (__opendirat): ... here. Call it.
3475 (need_isdir_precheck): New function, broken out of ...
3476 (__opendirat): ... here. Call it.
3477 Use __fxstatat64, not __xstatat64.
3478 (opendir_oflags): New function, broken out of ...
3479 (__opendirat): ... here. Call it.
3480 (opendir_tail): New function, broken out of ...
3481 (__opendirat): ... here. Call it.
3482 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3483 opendir_tail, rather than punting to __opendirat.
3484 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3486 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3488 * .gitignore: Ignore generated *.pyc.
3490 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
3492 * include/stdio.h: Define __need_wint_t.
3493 * test-skeleton.c: Avoid `for' loop initial declaration.
3494 * nptl/tst-initializers1.c: Use test-skeleton.c.
3496 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3499 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3501 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3504 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3505 (__ieee754_atanh): Force underflow exception for results with
3506 small absolute value.
3507 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3508 (__ieee754_atanhf): Force underflow exception for results with
3509 small absolute value.
3510 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3511 (__ieee754_atanh): Force underflow exception for results with
3512 small absolute value.
3513 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3514 (__ieee754_atanhf): Force underflow exception for results with
3515 small absolute value.
3516 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3517 (__ieee754_atanhl): Force underflow exception for results with
3518 small absolute value.
3519 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3520 (__ieee754_atanhl): Force underflow exception for results with
3521 small absolute value.
3522 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3523 (__ieee754_atanhl): Force underflow exception for results with
3524 small absolute value.
3525 * math/auto-libm-test-in: Do not allow missing underflow
3526 exceptions from atanh.
3527 * math/auto-libm-test-out: Regenerated.
3530 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3531 2**-28 as threshold for returning x or +/- 1/x.
3532 * math/auto-libm-test-in: Add more tests of tan.
3533 * math/auto-libm-test-out: Regenerated.
3536 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3537 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3538 * math/auto-libm-test-in: Add another test of lgamma.
3539 * math/auto-libm-test-out: Regenerated.
3541 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
3543 * stdio-common/printf_fp.c (___printf_fp): Use abs.
3544 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
3545 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3546 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3547 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
3548 (ADD2A): Use fabs. (SUB2A): Use fabs.
3549 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3550 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3551 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3552 (log1): Use fabs. (my_log2): Use fabs.
3553 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3554 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3555 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3556 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3557 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3558 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
3559 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
3560 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
3561 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
3562 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3563 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3565 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3568 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3569 as threshold for returning 1 - x.
3570 * math/auto-libm-test-in: Add more tests of erfc.
3571 * math/auto-libm-test-out: Regenerated.
3573 2015-05-14 Joseph Myers <joseph@codesourcery.com>
3576 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3577 threshold for large arguments.
3578 * math/auto-libm-test-in: Add another test of atan.
3579 * math/auto-libm-test-out: Regenerated.
3582 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3583 (__log1p): Force underflow exception for results with small
3585 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3586 (__log1pf): Force underflow exception for results with small
3588 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3589 (__log1p): Force underflow exception for results with small
3591 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3592 (__log1pf): Force underflow exception for results with small
3594 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3595 (__log1pl): Force underflow exception for results with small
3597 * math/auto-libm-test-in: Do not allow missing underflow
3598 exceptions from log1p.
3599 * math/auto-libm-test-out: Regenerated.
3601 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
3602 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3605 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3607 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
3609 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3610 (libmvec): New variable.
3611 * configure.ac: Added option for mathvec build.
3612 * configure: Regenerated.
3613 * mathvec/Depend: New file.
3614 * mathvec/Makefile: New file.
3615 * shlib-versions: Added libmvec.
3616 * math/Makefile: Added rule for libm.so installation.
3618 * bits/math-vector.h: New file.
3619 * bits/libm-simd-decl-stubs.h: New header.
3620 * math/Makefile (headers): Added new header
3621 libm-simd-decl-stubs.h.
3622 * math/math.h (__MATHCALL_VEC): New macro.
3624 * math/gen-libm-have-vector-test.sh: Script generates series of macros
3625 for conditions in testing functions.
3626 * math/Makefile: Added call of libm-have-vector-test.sh.
3627 * math/libm-test.inc (HAVE_VECTOR): New macros.
3629 * math/libm-test.inc: START refactored.
3630 * math/test-double.c (TEST_MATHVEC): Add define.
3631 * math/test-float.c: Likewise.
3632 * math/test-idouble.c: Likewise.
3633 * math/test-ifloat.c: Likewise.
3634 * math/test-ildoubl.c: Likewise.
3635 * math/test-ldouble.c: Likewise.
3636 * sysdeps/generic/math-tests-arch.h
3637 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3640 * math/test-double.c (FUNC_TEST): New macro.
3641 * math/test-float.c: Likewise.
3642 * math/test-idouble.c: Likewise.
3643 * math/test-ifloat.c: Likewise.
3644 * math/test-ildoubl.c: Likewise.
3645 * math/test-ldouble.c: Likewise.
3646 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3648 2015-05-13 Roland McGrath <roland@hack.frob.com>
3650 * sysdeps/nacl/fdopendir.c: New file.
3652 * dirent/scandir-tail.c: New file.
3653 * dirent/scandir64-tail.c: New file.
3654 * dirent/Makefile (routines): Add them.
3655 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3656 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3657 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3658 [!SCANDIR] (SCANDIR_TAIL): New macro.
3659 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3660 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3661 (SCANDIRAT): Macro removed.
3662 (SCANDIR_TAIL): New macro.
3663 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3664 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3665 (SCANDIRAT): Just call __opendirat and __scandir_tail.
3666 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3667 (READDIR): Macro removed.
3668 (SCANDIR_TAIL): New macro.
3669 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3670 (SCANDIR_TAIL): New macro.
3672 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3673 * dirent/scandir-cancel.c: ... to this new file.
3674 * dirent/Makefile (routines): Add it.
3675 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3676 * sysdeps/unix/sysv/linux/i386/scandir64.c
3677 (SKIP_SCANDIR_CANCEL): Macro removed.
3678 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3680 * dirent/tst-scandir.c: New file.
3681 * dirent/tst-scandir64.c: New file.
3682 * dirent/Makefile (tests): Add them.
3684 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
3687 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3689 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3691 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3694 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
3696 * benchtests/bench-strcoll.c: New benchmark.
3697 * benchtests/Makefile: Generate locales and run benchmark.
3698 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3699 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3700 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3701 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3702 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3703 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3704 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3705 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3706 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3707 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3708 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3709 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3710 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3711 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3712 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3713 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3714 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3715 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3716 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3717 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3718 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3719 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3720 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3721 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3723 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
3725 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3726 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3728 2015-05-12 Roland McGrath <roland@hack.frob.com>
3730 * posix/uname-values.h: New file.
3731 * posix/uname.c: Include that instead of <config-name.h>.
3732 * sysdeps/nacl/uname-values.h: New file.
3733 * sysdeps/arm/nacl/uname-values.h: New file.
3735 2015-05-12 Joseph Myers <joseph@codesourcery.com>
3737 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3738 splitting into fields.
3740 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
3742 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3743 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3744 * locale/localeinfo.h: Add enum collation_encoding_type.
3745 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3746 * programs/ld-collate.c (collate_output): Add encoding type info.
3747 * string/strcoll_l.c (STRDIFF): New function.
3748 * (STRCOLL): Use STRDIFF to skip over equal prefix.
3749 * wcsmbs/wcscoll_l.c: Define STRDIFF.
3751 2015-05-11 Joseph Myers <joseph@codesourcery.com>
3754 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3755 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
3756 <fpu_control.h> instead of <math/fpu_control.c>.
3757 * sysdeps/mips/mips32/fpu/Makefile: New file.
3759 2015-05-11 Andreas Schwab <schwab@suse.de>
3762 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3764 (_nss_compat_endgrent): Call nss_endgrent.
3765 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3767 (_nss_compat_endpwent): Call nss_endpwent.
3768 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3769 needent, call nss_setspent only if non-zero.
3770 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3771 (internal_endspent): Don't call nss_endspent.
3772 (_nss_compat_endspent): Call nss_endspent.
3773 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3774 Remove. All uses removed.
3775 (internal_setent): Remove parameter stayopen, add parameter
3776 stream. Use it instead of global variable.
3777 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3778 (internal_endent, internal_getent): Add parameter stream. Use it
3779 instead of global variable.
3780 (CONCAT(_nss_files_end,ENTNAME))
3781 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3782 (_nss_files_get##name##_r): Pass local stream. Remove locking.
3783 * nss/nss_files/files-alias.c (position, last_use): Remove. All
3785 (internal_setent, internal_endent): Add parameter stream. Use it
3786 instead of global variable.
3787 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3789 (get_next_alias): Add parameter stream.
3790 (_nss_files_getaliasent_r): Pass global stream.
3791 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
3792 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3793 (_nss_files_gethostbyname4_r): Pass local stream to
3794 internal_setent, internal_getent and internal_endent. Remove
3797 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3799 * tst-strfmon1.c (tests): Update expected currency symbol.
3801 2015-05-08 Roland McGrath <roland@hack.frob.com>
3803 * sysdeps/nacl/gethostname.c: New file.
3805 2015-05-08 Joseph Myers <joseph@codesourcery.com>
3807 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3809 * math/auto-libm-test-out: Regenerated.
3810 * sysdeps/i386/fpu/libm-test-ulps: Update.
3811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3813 2015-05-08 Carlos O'Donell <carlos@redhat.com>
3816 * stdlib/tst-setcontext3.c: New file.
3817 * stdlib/tst-setcontext3.sh: New file.
3818 * stdlib/Makefile (tests): Add tst-setcontext3.
3819 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3820 to verify test program created output file.
3821 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3822 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3823 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3824 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3826 2015-05-06 Roland McGrath <roland@hack.frob.com>
3829 * elf/tst-tlsalign.c: New file.
3830 * elf/tst-tlsalign-static.c: New file.
3831 * elf/tst-tlsalign-lib.c: New file.
3832 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3833 (tests-static): Add tst-tlsalign-static.
3834 (modules-names): Add tst-tlsalign-lib.
3835 (test-xfail-tst-tlsalign): New variable.
3836 (test-xfail-tst-tlsalign-static): New variable.
3838 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3839 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3841 2015-05-06 Joseph Myers <joseph@codesourcery.com>
3843 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3844 csqrt, erfc, sin and sincos.
3845 * math/auto-libm-test-out: Regenerated.
3846 * sysdeps/i386/fpu/libm-test-ulps: Update.
3847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3849 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3851 * sysdeps/aarch64/libm-test-ulps: Update.
3853 2015-05-05 Joseph Myers <joseph@codesourcery.com>
3855 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3856 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3857 * math/auto-libm-test-out: Regenerated.
3858 * sysdeps/i386/fpu/libm-test-ulps: Update.
3859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3861 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3864 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3865 (wcsncpy): Likewise.
3867 2015-05-05 Florian Weimer <fweimer@redhat.com>
3869 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3870 Assume __ASSUME_FALLOCATE is always true.
3871 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3872 (__posix_fallocate64_l64): Likweise.
3873 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3874 (posix_fallocate): Likewise.
3875 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3876 (__posix_fallocate64_l64): Likewise.
3877 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3878 [!__ASSUME_FALLOCATE]: Add comment.
3880 2015-05-05 Florian Weimer <fweimer@redhat.com>
3882 * sysdeps/unix/sysv/linux/i386/Makefile
3883 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3884 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3885 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3886 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3887 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3888 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3889 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3891 2015-05-02 Joseph Myers <joseph@codesourcery.com>
3893 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3894 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3896 * math/auto-libm-test-out: Regenerated.
3897 * sysdeps/i386/fpu/libm-test-ulps: Update.
3898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3900 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3902 * math/auto-libm-test-in: Add more tests of tgamma.
3903 * math/auto-libm-test-out: Regenerated.
3904 * sysdeps/i386/fpu/libm-test-ulps: Update.
3905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3907 * math/auto-libm-test-in: Add more tests of tanh.
3908 * math/auto-libm-test-out: Regenerated.
3909 * sysdeps/i386/fpu/libm-test-ulps: Update.
3910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3912 * math/auto-libm-test-in: Add more tests of tan.
3913 * math/auto-libm-test-out: Regenerated.
3914 * sysdeps/i386/fpu/libm-test-ulps: Update.
3915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3917 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3918 * math/auto-libm-test-out: Regenerated.
3919 * sysdeps/i386/fpu/libm-test-ulps: Update.
3920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3922 * math/auto-libm-test-in: Add another test of pow.
3923 * math/auto-libm-test-out: Regenerated.
3924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3926 * math/auto-libm-test-in: Add more tests of lgamma.
3927 * math/auto-libm-test-out: Regenerated.
3928 * sysdeps/i386/fpu/libm-test-ulps: Update.
3929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3931 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3933 * math/auto-libm-test-out: Regenerated.
3934 * sysdeps/i386/fpu/libm-test-ulps: Update.
3935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3937 2015-05-01 Mark Wielaard <mjw@redhat.com>
3939 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3940 Elf64_Chdr structs and ELFCOMPRESS constants.
3942 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3944 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3946 * math/auto-libm-test-out: Regenerated.
3947 * sysdeps/i386/fpu/libm-test-ulps: Update.
3948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3950 * math/auto-libm-test-in: Add more tests of erf and erfc.
3951 * math/auto-libm-test-out: Regenerated.
3952 * sysdeps/i386/fpu/libm-test-ulps: Update.
3953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3955 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3957 * config.h.in (HAVE_AARCH64_BE): Add.
3959 2015-04-30 Joseph Myers <joseph@codesourcery.com>
3961 * math/auto-libm-test-in: Add more tests of csqrt.
3962 * math/auto-libm-test-out: Regenerated.
3963 * sysdeps/i386/fpu/libm-test-ulps: Update.
3964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3966 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3967 * math/auto-libm-test-out: Regenerated.
3968 * sysdeps/i386/fpu/libm-test-ulps: Update.
3969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3971 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3973 2015-04-29 Roland McGrath <roland@hack.frob.com>
3975 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3976 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3978 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3979 (euidaccess, eaccess): Define as weak aliases.
3981 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3982 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
3983 but __suseconds_t is often 'long int' so some sources assume that
3984 type is being used (e.g. they use %ld to print tv_usec).
3986 2015-04-29 Florian Weimer <fweimer@redhat.com>
3989 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3991 * nss/tst-nss-getpwent.c: New file.
3992 * nss/Makefile (tests): Add new test.
3994 2015-04-28 Joseph Myers <joseph@codesourcery.com>
3997 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3998 exponents less than 48 as cases where high part of mantissa needs
3999 examining to determine whether argument is integral.
4000 * math/libm-test.inc (round_test_data): Add more tests.
4002 2015-04-28 Mark Wielaard <mjw@redhat.com>
4004 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4006 2015-04-27 David S. Miller <davem@davemloft.net>
4008 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4010 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4012 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
4015 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4017 2015-04-27 Florian Weimer <fweimer@redhat.com>
4020 * time/tzset.c (parse_tzname): Return error on memory allocation
4022 * test-skeleton.c (struct temp_name_list): Change type of name
4023 member to non-const.
4024 (add_temp_file): Create a copy of the file name.
4025 (delete_temp_files): Deallocate memory.
4026 (create_temp_file): Add comment.
4028 2015-04-24 Florian Weimer <fweimer@redhat.com>
4030 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4031 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4033 2015-04-24 Roland McGrath <roland@hack.frob.com>
4035 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4036 * sysdeps/arm/configure: Regenerated.
4038 2015-04-24 Florian Weimer <fweimer@redhat.com>
4041 * time/tzfile.c (__tzfile_read): Check for large values of
4042 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
4043 * time/tzset.c (__tzstring_len): New function, based on the old
4044 __tzstring function.
4045 (__tzstring): Call __tzstring_len.
4046 (parse_tzname): New helper function extracted from
4047 __tzset_parse_tz. Call __tzstring_len, without making a copy of
4049 (parse_offset): New helper function extracted from
4050 __tzset_parse_tz. Replace switch with fallthrough with
4051 initialization before sscanf.
4052 (parse_rule): Likewise.
4053 (__tzset_parse_tz): Rewrite using the new helper functions. Use
4054 new-style function definition.
4055 * timezone/Makefile (tests): Add tst-tzset.
4056 (tst-tzset.out): Dependencies on time zone files.
4057 (tst-tzset-ENV): Set TZDIR.
4058 (testdata/XT%): Copy crafted time zone files.
4059 * timezone/README: Mention crafted time zone files.
4060 * timezone/testdata/XT1, timezone/testdata/XT2,
4061 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4063 * timezone/tst-tzset.c: New test.
4065 2015-04-24 Florian Weimer <fweimer@redhat.com>
4067 * Makeconfig (+gccwarn): Remove -Winline.
4069 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4071 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4073 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4075 * NEWS: Mention sysconf() cache information support for s390.
4076 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4078 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
4080 * math/k_casinh.c (__kernel_casinh): Use __copysign.
4081 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4082 (__nearbyint): Likewise.
4083 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4084 (copysignl): Likewise.
4086 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
4089 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4090 based on padding. (CVE-2015-1781)
4092 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4094 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4096 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4097 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4098 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4099 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4100 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4101 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4102 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4103 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4104 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4105 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4106 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4107 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4108 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4109 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4110 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4111 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4112 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4113 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4114 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4115 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4116 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4117 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4118 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4120 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
4122 * stdlib/setenv.c (__add_to_environ):
4123 Dump core quickly if setenv (..., NULL, ...) is called.
4124 This time, do it the right way, and pacify GCC with a pragma.
4126 2015-04-17 Roland McGrath <roland@hack.frob.com>
4128 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4129 IMAP->l_prev cannot be null, and #if out the code for the contrary
4130 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4131 believe that NS (&_dl_ns[NSID]) could point outside the array.
4133 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4134 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4135 before using NSID as an index.
4137 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
4140 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4141 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4142 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4144 2015-04-17 Roland McGrath <roland@hack.frob.com>
4146 Add preliminary port to Google Native Client on ARM.
4147 * abi-tags (.*-.*-nacl.*): New entry.
4148 * sysdeps/arm/nacl: New directory.
4149 * sysdeps/nacl: New directory.
4151 2015-04-16 David S. Miller <davem@davemloft.net>
4153 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4154 lowlevellock-futex.h
4156 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
4158 * sysdeps/tile/configure.ac: New file.
4159 * sysdeps/tile/configure: Regenerated.
4161 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4163 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
4164 conditionals for weak_alias and libc_hidden_weak.
4165 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4166 libc_hidden_weak and weak_alias.
4167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4168 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4169 and weak_alias for static one.
4171 2015-04-15 David S. Miller <davem@davemloft.net>
4173 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4175 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4178 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4179 Use signed comparision instead of substraction to avoid
4181 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4182 Take the sign of ret.
4183 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4184 Do not expect precise return values. Only the sign matters.
4185 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4186 * wcsmbs/test-wcsncmp.c: New File.
4187 * string/test-strncmp.c: Add wcsncmp support.
4189 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4192 * math/w_log1p.c: New file.
4193 * math/w_log1pf.c: Likewise.
4194 * math/w_log1pl.c: Likewise.
4195 * math/Makefile (libm-calls): Add w_log1p.
4196 * math/s_log1pl.c (log1pl): Remove weak_alias.
4197 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4198 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4199 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4200 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4201 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4202 [NO_LONG_DOUBLE] (log1pl): Likewise.
4203 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4204 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4205 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4206 (log1p): Remove long_double_symbol.
4207 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4208 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4209 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4210 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4211 remove weak_alias for corresponding log1p function.
4212 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4213 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4214 * sysdeps/ia64/fpu/w_log1p.c: New file.
4215 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4216 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4217 * math/libm-test.inc (log1p_test_data): Add errno expectations.
4219 2015-04-10 Joseph Myers <joseph@codesourcery.com>
4222 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4223 decimal exponent by 1.
4224 * stdlib/tst-strtod-round-data: Add more tests.
4225 * stdlib/tst-strtod-round.c (tests): Regenerated.
4227 2015-04-09 Joseph Myers <joseph@codesourcery.com>
4229 * math/auto-libm-test-in: Add more tests of clog and clog10.
4230 * math/auto-libm-test-out: Regenerated.
4231 * sysdeps/i386/fpu/libm-test-ulps: Update.
4232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4234 2015-04-09 Roland McGrath <roland@hack.frob.com>
4236 * Makeconfig (module-cppflags): Exclude all .v.i files.
4237 (skip-module-cppflags): Variable removed.
4239 * configure.ac (libc_config_ok): Initialize before reading
4240 preconfigure scripts, not after.
4241 * configure: Regenerated.
4243 * test-skeleton.c (TIMEOUT): Move #define to top level.
4244 (main): Grok environment variable TEST_DIRECT. If set, print
4245 test expectation details into that file and then behave as if
4248 2015-04-09 Florian Weimer <fweimer@redhat.com>
4250 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4253 2015-04-08 David S. Miller <davem@davemloft.net>
4255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4257 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4259 * math/auto-libm-test-in: Add more tests of atanh.
4260 * math/auto-libm-test-out: Regenerated.
4261 * sysdeps/i386/fpu/libm-test-ulps: Update.
4262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4264 * math/auto-libm-test-in: Add more tests of atan.
4265 * math/auto-libm-test-out: Regenerated.
4266 * sysdeps/i386/fpu/libm-test-ulps: Update.
4267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4269 2015-04-08 Florian Weimer <fweimer@redhat.com>
4271 * elf/pldd.c (main): Rewrite to use struct
4272 scratch_buffer instead of extend_alloca.
4273 * elf/pldd-xx.c (find_maps): Likewise.
4274 * grp/initgroups.c: Include <scratch_buffer.h> instead of
4276 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4277 scratch_buffer instead of extend_alloca.
4278 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4279 grp/compat-initgroups.c.
4280 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4281 Rewrite to use struct scratch_buffer instead of extend_alloca.
4282 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4283 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4285 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4287 * math/auto-libm-test-in: Add more tests of cbrt.
4288 * math/auto-libm-test-out: Regenerated.
4289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4291 * math/auto-libm-test-in: Add more tests of cabs.
4292 * math/auto-libm-test-out: Regenerated.
4293 * sysdeps/i386/fpu/libm-test-ulps: Update.
4294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4298 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4299 (__ieee754_atan2): Set FE_TONEAREST mode for internal
4301 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4303 * math/auto-libm-test-out: Regenerated.
4304 * sysdeps/i386/fpu/libm-test-ulps: Update.
4305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4308 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4309 (atan): Set FE_TONEAREST mode for internal computations.
4310 * math/auto-libm-test-in: Add more tests of atan.
4311 * math/auto-libm-test-out: Regenerated.
4313 2015-04-07 James Cowgill <james410@cowgill.org.uk>
4316 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4318 2015-04-07 Florian Weimer <fweimer@redhat.com>
4320 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4322 2015-04-07 Florian Weimer <fweimer@redhat.com>
4324 * include/scratch_buffer.h: New file.
4325 * malloc/scratch_buffer_grow.c: Likewise.
4326 * malloc/scratch_buffer_grow_preserve.c: Likewise.
4327 * malloc/scratch_buffer_set_array_size.c: Likewise.
4328 * malloc/tst-scratch_buffer.c: Likewise.
4329 * malloc/Makefile (routines): Add scratch_buffer_grow.
4330 (tests): Add test case.
4331 * malloc/Versions (GLIBC_PRIVATE): Export
4332 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4333 __libc_scratch_buffer_set_array_size.
4335 2015-04-06 Richard Henderson <rth@redhat.com>
4337 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4338 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4340 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4341 unsigned int before printing.
4343 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4346 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4347 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4349 2015-04-02 Florian Weimer <fweimer@redhat.com>
4351 * include/libc-internal.h (libc_max_align_t): Define.
4353 2015-04-02 Andreas Schwab <schwab@suse.de>
4356 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4358 2015-04-02 Mel Gorman <mgorman@suse.de>
4361 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4362 as well as the main arena.
4364 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4367 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4368 sharing L2 cache to 2 for Silvermont/Knights Landing.
4370 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4373 * config.make.in (have-protected-data): New.
4374 * configure.ac: Check linker support for protected data symbol.
4375 * configure: Regenerated.
4376 * elf/Makefile (modules-names): Add tst-protected1moda and
4377 tst-protected1modb if $(have-protected-data) is yes.
4378 (tests): Add tst-protected1a and tst-protected1b if
4379 $(have-protected-data) is yes.
4380 ($(objpfx)tst-protected1a): New.
4381 ($(objpfx)tst-protected1b): Likewise.
4382 (tst-protected1modb.so-no-z-defs): Likewise.
4383 * elf/tst-protected1a.c: New file.
4384 * elf/tst-protected1b.c: Likewise.
4385 * elf/tst-protected1mod.h: Likewise.
4386 * elf/tst-protected1moda.c: Likewise.
4387 * elf/tst-protected1modb.c: Likewise.
4389 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4392 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4393 indicates it is called from do_lookup_x on relocation against
4394 protected data, skip the data definion in the executable from
4396 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4397 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4398 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4399 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4400 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4402 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4403 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4404 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4405 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4406 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4407 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4409 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
4411 * sysdeps/nptl/pthread.h: Remove duplicate definition of
4412 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4414 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
4416 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4418 * sysdeps/x86_64/nptl/tls.h: Ditto.
4420 2015-03-27 Roland McGrath <roland@hack.frob.com>
4422 * dlfcn/tststatic.c (main): Converted to ...
4423 (do_test): ... this.
4424 (TEST_FUNCTION): New macro.
4425 Include test-skeleton.c.
4427 2015-03-26 Alan Modra <amodra@gmail.com>
4429 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4430 Don't segfault if ifunc resolver returns a NULL. Do set plt to
4431 zero for undefined weak.
4432 (elf_machine_plt_conflict): Similarly.
4434 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4436 * math/auto-libm-test-in: Add more tests of acosh, asinh and
4438 * math/auto-libm-test-out: Regenerated.
4439 * sysdeps/i386/fpu/libm-test-ulps: Update.
4440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4442 * math/auto-libm-test-in: Add another test of asin.
4443 * math/auto-libm-test-out: Regenerated.
4444 * sysdeps/i386/fpu/libm-test-ulps: Update.
4445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4447 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4449 (LLL_EBX_REG): Likewise.
4450 (LLL_ENTER_KERNEL): Likewise.
4452 * math/auto-libm-test-in: Add more tests of asin.
4453 * math/auto-libm-test-out: Regenerated.
4454 * sysdeps/i386/fpu/libm-test-ulps: Update.
4455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4458 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4459 libc_do_syscall_args): New structure.
4460 (INTERNAL_SYSCALL_MAIN_0): New macro.
4461 (INTERNAL_SYSCALL_MAIN_1): Likewise.
4462 (INTERNAL_SYSCALL_MAIN_2): Likewise.
4463 (INTERNAL_SYSCALL_MAIN_3): Likewise.
4464 (INTERNAL_SYSCALL_MAIN_4): Likewise.
4465 (INTERNAL_SYSCALL_MAIN_5): Likewise.
4466 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
4467 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4468 Replace conditional definitions by conditional definitions of ....
4469 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
4470 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4471 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4472 (libpthread-sysdep_routines): Add libc-do-syscall.
4473 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4474 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4475 to __NR_futex not 240.
4477 2015-03-25 Alan Modra <amodra@gmail.com>
4479 * NEWS: Advertise TLS optimization.
4480 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4481 (DT_PPC_NUM): Increment.
4482 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4483 (CHECK_STATIC_TLS): Use here.
4484 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4486 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4487 * sysdeps/powerpc/dl-tls.c: New file.
4488 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4489 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4490 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4491 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4496 2015-03-25 Alan Modra <amodra@gmail.com>
4498 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4499 for overlapping .opd entries" to "support...".
4500 * sysdeps/powerpc/powerpc64/configure: Regenerate
4502 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4504 * math/auto-libm-test-in: Add more tests of acos.
4505 * math/auto-libm-test-out: Regenerated.
4506 * sysdeps/i386/fpu/libm-test-ulps: Update.
4507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4509 * math/auto-libm-test-in: Add more tests of expm1.
4510 * math/auto-libm-test-out: Regenerated.
4511 * sysdeps/i386/fpu/libm-test-ulps: Update.
4512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4514 2015-03-24 Joseph Myers <joseph@codesourcery.com>
4516 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4517 * math/auto-libm-test-out: Regenerated.
4518 * sysdeps/i386/fpu/libm-test-ulps: Update.
4519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4521 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4524 * math/auto-libm-test-in: Add more tests of log2.
4525 * math/auto-libm-test-out: Regenerated.
4526 * sysdeps/i386/fpu/libm-test-ulps: Update.
4527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4529 2015-03-23 Roland McGrath <roland@hack.frob.com>
4531 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4532 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
4533 _IO_IS_APPENDING bit in READ_WRITE instead.
4535 2015-03-23 Florian Weimer <fweimer@redhat.com>
4537 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4538 (__determine_cpumask_size): Replace extend_alloca with a
4539 variable-length array. Do not treat res == 0 as an error.
4541 2015-03-23 Florian Weimer <fweimer@redhat.com>
4544 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4545 and integer overflow.
4546 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4547 (main): Add integer overflow tests.
4548 * manual/pattern.texi (Calling Wordexp): Document additional use
4551 2015-03-23 Alan Modra <amodra@gmail.com>
4553 * config.h.in: Remove HAVE_ASM_PPC_REL16.
4554 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4555 and false branch of conditional.
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4559 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
4561 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4563 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4564 unused declaration of _hurd_intr_rpc_msg_in_trap.
4565 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4566 defined instead of whether it is non-zero.
4567 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4568 input constraint instead of both input and output constraint. Use ecx
4569 clobber instead of %ecx.
4570 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4571 mutex_unlock): Use a statement expression instead of an expression list.
4572 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4573 type to vm_size_t instead of vm_address_t.
4574 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4575 defined instead of whether it is non-zero.
4576 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4577 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4578 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4579 comparisons with mapaddr.
4580 * nscd/nscd-client.h: Include <time.h>.
4581 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4582 9th parameter to __vm_region instead of int.
4583 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4584 * scripts/check-local-headers.sh (exclude): Add device/,
4585 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4588 2015-03-19 Roland McGrath <roland@hack.frob.com>
4590 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4591 to account for alignment padding.
4592 * sysdeps/arm/memmove.S: Likewise.
4594 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
4596 * sysdeps/unix/sysv/linux/generic/README: New file.
4598 2015-03-18 Joseph Myers <joseph@codesourcery.com>
4601 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4602 (futex_abstimed_wait)
4603 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4604 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4605 of lll_futex_timed_wait.
4607 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
4610 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4612 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
4619 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4620 entries with Static TLS too. Skip entries past the end of the
4621 allocated DTV, from Alan Modra.
4622 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
4623 Static TLS DTV entry set up from...
4624 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4625 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4626 * nptl/allocatestack.c (init_one_static_tls): ... and here...
4627 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4629 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
4630 that the slot we find is associated with the given map before
4631 using its generation count.
4632 * nptl_db/db_info.c: Include ldsodefs.h.
4633 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4634 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4635 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4636 (link_map::l_tls_offset): New struct field.
4637 (dtv_t::counter): Likewise.
4638 (rtld_global): New struct.
4639 (_rtld_global): New rtld variable.
4640 (dl_tls_dtv_slotinfo_list): New rtld global field.
4641 (dtv_slotinfo_list): New struct.
4642 (dtv_slotinfo): Likewise.
4643 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4644 (td_lookup): Rename to...
4645 (td_mod_lookup): ... this. Use new mod parameter instead of
4647 * nptl_db/td_thr_tlsbase.c: Include link.h.
4648 (dtv_slotinfo_list, dtv_slotinfo): New functions.
4649 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
4650 addresses even if the DTV is out of date or missing them.
4651 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4652 index zero-length arrays.
4653 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4654 (td_lookup): Make it a macro implemented in terms of...
4655 (td_mod_lookup): ... this declaration.
4656 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4657 (DB_MAIN_VARIABLE): Likewise.
4659 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
4662 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4664 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
4666 * stdlib/setenv.c (__add_to_environ): Revert previous change.
4668 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
4671 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4672 (atomic_add, atomic_increment_and_test)
4673 (atomic_decrement_and_test): Fix 64-bit arithmetic.
4675 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
4677 * stdlib/setenv.c (__add_to_environ):
4678 Dump core quickly if setenv (..., NULL, ...) is called.
4680 2015-03-13 Roland McGrath <roland@hack.frob.com>
4682 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4683 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4684 all the necessary asm magic in one place.
4685 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4688 2015-03-13 Carlos O'Donell <carlos@redhat.com>
4691 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4692 traced file mtime. Use consistent log message.
4693 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4694 (register_traced_file): Call install_watches. Always set mtime.
4695 (invalidate_cache): Iterate over all trace files. Call install_watches.
4696 (inotify_check_files): Don't inline. Handle watching parent
4697 directories and configuration file movement in and out.
4698 (handle_inotify_events): New function.
4699 (main_loop_poll): Call handle_inotify_events.
4700 (main_loop_epoll): Likewise.
4701 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4702 (struct traced_file): Use array of inotify fds. Add parent directory,
4704 (struct database_dyn): Remove unused file_mtime.
4705 (init_traced_file): New inline function.
4706 (define_traced_file): New macro.
4707 * nss/nss_db/db-init.c: Use define_traced_file.
4708 (_nss_db_init): Use init_traced_file.
4709 * nss/nss_files/files-init.c: Use define_traced_file.
4710 (_nss_files_init): Use init_traced_file.
4712 2015-03-12 Joseph Myers <joseph@codesourcery.com>
4714 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4715 [_LIBC]: Do not include <stdlib.h>.
4716 [!_LIBC] (abort): Remove declaration.
4717 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4718 _FP_STATIC_ASSERT instead of conditionally calling abort.
4719 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4720 (_FP_EXTEND_CNAN): Likewise.
4721 (FP_TRUNC): Likewise.
4722 (__FP_CLZ): Likewise.
4723 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4725 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
4727 * manual/string.texi (XPG basename): Fix prototype.
4729 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4732 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4733 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4734 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4735 (__setcontext): Likewise.
4736 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4737 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4738 Call rt_sigprocmask syscall one time to set new signal mask
4739 and retrieve the current signal mask instead of two calls.
4740 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4741 (__swapcontext): Likewise.
4742 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4743 * stdlib/tst-setcontext2.c: New file.
4745 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4747 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4749 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
4752 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4755 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4758 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4760 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4762 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4763 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4765 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4766 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4767 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4768 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4769 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4770 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4772 * nptl_db/td_symbol_list.c (td_lookup): Remove
4773 HAVE_ASM_GLOBAL_DOT_NAME code.
4774 * sysdeps/powerpc/powerpc64/configure.ac: Remove
4775 HAVE_ASM_GLOBAL_DOT_NAME check.
4776 * sysdeps/powerpc/powerpc64/configure: Regenerate.
4777 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4778 (DOT_LABEL): Remove define.
4779 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4780 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4781 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4782 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4783 (__TLS_GET_ADDR): Likewise.
4784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4785 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4787 2015-03-11 Carlos O'Donell <carlos@redhat.com>
4790 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4791 (_FPU_SETCW): Initialize cw from fpsr before storing.
4792 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4793 (fesetexceptflag): Rewrite using fpu_control.h.
4794 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4796 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
4799 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4801 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4803 2015-03-11 Joseph Myers <joseph@codesourcery.com>
4805 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4806 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4808 (_FP_FMA): Likewise.
4809 (_FP_DIV): Likewise.
4811 2015-03-10 Roland McGrath <roland@hack.frob.com>
4813 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4814 with 0 in that case.
4815 * Makefile (summarize-tests): New canned sequence, factored out of
4816 commands for targets tests and xtests. Display summary lines that
4817 don't start with PASS: or XFAIL: rather than ones that do start with
4818 ERROR: or FAIL:. Make the commands fail if any summary lines fail
4819 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4820 do start with ERROR: or FAIL:.
4821 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4822 (except for [$(build-shared) = yes]).
4823 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4824 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4825 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4826 * nptl/Makefile: Revert 2015-03-04 changes.
4827 [$(CXX) empty] (tests-unsupported): New variable.
4828 * debug/Makefile: Likewise.
4830 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4831 gnulib file. Replace __attribute with __attribute__ throughout.
4833 2015-03-10 Carlos O'Donell <carlos@redhat.com>
4835 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4837 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4840 * math/auto-libm-test-in: Add another test of pow.
4841 * math/auto-libm-test-out: Regenerated.
4843 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4845 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4846 $(config-cflags-nofma).
4848 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4850 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4851 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4852 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4853 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4854 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4855 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4856 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4857 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4858 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4859 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4860 Add comment on closing #endif.
4862 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4864 * posix/wordexp.c (CHAR_IN_SET): New macro.
4865 (parse_param): Use it.
4867 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4869 * sysdeps/powerpc/fpu/libm-test-ulps: update.
4871 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4874 * posix/wordexp.c (parse_param): Fix buffer overflow.
4875 * posix/wordexp-test.c (test_case): Add test case.
4877 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4880 * posix/wordexp.c (parse_backtick): Fix off-by-one.
4881 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4883 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4886 * posix/wordexp-test.c (test_case): Add test for BZ #18043
4887 (do_bz18043): Delete.
4889 (testit): Refactor to have words at the edge of unreadable page.
4891 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4894 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4895 Cleanup read-only streams as well.
4896 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4898 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4900 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4903 2015-03-07 Joseph Myers <joseph@codesourcery.com>
4905 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
4907 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4908 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4909 * soft-fp/op-common.h (_FP_DECL): Likewise.
4911 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
4913 * elf/ifuncdep2.c (global): Replace
4914 __attribute__((visibility("protected"))) with
4915 asm (".protected global").
4916 * elf/ifuncmod1.c (global): Likewise.
4917 * elf/ifuncmod5.c (global): Likewise.
4919 2015-03-06 Joseph Myers <joseph@codesourcery.com>
4921 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4922 <asm/sfp-machine.h> instead of <sfp-machine.h>.
4924 2015-03-06 Roland McGrath <roland@hack.frob.com>
4926 * manual/install.texi (Configuring and compiling):
4927 Document test-wrapper-env-only.
4928 * INSTALL: Regenerated.
4930 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4933 * posix/wordexp.c (parse_param): Fix buffer overflow.
4934 * posix/wordexp-test.c (do_bz18043): Add test case.
4936 2015-03-06 Vincent Bernat <vincent@bernat.im>
4938 * time/tst-strptime2.c (do_test): Ensure failing tests are
4940 * time/tst-strptime3.c (do_test): Likewise.
4942 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
4944 Fix aio_error thread-safety.
4945 * sysdeps/pthread/aio_error.c: New file
4946 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4949 2015-03-06 Florian Weimer <fweimer@redhat.com>
4951 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4952 (group_number, vfprintf): Use it.
4953 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4954 (JUMP, REF): Use it.
4955 (WORK_BUFFER_SIZE): New enum constant.
4956 (process_arg, vfprintf): Use it.
4958 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
4960 * manual/errno.texi (Error Messages): Complete example function
4961 by adding missing #define.
4962 (program_invocation_name): Add statement indicating GNU
4963 extension and reference which header file declares the variable.
4964 (program_invocation_short_name): Likewise.
4966 2015-03-06 Mike Frysinger <vapier@gentoo.org>
4968 * manual/errno.texi (Error Messages): Delete strerror ISO C89
4971 2015-03-05 Roland McGrath <roland@hack.frob.com>
4973 * Makeconfig (test-wrapper-env-only): New variable.
4974 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4975 then use that with $(test-wrapper-env-only) rather than using
4976 $(test-wrapper-env) $(run-program-env) $($*-ENV).
4978 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
4981 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4982 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4983 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4984 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4985 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4986 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4987 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4988 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4990 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4991 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4995 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4997 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4999 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5000 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5002 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5004 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5005 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5007 2015-03-04 Roland McGrath <roland@hack.frob.com>
5009 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5010 (ETH_ALEN): New macro.
5011 (struct ether_addr): Use it for length of ether_addr_octet.
5013 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5014 (setdb): Don't call __nss_configure_lookup for "rpc".
5015 (do_test): Don't call test_rpc.
5016 (output_rpcent, test_rpc): Functions moved ...
5017 * sunrpc/test-rpcent.c: ... to this new file.
5018 * sunrpc/Makefile (tests): Add it.
5020 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5022 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5023 * nptl/tst-signal6.c: Likewise.
5024 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5025 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5027 * configure.ac (libc_cv_cxx_link_ok): New check.
5028 Reset CXX to empty if it fails to link.
5029 * configure: Regenerated.
5030 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5031 bug-atexit3-lib only if $(CXX) is nonempty.
5032 * nptl/Makefile (tests): Likewise for tst-cancel24.
5033 (tests, tests-static): Likewise for tst-cancel24-static.
5034 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5035 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5036 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5037 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5039 2015-03-04 Andreas Schwab <schwab@suse.de>
5042 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5043 for non-GCC compilers.
5044 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5047 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5050 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5051 integer before bitwise and assembly operations.
5052 (feclearexcept): Likewise.
5053 * math/test-fenvinline.c: New file.
5054 * math/Makefile: Add test-fenvinline test.
5056 2015-03-03 Alan Modra <amodra@gmail.com>
5059 * scripts/localplt.awk: Strip off symbol version.
5060 * NEWS: Mention bug fix.
5062 2015-03-02 Roland McGrath <roland@hack.frob.com>
5064 * sysdeps/pthread/timer_routines.c
5065 (timer_free_list, thread_free_list, thread_active_list): Make static.
5067 2015-03-02 Joseph Myers <joseph@codesourcery.com>
5070 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5071 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5073 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5074 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5076 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5077 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5080 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5083 * posix/fnmatch_loop.c (END): Detect invalid pattern.
5084 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5086 2015-03-02 Andreas Schwab <schwab@suse.de>
5088 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5091 2015-03-02 Florian Weimer <fweimer@redhat.com>
5093 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5094 Return error status.
5096 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
5099 * locale/findlocale.c (_nl_find_locale): Introduce const
5100 version of loc_name and drop unsafe type casts.
5102 2015-02-27 Roland McGrath <roland@hack.frob.com>
5104 * dlfcn/tststatic2.c (main): Converted to ...
5105 (do_test): ... this.
5106 (TEST_FUNCTION): New macro.
5107 Include test-skeleton.c.
5109 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
5112 * elf/Makefile (tests): Add vismain only if PIE is enabled.
5113 (tests-pie): Add vismain.
5114 (CFLAGS-vismain.c): New.
5115 * elf/vismain.c: Add comments for PIE requirement.
5117 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5121 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5122 0x1p-56L as threshold for just returning the argument.
5123 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5124 0x1p-32L as threshold for just returning the argument.
5125 * math/auto-libm-test-in: Add more tests of atanh.
5126 * math/auto-libm-test-out: Regenerated.
5127 * sysdeps/i386/fpu/libm-test-ulps: Update.
5128 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5130 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5132 * string/bcopy.c (bcopy): Call memmove for performance.
5134 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5136 * string/bzero.c (__bzero): Call memset for performance.
5138 2015-02-27 John David Anglin <dave.anglin@bell.net>
5141 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5144 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5146 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5148 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5150 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5151 (__kernel_standard): Use CSTR macro when setting exc.name.
5152 * sysdeps/ieee754/Makefile [$(subdir) = math]
5153 (CFLAGS-k_standard.c): Remove variable.
5155 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5156 setting p and q from "else if" to "else".
5158 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5160 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5162 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5164 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5166 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5171 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5172 return pi/2 for arguments below 0x1p-113L.
5173 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5174 return pi/2 for arguments below 0x1p-106L.
5175 * math/auto-libm-test-in: Add more tests of acos.
5176 * math/auto-libm-test-out: Regenerated.
5179 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5181 (__ieee754_asin): Force underflow exception for results with small
5183 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5185 (__ieee754_asinf): Force underflow exception for results with
5186 small absolute value.
5187 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5188 (__ieee754_asin): Force underflow exception for results with small
5190 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5191 (__ieee754_asinf): Force underflow exception for results with
5192 small absolute value.
5193 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5194 (__ieee754_asinl): Force underflow exception for results with
5195 small absolute value.
5196 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5197 (__ieee754_asinl): Force underflow exception for results with
5198 small absolute value.
5199 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5200 (__ieee754_asinl): Force underflow exception for results with
5201 small absolute value.
5202 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5204 * math/auto-libm-test-in: Do not mark underflow exceptions as
5205 possibly missing for bug 16351.
5206 * math/auto-libm-test-out: Regenerated.
5209 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5210 of power of 2 down when low part has opposite sign.
5211 * math/libm-test.inc (logb_test_data): Add more tests.
5213 2015-02-26 Andreas Schwab <schwab@suse.de>
5216 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5217 over collating symbol inside a bracket expression. Minor cleanup.
5218 * posix/tst-fnmatch3.c (do_test): Add test case.
5220 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5223 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5224 Adjust exponent of power of 2 down when low part has opposite
5226 * math/libm-test.inc (ilogb_test_data): Add more tests.
5228 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
5231 * locale/findlocale.c (_nl_find_locale): Fix constness error in
5232 the previous change.
5235 * locale/findlocale.c (_nl_find_locale): Retry archive search
5236 after alias expansion.
5238 2015-02-25 Roland McGrath <roland@hack.frob.com>
5240 * iconv/tst-iconv3.c (main): Converted to ...
5241 (do_test): ... this.
5242 (TEST_FUNCTION): New macro.
5243 Include test-skeleton.c.
5245 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5246 (convert): Make function static.
5247 (test_unalign): Likewise. Add const to argument pointee types.
5248 (main): Replace with static function do_test.
5249 Print "Succeeded." only if RET is zero.
5250 (TEST_FUNCTION): New macro.
5251 Include test-skeleton.c.
5253 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5254 returns a null pointer.
5256 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5258 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5259 to __memcpy_ppc only for static builds.
5261 2015-02-25 Joseph Myers <joseph@codesourcery.com>
5264 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5265 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5266 * math/auto-libm-test-in: Add more tests of asinh.
5267 * math/auto-libm-test-out: Regenerated.
5268 * sysdeps/i386/fpu/libm-test-ulps: Update.
5269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5271 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
5274 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5275 and ip6_mtuinfo definitions here.
5276 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5277 in this define too. Update comment.
5279 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
5281 * elf/sprof.c (load_shobj): Tweak error message to match others.
5283 2015-02-24 Kevin Easton <kevin@guarana.org>
5285 [BZ #16145] (partial fix)
5286 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5287 to reduce lock contention.
5289 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
5291 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5292 (struct timex): Update time comment.
5293 (ADJ_SETOFFSET): Define.
5295 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5298 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5299 2**56 not 2**28 as threshold for log (2x) formula.
5300 * math/auto-libm-test-in: Add more tests of acosh.
5301 * math/auto-libm-test-out: Regenerated.
5302 * sysdeps/i386/fpu/libm-test-ulps: Update.
5303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5305 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5307 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5308 parenthesis around the buf assignment.
5309 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5311 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5314 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5315 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5316 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5317 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5318 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5319 * math/libm-test.inc (scalb_test_data): Add more tests.
5321 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5324 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5325 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5327 2015-02-24 Eric Rannaud <e@nanocritical.com>
5330 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5331 * io/bits/fcntl2.h (open): Use it.
5333 * io/open.c (__libc_open): Likewise.
5334 * io/open64.c (__libc_open64): Likewise.
5335 * io/open64_2.c (__open64_2): Likewise.
5336 * io/open_2.c (__open_2): Likewise.
5337 * io/openat.c (__openat): Likewise.
5338 * io/openat64.c (__openat64): Likewise.
5339 * io/openat64_2.c (__openat64_2): Likewise.
5340 * io/openat_2.c (__openat_2): Likewise.
5341 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5342 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5343 * sysdeps/posix/open64.c (__libc_open64): Likewise.
5344 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5345 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5346 (__open_nocancel): Likewise.
5347 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5348 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5349 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5351 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5354 * resolv/gethnamaddr.c (getanswer): Skip logging if
5355 RES_USE_DNSSEC is set.
5356 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5358 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5360 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5362 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
5364 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5365 201304L, for Unicode 7.
5367 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
5370 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5371 shared library. Add gmon-start.os otherwise.
5372 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5373 $(objpfx)gmon-start.os if builing shared library.
5374 ($(objpfx)g$(static-start-installed-name)): Likewise.
5376 2015-02-23 Andreas Schwab <schwab@suse.de>
5378 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5380 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5383 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5384 (enlarge_userbuf): Likewise.
5386 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
5388 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5389 * math/atest-exp.c (TIMEOUT): Adjust to 200.
5390 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5391 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5393 2015-02-20 Joseph Myers <joseph@codesourcery.com>
5395 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5396 expression inside statement expression.
5398 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5400 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5401 <sysdeps/nptl/lowlevellock.h> and remove macros and
5402 functions that are now defined there.
5403 (SYS_futex): Remove.
5404 (lll_compare_and_swap): Remove.
5405 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5407 2015-02-19 Joseph Myers <joseph@codesourcery.com>
5410 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5411 instead of scandirat.
5412 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5413 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5414 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5416 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5417 (__scandirat): Declare. Use libc_hidden_proto.
5418 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5420 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5422 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5425 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5427 (__ieee754_atan2): For results with small absolute value, force
5428 underflow exception and remove excess range and precision from
5430 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5432 (__ieee754_atan2f): For results with small absolute value, force
5433 underflow exception and remove excess range and precision from
5435 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5437 (__atan): For results with small absolute value, force underflow
5438 exception and remove excess range and precision from return value.
5439 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5441 (__atanf): For results with small absolute value, force underflow
5442 exception and remove excess range and precision from return value.
5443 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5445 (__ieee754_atan2): Force underflow exception for results with
5446 small absolute value.
5447 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5449 (atan): Force underflow exception for results with small absolute
5451 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5452 (__atanf): Force underflow exception for results with small
5454 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5456 (__atanl): Force underflow exception for results with small
5458 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5459 (__atanl): Force underflow exception for results with small
5461 * sysdeps/x86/fpu/bits/mathinline.h
5462 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5463 (__ieee754_atan2): Only define inline for long double.
5464 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5465 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5466 * math/auto-libm-test-in: Do not mark underflow exceptions as
5467 possibly missing for bug 15319. Add more tests of atan2.
5468 * math/auto-libm-test-out: Regenerated.
5469 * math/libm-test.inc (casin_test_data): Do not mark underflow
5470 exceptions as possibly missing for bug 15319.
5471 (casinh_test_data): Likewise.
5472 * sysdeps/i386/fpu/libm-test-ulps: Update.
5474 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
5476 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5477 * sysdeps/mips/bits/endian.h: Fix comments.
5479 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5482 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5483 (hdestroy_r): Likewise.
5484 (hsearch_r): Likewise.
5485 (__hcreate_r): Declare and use libc_hidden_proto.
5486 (__hdestroy_r): Likewise.
5487 (__hsearch_r): Likewise.
5488 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5489 (hcreate): Call __hcreate_r instead of hcreate_r.
5490 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5491 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5492 as weak alias of __hcreate_r.
5493 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5495 (hsearch_r): Rename to __hsearch_r and define as weak alias of
5497 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5499 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5500 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5501 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5502 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5504 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5506 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5507 arena_lock into a single arena_get.
5509 2015-02-17 Carlos O'Donell <carlos@redhat.com>
5511 * dl-reloc.c: Inlucde libc-internal.h.
5512 (_dl_try_allocate_static_tls): Call ALIGN_UP.
5513 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5514 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5515 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5516 (grow_heap): Likewise.
5517 * malloc/malloc.c: Include libc-internal.h.
5518 (do_check_malloc): Call powerof2.
5519 (sysmalloc): Use pagesize. Call ALIGN_UP.
5520 (systrim): Use pagesize.
5521 (mremap_chunk): Use pagesize. Call ALIGN_UP.
5522 (__libc_valloc): Use pagesize.
5523 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5525 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5528 * include/sys/resource.h (__getrlimit64): Declare. Use
5530 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5531 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
5532 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5534 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5536 [!getrlimit64] (getrlimit64): Define as weak alias of
5537 __getrlimit64. Use libc_hidden_weak.
5538 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5539 using __getrlimit64 not __new_getrlimit64.
5540 (__GI_getrlimit64): Likewise.
5541 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5543 (__GI_getrlimit64): Likewise.
5544 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5546 (getrlimit): Add __getrlimit64 alias.
5547 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5549 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5551 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5552 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5554 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5556 * libio/fileops.c: Add missing sys/mman.h
5557 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5559 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5561 * manual/math.texi (Errors in Math Functions): Clarify goals
5562 regarding inexact and underflow exceptions.
5564 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5566 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5567 * sysdeps/mips/memset.S: Ditto.
5569 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5571 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5573 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5575 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5576 (__v1longjmp): Remove versioned symbol.
5577 (__v1siglongjmp): Remove alias and versioned symbol.
5578 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5579 (__v2siglongjmp): Likewise.
5581 2015-02-16 Torvald Riegel <triegel@redhat.com>
5583 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5585 2015-02-16 Mike Frysinger <vapier@gentoo.org>
5587 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5589 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5592 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5593 zero result does not depend on the sign resulting from
5595 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5597 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5598 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5599 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5600 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5601 * math/libm-test.inc (remquo_test_data): Add more tests.
5603 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
5605 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5606 Problem reported by J William Piggott.
5608 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5611 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5612 products 4 * y and 2 * y where those would overflow.
5613 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5615 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5616 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5617 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5618 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5619 * math/libm-test.inc (remquo_test_data): Add more tests.
5621 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5623 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5624 [defined _COMPILING_NEWLIB].
5625 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5626 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5628 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5629 [!defined __mips_isa_rev || __mips_isa_rev < 6].
5631 2015-02-16 Torvald Riegel <triegel@redhat.com>
5633 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5636 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
5639 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5640 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5641 HOST_STACK_END_ADDR): Likewise.
5643 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
5645 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5646 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5647 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5649 2015-02-13 Roland McGrath <roland@hack.frob.com>
5651 * sysdeps/generic/c++-types.data: New file.
5652 * sysdeps/generic/ld.abilist: New file.
5653 * sysdeps/generic/libBrokenLocale.abilist: New file.
5654 * sysdeps/generic/libanl.abilist: New file.
5655 * sysdeps/generic/libc.abilist: New file.
5656 * sysdeps/generic/libcrypt.abilist: New file.
5657 * sysdeps/generic/libdl.abilist: New file.
5658 * sysdeps/generic/libm.abilist: New file.
5659 * sysdeps/generic/libpthread.abilist: New file.
5660 * sysdeps/generic/libresolv.abilist: New file.
5661 * sysdeps/generic/librt.abilist: New file.
5663 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5666 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5667 Compute absolute value of x as modified by fmod, not original
5669 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5670 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
5671 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
5672 RUN_TEST_ffI_f1_mod8.
5673 (remquo_test_data): Add more tests.
5675 2015-02-13 Roland McGrath <roland@hack.frob.com>
5677 * sysdeps/init_array/pt-crti.S: New file.
5679 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5682 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5683 __builtin_fmaf instead of relying on contraction of a * b + c.
5685 2015-02-12 J William Piggott <elseifthen@gmx.com>
5688 * manual/time.texi: correct the zoneinfo path in the TZ Variable
5691 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5694 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5695 __builtin_fma instead of relying on contraction of a * b + c.
5697 2015-02-12 Roland McGrath <roland@hack.frob.com>
5699 * Makeconfig (ASFLAGS): Add -Werror=undef.
5700 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5701 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5702 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5704 * Makeconfig (after-link): New variable.
5705 (+link-pie, +link-pie-tests): Use it.
5706 (+link-static, +link-static-tests): Likewise.
5707 (+link, +link-tests): Likewise.
5708 * Makerules (build-module, build-module-asneeded): Likewise.
5709 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5711 * elf/Makefile ($(objpfx)ld.so): Likewise.
5713 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5716 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5717 both struct timeval and struct timespec.
5719 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5722 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5724 (__ieee754_exp2l): Do not multiply small fractional parts by
5726 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5728 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5729 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5730 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5731 * math/auto-libm-test-in: Add more tests of exp2.
5732 * math/auto-libm-test-out: Regenerated.
5734 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5736 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5739 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5741 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5744 2015-02-12 Andreas Schwab <schwab@suse.de>
5747 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5748 Filter out elision flags from value returned in kind.
5749 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5750 * nptl/tst-pthread-mutexattr.c: New file.
5752 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
5754 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5755 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5756 into gnu-gnu, and update comment to refer to abi-tags.
5758 2015-02-11 Joseph Myers <joseph@codesourcery.com>
5761 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5762 (__sincos): Set errno to EDOM for infinite argument.
5763 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5764 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5765 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5766 (__sincosl): Set errno to EDOM for infinite argument.
5767 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5768 (__sincosl): Set errno to EDOM for infinite argument.
5769 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5770 (__sincosl): Set errno to EDOM for infinite argument.
5771 * math/libm-test.inc (sincos_test_data): Test errno setting.
5773 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
5775 * string/strxfrm_l.c: Remove #define STRCMP.
5776 * string/strcoll_l.c: Remove #define STRLEN.
5777 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5778 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5780 2015-02-10 Joseph Myers <joseph@codesourcery.com>
5782 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5783 * sysdeps/mips/mips32/sfp-machine.h: ... here.
5784 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5785 * sysdeps/mips/mips64/Makefile: ... here.
5786 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5787 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5788 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5789 * sysdeps/mips/mips64/sfp-machine.h: ... here.
5790 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5791 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5792 * sysdeps/mips/mips64/n64/Implies: Likewise.
5794 2015-02-10 Roland McGrath <roland@hack.frob.com>
5796 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5797 <sys/time.h>, <string.h>, and <errno.h>.
5798 (dest_offset, dest_address, value, zero): Remove unused variables.
5799 (ldouble): Remove typedef.
5800 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5801 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
5803 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5804 (check): Function removed.
5806 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
5807 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5808 Don't call set_sigaction_FP and remove_sigaction_FP here.
5809 (ldouble_test): Just use 'long double' as macro argument, no need for
5810 the 'ldouble' typedef.
5811 (do_test): Set up SIGFPE handler at start, using plain signal rather
5812 than sigaction. Fix code style.
5814 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
5817 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5820 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5822 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5823 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5825 * sysdeps/powerpc/configure.ac: Remove file.
5826 * sysdeps/powerpc/configure: Likewise.
5828 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5829 [sysdep_routines]: Remove wordcopy-power6 object.
5830 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5831 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5832 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5833 (__memmove_ppc32): Likewise.
5834 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5836 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5837 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5838 Remove preprocessor.
5840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5841 [sysdep_routines]: Remove wide chars objects.
5842 [wcsmbs]: New rule for wide char objects.
5844 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5845 Remove wordcopy-power6 obejct.
5846 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5847 Use local call for wordcopy and memcpy symbols.
5848 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5849 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5850 implementation for loader.
5851 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5853 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5854 Remove wordcopy-power7 object.
5855 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5856 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5857 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5858 (_wordcopy_fwd_dest_aligned): Likewise.
5859 (_wordcopy_bwd_aligned): Likewise.
5860 (_wordcopy_bwd_dest_aligned): Likewise.
5862 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5863 Rewrite to call __memmove_ppc instead of include default
5866 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5867 Remove wide chars objects.
5868 [wcsmbs]: New rule for wide char objects.
5870 2015-02-09 Andreas Schwab <schwab@suse.de>
5873 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5874 in terms of __O_DIRECTORY.
5876 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5878 * time/getdate.c: Include <stdbool.h>.
5879 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5881 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5884 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
5886 Add ersatz _Static_assert on older C hosts
5887 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5888 pre-C11 C platform that is not known to support _Static_assert.
5890 2015-02-07 Richard Braun <rbraun@sceen.net>
5892 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5894 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5896 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5898 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5899 priority against unexistent AIO_PRIO_DELTA_MAX.
5900 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5902 * misc/fchflags.c (fchflags): Likewise.
5903 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5904 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5905 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5906 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5907 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5909 [__USE_MISC] (chflags, fchflags): Declare functions.
5910 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5911 EINVAL when nfds is greater than FD_SETSIZE.
5912 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5913 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5915 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5916 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5917 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5919 * hurd/hurd/signal.h (_hurd_self_sigstate,
5920 _hurd_critical_section_lock, _hurd_critical_section_unlock):
5921 Explicit casts from void *.
5922 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5923 * abi-tags: Rename gnu-gnu os into gnu.
5926 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5927 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5928 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5929 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5930 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5931 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5934 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5935 duplicates ADDR->sun_path with sockaddr LEN limitation.
5936 * sysdeps/mach/hurd/connect.c: Include <string.h>
5937 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5938 * sysdeps/mach/hurd/sendmsg.c: Likewise.
5939 * sysdeps/mach/hurd/sendto.c: Likewise.
5940 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5941 implementing it by hand.
5943 2015-02-06 Roland McGrath <roland@hack.frob.com>
5945 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5946 Use sfi_breg on ldr.
5947 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5950 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5952 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5953 Test SIGSETXID only if it's defined.
5955 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5957 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5958 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
5960 * nptl/tst-align2.c: Moved ...
5961 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5962 * nptl/Makefile (tests): Remove tst-align2.
5963 * sysdeps/unix/sysv/linux/Makefile
5964 [$(subdir) = nptl] (tests): Add tst-align-clone.
5965 * nptl/tst-getpid1.c: Moved ...
5966 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5967 * nptl/tst-getpid2.c: Moved ...
5968 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5969 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5970 * sysdeps/unix/sysv/linux/Makefile
5971 [$(subdir) = nptl] (tests): ... here.
5972 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5973 * sysdeps/unix/sysv/linux/Makefile
5974 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5976 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5977 Drop trailing \n from perror argument. Use return rather than exit.
5979 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5981 * nptl/tst-cancel21.c (do_test): Likewise.
5982 * debug/tst-backtrace6.c: Include <signal.h> first thing.
5983 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5984 [!SA_SIGINFO]: Make it a stub test.
5986 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5987 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5989 * posix/tst-getlogin.c: Move to ...
5990 * login/tst-getlogin.c: ... here.
5991 * posix/Makefile (tests): Move tst-getlogin to ...
5992 * login/Makefile (tests): ... here.
5994 * libio/tst-atime.c (do_test): Move local variables SV and E
5995 inside [ST_NOATIME] conditional.
5997 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5999 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6001 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6002 (wait_code): New function replaces macro.
6003 Call nanosleep rather than syscall.
6005 * nptl/pt-system.c: Rewritten. Put everything under
6006 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6007 Use IFUNC to redirect when possible.
6009 * nptl/pt-longjmp.c: Rewritten. Put everything under
6010 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6011 Use IFUNC to redirect when possible.
6013 * nptl/pt-fork.c: Rewritten. Put everything under
6014 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6015 Use IFUNC to redirect when possible.
6016 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6018 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6019 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6020 unconditionally nowadays. This included the only reference to
6021 __vdso_clock_gettime that appears outside libc proper.
6022 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6023 Remove version set (containing only __vdso_clock_gettime).
6024 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6025 Add attribute_hidden.
6026 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6027 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6028 libc_hidden_data_def.
6029 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6030 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6032 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6033 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6034 setrpcent, and getrpcport to ...
6035 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6036 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6037 getrpcbynumber_r, and getrpcent_r to ...
6038 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6039 * inet/getrpcbyname.c: Moved ...
6040 * sunrpc/getrpcbyname.c: ... here.
6041 * inet/getrpcbyname_r.c: Moved ...
6042 * sunrpc/getrpcbyname_r.c: ... here.
6043 * inet/getrpcbynumber.c: Moved ...
6044 * sunrpc/getrpcbynumber.c: ... here.
6045 * inet/getrpcbynumber_r.c: Moved ...
6046 * sunrpc/getrpcbynumber_r.c: ... here.
6047 * inet/getrpcent.c: Moved ...
6048 * sunrpc/getrpcent.c: ... here.
6049 * inet/getrpcent_r.c: Moved ...
6050 * sunrpc/getrpcent_r.c: ... here.
6051 * inet/Makefile (routines): Move those to ...
6052 * sunrpc/Makefile (routines): ... here.
6053 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6054 the $(subdirs) list.
6055 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
6056 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6057 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6058 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6060 * elf/Makefile (routines): Include $(all-dl-routines), not just
6062 (rtld-routines): Likewise. Use = rather than :=.
6063 * sysdeps/aarch64/Makefile [$(subdir) = elf]
6064 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6065 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6066 * sysdeps/arm/Makefile: Likewise.
6067 * sysdeps/i386/Makefile: Likewise.
6068 * sysdeps/x86_64/Makefile: Likewise.
6069 * sysdeps/hppa/Makefile [$(subdir) = elf]
6070 (sysdep_routines, sysdep-rtld-routines): Don't add
6071 $(sysdep-dl-routines) to these.
6072 * sysdeps/ia64/Makefile: Likewise.
6073 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6074 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6075 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6076 Don't add dl-static to these; sysdep-dl-routines alone is enough.
6077 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6078 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6079 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6080 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6081 * sysdeps/powerpc/Makefile [$(subdir) = elf]
6082 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6083 these; sysdep-dl-routines alone is enough.
6085 2015-02-06 Joseph Myers <joseph@codesourcery.com>
6088 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6089 where multiplication results in zero and third argument is finite
6091 * math/auto-libm-test-in: Add more tests of fma.
6092 * math/auto-libm-test-out: Regenerated.
6094 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6095 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6096 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6097 (_FP_CMP_EQ): Likewise.
6098 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6100 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6101 extra argument CHECK_NAN. Redefine as wrapper around
6104 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
6106 * version.h (RELEASE): Set to "stable".
6107 (VERSION): Set to "2.21"
6108 * include/features.h (__GLIBC_MINOR__): Set to 21.
6110 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6112 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6113 Paul Eggert <eggert@cs.ucla.edu>
6116 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6117 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6118 size in bytes. Store needed elements in wpmax. Use needed size
6119 in bytes for extend_alloca.
6121 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
6123 * manual/install.texi: Latest tested versions are GCC 4.9.2,
6124 binutls 2.25, and texinfo 5.2.
6125 * INSTALL: Regenerate.
6126 * sysdeps/nios2/configure: Regenerate.
6127 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6128 * manual/contrib.texi: Update.
6152 * po/pt_BR.po: Update.
6161 * po/zh_CN.po: Update.
6162 * po/zh_TW.po: Update.
6164 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6165 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6166 * sysdeps/hppa/dl-irel.h: Remove #warning.
6167 * sysdeps/hppa/entry.h: Provide prototype for
6168 __canonicalize_funcptr_for_compare and cast argument.
6169 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6170 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6171 * sysdeps/hppa/sotruss-lib.c: New file.
6172 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6173 (atomic_compare_and_exchange_val_acq): Use __typeof__.
6174 (atomic_compare_and_exchange_bool_acq): Likewise.
6175 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6176 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6178 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6179 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6180 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6182 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6184 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6185 called function in non-PIC case.
6187 2015-01-31 David S. Miller <davem@davemloft.net>
6189 * sysdeps/sparc/sparc32/bits/atomic.h
6190 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6191 unlock not after it.
6192 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6193 volatile register usage warnings from the compiler.
6195 * sysdeps/sparc/nptl/sem_init.c: Delete.
6196 * sysdeps/sparc/nptl/sem_post.c: Delete.
6197 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6198 * sysdeps/sparc/nptl/sem_wait.c: Delete.
6199 * sysdeps/sparc/sparc32/sem_init.c: New file.
6200 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6201 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6202 padding explicitly initialized.
6203 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6204 padding for in-semaphore spinlock.
6205 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6206 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6207 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6208 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6209 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6210 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6211 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6212 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6214 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6215 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6217 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
6220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6221 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6222 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6224 (index_AVX_Fast_Unaligned_Load): Likewise.
6225 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6226 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6227 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6228 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6229 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6230 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6231 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6232 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6233 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6235 2015-01-29 Andreas Schwab <schwab@suse.de>
6237 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6239 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6242 * nscd/nscd_stat.c (send_stats): Initialize DATA.
6244 2015-01-28 Martin Sebor <msebor@redhat.com>
6246 * math/README.libm-test: Clarify. Add "How to read the test output."
6248 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
6250 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6253 2015-01-28 Joseph Myers <joseph@codesourcery.com>
6255 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6256 (__HAVE_64B_ATOMICS): Define to 0.
6258 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6261 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6262 value to set as new flag.
6265 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6266 and use _ARCH_PPCSQ instead.
6267 (__ieee754_sqrt): Likewise.
6268 (__ieee754_sqrtf): Likewise.
6269 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6270 _ARCH_PPCSQ is defined.
6271 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6273 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6274 _ARCH_PPCSQ is defined.
6275 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6277 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6279 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6281 * iconv/loop.c: Suppress array out of bound warning caused by GCC
6282 bug (GCC BZ #64739).
6284 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
6286 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6287 Mark _retval as used.
6288 (lll_futex_wake_unlock): Likewise.
6289 (lll_futex_timed_wait_requeue_pi): Likewise.
6291 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6292 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6295 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6298 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6299 (__bswap_64): Mark as __always_inline.
6301 2015-01-25 Bram <bug_rh@spam.wizbit.be>
6304 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6305 when none of the search directories exist.
6307 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6310 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6311 power8 in .machine directive.
6314 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6315 set dependency from opd value.
6317 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6320 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6323 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6326 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6328 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6330 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6331 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6332 Replace 1UL with (uint64_t) 1.
6333 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6336 2015-01-23 Roland McGrath <roland@hack.frob.com>
6338 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6339 (if_freenameindex): Likewise.
6341 * resource/getrlimit64.c: Add missing libc_hidden_def.
6343 2015-01-22 Joseph Myers <joseph@codesourcery.com>
6345 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6347 (_FP_FMA): Likewise.
6348 (_FP_TO_INT_ROUND): Likewise.
6349 (_FP_FROM_INT): Likewise.
6351 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6354 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6355 Make code racy and cancel safe.
6357 2015-01-21 Carlos O'Donell <carlos@redhat.com>
6359 * sysdeps/arm/unwind-resume.h: Fix copyright year.
6360 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6363 * pwd/tst-getpw.c: Rewrite.
6366 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6367 (modules-names): Add moddummy1 and moddummy2.
6368 ($(objpfx)tst-rec-dlopen): Define.
6369 * dlfcn/moddummy1.c: New file.
6370 * dlfcn/moddummy2.c: New file.
6371 * dlfcn/tst-rec-dlopen.c: New file.
6372 * elf/dl-cache.c (_dl_load_cache_lookup):
6373 Return char*. Copy result with alloca/strcpy/strdup.
6374 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6375 returns char*. Free cached. If not saving realname
6377 * elf/dl-open.c (dl_open_worker): Do not assert that
6378 _r_debug->r_state is RT_CONSISTENT.
6379 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6382 2015-01-21 Torvald Riegel <triegel@redhat.com>
6383 Carlos O'Donell <carlos@redhat.com>
6386 * nptl/sem_waitcommon.c: New file.
6387 * nptl/sem_wait.c: Include sem_waitcommon.c.
6388 (__sem_wait_cleanup, do_futex_wait): Remove.
6389 (__new_sem_wait): Adapt.
6390 (__new_sem_trywait): New function.
6391 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6392 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6393 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6394 (sem_timedwait): Adapt.
6395 * nptl/sem_post.c (__new_sem_post): Adapt.
6396 (futex_wake): New function.
6397 (__old_sem_post): Add release MO fence.
6398 * nptl/sem_open.c (sem_open): Adapt.
6399 * nptl/sem_init.c (__new_sem_init): Adapt.
6400 (futex_private_if_supported): New function.
6401 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6402 (__old_sem_getvalue): Add using previous code.
6403 * sysdeps/nptl/internaltypes.h: Adapt.
6404 * nptl/tst-sem13.c (do_test): Adapt.
6405 * nptl/tst-sem11.c (main): Adapt.
6406 * nptl/sem_trywait.c: Remove.
6407 * nptl/DESIGN-sem.txt: Remove.
6408 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6409 (gen-as-const-headers): Remove structsem.sym.
6410 * nptl/structsem.sym: Remove.
6411 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6412 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6413 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6414 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6415 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6416 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6417 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6418 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6419 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6420 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6421 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6422 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6423 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6424 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6425 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6426 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6427 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6428 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6429 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6430 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6431 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6432 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6434 2015-01-20 Carlos O'Donell <carlos@redhat.com>
6436 * INSTALL: Regenerated.
6438 * po/libc.pot: Regenerated.
6440 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
6441 Sandra Loosemore <sandra@codesourcery.com>
6442 Andrew Jenner <andrew@codesourcery.com>
6443 Joseph Myers <joseph@codesourcery.com>
6444 Nathan Sidwell <nathan@codesourcery.com>
6446 * NEWS: Mention new Nios II port.
6447 * sysdeps/nios2/Implies: New file.
6448 * sysdeps/nios2/Makefile: New file.
6449 * sysdeps/nios2/Subdirs: New file.
6450 * sysdeps/nios2/Versions: New file.
6451 * sysdeps/nios2/__longjmp.S: New file.
6452 * sysdeps/nios2/abort-instr.h: New file.
6453 * sysdeps/nios2/backtrace.c: New file.
6454 * sysdeps/nios2/bits/endian.h: New file.
6455 * sysdeps/nios2/bits/fenv.h: New file.
6456 * sysdeps/nios2/bits/link.h: New file.
6457 * sysdeps/nios2/bits/setjmp.h: New file.
6458 * sysdeps/nios2/bsd-_setjmp.S: New file.
6459 * sysdeps/nios2/bsd-setjmp.S: New file.
6460 * sysdeps/nios2/configure: New generated file.
6461 * sysdeps/nios2/configure.ac: New file.
6462 * sysdeps/nios2/crti.S: New file.
6463 * sysdeps/nios2/crtn.S: New file.
6464 * sysdeps/nios2/dl-init.c: New file.
6465 * sysdeps/nios2/dl-machine.h: New file.
6466 * sysdeps/nios2/dl-sysdep.h: New file.
6467 * sysdeps/nios2/dl-tls.h: New file.
6468 * sysdeps/nios2/dl-trampoline.S: New file.
6469 * sysdeps/nios2/gccframe.h: New file.
6470 * sysdeps/nios2/gmp-mparam.h: New file.
6471 * sysdeps/nios2/jmpbuf-offsets.h: New file.
6472 * sysdeps/nios2/jmpbuf-unwind.h: New file.
6473 * sysdeps/nios2/ldsodefs.h: New file.
6474 * sysdeps/nios2/libc-tls.c: New file.
6475 * sysdeps/nios2/libm-test-ulps: New file.
6476 * sysdeps/nios2/machine-gmon.h: New file.
6477 * sysdeps/nios2/math-tests.h: New file.
6478 * sysdeps/nios2/math_private.h: New file.
6479 * sysdeps/nios2/memusage.h: New file.
6480 * sysdeps/nios2/nptl/Makefile: New file.
6481 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6482 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6483 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6484 * sysdeps/nios2/nptl/pthreaddef.h: New file.
6485 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6486 * sysdeps/nios2/nptl/tls.h: New file.
6487 * sysdeps/nios2/preconfigure: New file.
6488 * sysdeps/nios2/s_fma.c: New file.
6489 * sysdeps/nios2/s_fmaf.c: New file.
6490 * sysdeps/nios2/setjmp.S: New file.
6491 * sysdeps/nios2/sfp-machine.h: New file.
6492 * sysdeps/nios2/sotruss-lib.c: New file.
6493 * sysdeps/nios2/stackguard-macros.h: New file.
6494 * sysdeps/nios2/stackinfo.h: New file.
6495 * sysdeps/nios2/start.S: New file.
6496 * sysdeps/nios2/sysdep.h: New file.
6497 * sysdeps/nios2/tls-macros.h: New file.
6498 * sysdeps/nios2/tst-audit.h: New file.
6499 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6500 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6501 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6502 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6503 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6504 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6505 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6506 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6507 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6508 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6509 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6510 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6511 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6512 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6513 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6514 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6515 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6516 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6517 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6518 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6519 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6520 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6521 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6522 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6523 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6524 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6525 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6526 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6527 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6528 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6529 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6530 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6531 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6532 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6533 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6534 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6535 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6536 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6537 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6538 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6539 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6540 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6541 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6542 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6544 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6547 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6548 (getutent): Use weak_alias in non SHARED case
6549 and default_symbol_version in SHARED case.
6550 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6551 (getutent_r, pututline): Likewise.
6552 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6553 (getutid): Likewise.
6554 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6555 (getutid_r): Likewise.
6556 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6557 (getutline): Likewise.
6558 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6559 (getutline_r): Likewise.
6560 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6561 (updwtmp): Likewise.
6563 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6566 * sysdeps/s390/s390-32/memcmp.S
6567 (memcmp_g5): Rename to __memcmp_g5.
6568 * sysdeps/s390/s390-32/memcpy.S
6569 (memcpy_g5): Rename to __memcpy_g5.
6570 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6571 (memcpy_mvcle) Rename to __memcpy_mvcle.
6572 * sysdeps/s390/s390-32/memset.S
6573 (memset_g5): Rename to __memset_g5.
6574 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6575 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6576 and use prefixed functions.
6577 * sysdeps/s390/s390-32/multiarch/memcmp.S
6578 (memcmp_z196): Rename to __memcmp_z196.
6579 (memcmp_z10): Rename to __memcmp_z10.
6580 (memcmp): Set alias to __memcmp_g5.
6581 (bcmp): Set alias to __memcmp_g5.
6582 * sysdeps/s390/s390-32/multiarch/memcpy.S
6583 (memcpy_z196): Rename to __memcpy_z196.
6584 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6585 (memcpy_z10): Rename to __memcpy_z10.
6586 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6587 (memcpy): Set alias to __memcpy_g5.
6588 * sysdeps/s390/s390-32/multiarch/memset.S
6589 (memset_z196): Rename to __memset_z196.
6590 Jump to __memset_mvcle instead of memset_mvcle.
6591 (memset_z10): Rename to __memset_z10.
6592 Jump to __memset_mvcle instead of memset_mvcle.
6593 (memset_mvcle) Rename to __memset_mvcle.
6594 (memset): Set alias to __memset_g5.
6595 * sysdeps/s390/s390-64/memcmp.S
6596 (memcmp_z900): Rename to __memcmp_z900.
6597 * sysdeps/s390/s390-64/memcpy.S
6598 (memcpy_z900): Rename to __memcpy_z900.
6599 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6600 (memcpy_mvcle) Rename to __memcpy_mvcle.
6601 * sysdeps/s390/s390-64/memset.S
6602 (memset_z900): Rename to __memset_z900.
6603 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6604 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6605 and use prefixed functions.
6606 * sysdeps/s390/s390-64/multiarch/memcmp.S
6607 (memcmp_z196): Rename to __memcmp_z196.
6608 (memcmp_z10): Rename to __memcmp_z10.
6609 (memcmp): Set alias to __memcmp_z900.
6610 (bcmp): Set alias to __memcmp_z900.
6611 * sysdeps/s390/s390-64/multiarch/memcpy.S
6612 (memcpy_z196): Rename to __memcpy_z196.
6613 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6614 (memcpy_z10): Rename to __memcpy_z10.
6615 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6616 (memcpy): Set alias to __memcpy_z900.
6617 * sysdeps/s390/s390-64/multiarch/memset.S
6618 (memset_z196): Rename to __memset_z196.
6619 Jump to __memset_mvcle instead of memset_mvcle.
6620 (memset_z10): Rename to __memset_z10.
6621 Jump to __memset_mvcle instead of memset_mvcle.
6622 (memset_mvcle) Rename to __memset_mvcle.
6623 (memset): Set alias to __memset_z900.
6625 2015-01-14 Joseph Myers <joseph@codesourcery.com>
6628 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6629 __fesetenv instead of fesetenv.
6631 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6633 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6636 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6638 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6641 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6642 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6643 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6644 strncmp-power8 object.
6645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6646 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6647 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6650 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6651 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6653 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6654 trailing byte check.
6656 2015-01-13 David S. Miller <davem@davemloft.net>
6658 * include/signal.h (__sigreturn): Guard with __USE_MISC.
6660 2015-01-13 Roland McGrath <roland@hack.frob.com>
6662 * login/logout.c (logout): Use memset rather than bzero.
6663 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6664 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6665 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6666 (_gethtbyaddr): Likewise.
6667 * locale/programs/simple-hash.c (bcopy): Macro removed.
6669 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6671 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6672 Add strcmp-power8 object.
6673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6674 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6675 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6676 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6677 __strcmp_power8 implementation.
6678 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6681 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6682 Add strncpy-power8 and stpncpy-power8 objects.
6683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6684 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6686 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6687 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6688 __stpncpy_power8 implementation.
6689 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6690 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6691 __strncpy_power8 implementation.
6692 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6693 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6696 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6697 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6698 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6700 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6701 strncat-power8 object.
6702 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6703 __strcat_power8 implementation.
6704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6705 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6706 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6707 optimized strcat for power8.
6709 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6710 strcpy-power8 and stpcpy-power8 objects.
6711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6712 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6714 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6715 multiarch stpcpy implementation for POWER8.
6716 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6717 multiarch strcpy implementation for POWER8.
6718 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6719 __strcpy_power8 function.
6720 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6722 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6726 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
6729 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6730 weights and rules. Use do_xfrm_cached if data fits in cache,
6731 do_xfrm otherwise. Moved former main loop to...
6732 * (do_xfrm_cached): New function.
6733 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6734 find_idx, find_position and stack_push.
6735 * (find_idx): New function.
6736 * (find_position): Likewise.
6737 * localedata/sort-test.sh: Added test run for do_xfrm.
6738 * localedata/xfrm-test.c (main): Added command line option
6739 -nocache to run the test with strings that are too large for
6742 2015-01-13 Torvald Riegel <triegel@redhat.com>
6744 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6745 variable to lll_futex_wake call, not the value itself.
6747 2015-01-12 Joseph Myers <joseph@codesourcery.com>
6750 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6751 twom64. Adjust value to 0x1p-64L.
6752 (__scalblnl): Only return standard underflowing result for K <=
6753 -64 not K <= -63; adjust exponent for underflowing result by 64
6755 * math/libm-test.inc (scalbn_test_data): Add more tests.
6756 (scalbln_test_data): Likewise.
6759 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6761 (__scalblnl): Get new exponent of adjusted subnormal value from ES
6763 * math/libm-test.inc (scalbn_test_data): Add more tests.
6764 (scalbln_test_data): Likewise.
6766 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6767 Stefani Seibold <stefani@seibold.net>
6769 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6770 (sysdep_routines): Add dl-vdso here, ...
6771 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6772 (sysdep_routines): ... not here.
6773 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6774 fallback when vDSO is not presented.
6775 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6776 Define with libc_hidden_proto/libc_hidden_data_def definitions.
6777 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6778 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6779 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6780 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6781 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6782 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6783 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6784 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6785 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
6786 fallback configurable symbol when vDSO is not available.
6787 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6788 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
6789 be able to redefine fallback symbol when vDSO is not available.
6790 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6791 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6793 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6795 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6796 (TLS_INIT_TP): Add tm_capable initialization.
6797 (TLS_DEFINE_INIT_TP): Likewise.
6798 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6800 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6801 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6803 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6804 transactoion is lock elision is built and TCB tm_capable is set.
6805 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6807 (INTERNAL_SYSCALL_NCS): Likewise.
6808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6809 (INTERNAL_SYSCALL_NCS): Likewise.
6810 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6812 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6814 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6815 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6816 and remove it for 32 bits case.
6817 [pthread_rwlock_t] (__rwelision): New field for lock elision.
6818 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6820 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6821 Disable lock elision with rdlocks if elision is not available.
6823 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6824 (sysdep_routines): Add lock elision objects.
6825 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6826 [pthread_mutex_t] (__spins): Rework to add lock elision field.
6827 [pthread_mutex_t] (__elision): Add field.
6828 [__PTHREAD_SPINS]: Adjust to init lock elision field.
6829 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6830 elision definitions for powerpc.
6831 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6832 implementation of lock elision for powerpc.
6833 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6834 implementation of timed lock elision for powerpc.
6835 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6836 implementation of trylock with lock elision for powerpc.
6837 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6838 implementaion of unlock for lock elision for powerpc.
6839 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6840 automatic enable lock elision for mutexes.
6841 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6842 transaction execution definitions for powerpc.
6843 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6845 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6846 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6847 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6848 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6851 2015-01-09 Roland McGrath <roland@hack.frob.com>
6853 * sysdeps/posix/shm-directory.c: Use <> rather than ""
6854 for #include of <shm-directory.h>.
6856 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
6858 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6859 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6861 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
6864 * NEWS: Mention bug fix.
6865 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6866 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6867 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6869 2015-01-09 Torvald Riegel <triegel@redhat.com>
6871 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6873 2015-01-09 Torvald Riegel <triegel@redhat.com>
6875 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6877 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6879 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6880 pointer and cast to uintptr_t.
6882 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6884 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6886 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6888 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6890 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6893 2015-01-08 Roland McGrath <roland@hack.frob.com>
6895 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6896 <nptl/pthreadP.h> instead.
6897 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6899 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6901 [__SIGRTMIN] (init): Function removed.
6902 [__SIGRTMIN] (initialized): Variable removed.
6903 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6904 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6905 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6906 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6907 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6908 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6909 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6910 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6911 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6912 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6913 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6914 * sysdeps/nptl/allocrtsig.c: New file.
6915 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6916 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6917 * sysdeps/generic/testrtsig.h: File removed.
6919 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6920 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6922 * nptl/nptl-init.c (pthread_functions): Conditionalize
6923 .ptr__nptl_setxid initialization on [SIGSETXID].
6925 * sysdeps/nptl/sys/procfs.h: New file.
6926 * nptl_db/Makefile (headers): Add it.
6927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6929 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6930 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6931 * nptl/pthread_attr_setaffinity.c: Include it.
6932 * nptl/pthread_setattr_default_np.c: Likewise.
6933 * nptl/check-cpuset.h: New file.
6935 2015-01-08 Richard Henderson <rth@redhat.com>
6937 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6938 (CFLAGS-tst-execstack-prog.c): Likewise.
6939 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6941 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
6942 Sandra Loosemore <sandra@codesourcery.com>
6943 Andrew Jenner <andrew@codesourcery.com>
6944 Joseph Myers <joseph@codesourcery.com>
6945 Nathan Sidwell <nathan@codesourcery.com>
6947 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6948 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6949 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6950 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6951 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6952 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6953 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6954 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6955 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6956 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6957 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6958 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6959 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6960 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6961 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6962 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6963 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6965 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6967 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6968 timespec struct member in syscall macro.
6969 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6970 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6971 first timeval struct member in syscall macro.
6972 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6974 2015-01-07 Joseph Myers <joseph@codesourcery.com>
6977 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6978 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6979 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6980 __feupdateenv and define as weak alias of __feupdateenv. Use
6982 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6984 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6985 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
6986 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6987 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6989 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6990 __feupdateenv and define as weak alias of __feupdateenv. Use
6992 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6994 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6995 __feupdateenv and define as weak alias of __feupdateenv. Use
6997 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6999 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7000 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7001 (__feupdateenv): Likewise.
7002 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7003 __feupdateenv and define as weak alias of __feupdateenv. Use
7005 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7006 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7008 * sysdeps/tile/math_private.h (__feupdateenv): New inline
7010 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7012 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7013 __feupdateenv instead of feupdateenv.
7014 (default_libc_feupdateenv_test): Likewise.
7015 (libc_feresetround_ctx): Likewise.
7017 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7019 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7022 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
7024 * posix/regcomp.c (parse_bracket_exp): Initialize type to
7025 COLL_SYM in a couple of places to avoid uninitialized variable
7026 wanings on tilegx gcc 4.8.2.
7028 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7030 * sysdeps/aarch64/strcpy.S: New file.
7031 * sysdeps/aarch64/stpcpy.S: New file.
7034 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7036 * sysdeps/aarch64/strrchr.S: New file.
7039 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
7042 * stdlib/setenv.c: Fix memory leak when setting large,
7045 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
7048 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7049 and tabs from buffer before parsing fstab entry.
7050 * misc/tst-mntent.c (main): Add test for mount entry with
7051 trailing spaces and tabs.
7053 2015-01-06 Joseph Myers <joseph@codesourcery.com>
7056 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
7057 * math/fesetround.c (fesetround): Rename to __fesetround and
7058 define as weak alias of __fesetround. Use libm_hidden_weak.
7059 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7060 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7061 * sysdeps/arm/fesetround.c (fesetround): Likewise.
7062 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7063 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7064 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7065 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7066 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7067 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7068 __fesetround_inline.
7069 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7070 __fesetround_inline instead of __fesetround.
7071 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7072 __fesetround and define as weak alias of __fesetround. Use
7073 libm_hidden_weak. Call __fesetround_inline instead of
7075 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7076 __fesetround and define as weak alias of __fesetround. Use
7078 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7080 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7081 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7082 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7083 * sysdeps/tile/math_private.h (__fesetround): New inline function.
7084 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7085 __fesetround and define as weak alias of __fesetround. Use
7087 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7088 __fesetround instead of fesetround.
7089 (default_libc_feholdexcept_setround): Likewise.
7090 (libc_feholdsetround_ctx): Likewise.
7091 (libc_feholdsetround_noex_ctx): Likewise.
7094 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7095 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7096 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7097 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7098 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7099 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7100 define as weak alias of __fesetenv. Use libm_hidden_weak.
7101 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7102 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7103 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7104 define as weak alias of __fesetenv. Use libm_hidden_weak.
7105 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7106 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7107 define as weak alias of __fesetenv. Use libm_hidden_weak.
7108 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7110 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7111 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7113 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7114 define as weak alias of __fesetenv. Use libm_hidden_weak.
7115 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7116 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7117 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7118 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7119 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7120 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7121 __fesetenv instead of fesetenv.
7122 (libc_feresetround_noex_ctx): Likewise.
7123 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7124 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7125 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7126 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7127 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7128 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7129 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7130 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7131 (__feupdateenv): Likewise.
7132 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7133 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7134 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7135 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7137 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7140 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7141 addresses have been freed.
7143 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7145 * resolv/res_init.c (__res_vinit): Improve comments about nserv
7148 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
7150 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7151 Clean up check_pf allocation pattern. addresses
7153 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7155 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7156 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7157 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7158 * nptl/pthread_exit.c (__pthread_exit): Likewise.
7159 * nptl/pthread_join.c (pthread_join): Likewise.
7160 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7161 * sysdeps/posix/waitid.c (__waitid): Likewise.
7162 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7163 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7164 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7165 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7166 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7168 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7169 (__libc_pread64): Likewise.
7170 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7171 (__libc_pwrite): Likewise.
7172 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7173 (__libc_pwrite64): Likewsie.
7174 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7175 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7176 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7177 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7178 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7179 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7180 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7184 (__libc_pread64): Likewise.
7185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7188 (__libc_pwrite64): Likewise.
7189 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7190 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7191 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7192 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7193 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7194 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7195 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7196 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7197 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7198 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7199 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7200 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7201 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7202 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7203 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7204 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7207 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7209 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7210 (CFLAGS-test-double.c): Likewise.
7211 (CFLAGS-test-ldouble.c): Likewise.
7212 (CPPFLAGS-test-ifloat.c): Likewise.
7213 (CPPFLAGS-test-idouble.c): Likewise.
7214 (CPPFLAGS-test-ildoubl.c): Likewise.
7215 (CFLAGS-test-test-fenv.c): Remove variable.
7216 (CFLAGS-test-misc.c): Likewise.
7218 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
7221 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7222 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7223 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7224 CLOCKS_PER_SEC == 1000000.
7225 * time/clocktest.c (main): Replace %ld with %jd and cast to
7228 2015-01-05 Roland McGrath <roland@hack.frob.com>
7230 * sysdeps/generic/unwind-resume.h: New file.
7231 * sysdeps/gnu/unwind-resume.c: Include it.
7232 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7233 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7235 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7236 global rather than static.
7237 (_Unwind_Resume): Update user.
7238 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7239 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
7240 rather than static. Add __attribute__ ((cold)).
7241 (_Unwind_Resume, __gcc_personality_v0): Update callers.
7242 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7243 * sysdeps/arm/arm-unwind-resume.S: New file.
7244 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7245 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7246 * sysdeps/arm/Makefile [$(subdir) = csu]
7247 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7248 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7249 Add rt-arm-unwind-resume.
7251 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7252 Add pt-arm-unwind-resume.
7253 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7254 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7256 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7259 * include/fenv.h (__feholdexcept): Declare. Use
7261 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7262 define as weak alias of __feholdexcept. Use libm_hidden_weak.
7263 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7264 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7265 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7266 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7267 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7268 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7269 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7270 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7271 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7272 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7273 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7274 (feholdexcept): Likewise.
7275 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7276 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7277 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7278 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7279 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7280 __feholdexcept instead of feholdexcept.
7281 (default_libc_feholdexcept_setround): Likewise.
7283 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7285 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7286 to avoid using stl/str to align destination.
7288 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7290 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7292 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7295 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7296 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7297 Define as weak alias not strong alias.
7299 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7301 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7302 bltzal with addiupc.
7303 (RTLD_START): Ditto.
7305 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
7307 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7308 for __vdso_* functions in declarations.
7309 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7311 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7312 INTERNAL_VSYSCALL): Use struct return types to check for error.
7314 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7315 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7316 function with cast from llround().
7317 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7318 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7321 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7324 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7325 Define as weak alias not strong alias.
7328 * ctype/ctype-c99.c: New file. isblank implementation moved from
7330 * ctype/ctype-extn.c: ... here.
7331 (__isblank_l): Move to ...
7332 * ctype/ctype-c99_l.c: ... here. New file.
7333 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7334 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7336 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7337 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7338 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7339 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7340 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7343 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7344 (posix_fadvise64): Define as weak alias not strong alias.
7345 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7346 (posix_fallocate64): Likewise.
7347 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7349 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7350 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7351 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7352 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7353 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7355 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
7358 * NEWS: Mention bug fix.
7359 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7360 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7361 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7362 (HOST_STACK_END_ADDR): Likewise.
7364 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7367 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
7368 * math/fegetround.c (fegetround): Rename to __fegetround and
7369 define as weak alias of __fegetround. Use libm_hidden_weak.
7370 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7371 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7372 * sysdeps/arm/fegetround.c (fegetround): Likewise.
7373 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7374 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7375 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7376 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7377 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7378 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7379 Undefine after rather than before function definition; use
7380 parentheses around function name in definition.
7381 (__fegetround): Also undefine macro after function definition.
7382 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7383 __fegetround and define as weak alias of __fegetround. Use
7384 libm_hidden_weak. Do not undefine as macro.
7385 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7387 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7388 __fegetround and define as weak alias of __fegetround. Use
7390 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7391 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7392 * sysdeps/tile/math_private.h (__fegetround): New inline function.
7393 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7394 __fegetround and define as weak alias of __fegetround. Use
7396 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7397 __fegetround instead of fegetround.
7400 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7401 Condition macro definition on [__USE_MISC].
7404 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7405 (struct sigaction): Change type of sa_flags field to int.
7408 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7409 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7412 * nptl/version.c (banner): Use single year in copyright notice.
7414 * NEWS: Update copyright dates.
7415 * catgets/gencat.c (print_version): Likewise.
7416 * csu/version.c (banner): Likewise.
7417 * debug/catchsegv.sh: Likewise.
7418 * debug/pcprofiledump.c (print_version): Likewise.
7419 * debug/xtrace.sh (do_version): Likewise.
7420 * elf/ldconfig.c (print_version): Likewise.
7421 * elf/ldd.bash.in: Likewise.
7422 * elf/pldd.c (print_version): Likewise.
7423 * elf/sotruss.sh: Likewise.
7424 * elf/sprof.c (print_version): Likewise.
7425 * iconv/iconv_prog.c (print_version): Likewise.
7426 * iconv/iconvconfig.c (print_version): Likewise.
7427 * locale/programs/locale.c (print_version): Likewise.
7428 * locale/programs/localedef.c (print_version): Likewise.
7429 * login/programs/pt_chown.c (print_version): Likewise.
7430 * malloc/memusage.sh (do_version): Likewise.
7431 * malloc/memusagestat.c (print_version): Likewise.
7432 * malloc/mtrace.pl: Likewise.
7433 * manual/libc.texinfo: Likewise.
7434 * nptl/version.c (banner): Likewise.
7435 * nscd/nscd.c (print_version): Likewise.
7436 * nss/getent.c (print_version): Likewise.
7437 * nss/makedb.c (print_version): Likewise.
7438 * posix/getconf.c (main): Likewise.
7439 * scripts/test-installation.pl: Likewise.
7440 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7442 2015-01-02 Will Newton <will.newton@linaro.org>
7444 * sysdeps/arm/armv7/configure: Removed.
7445 * sysdeps/arm/armv7/configure.ac: Likewise.
7447 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7449 * All files with FSF copyright notices: Update copyright dates
7450 using scripts/update-copyrights.
7451 * intl/plural.c: Regenerated.
7452 * locale/programs/charmap-kw.h: Likewise.
7453 * locale/programs/locfile-kw.h: Likewise.
7455 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7457 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7459 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7462 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7463 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7464 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7465 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7466 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7467 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7468 define as weak alias of __fegetenv. Use libm_hidden_weak.
7469 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7470 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7471 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7472 define as weak alias of __fegetenv. Use libm_hidden_weak.
7473 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7474 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7475 define as weak alias of __fegetenv. Use libm_hidden_weak.
7476 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7478 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7479 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7481 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7482 define as weak alias of __fegetenv. Use libm_hidden_weak.
7483 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7484 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7485 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7486 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7487 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7488 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7489 __fegetenv instead of fegetenv.
7490 (libc_feholdsetround_noex_ctx): Likewise.
7492 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
7494 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7495 (Elf_MIPS_ABIFlags_v0): New structure.
7496 (EF_MIPS_FP64): Define.
7497 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7498 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7499 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7500 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7501 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7502 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7503 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7504 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7505 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7506 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7507 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7508 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7509 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7510 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7511 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7512 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7513 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7514 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7515 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7516 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7517 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7518 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7520 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7522 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7523 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7524 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7525 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7526 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7527 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7528 * sysdeps/mips/tst-abi-interlink.c: Likewise.
7529 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7530 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7531 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7532 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7533 record the current FP ABI extension.
7534 (mips-mode-switch): Define to show if kernel headers support mode
7536 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7537 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7538 supported SYSV ABI version to 3.
7539 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7542 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7543 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7545 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7547 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7549 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7551 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7552 __fegetround and redefine to call __fegetround. Remove condition
7553 on [!__NO_MATH_INLINES].
7554 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7556 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7557 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7559 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7560 instead of <fenv_libc.h>.
7561 (__llrintl): Call fegetround instead of __fegetround.
7562 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7563 instead of <fenv_libc.h>.
7564 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7565 (__lrintl): Call fegetround instead of __fegetround.
7566 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7567 instead of <fenv_libc.h>.
7568 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7569 (__rintl): Call fegetround instead of __fegetround.
7571 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7573 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7576 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7579 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7580 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7581 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7583 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7585 * sysdeps/i386/tls-macros.h: Include <features.h>.
7586 (TLS_LE): Use non-PIC version for GCC >= 5.0.
7590 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7591 define for GCC >= 5.0.
7593 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
7595 * math/test-fenv.c (test_single_exception, set_single_exc,
7596 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7597 feexcp_mask_test, feenable_test, fe_single_test): Add
7598 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7599 case where they are not used.
7600 * math/libm-test.inc: Likewise.
7601 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7602 unused in the absence of FP rounding/exception support.
7603 * stdio-common/tst-printf-round.c: Likewise.
7604 * stdlib/tst-strtod-round.c: Likewise.
7605 * stdlib/tst-strtod-underflow.c: Likewise.
7607 2014-12-30 Joseph Myers <joseph@codesourcery.com>
7610 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7611 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7612 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7613 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7615 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7616 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7617 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7619 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7620 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7622 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7624 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7625 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7626 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7628 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7630 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7631 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7632 (__feraiseexcept): Likewise.
7633 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7634 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7636 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7637 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7639 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7640 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7641 Use libm_hidden_def.
7642 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7644 (feraiseexcept): Define as weak not strong alias. Use
7646 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7647 New inline function. Factored out of ...
7648 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
7649 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7650 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7652 * math/w_acos.c (__acos): Likewise.
7653 * math/w_asin.c (__asin): Likewise.
7654 * math/w_ilogb.c (__ilogb): Likewise.
7655 * math/w_j0.c (y0): Likewise.
7656 * math/w_j1.c (y1): Likewise.
7657 * math/w_jn.c (yn): Likewise.
7658 * math/w_log.c (__log): Likewise.
7659 * math/w_log10.c (__log10): Likewise.
7660 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7661 * sysdeps/aarch64/fpu/math_private.h
7662 (libc_feupdateenv_test_aarch64): Likewise.
7663 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7664 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7665 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7666 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7667 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7668 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7669 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7670 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7671 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7672 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7674 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7677 * io/test-utime.c (main): Replace %ld with %jd and cast to
7679 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7680 * nptl/tst-mutex5.c: Include <stdint.h>.
7681 (do_test): Replace %ld with %jd and cast to intmax_t.
7682 * posix/tst-regex.c (run_test): Likewise.
7683 (run_test_backwards): Likewise.
7684 * rt/tst-clock.c: Include <stdint.h>.
7685 (clock_test): Replace %ld with %jd and cast to intmax_t.
7686 * rt/tst-cpuclock1.c: Include <stdint.h>.
7687 (do_test): Replace %lu with %ju and cast to uintmax_t.
7688 * rt/tst-cpuclock2.c: Include <stdint.h>.
7689 (do_test): Replace %lu with %ju and cast to uintmax_t.
7690 * rt/tst-mqueue1.c: Include <stdint.h>.
7691 (check_attrs): Replace %ld with %jd and cast to intmax_t.
7692 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7694 * rt/tst-mqueue4.c (do_test): Likewise.
7695 * rt/tst-timer4.c: Include <stdint.h>.
7696 (check_ts): Replace %ld with %jd and cast to intmax_t.
7697 (do_test): Likewise.
7698 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7699 and cast to intmax_t.
7700 * sysdeps/pthread/tst-timer.c (main): Likewise.
7701 * time/clocktest.c (main): Likewise.
7702 * time/tst-posixtz.c (do_test): Likewise.
7703 * timezone/tst-timezone.c (main): Likewise.
7705 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7706 H.J. Lu <hongjiu.lu@intel.com>
7708 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7709 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7710 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7711 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7712 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7713 version if bit_Fast_Unaligned_Load is set.
7714 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7715 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7716 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7717 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7718 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7719 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7720 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7721 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7722 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7723 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7725 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7726 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7727 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7728 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7730 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
7732 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7733 instead of #if to avoid a Wundef warning.
7734 * stdlib/tst-limits.c (do_test): Likewise.
7736 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7737 parallel other exception macros.
7738 (fegetenv): Convert from macro to extern inline so that it applies
7739 retroactively to inline functions already seen by the compiler.
7740 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7742 * posix/Makefile (before-compile): Use $(objpfx) for
7743 posix-conf-vars-def.h.
7745 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7747 * posix/getconf.c (main): Use size_t for type of I.
7748 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7751 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7752 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7753 * posix/posix-envs.def: Likewise.
7754 * sysdeps/posix/sysconf.c: Likewise.
7755 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7756 (specs): Remove array.
7757 * scripts/gen-posix-conf-vars.awk: Support generation of specs
7760 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7761 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7762 (__sysconf): Use CONF_IS_* macros.
7764 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7765 ($(objpfx)posix-conf-vars-def.h): New target.
7766 * posix/posix-conf-vars.list: New file.
7767 * posix/posix-conf-vars.h: New file.
7768 * posix/confstr.c: Include posix-conf-vars.h.
7769 (confstr): Use CONF_IS_* macros.
7770 * posix/posix-envs.def: Include posix-conf-vars.h. Use
7772 * scripts/gen-posix-conf-vars.awk: New file.
7774 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
7776 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7777 fegetround): Add no-op macros to avoid linknamespace issues.
7779 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7780 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7782 * sysdeps/unix/sysv/linux/tile/sysdep.h
7783 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7784 assembly-specific section to avoid a redefinition warning.
7786 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7787 long before casting to pointer to avoid a cast warning.
7789 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
7791 * sysdeps/tile/tilegx/Implies: New file.
7793 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
7795 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7797 2014-12-23 Florian Weimer <fweimer@redhat.com>
7799 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7801 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7803 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7805 * sysdeps/unix/sysv/linux/utimes.c: Do not include
7806 <kernel-features.h>.
7807 (__utimes) [__NR_utimes]: Make code unconditional.
7808 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7809 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7810 (__ASSUME_UTIMES): Do not undefine.
7811 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7812 (__ASSUME_UTIMES): Likewise.
7813 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7814 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7815 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7816 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7818 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7820 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7822 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
7825 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7826 alias to weak alias for j0l, y0l.
7827 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7828 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7831 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7834 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7836 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7837 to zero if not already defined.
7839 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7842 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7843 (__kernel_standard_f): Remove. Moved to k_standardf.c.
7844 (__kernel_standard_l): Remove. Moved to k_standardl.c with
7845 (char *) casts added.
7846 * sysdeps/ieee754/k_standardf.c: New file.
7847 * sysdeps/ieee754/k_standardl.c: Likewise.
7848 * math/Makefile (libm-support): Remove k_standard.
7849 (libm-calls): Add k_standard.
7851 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7853 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7854 Optimize to avoid an unnecessary FPCR read.
7856 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7858 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7859 Optimize to reduce FPCR/FPSR accesses.
7861 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7863 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7864 Call libc_fetestexcept_aarch64.
7866 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7868 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7869 Call libc_fesetround_aarch64.
7871 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7874 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7875 (__bind): Do not define as weak alias.
7876 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7878 (__getsockname): Do not define as weak alias.
7880 2014-12-22 Will Newton <will.newton@linaro.org>
7882 * manual/install.texi: Document that we require bison 2.7
7884 * INSTALL: Regenerate.
7885 * configure.ac: Use AC_CHECK_PROG_VER instead of
7886 AC_PATH_PROG when checking for bison and check for
7887 version 2.7 or above.
7888 * configure: Regenerate.
7890 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
7893 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7894 * sysdeps/tile/ffsll.c (ffsll): To here.
7896 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7898 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7900 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7902 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7904 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7905 hidden ___tls_get_addr.
7906 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7907 hidden __tls_get_addr.
7908 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7909 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7912 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
7914 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7917 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7919 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7920 from "call _dl_init@PLT".
7921 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7923 2014-12-21 Anders Kaseorg <andersk@mit.edu>
7925 * manual/search.texi: (Array Sort Function): Clarify stable sorting
7928 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
7930 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7932 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7935 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7938 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7940 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7942 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7943 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7944 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7945 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7946 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7948 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7950 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7951 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7952 (PTR_SUBU): Use subu for mips32r6/mips64r6.
7953 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7954 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7956 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7958 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
7960 * string/strncat.c (STRNCAT): Simplify implementation.
7962 2014-12-19 David S. Miller <davem@davemloft.net>
7964 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7965 access the quad as both a long double and as a series of 4 words.
7967 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7968 link_map->l_info array access.
7970 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7972 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7974 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7975 * math/atest-exp2.c (TIMEOUT): Likewise.
7976 * math/atest-sincos.c (TIMEOUT): Likewise.
7978 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7980 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7981 -Wno-error with -fno-builtin-lround.
7983 2014-12-19 Torvald Riegel <triegel@redhat.com>
7985 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7986 Contains futex constants and functions moved over from ...
7987 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
7988 <lowlevellock-futex.h>.
7989 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7990 (lll_timedwait_tid): Add comments and parentheses around macro
7993 2014-12-19 Torvald Riegel <triegel@redhat.com>
7995 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7996 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
7997 (__lll_private_flag): Remove.
7998 (lll_futex_wait): Likewise.
7999 (lll_futex_timed_wait): Likewise.
8000 (lll_futex_wake): Likewise.
8001 (lll_futex_requeue): Likewise.
8002 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8003 (__lll_timedwait_tid): Spell out argument names.
8004 (lll_timedwait_tid): Add comments and parentheses around macro
8006 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8007 LLL_SHARED and LLL_PRIVATE usable from assembly code.
8009 2014-12-19 Torvald Riegel <triegel@redhat.com>
8011 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8012 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8013 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8014 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8015 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8016 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8017 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8018 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8019 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8020 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8021 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8022 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8023 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8024 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8025 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8026 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8027 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8028 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8029 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8031 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8033 * sysdeps/x86_64/x32/Makefile: New file.
8035 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8037 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8038 1L with (mp_limb_t) 1.
8040 2014-12-17 Roland McGrath <roland@hack.frob.com>
8042 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8043 * nptl/libc_pthread_init.c: ... here.
8044 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8045 * nptl/register-atfork.c: ... here.
8047 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8048 Use pthread_sigmask rather than INTERNAL_SYSCALL.
8049 Use assert_perror to check its return value.
8050 (__gai_create_helper_thread): Likewise.
8052 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8054 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8056 2014-12-17 Joseph Myers <joseph@codesourcery.com>
8059 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8061 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8063 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8065 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8067 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8068 (profil_counter): Likewise.
8069 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8070 (profil_counter): Likewise.
8071 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8073 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8075 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8076 (profil_counter): Likewise.
8077 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8079 [!__profil_counter] (profil_counter): Define as weak alias of
8081 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8082 (profil_counter): Rename to __profil_counter.
8083 [!__profil_counter] (profil_counter): Define as weak alias of
8085 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8086 (profil_counter): Rename to __profil_counter.
8087 [!__profil_counter] (profil_counter): Define as weak alias of
8089 * sysdeps/posix/profil.c: Update comment referring to
8091 (__profil): Use __profil_counter instead of profil_counter.
8092 * sysdeps/posix/sprofil.c (profil_counter): Rename to
8093 __profil_counter. Use __profil_counter_ushort and
8094 __profil_counter_uint in definitions.
8095 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8096 instead of profil_counter_uint and profil_counter_ushort.
8099 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8100 define as weak alias of __inet_makeaddr.
8101 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8102 as weak alias of __inet_addr.
8103 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8104 as weak alias of __inet_pton. Use libc_hidden_weak.
8105 * include/arpa/inet.h (__inet_pton): Declare. Use
8107 (inet_makeaddr): Don't use libc_hidden_proto.
8108 (__inet_makeaddr): Declare. Use libc_hidden_proto.
8109 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8110 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
8111 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8113 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8114 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8116 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
8118 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8120 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8122 * stdio-common/bug-vfprintf-nargs.c (do_test):
8123 Cast value to intptr_t to avoid format warning
8124 for usage with PRIdPTR printing macro.
8126 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8128 * libio/tst-widetext.c (do_test):
8129 Use format type %td instead of %Zd for ptrdiff_t
8130 in order to avoid format warning.
8132 2014-12-17 Andreas Schwab <schwab@suse.de>
8134 * nscd/mem.c (gc): Add size_t cast to match printf format.
8136 2014-12-16 Roland McGrath <roland@hack.frob.com>
8138 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8139 (init): Apply PTR_MANGLE to pointers before storing them.
8140 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8143 2014-12-16 Joseph Myers <joseph@codesourcery.com>
8146 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8147 define as weak alias of __memrchr.
8148 (__memrchr): Do not define as strong alias of memrchr.
8149 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8151 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8152 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8153 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8156 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8157 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
8158 (if_indextoname): Rename to __if_indextoname and define as weak
8159 alias of __if_indextoname. Use libc_hidden_weak.
8160 (if_freenameindex): Rename to __if_freenameindex and define as
8161 weak alias of __if_freenameindex.
8162 (if_nameindex): Rename to __if_nameindex and define as weak alias
8164 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8165 __if_nametoindex and define as weak alias of __if_nametoindex.
8166 Use libc_hidden_weak.
8167 (if_freenameindex): Rename to __if_freenameindex and define as
8168 weak alias of __if_freenameindex.
8169 (if_nameindex): Rename to __if_nameindex and define as weak alias
8171 (if_indextoname): Rename to __if_indextoname and define as weak
8172 alias of __if_indextoname. Use libc_hidden_weak.
8173 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8174 __if_nametoindex and define as weak alias of __if_nametoindex.
8175 Use libc_hidden_weak.
8176 (if_freenameindex): Rename to __if_freenameindex and define as
8177 weak alias of __if_freenameindex. Use libc_hidden_weak.
8178 (if_nameindex_netlink): Use __if_freenameindex instead of
8180 (if_nameindex): Rename to __if_nameindex and define as weak alias
8181 of __if_nameindex. Use libc_hidden_weak.
8182 (if_indextoname): Rename to __if_indextoname and define as weak
8183 alias of __if_indextoname. Use libc_hidden_weak.
8184 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8186 [!_ISOMAC] (__if_freenameindex): Likewise.
8187 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8189 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8191 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8192 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8193 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8194 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8195 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8196 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8197 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8199 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8201 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8202 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8204 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8206 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8207 subscript above bounds'
8209 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8212 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
8214 * libio/tst-fopenloc.c: Use test-skeleton.c.
8216 * stdlib/tst-bsearch.c: Use test-skeleton.c.
8217 (entry): Rename to ITEM.
8218 (do_test, comp): Adjust.
8220 * stdio-common/tst-fseek.c: Use test-skeleton.c.
8222 2014-12-16 Torvald Riegel <triegel@redhat.com>
8224 * string/tester.c: Include <libc-internal.h>.
8225 (test_memset): Ignore -Wmemset-transposed-args.
8227 2014-12-16 Torvald Riegel <triegel@redhat.com>
8229 * misc/tst-mntent2.c (do_test): Fix warning.
8231 2014-12-16 Torvald Riegel <triegel@redhat.com>
8233 * elf/tst-unique4lib.cc(a): Mark as used.
8235 2014-12-16 Florian Weimer <fweimer@redhat.com>
8238 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8241 2014-12-16 Allan McRae <allan@archlinux.org>
8243 * stdio-common/Makefile (tests): Re-add bug26.
8245 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
8248 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8251 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
8253 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8254 (__lll_lock_wait): Likewise.
8255 (__lll_timedlock_wait): Likewise.
8256 (__lll_timedwait_tid): Likewise.
8257 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8258 (__lll_robust_timedlock_wait): Likewise.
8259 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8260 (lll_cond_trylock): Likewise.
8261 (__lll_lock): Likewise.
8262 (__lll_robust_lock): Likewise.
8263 (__lll_cond_lock): Likewise.
8264 (lll_robust_cond_lock): Likewise.
8265 (__lll_timedlock): Likewise.
8266 (__lll_robust_timedlock): Likewise.
8267 (__lll_unlock): Likewise.
8268 (__lll_robust_unlock): Likewise.
8269 (lll_wait_tid): Likewise.
8270 (lll_timedwait_tid): Likewise.
8272 2014-12-15 Torvald Riegel <triegel@redhat.com>
8274 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8276 2014-12-15 Torvald Riegel <triegel@redhat.com>
8278 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8280 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8282 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8283 * stdio-common/tst-sprintf.c: Likewise.
8285 2014-12-15 Torvald Riegel <triegel@redhat.com>
8287 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8289 2014-12-15 Jeff Law <law@redhat.com>
8292 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8293 on the heap. (CVE-2012-3406)
8294 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8295 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
8296 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8298 2014-12-15 Will Newton <will.newton@linaro.org>
8300 * manual/install.texi: Bump required version of texinfo
8302 * INSTALL: Regenerated.
8303 * configure.ac: Check for makeinfo version 4.7 and above.
8304 * configure: Regenerated.
8306 2014-12-12 Roland McGrath <roland@hack.frob.com>
8308 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8309 PREFIX, string constant to insert between directory and name.
8310 * sysdeps/posix/shm_open.c: Update caller.
8311 * sysdeps/posix/shm_unlink.c: Likewise.
8312 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8313 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8314 (SEM_SHM_PREFIX): New macro.
8315 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8316 [$(have-thread-library) = no].
8317 * nptl/Makefile (libpthread-routines): Add shm-directory.
8318 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8319 * sysdeps/nptl/shm-directory.h: New file.
8320 * sysdeps/posix/shm-directory.c
8321 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8322 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8323 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8325 (__where_is_shmfs): Function removed.
8326 (mountpoint, defaultmount, defaultdir, __namedsem_once):
8328 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8330 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
8332 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8333 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8334 unconditional for use inside libpthread.
8335 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8337 2014-12-12 Roland McGrath <roland@hack.frob.com>
8339 * nptl/pthread_getaffinity.c: New file.
8340 * nptl/pthread_setaffinity.c: New file.
8341 * nptl/pthread_getname.c: New file.
8342 * nptl/pthread_setname.c: New file.
8344 * nptl/pthread_create.c (START_THREAD_DEFN)
8345 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8347 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8348 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8350 * resolv/res_send.c (send_vc): Disable warning resplen may
8351 be used uninitialized.
8353 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8356 (ATTR_NULL): New define checks ATTR against NULL.
8357 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8358 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8360 2014-12-11 James Lemke <jwlemke@codesourcery.com>
8364 (mem2mem_check): Revert my previous change.
8365 (malloc_check_get_size): Revert my previous change.
8366 (mem2chunk_check): Revert my previous change.
8368 2014-12-11 Roland McGrath <roland@hack.frob.com>
8370 * sysdeps/posix/shm-directory.c: New file.
8371 * sysdeps/posix/shm-directory.h: New file.
8372 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8373 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8374 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
8375 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8376 Transmute EPERM to EACCES.
8377 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8379 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
8380 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8382 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8384 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8385 pointer and cast to uintptr_t.
8386 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8387 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8388 Add cast to avoid warning.
8389 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8391 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8393 * nptl/semaphore.h: Move to ...
8394 * sysdeps/pthread/semaphore.h: ... here.
8395 * Makefile (installed-headers): Change nptl/semaphore.h to
8396 sysdeps/pthread/semaphore.h.
8398 2014-12-11 Roland McGrath <roland@hack.frob.com>
8400 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8401 generated error format strings.
8403 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8404 -Wformat-extra-args warnings for scanf formats.
8405 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8406 test of zero-length format (duh).
8407 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8408 corner-case scanf format test.
8409 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8410 generated fprintf format string.
8411 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8412 corner-case sprintf format tests.
8413 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8414 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8415 -Wformat-extra-args warnings throughout.
8416 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8417 (CFLAGS-scanf4.c): Likewise.
8418 (CFLAGS-scanf7.c): Likewise.
8419 (CFLAGS-tst-sprintf.c): Likewise.
8420 (CFLAGS-tst-printf.c): Likewise.
8421 (CFLAGS-tst-printfsz.c): Likewise.
8423 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8425 * include/cpio.h: New file.
8426 * include/fmtmsg.h: Likewise.
8428 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
8429 corresponding format argument to size_t.
8430 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
8432 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
8433 corresponding format argument to size_t.
8434 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
8436 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
8437 corresponding format argument to size_t.
8438 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8439 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8440 (CFLAGS-tst-mbswcs2.c): Likewise.
8441 (CFLAGS-tst-mbswcs3.c): Likewise.
8442 (CFLAGS-tst-mbswcs4.c): Likewise.
8443 (CFLAGS-tst-mbswcs5.c): Likewise.
8444 (CFLAGS-tst-trans.c): Likewise
8446 2014-12-11 Roland McGrath <roland@hack.frob.com>
8448 * posix/regexbug1.c (main): Use "%s" format with regerror results,
8449 rather than assuming they won't contain any '%'s.
8451 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
8453 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8454 inhibit_loop_to_libcall to avoid recursive calls.
8455 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8456 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8458 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8460 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8463 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8465 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8466 integer value instead of boolean.
8468 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8470 * malloc/malloc.c: Fix powerof2 check.
8472 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8474 * locale/programs/locfile.h (maybe_swap_uint32):
8475 Remove inline and add unused attribute.
8477 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8479 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8480 Truncating assembler expression to a .long expression.
8482 2014-12-11 Andreas Schwab <schwab@suse.de>
8484 * elf/rtld.c (struct map_args): Constify str member.
8485 (do_preload): Constify fname argument.
8487 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8489 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8490 constants definition.
8492 2014-12-11 Andreas Schwab <schwab@suse.de>
8495 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8496 FORCE_ELISION instead of DO_ELISION.
8497 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8499 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8502 * iconvdata/gconv-modules: Remove duplicate entry.
8504 2014-12-11 Will Newton <will.newton@linaro.org>
8506 Merge gettext 0.19.3 into intl/.
8508 This involves a number of cosmetic changes to comments
8509 and ANSI function definitions and prototypes throughout
8510 all the files. The gettext copyright header is used but
8511 with the date ranges taken from the glibc copy.
8513 * NEWS: Add gettext merge to 2.21.
8514 * intl/bindtextdom.c: Switch to gettext copyright.
8515 Use ANSI definitions and prototypes.
8516 Use gl_* locking primitives rather than __libc_* ones.
8517 Use __builtin_expect rather than __glibc_likely/unlikely.
8518 * intl/dcgettext.c: Switch to gettext copyright.
8519 Use ANSI definitions and prototypes.
8520 * intl/dcigettext.c: Switch to gettext copyright.
8521 Use ANSI definitions and prototypes.
8522 (INTDIV0_RAISES_SIGFPE): New define.
8523 Use gl_* locking primitives rather than __libc_* ones.
8524 Include eval-plural.h instead of plural-eval.c.
8525 Use __builtin_expect rather than __glibc_likely/unlikely.
8526 * intl/dcngettext.c: Switch to gettext copyright.
8527 Use ANSI definitions and prototypes.
8528 * intl/dgettext.c: Likewise.
8529 * intl/dngettext.c: Likewise.
8530 * intl/plural-eval.c: Renamed to...
8531 * intl/eval-plural.h: ...this.
8532 * intl/explodename.c: Switch to gettext copyright.
8533 Use ANSI definitions and prototypes.
8534 (_nl_explode_name): Use strchr instead of __rawmemchr.
8535 * intl/finddomain.c: Switch to gettext copyright.
8536 Use ANSI definitions and prototypes.
8537 Use gl_* locking primitives rather than __libc_* ones.
8538 (_nl_find_domain): Use malloc rather than alloca for
8539 allocation of temporary locale name.
8540 * intl/gettext.c: Switch to gettext copyright.
8541 Use ANSI definitions and prototypes.
8542 * intl/gettextP.h: Switch to gettext copyright.
8543 Use ANSI definitions and prototypes.
8544 Use gl_* locking primitives rather than __libc_* ones.
8545 * intl/gmo.h: Switch to gettext copyright.
8546 (struct sysdep_string): Move struct segment_pair outside of
8548 * intl/hash-string.c: Use ANSI definitions and prototypes.
8549 * intl/hash-string.h: Switch to gettext copyright.
8550 Use ANSI definitions and prototypes.
8551 * intl/l10nflist.c: Switch to gettext copyright.
8552 Use ANSI definitions and prototypes.
8553 (_nl_normalize_codeset): Avoid integer overflow.
8554 * intl/loadinfo.h: Switch to gettext copyright.
8555 Use ANSI definitions and prototypes.
8556 (LIBINTL_DLL_EXPORTED): New define.
8557 (PATH_SEPARATOR): New define.
8558 * intl/loadmsgcat.c: Switch to gettext copyright.
8559 * intl/localealias.c: Switch to gettext copyright.
8560 Use ANSI definitions and prototypes.
8561 (_nl_expand_alias): Use PATH_SEPARATOR.
8562 * intl/ngettext.c: Switch to gettext copyright.
8563 Use ANSI definitions and prototypes.
8564 * intl/plural-exp.c: Likewise.
8565 * intl/plural-exp.h: Switch to gettext copyright.
8566 Use ANSI definitions and prototypes.
8567 (struct expression): Move definition of enum operator outside
8568 of struct definition.
8569 * intl/plural.c: Regenerate.
8570 * intl/plural.y: Switch to gettext copyright.
8571 Use ANSI definitions and prototypes.
8573 * intl/textdomain.c: Switch to gettext copyright.
8574 Use ANSI definitions and prototypes.
8575 Use gl_* locking primitives rather than __libc_* ones.
8577 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
8579 * debug/warning-nop.c: Add used atrribute.
8581 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8583 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8585 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8586 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8587 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8589 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8590 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8593 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8594 Undefine after defining function. Define as weak alias of
8595 __wcschr. Use libc_hidden_weak.
8596 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
8597 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8598 (libc_hidden_def): Also define __GI___wcschr alias.
8599 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8600 __wcschr and define as weak alias of __wcschr.
8601 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8603 [!WCSCHR] (DEFAULT_WCSCHR): Define.
8604 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8605 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
8606 libc_hidden_weak. Do not use libc_hidden_def.
8607 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8608 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8609 __GI___wcschr alias.
8610 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8611 [IS_IN (libc)] (wcschr): Define as macro expanding to
8613 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8614 [IS_IN (libc)] (__wcschr_power6): Likewise.
8615 [IS_IN (libc)] (__wcschr_power7): Likewise.
8616 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
8618 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8620 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8621 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8622 __wcschr and define as weak alias of __wcschr. Use
8623 libc_hidden_builtin_def.
8624 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8625 as weak alias of __wcschr. Use libc_hidden_weak.
8626 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8628 * time/era.c (_nl_init_era_entries): Likewise.
8629 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8631 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8632 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8634 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8636 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8637 format for long int variable.
8639 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
8642 * manual/search.texi: (Array Sort Function): Remove claim how to make
8645 2014-12-10 Andreas Schwab <schwab@suse.de>
8648 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8649 user-controlled locks.
8651 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
8653 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8656 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8658 * configure.ac (--disable-werror): New configure option.
8659 (enable_werror): New AC_SUBST.
8660 * configure: Regenerated.
8661 * config.make.in (enable-werror): New variable.
8662 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8664 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8665 * manual/install.texi (Configuring and compiling): Document
8667 * INSTALL: Regenerated.
8668 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8669 (CFLAGS-tst-chk2.c): Likewise.
8670 (CFLAGS-tst-chk3.c): Likewise.
8671 (CFLAGS-tst-chk4.cc): Likewise.
8672 (CFLAGS-tst-chk5.cc): Likewise.
8673 (CFLAGS-tst-chk6.cc): Likewise.
8674 (CFLAGS-tst-lfschk1.c): Likewise.
8675 (CFLAGS-tst-lfschk2.c): Likewise.
8676 (CFLAGS-tst-lfschk3.c): Likewise.
8677 (CFLAGS-tst-lfschk4.cc): Likewise.
8678 (CFLAGS-tst-lfschk5.cc): Likewise.
8679 (CFLAGS-tst-lfschk6.cc): Likewise.
8681 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8682 (main): Disable -Wdeprecated-declarations around calls to
8683 register_printf_function.
8685 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8686 (do_test): Disable -Wdiv-by-zero around some calls to
8687 fwrite_unlocked and fread_unlocked.
8689 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8690 (DIAG_POP_NEEDS_COMMENT): Likewise.
8691 (_DIAG_STR1): Likewise.
8692 (_DIAG_STR): Likewise.
8693 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8694 * stdio-common/bug21.c: Include <libc-internal.h>.
8695 (do_test): Disable -Wformat around call to sscanf.
8696 * stdio-common/scanf14.c: Include <libc-internal.h>.
8697 (main): Disable -Wformat around some calls to scanf functions.
8699 2014-12-09 Torvald Riegel <triegel@redhat.com>
8701 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8703 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8705 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8706 stack variable alignment.
8708 2014-12-06 Joseph Myers <joseph@codesourcery.com>
8711 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8712 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8713 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8714 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8715 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8716 __getrlimit instead of getrlimit.
8717 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8718 __gettimeofday instead of gettimeofday.
8719 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8721 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8723 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8724 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8726 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8727 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8729 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8731 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8732 for wide-character tests.
8734 2014-12-04 Roland McGrath <roland@hack.frob.com>
8736 * io/openat64.c: #include <libc-internal.h>
8737 (__openat64): Prototypify. Use ignore_value on MODE.
8738 * io/openat.c: Likewise.
8739 * misc/reboot.c: #include <libc-internal.h>
8740 (reboot): Prototypify. Use ignore_value on HOWTO.
8741 * misc/ptrace.c: #include <libc-internal.h>
8742 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
8744 2014-12-04 Joseph Myers <joseph@codesourcery.com>
8746 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8747 XPG4, UNIX98 and XOPEN2K.
8748 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8750 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8752 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8754 * libio/fileops.c: Use ISO C style for function definitions.
8755 * libio/iofopen.c: Likewise.
8756 * libio/wfileops.c: Likewise.
8759 * libio/fileops.c (_IO_new_file_underflow): Unset cached
8761 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8762 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8763 (fgets_func): Function pointer to fgets and fgetws.
8764 (do_ftell_test): Add test to verify ftell value after read
8766 (do_test): Set fgets_func.
8768 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8769 O_TRUNC flag for w and w+ modes.
8770 (do_rewind_test): Likewise.
8771 (do_ftell_test): Likewise.
8772 (do_write_test): Likewise.
8775 * libio/fileops.c (do_ftell): Seek only when there are
8777 * libio/wfileops.c (do_ftell_wide): Likewise.
8778 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8780 (do_one_test): Call it.
8782 2014-12-03 Joseph Myers <joseph@codesourcery.com>
8784 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8785 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8786 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8788 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8789 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8790 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8792 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8794 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8796 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8799 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8800 as weak alias of __getifaddrs. Use libc_hidden_weak.
8801 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8802 __freeifaddrs. Use libc_hidden_weak.
8803 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8804 define as weak alias of __getifaddrs. Use libc_hidden_weak.
8805 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8806 __freeifaddrs. Use libc_hidden_weak.
8807 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8808 __getifaddrs and define as weak alias of __getifaddrs. Use
8810 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8811 __freeifaddrs. Use libc_hidden_weak.
8812 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8814 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8815 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8817 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8820 * sysdeps/mips/start.S (__start): Use indirect jump to call
8823 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8825 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8827 * nptl/tst-mutex1.c: Include <stdbool.h>.
8828 [!ATTR] (ATTR_NULL): New macro.
8829 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8830 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8831 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8833 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8837 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8838 Change conditional to [__USE_MISC].
8841 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8843 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8845 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8847 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8849 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8850 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8851 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8852 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8853 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8854 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8855 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8856 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8857 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8859 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8861 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8863 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8864 Remove strpbrk objects.
8865 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8866 (__libc_ifunc_impl_list): Remove strpbrk implementation.
8867 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8868 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8869 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8870 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8872 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8873 Remove strcspn objects.
8874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8875 (__libc_ifunc_impl_list): Remove strcspn implementation.
8876 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8877 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8878 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8879 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8881 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8882 Remove strspn objetcs.
8883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8884 (__libc_ifunc_impl_list): Remove strspn implementation.
8885 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8886 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8887 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8888 * sysdeps/powerpc/powerpc64/strspn.S: New file.
8890 2014-12-01 James Lemke <jwlemke@codesourcery.com>
8894 (mem2mem_check): Add a terminator to the chain of checking blocks.
8895 (malloc_check_get_size): Use it here.
8896 (mem2chunk_check): Ditto.
8898 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8900 * sysdeps/powerpc/powerpc64/strtok.S: New file.
8901 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8903 2014-11-29 Carlos O'Donell <carlos@redhat.com>
8905 * bits/ioctl-types.h: Indent preprocessor directives correctly.
8907 * nptl/nptl-init.c: Include libc-internal.h.
8908 (__pthread_initialize_minimal_internal): Use ROUND_UP.
8910 * elf/ldconfig.c (search_dir): Expand comment.
8912 2014-11-29 Joseph Myers <joseph@codesourcery.com>
8914 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8916 (linknamespace-symlist-stdlibs-tests): Likewise.
8917 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8918 instead of $(objpfx)symlist-stdlibs.
8919 (linknamespace-libs-isoc): New variable.
8920 (linknamespace-libs): Use $(linknamespace-libs-isoc).
8921 (linknamespace-libs-ISO): New variable.
8922 (linknamespace-libs-ISO99): Likewise.
8923 (linknamespace-libs-ISO11): Likewise.
8924 (linknamespace-libs-XPG3): Likewise.
8925 (linknamespace-libs-XPG4): Likewise.
8926 (linknamespace-libs-POSIX): Likewise.
8927 (linknamespace-libs-UNIX98): Likewise.
8928 (linknamespace-libs-XOPEN2K): Likewise.
8929 (linknamespace-libs-POSIX2008): Likewise.
8930 (linknamespace-libs-XOPEN2K8): Likewise.
8931 ($(objpfx)symlist-stdlibs): Replace by
8932 $(linknamespace-symlist-stdlibs-tests). Use
8933 $(linknamespace-libs-$*) as set of libraries.
8934 ($(linknamespace-header-tests)): Update dependencies. Use
8935 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8936 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8937 * conform/linknamespace.pl: Remove comment about considering
8938 definitions of symbols from irrelevant libraries.
8940 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
8943 * elf/dl-tls.c: Include <atomic.h>.
8944 (oom): Remove #ifdef SHARED/#endif.
8945 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8946 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
8947 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8949 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8950 * nptl/Makefile (tests): Add tst-stack4.
8951 (modules-names): Add tst-stack4mod.
8952 ($(objpfx)tst-stack4): New.
8953 (tst-stack4mod.sos): Likewise.
8954 ($(objpfx)tst-stack4.out): Likewise.
8955 ($(tst-stack4mod.sos)): Likewise.
8957 * nptl/tst-stack4.c: New file.
8958 * nptl/tst-stack4mod.c: Likewise.
8960 2014-11-27 J. Brown <jb999@gmx.de>
8962 * sysdeps/x86/bits/string.h: Add recent CPUs.
8964 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8966 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8969 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8972 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8975 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
8977 * nscd/connections.c: Include libc-internal.h because of macro
8980 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8982 * string/bits/string3.h (__warn_memset_zero_len): Don't
8983 declare for gcc newer than 5.0.
8984 (memset): Don't test for zero-length __LEN for gcc newer than
8987 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8989 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8990 size_t for %zu format.
8992 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8993 difference, not %ju.
8995 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8997 * include/libc-internal.h (ignore_value): New macro.
8998 * nscd/connections.c (restart): Wrap calls to setuid and setgid
9001 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9004 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9005 pthread_cleanup_push to void *.
9007 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9012 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9013 instead of 1L << 52.
9015 * libio/bug-rewind.c (do_test): Check fwscanf return values.
9016 * libio/bug-rewind2.c (do_test): Likewise.
9018 * debug/test-stpcpy_chk-ifunc.c: Remove file.
9019 * debug/test-strcpy_chk-ifunc.c: Likewise.
9020 * wcsmbs/test-wcschr-ifunc.c: Likewise.
9021 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9022 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9023 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9024 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9025 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9026 * Rules [$(multi-arch) = no] (tests): Do not filter out
9028 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9029 * debug/Makefile (tests-ifunc): Remove variable.
9030 (tests): Do not add $(tests-ifunc).
9031 * wcsmbs/Makefile (tests-ifunc): Remove variable.
9032 (tests): Do not add $(tests-ifunc).
9033 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9034 [TEST_IFUNC]: Remove conditionals.
9035 * string/test-string.h (TEST_IFUNC): Remove macro.
9036 [TEST_IFUNC]: Remove conditionals.
9038 * string/test-strchr.c [!WIDE] (L): New macro.
9039 [WIDE] (L): Likewise.
9040 (check1): Use CHAR instead of char. Use L on string and character
9043 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
9045 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9047 * sysdeps/powerpc/bits/atomic.h
9048 (__arch_atomic_exchange_and_add_32_acq): Add definition.
9049 (__arch_atomic_exchange_and_add_32_rel): Likewise.
9050 (atomic_exchange_and_add_acq): Likewise.
9051 (atomic_exchange_and_add_rel): Likewise.
9052 * sysdeps/powerpc/powerpc32/bits/atomic.h
9053 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9054 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9055 * sysdeps/powerpc/powerpc64/bits/atomic.h
9056 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9057 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9059 2014-11-26 Torvald Riegel <triegel@redhat.com>
9061 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9062 Change synchronization of __sched_fifo_min_prio and
9063 __sched_fifo_max_prio.
9064 * nptl/pthread_mutexattr_getprioceiling.c
9065 (pthread_mutexattr_getprioceiling): Likewise.
9066 * nptl/pthread_mutexattr_setprioceiling.c
9067 (pthread_mutexattr_setprioceiling): Likewise.
9068 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9069 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9072 2014-11-26 Joseph Myers <joseph@codesourcery.com>
9074 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9077 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9079 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9080 third argument const.
9082 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
9084 fnmatch: work around GCC compiler warning bug with uninit var
9085 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9086 This works around a bug with x86-64 GCC 4.9.2 and earlier
9087 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9088 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9089 used uninitialized in this function [-Wmaybe-uninitialized]".
9091 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9093 * posix/bug-regex31.c (main): Return RES not 0.
9095 2014-11-25 Anton Blanchard <anton@samba.org>
9097 * sysdeps/powerpc/bits/atomic.h
9098 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9100 2014-11-24 Sterling Augustine <saugustine@google.com>
9102 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9104 2014-11-24 Ryan Cumming <etaoins@gmail.com>
9107 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9109 2014-11-24 Joseph Myers <joseph@codesourcery.com>
9112 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9113 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9115 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9116 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9118 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9120 * string/strncpy.c (strncpy): Improve performance by using memset.
9122 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9124 * string/strcpy.c (strcpy):
9125 Improve performance by using strlen and memcpy.
9127 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
9129 * string/strcoll_l.c (get_next_seq): __always_inline.
9130 * string/strcoll_l.c (do_compare): __always_inline.
9132 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9134 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9136 * include/mqueue.h: Likewise.
9137 * include/stdlib.h: Likewise.
9139 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9140 (get_null_defines): Adjust.
9141 * sunrpc/Makefile: Adjust comment.
9142 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9143 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9144 (CFLAGS-interp.c): Likewise.
9145 (CFLAGS-ldconfig.c): Likewise.
9146 (CPPFLAGS-.os): Likewise.
9147 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9148 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9149 * extra-modules.mk (extra-modules.mk): Likewise.
9150 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9151 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9152 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9153 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9154 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9155 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9156 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9157 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9158 * iconvdata/Makefile (CPPFLAGS): Likewise.
9159 (cpp-srcs-left): Add libof for all iconvdata routines.
9160 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9161 * include/assert.h: Likewise.
9162 * include/ctype.h: Likewise.
9163 * include/errno.h: Likewise.
9164 * include/libc-symbols.h: Likewise.
9165 * include/math.h: Likewise.
9166 * include/netdb.h: Likewise.
9167 * include/resolv.h: Likewise.
9168 * include/stdio.h: Likewise.
9169 * include/stdlib.h: Likewise.
9170 * include/string.h: Likewise.
9171 * include/sys/stat.h: Likewise.
9172 * include/wctype.h: Likewise.
9173 * intl/l10nflist.c: Likewise.
9174 * libidn/idn-stub.c: Likewise.
9175 * libio/libioP.h: Likewise.
9176 * nptl/libc_multiple_threads.c: Likewise.
9177 * nptl/pthreadP.h: Likewise.
9178 * posix/regex_internal.h: Likewise.
9179 * resolv/res_hconf.c: Likewise.
9180 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9181 * sysdeps/arm/memmove.S: Likewise.
9182 * sysdeps/arm/sysdep.h: Likewise.
9183 * sysdeps/generic/_itoa.h: Likewise.
9184 * sysdeps/generic/symbol-hacks.h: Likewise.
9185 * sysdeps/gnu/errlist.awk: Likewise.
9186 * sysdeps/gnu/errlist.c: Likewise.
9187 * sysdeps/i386/i586/memcpy.S: Likewise.
9188 * sysdeps/i386/i586/memset.S: Likewise.
9189 * sysdeps/i386/i686/memcpy.S: Likewise.
9190 * sysdeps/i386/i686/memmove.S: Likewise.
9191 * sysdeps/i386/i686/mempcpy.S: Likewise.
9192 * sysdeps/i386/i686/memset.S: Likewise.
9193 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9194 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9195 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9196 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9197 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9198 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9199 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9200 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9201 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9202 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9203 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9204 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9205 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9206 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9207 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9208 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9209 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9210 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9211 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9212 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9213 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9214 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9215 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9216 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9217 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9218 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9219 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9220 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9221 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9222 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9223 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9224 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9225 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9226 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9227 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9228 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9229 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9230 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9231 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9232 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9233 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9234 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9235 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9236 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9237 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9238 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9239 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9240 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9241 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9242 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9243 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9244 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9245 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9246 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9247 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9248 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9249 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9250 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9251 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9252 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9253 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9254 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9255 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9256 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9257 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9258 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9259 * sysdeps/posix/closedir.c: Likewise.
9260 * sysdeps/posix/opendir.c: Likewise.
9261 * sysdeps/posix/readdir.c: Likewise.
9262 * sysdeps/posix/rewinddir.c: Likewise.
9263 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9264 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9265 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9266 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9267 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9268 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9269 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9270 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9271 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9272 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9273 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9274 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9275 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9276 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9277 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9278 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9279 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9280 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9281 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9282 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9283 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9284 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9285 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9286 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9287 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9288 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9289 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9290 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9291 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9294 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9296 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9298 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9299 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9300 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9301 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9302 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9303 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9304 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9305 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9306 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9307 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9308 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9309 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9310 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9311 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9312 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9313 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9314 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9315 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9316 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9317 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9318 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9319 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9320 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9321 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9322 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9323 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9324 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9325 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9326 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9327 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9328 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9329 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9330 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9331 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9332 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9333 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9334 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9335 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9336 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9337 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9338 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9339 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9340 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9341 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9342 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9343 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9344 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9345 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9346 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9347 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9348 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9349 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9350 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9351 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9352 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9353 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9354 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9355 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9356 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9357 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9358 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9359 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9360 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9361 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9362 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9363 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9364 * sysdeps/unix/alpha/sysdep.S: Likewise.
9365 * sysdeps/unix/alpha/sysdep.h: Likewise.
9366 * sysdeps/unix/make-syscalls.sh: Likewise.
9367 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9368 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9369 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9370 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9371 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9372 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9373 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9374 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9375 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9376 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9377 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9378 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9379 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9380 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9381 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9382 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9383 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9384 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9385 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9386 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9387 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9388 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9389 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9390 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9391 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9392 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9393 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9396 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9397 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9398 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9399 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9400 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9401 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9402 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9403 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9404 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9405 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9406 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9407 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9408 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9409 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9410 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9411 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9412 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9414 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9415 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9417 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9418 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9419 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9420 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9421 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9422 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9423 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9424 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9425 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9426 * sysdeps/x86_64/memcpy.S: Likewise.
9427 * sysdeps/x86_64/memmove.c: Likewise.
9428 * sysdeps/x86_64/memset.S: Likewise.
9429 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9430 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9431 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9432 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9433 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9434 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9435 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9436 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9437 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9438 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9439 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9440 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9441 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9442 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9443 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9444 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9445 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9446 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9447 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9448 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9449 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9450 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9451 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9452 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9453 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9454 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9455 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9456 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9457 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9458 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9459 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9460 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9461 * sysdeps/x86_64/strcmp.S: Likewise.
9463 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9465 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9466 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9467 * elf/rtld-Rules: Likewise.
9468 * elf/setup-vdso.h: Likewise.
9469 * include/assert.h: Likewise.
9470 * include/bits/stdlib-float.h: Likewise.
9471 * include/errno.h: Likewise.
9472 * include/sys/stat.h: Likewise.
9473 * include/unistd.h: Likewise.
9474 * sysdeps/aarch64/setjmp.S: Likewise.
9475 * sysdeps/alpha/setjmp.S: Likewise.
9476 * sysdeps/arm/__longjmp.S: Likewise.
9477 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9478 * sysdeps/arm/setjmp.S: Likewise.
9479 * sysdeps/arm/sysdep.h: Likewise.
9480 * sysdeps/generic/_itoa.h: Likewise.
9481 * sysdeps/generic/dl-sysdep.h: Likewise.
9482 * sysdeps/generic/ldsodefs.h: Likewise.
9483 * sysdeps/i386/dl-tls.h: Likewise.
9484 * sysdeps/i386/setjmp.S: Likewise.
9485 * sysdeps/m68k/setjmp.c: Likewise.
9486 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9487 * sysdeps/mach/hurd/opendir.c: Likewise.
9488 * sysdeps/posix/getcwd.c: Likewise.
9489 * sysdeps/posix/opendir.c: Likewise.
9490 * sysdeps/posix/profil.c: Likewise.
9491 * sysdeps/powerpc/dl-procinfo.h: Likewise.
9492 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9493 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9494 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9495 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9496 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9497 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9498 * sysdeps/s390/dl-tls.h: Likewise.
9499 * sysdeps/s390/s390-32/setjmp.S: Likewise.
9500 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9501 * sysdeps/sh/sh3/setjmp.S: Likewise.
9502 * sysdeps/sh/sh4/setjmp.S: Likewise.
9503 * sysdeps/unix/alpha/sysdep.h: Likewise.
9504 * sysdeps/unix/arm/sysdep.S: Likewise.
9505 * sysdeps/unix/i386/sysdep.S: Likewise.
9506 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9507 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9508 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9509 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9510 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9511 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9512 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9513 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9514 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9515 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9516 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9517 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9518 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9521 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9522 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9523 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9524 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9525 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9526 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9527 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9528 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9529 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9530 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9531 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9533 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9534 * sysdeps/x86_64/setjmp.S: Likewise.
9536 * include/math.h: Use IS_IN instead of IS_IN_libm.
9537 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9538 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9549 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9550 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9552 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9553 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9555 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9556 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9557 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9558 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9559 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9560 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9561 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9562 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9563 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9564 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9565 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9566 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9567 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9568 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9569 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9580 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9581 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9582 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9583 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9584 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9585 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9591 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9592 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9593 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9594 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9595 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9596 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9597 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9598 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9599 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9600 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9601 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9602 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9603 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9604 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9606 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9608 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9609 * nptl/pthreadP.h: Likewise.
9610 * nptl_db/structs.def: Likewise.
9611 * sysdeps/arm/sysdep.h: Likewise.
9612 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9613 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9614 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9615 * sysdeps/unix/alpha/sysdep.h: Likewise.
9616 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9617 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9618 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9619 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9620 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9621 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9622 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9623 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9624 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9625 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9626 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9627 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9628 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9629 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9632 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9633 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9634 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9635 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9636 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9637 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9638 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9639 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9640 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9641 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9643 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9644 * nptl/pthreadP.h: Likewise.
9645 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9646 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9647 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9648 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9649 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9650 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9651 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9652 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9653 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9654 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9655 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9656 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9661 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9662 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9663 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9664 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9665 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9666 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9667 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9668 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9670 * dlfcn/dladdr.c: Use IS_IN.
9671 * dlfcn/dladdr1.c: Likewise.
9672 * dlfcn/dlclose.c: Likewise.
9673 * dlfcn/dlerror.c: Likewise.
9674 * dlfcn/dlinfo.c: Likewise.
9675 * dlfcn/dlmopen.c: Likewise.
9676 * dlfcn/dlopen.c: Likewise.
9677 * dlfcn/dlsym.c: Likewise.
9678 * dlfcn/dlvsym.c: Likewise.
9680 * include/ifaddrs.h: Use IS_IN.
9681 * inet/check_pf.c: Likewise.
9682 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9683 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9685 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9687 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9688 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9690 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9691 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9694 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9696 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9697 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9698 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9699 * include/libc-symbols.h (IS_IN_LIB): New macro.
9700 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9701 * include/netdb.h: Likewise.
9702 * include/stap-probe.h: Remove all uses of IN_LIB.
9704 * Makeconfig (module-cppflags-real): Define MODULE_NAME
9705 instead of IN_MODULE.
9706 * include/libc-symbols.h (IN_MODULE): Define using
9708 (PASTE_NAME, PASTE_NAME1): New macros.
9709 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9711 (STAP_PROBE_ASM): Likewise.
9713 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
9715 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9716 __mach_init in dlopened libc.
9718 2014-11-22 Mike Frysinger <vapier@gentoo.org>
9720 * sysdeps/arm/preconfigure.ac: Delete EABI check.
9721 * sysdeps/arm/preconfigure: Regenerate.
9723 2014-11-21 Roland McGrath <roland@hack.frob.com>
9725 * nptl/pthread_create.c (__pthread_create_2_1): Set
9726 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9727 when copying values from IATTR into PD.
9729 2014-11-21 Will Newton <will.newton@linaro.org>
9730 Andrew Pinski <andrew.pinski@caviumnetworks.com>
9732 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9733 Refactor inline-asm. Also add comment.
9735 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9736 ElfW macro instead of hardcoded Elf64 types.
9737 (la_aarch64_gnu_pltenter): Likewise.
9738 * sysdeps/aarch64/dl-machine.h
9739 (elf_machine_runtime_setup): Use ElfW(Addr).
9741 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9742 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9743 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9744 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9745 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9746 (R_AARCH64_TLS_DTPMOD64): Rename to ..
9747 (R_AARCH64_TLS_DTPMOD): This.
9748 (R_AARCH64_TLS_DTPREL64): Rename to ...
9749 (R_AARCH64_TLS_DTPREL): This.
9750 (R_AARCH64_TLS_TPREL64): Rename to ...
9751 (R_AARCH64_TLS_TPREL): This.
9752 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9753 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9754 R_AARCH64_TLS_TPREL64.
9755 (elf_machine_rela): Likewise.
9757 2014-11-21 Torvald Riegel <triegel@redhat.com>
9759 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9760 by setting it to 0. 64b atomics are not supported currently.
9762 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9765 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9766 search domain names.
9768 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9772 * resolv/res_query.c (__libc_res_nquerydomain): Retain
9774 * posix/tst-getaddrinfo5.c: New.
9775 * posix/Makefile (tests): Add it.
9777 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9781 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9782 after parsing line but before break_if_match.
9783 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9784 if there is a protocol mismatch.
9786 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9788 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9789 because the potential race is on the user-supplied stream.
9791 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9793 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9794 string literal if not passed a buffer.
9795 * manual/job.texi (ctermid): Update reasoning, note deviation
9796 from posix, suggest mtasurace when not passed a buffer, for
9797 future non-preliminary safety notes.
9799 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9801 * manual/users.texi (cuserid): Fix MT-Safety note for the case
9802 of not passing it a buffer.
9803 Reported by Peng Haitao.
9805 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9807 * manual/Makefile ($(objpfx)stamp-summary): Require
9808 check-safety.sh to pass.
9809 * manual/check-safety.sh: Wish for verification that every
9810 @deftypefn and @deftypefun is followed by a @safety remark.
9812 2014-11-20 Roland McGrath <roland@hack.frob.com>
9814 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9816 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9817 PTHREAD_CANCEL_ASYNCHRONOUS.
9818 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9821 * nptl/default-sched.h: New file.
9822 * sysdeps/unix/sysv/linux/default-sched.h: New file.
9823 * nptl/pthread_create.c: Include it.
9824 (__pthread_create_2_1): Use collect_default_sched instead of making
9825 Linux syscalls here directly.
9827 2014-11-20 Torvald Riegel <triegel@redhat.com>
9829 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9830 __pthread_once): Use C11 atomics.
9832 2014-11-20 Torvald Riegel <triegel@redhat.com>
9834 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9836 2014-11-20 Torvald Riegel <triegel@redhat.com>
9838 * include/atomic.h (__atomic_link_error, __atomic_check_size,
9839 atomic_thread_fence_acquire, atomic_thread_fence_release,
9840 atomic_thread_fence_seq_cst, atomic_load_relaxed,
9841 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9842 atomic_compare_exchange_weak_relaxed,
9843 atomic_compare_exchange_weak_acquire,
9844 atomic_compare_exchange_weak_release,
9845 atomic_exchange_acquire, atomic_exchange_release,
9846 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9847 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9848 atomic_fetch_and_acquire,
9849 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9851 2014-11-20 Torvald Riegel <triegel@redhat.com>
9853 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9854 USE_ATOMIC_COMPILER_BUILTINS): Define.
9855 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9856 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9857 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9858 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9859 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9860 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9861 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9862 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9863 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9864 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9865 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9866 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9867 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9868 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9869 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9870 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9871 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9872 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9873 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9874 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9875 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9876 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9877 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9878 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9879 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9880 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9881 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9882 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9883 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9884 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9885 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9886 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9887 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9888 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9889 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9890 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9891 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9892 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9893 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9894 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9896 2014-11-19 Roland McGrath <roland@hack.frob.com>
9898 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9899 the sched_priority value here. It was already checked when the user
9900 called pthread_attr_setschedparam.
9902 * nptl/tst-bad-schedattr.c: New file.
9903 * nptl/Makefile (tests): Add it.
9905 2014-11-19 Carlos O'Donell <carlos@redhat.com>
9906 Florian Weimer <fweimer@redhat.com>
9907 Joseph Myers <joseph@codesourcery.com>
9908 Adam Conrad <adconrad@0c3.net>
9909 Andreas Schwab <schwab@suse.de>
9910 Brooks <bmoses@google.com>
9913 * wordexp-test.c (__dso_handle): Add prototype.
9914 (__register_atfork): Likewise.
9915 (__app_register_atfork): New function.
9916 (registered_forks): New global.
9917 (register_fork): New function.
9918 (test_case): Add 3 new tests for WRDE_CMDSUB.
9919 (main): Call __app_register_atfork.
9920 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9921 fork count is non-zero fail the test.
9922 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9924 (parse_dollars): Remove check for WRDE_NOCMD.
9925 (parse_dquote): Likewise.
9927 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9929 * Makeconfig (built-modules): List non-library modules to be
9931 (module-cppflags): Include libc-modules.h for
9932 everything except shlib-versions.v.i.
9934 (before-compile): Add libc-modules.h.
9935 ($(common-objpfx)libc-modules.h,
9936 $(common-objpfx)libc-modules.stmp): New targets.
9937 (common-generated): Add libc-modules.h and libc-modules.stmp.
9938 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9939 * include/libc-symbols.h: Don't include libc-modules.h.
9940 * include/libc-modules.h: Remove file.
9941 * scripts/gen-libc-modules.awk: New script to generate
9943 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9944 Depend on libc-modules.stmp.
9946 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9948 * Makeconfig (in-module): Get value of libof set for the
9950 (CPPFLAGS): Use $(in-module).
9951 * Makerules: Don't suffix routine names for nonlib.
9952 * include/libc-modules.h: New file.
9953 * include/libc-symbols.h: Include libc-modules.h
9954 (IS_IN): New macro to replace IS_IN_* macros.
9955 * elf/Makefile: Set libof-* for each routine.
9956 * elf/rtld-Rules: Likewise.
9957 * extra-modules.mk: Likewise.
9958 * iconv/Makefile: Likewise.
9959 * iconvdata/Makefile: Likewise.
9960 * locale/Makefile: Likewise.
9961 * malloc/Makefile: Likewise.
9962 * nss/Makefile: Likewise.
9963 * sysdeps/gnu/Makefile: Likewise.
9964 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9965 * sysdeps/unix/sysv/linux/Makefile: Likewise.
9966 * sysdeps/s390/s390-64/Makefile: Likewise.
9967 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
9968 CPPFLAGS for nscd instead of nonlib.
9970 2014-11-18 Roland McGrath <roland@hack.frob.com>
9972 * nptl/createthread.c: New file.
9974 * nptl/createthread.c: Moved ...
9975 * sysdeps/unix/sysv/linux/createthread.c: ... here.
9977 * nptl/createthread.c: Add proper top-line comment.
9978 (do_clone): Folded into ...
9979 (create_thread): ... here. Take new arguments STOPPED_START and
9980 THREAD_RAN. Always set PD->stopped_start to something here. Don't
9981 increment __nptl_threads, do event-reporting logic, do
9982 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9983 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
9984 resource cleanup if sched_setaffinity or sched_setscheduler fails,
9985 just send SIGCANCEL.
9986 * nptl/pthread_create.c: Forward-declare create_thread before
9987 including createthread.c.
9988 (start_thread): Use new macro START_THREAD_DEFN to replace defining
9989 declaration, and new macro START_THREAD_SELF to replace argument.
9990 Remove return statement.
9991 (report_thread_creation): New function.
9992 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
9993 synchronization logic, and __nptl_nthreads increment here, around
9994 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
9995 PD->parent_cancelhandling here, before create_thread. When
9996 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9997 __deallocate_stack, and ENOMEM translation here.
9999 2014-11-18 Joseph Myers <joseph@codesourcery.com>
10002 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10003 (mptwo): Rename to __mptwo.
10004 (__inv): Use __mptwo instead of mptwo.
10005 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10006 (mptwo): Rename to __mptwo.
10007 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10008 of mpone and __mptwo instead of mptwo.
10009 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10011 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10012 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10013 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10014 of mpone and __mptwo instead of mptwo.
10015 (__mpranred): Use __mpone instead of mpone.
10016 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10018 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10019 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10020 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10021 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10022 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10023 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10024 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10025 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10026 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10027 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10028 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10029 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10030 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10031 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10032 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10033 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10034 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10035 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10036 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10038 2014-11-18 Tom de Vries <tom@codesoucery.com>
10040 * manual/signal.texi (Primitives Interrupted by Signals): In section,
10041 replace BSD Handler xref with BSD Signal Handling.
10043 2014-11-17 Richard Henderson <rth@redhat.com>
10045 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10046 (_FP_PACK_RAW_2): Remove.
10047 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10048 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10049 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10050 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10051 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10052 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10053 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10054 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10055 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10056 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10057 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10058 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10059 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10060 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10061 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10062 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10064 2014-11-14 Roland McGrath <roland@hack.frob.com>
10066 * signal/signal.h [__USE_MISC]
10067 (struct sigvec): Remove type.
10068 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10069 (sigvec): Remove declaration.
10070 * sysdeps/posix/sigvec.c: Moved ...
10071 * signal/sigvec.c: ... here, replacing old file.
10072 (struct sigvec): New type, copied from old signal.h definition.
10073 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10074 (__sigvec): Convert definition to prototype.
10075 (sigvec): Replace weak_alias with compat_symbol.
10076 * signal/Versions (libc: GLIBC_2.21): New version set.
10077 * include/signal.h: Remove __sigvec declaration.
10078 * sysdeps/unix/bsd/sigvec.c: Remove file.
10079 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10080 * manual/signal.texi (BSD Handler): Remove subsection.
10081 Move siginterrupt up to ...
10082 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
10083 (Blocking in BSD): Fold subsection into its parent.
10084 * NEWS: Mention sigvec removal.
10086 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10088 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10089 (DLA_FMS): Make definition conditional only on [__FMA4__].
10090 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10093 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10094 Make definition conditional only on [PROF].
10095 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10097 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10098 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10100 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10102 * include/signal.h (__sigpause): Move declaration above call to
10104 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10106 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10107 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10109 2014-11-14 David S. Miller <davem@davemloft.net>
10111 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10112 Define before including <string/memcpy.c> and <string/mempcpy.c>.
10114 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10116 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10117 * configure: Regenerated.
10118 * manual/install.texi (Tools for Compilation): Document a
10119 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10120 compiler verified to work.
10121 * INSTALL: Regenerated.
10123 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10124 redeclare with asm name.
10125 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10126 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10127 including <string.h>.
10128 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10129 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10130 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10131 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10132 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10133 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10134 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10136 2014-11-13 Joseph Myers <joseph@codesourcery.com>
10138 * stdlib/strtol.c (__strtol): Use prototype definition.
10141 * stdlib/strtol.c (SYM__): New macro.
10142 (SYM__1): Likewise.
10143 (__strtol): Likewise.
10144 (strtol): Rename to __strtol and define as weak alias of
10145 __strtol. Use libc_hidden_weak.
10147 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10149 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10150 Use numbered labels in inline assembly.
10152 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10154 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10155 Add setjmp LIBC_PROBE.
10156 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10158 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10159 Add longjmp, longjmp_target LIBC_PROBE.
10160 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10163 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10165 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10166 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10167 to get rid of unused variable warning.
10169 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10171 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10172 Check for unwind_backtrace == NULL only in SHARED case.
10173 (__backchain_backtrace): Compile only in SHARED case.
10174 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10176 (__backchain_backtrace): Declare as static.
10178 2014-11-12 Roland McGrath <roland@hack.frob.com>
10180 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10181 (__libc_multiple_threads_ptr): Variable moved ...
10182 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10184 2014-11-12 Joseph Myers <joseph@codesourcery.com>
10186 * conform/GlibcConform.pm: New file.
10187 * conform/conformtest.pl: Use GlibcConform module.
10188 * conform/linknamespace.pl: New file.
10189 * conform/list-header-symbols.pl: Likewise.
10190 * conform/Makefile (linknamespace-symlists-base): New variable.
10191 (linknamespace-symlists-tests): Likewise.
10192 (linknamespace-header-base): Likewise.
10193 (linknamespace-header-tests): Likewise.
10194 (tests-special): Add new tests.
10195 ($(linknamespace-symlists-tests)): New rule.
10196 (linknamespace-libs): New variable.
10197 ($(objpfx)symlist-stdlibs): New rule.
10198 ($(linknamespace-header-tests)): Likewise.
10199 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10200 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10201 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10202 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10203 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10204 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10205 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10206 (test-xfail-ISO/math.h/linknamespace): Likewise.
10207 (test-xfail-ISO/signal.h/linknamespace): Likewise.
10208 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10209 (test-xfail-ISO/time.h/linknamespace): Likewise.
10210 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10211 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10212 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10213 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10214 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10215 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10216 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10217 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10218 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10219 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10220 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10221 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10222 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10223 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10224 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10225 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10226 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10227 (test-xfail-XPG3/search.h/linknamespace): Likewise.
10228 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10229 (test-xfail-XPG3/time.h/linknamespace): Likewise.
10230 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10231 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10232 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10233 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10234 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10235 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10236 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10237 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10238 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10239 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10240 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10241 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10242 (test-xfail-XPG4/search.h/linknamespace): Likewise.
10243 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10244 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10245 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10246 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10247 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10248 (test-xfail-XPG4/time.h/linknamespace): Likewise.
10249 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10250 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10251 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10252 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10253 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10254 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10255 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10256 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10257 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10258 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10259 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10260 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10261 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10262 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10263 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10264 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10265 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10266 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10267 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10268 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10269 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10270 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10271 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10272 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10273 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10274 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10275 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10276 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10277 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10278 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10279 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10280 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10281 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10282 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10283 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10284 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10285 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10286 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10287 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10288 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10289 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10290 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10291 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10292 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10293 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10294 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10295 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10296 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10297 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10298 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10299 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10300 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10301 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10302 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10303 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10304 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10305 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10306 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10307 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10308 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10309 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10310 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10311 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10312 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10313 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10314 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10315 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10316 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10317 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10318 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10319 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10320 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10321 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10322 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10323 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10324 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10325 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10326 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10327 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10328 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10329 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10330 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10331 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10332 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10333 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10334 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10335 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10336 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10337 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10338 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10339 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10340 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10341 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10342 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10343 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10344 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10345 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10346 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10347 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10348 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10349 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10350 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10351 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10352 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10353 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10354 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10355 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10356 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10357 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10358 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10359 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10362 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10366 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10367 (memmem): Rename to __memmem and define as weak alias of
10368 __memmem. Use libc_hidden_weak.
10369 (__memmem): Use libc_hidden_def.
10370 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
10371 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10375 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10376 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
10377 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10378 and define as weak alias of __fgets_unlocked. Use
10380 (__fgets_unlocked): Use libc_hidden_def.
10381 * include/stdio.h (__fgets_unlocked): Declare. Use
10383 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10384 __fgets_unlocked instead of fgets_unlocked.
10385 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10386 (GET_NPROCS_CONF_PARSER): Likewise.
10387 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10388 (GET_NPROCS_CONF_PARSER): Likewise.
10391 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10392 weak alias of __wmemset. Use libc_hidden_weak.
10393 (__wmemset): Use libc_hidden_def.
10394 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
10395 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10399 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10400 with asm name __mempcpy.
10401 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10404 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10405 and define as weak alias of __rawmemchr.
10406 (__rawmemchr): Do not define as strong alias of rawmemchr.
10409 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10410 alias of __qsort_r.
10411 (qsort): Call __qsort_r instead of qsort_r.
10412 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10413 (__qsort_r): Declare. Call libc_hidden_proto.
10414 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10415 instead of qsort_r.
10416 * nscd/gai.c (__qsort_r): Define to qsort_r.
10417 * posix/tst-rfc3484.c (__qsort_r): Likewise.
10418 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10419 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10422 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10423 define as weak alias of __malloc_info.
10426 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10427 as weak alias of __rewinddir. Don't use libc_hidden_def.
10428 (__rewinddir): Use libc_hidden_def.
10429 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10430 as weak alias of __rewinddir. Don't use libc_hidden_def.
10431 (__rewinddir): Use libc_hidden_def.
10432 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10433 weak alias of __rewinddir. Don't use libc_hidden_def.
10434 (__rewinddir): Use libc_hidden_def.
10435 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10436 (__rewinddir): Use libc_hidden_proto.
10437 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10439 (__getcwd): Use __rewinddir instead of rewinddir.
10442 * libio/fileno.c (fileno): Rename to __fileno and define as weak
10443 alias of __fileno. Use libc_hidden_weak.
10444 (__fileno): Use libc_hidden_def.
10445 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10446 * libio/ftello.c (ftello): Rename to __ftello and define as weak
10448 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10450 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10451 (__fread_unlocked): Define as strong alias of _IO_fread. Use
10453 (fread_unlocked): Don't use libc_hidden_ver.
10454 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10455 and define as weak alias of __fread_unlocked. Don't use
10457 (__fread_unlocked): Use libc_hidden_def.
10458 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
10459 (ftello): Don't use libc_hidden_proto.
10460 (__ftello): Declare. Use libc_hidden_proto.
10461 (fread_unlocked): Don't use libc_hidden_proto.
10462 (__fread_unlocked): Declare. Use libc_hidden_proto.
10463 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10464 and __ftello instead of fileno, fread_unlocked and ftello.
10466 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10468 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10470 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10472 (_dl_start_user): Likewise.
10473 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10475 2014-11-12 Carlos O'Donell <carlos@redhat.com>
10476 Siddhesh Poyarekar <siddhesh@redhat.com>
10478 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10479 Move argv and envp down instead of moving argc up.
10480 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10482 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
10485 * test-skeleton.c (main): Return successful if one of
10486 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10487 * string/tst-strcoll-overflow.c: Define expected status.
10489 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
10492 * locale/iso-639.def: Define Bhili and Tulu language codes.
10494 2014-11-11 Alan Hayward <alan.hayward@arm.com>
10496 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10498 2014-11-10 Renlin Li <Renlin.Li@arm.com>
10501 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10503 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10505 * configure.ac: Updated check of minimal required version to
10507 * manual/install.texi (Tools for Compilation): Updated version
10509 * configure: Regenerated.
10510 * INSTALL: Likewise.
10512 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
10514 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10517 2014-11-07 Joseph Myers <joseph@codesourcery.com>
10519 * include/sys/wait.h (__libc_waitpid): Remove declaration.
10520 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10521 (__waitpid): Don't define as alias. Use libc_hidden_def not
10523 (waitpid): Define as alias of __waitpid.
10524 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10526 (__waitpid): Don't define as alias. Use libc_hidden_def not
10528 (waitpid): Define as alias of __waitpid.
10529 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10530 __libc_waitpid alias.
10531 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10532 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10534 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10535 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10536 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10538 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10540 (__waitpid): Don't define as alias. Use libc_hidden_def not
10542 (waitpid): Define as alias of __waitpid.
10544 2014-11-06 Carlos O'Donell <carlos@redhat.com>
10546 * manual/llio.texi: Add comment that write safety has been
10549 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10550 (localplt-build-dso): Add elf/ld.so.
10551 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10552 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10553 and free for ld.so.
10554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10555 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10560 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10561 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10562 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10563 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10564 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10565 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10566 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10567 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10568 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10569 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10570 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10572 2014-11-05 Joseph Myers <joseph@codesourcery.com>
10575 * include/libc-symbols.h (INTUSE): Remove macro.
10576 (INTDEF): Likewise.
10577 (INTVARDEF): Likewise.
10578 (_INTVARDEF): Likewise.
10579 (INTDEF2): Likewise.
10580 (INTVARDEF2): Likewise.
10581 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10582 rtld_hidden_def instead of INTVARDEF.
10583 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10584 (_dl_starting_up_internal): Remove declaration.
10585 (_dl_starting_up): Use rtld_hidden_proto.
10586 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10588 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10589 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10591 * elf/dl-writev.h (_dl_writev): Likewise.
10592 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10593 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10594 _dl_starting_up_internal.
10596 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10598 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10601 2014-11-05 Will Newton <will.newton@linaro.org>
10603 * benchtests/Makefile: (bench-malloc): Add malloc thread
10604 scalability benchmark.
10605 * benchtests/bench-malloc-threads.c: New file.
10607 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
10609 * sysdeps/aarch64/strchrnul.S: New file.
10611 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10613 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10615 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10617 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10619 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10621 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10623 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10626 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
10628 * catgets/test-gencat.c: Use test-skeleton.c.
10629 * catgets/tst-catgets.c: Likewise.
10630 * csu/tst-empty.c: Likewise.
10631 * elf/tst-audit2.c: Likewise.
10632 * elf/tst-global1.c: Likewise.
10633 * elf/tst-pathopt.c: Likewise.
10634 * elf/tst-piemod1.c: Likewise.
10635 * elf/tst-tls10.c: Likewise.
10636 * elf/tst-tls11.c: Likewise.
10637 * elf/tst-tls12.c: Likewise.
10638 * gnulib/tst-gcc.c: Likewise.
10639 * iconvdata/tst-e2big.c: Likewise.
10640 * iconvdata/tst-loading.c: Likewise.
10641 * iconv/tst-iconv1.c: Likewise.
10642 * iconv/tst-iconv2.c: Likewise.
10643 * inet/test-inet6_opt.c: Likewise.
10644 * inet/tst-gethnm.c: Likewise.
10645 * inet/tst-network.c: Likewise.
10646 * inet/tst-ntoa.c: Likewise.
10647 * intl/tst-codeset.c: Likewise.
10648 * intl/tst-gettext2.c: Likewise.
10649 * intl/tst-gettext3.c: Likewise.
10650 * intl/tst-ngettext.c: Likewise.
10651 * intl/tst-translit.c: Likewise.
10652 * io/test-stat.c: Likewise.
10653 * libio/test-fmemopen.c: Likewise.
10654 * libio/tst-freopen.c: Likewise.
10655 * libio/tst-sscanf.c: Likewise.
10656 * libio/tst-ungetwc1.c: Likewise.
10657 * libio/tst-ungetwc2.c: Likewise.
10658 * libio/tst-widetext.c: Likewise.
10659 * localedata/tst-ctype.c: Likewise.
10660 * localedata/tst-digits.c: Likewise.
10661 * localedata/tst-leaks.c: Likewise.
10662 * localedata/tst-mbswcs1.c: Likewise.
10663 * localedata/tst-mbswcs2.c: Likewise.
10664 * localedata/tst-mbswcs3.c: Likewise.
10665 * localedata/tst-mbswcs4.c: Likewise.
10666 * localedata/tst-mbswcs5.c: Likewise.
10667 * localedata/tst-setlocale.c: Likewise.
10668 * localedata/tst-trans.c: Likewise.
10669 * localedata/tst-wctype.c: Likewise.
10670 * localedata/tst-xlocale1.c: Likewise.
10671 * login/tst-grantpt.c: Likewise.
10672 * malloc/tst-calloc.c: Likewise.
10673 * malloc/tst-malloc.c: Likewise.
10674 * malloc/tst-mallocstate.c: Likewise.
10675 * malloc/tst-mcheck.c: Likewise.
10676 * malloc/tst-mtrace.c: Likewise.
10677 * malloc/tst-obstack.c: Likewise.
10678 * math/atest-exp2.c: Likewise.
10679 * math/atest-exp.c: Likewise.
10680 * math/atest-sincos.c: Likewise.
10681 * math/test-matherr.c: Likewise.
10682 * math/test-misc.c: Likewise.
10683 * math/test-powl.c: Likewise.
10684 * math/tst-definitions.c: Likewise.
10685 * misc/tst-dirname.c: Likewise.
10686 * misc/tst-efgcvt.c: Likewise.
10687 * misc/tst-fdset.c: Likewise.
10688 * misc/tst-hsearch.c: Likewise.
10689 * misc/tst-mntent2.c: Likewise.
10690 * nptl/tst-sem7.c: Likewise.
10691 * nptl/tst-sem8.c: Likewise.
10692 * nptl/tst-sem9.c: Likewise.
10693 * nss/test-netdb.c: Likewise.
10694 * posix/tst-fnmatch.c: Likewise.
10695 * posix/tst-getlogin.c: Likewise.
10696 * posix/tst-gnuglob.c: Likewise.
10697 * posix/tst-mmap.c: Likewise.
10698 * pwd/tst-getpw.c: Likewise.
10699 * resolv/tst-inet_ntop.c: Likewise.
10700 * rt/tst-timer.c: Likewise.
10701 * stdio-common/test-fseek.c: Likewise.
10702 * stdio-common/test-popen.c: Likewise.
10703 * stdio-common/test-vfprintf.c: Likewise.
10704 * stdio-common/tst-cookie.c: Likewise.
10705 * stdio-common/tst-fileno.c: Likewise.
10706 * stdio-common/tst-gets.c: Likewise.
10707 * stdio-common/tst-obprintf.c: Likewise.
10708 * stdio-common/tst-perror.c: Likewise.
10709 * stdio-common/tst-sprintf2.c: Likewise.
10710 * stdio-common/tst-sprintf3.c: Likewise.
10711 * stdio-common/tst-sprintf.c: Likewise.
10712 * stdio-common/tst-swprintf.c: Likewise.
10713 * stdio-common/tst-tmpnam.c: Likewise.
10714 * stdio-common/tst-unbputc.c: Likewise.
10715 * stdio-common/tst-wc-printf.c: Likewise.
10716 * stdlib/tst-environ.c: Likewise.
10717 * stdlib/tst-fmtmsg.c: Likewise.
10718 * stdlib/tst-limits.c: Likewise.
10719 * stdlib/tst-rand48-2.c: Likewise.
10720 * stdlib/tst-rand48.c: Likewise.
10721 * stdlib/tst-random2.c: Likewise.
10722 * stdlib/tst-random.c: Likewise.
10723 * stdlib/tst-strtol.c: Likewise.
10724 * stdlib/tst-strtoll.c: Likewise.
10725 * stdlib/tst-tls-atexit.c: Likewise.
10726 * stdlib/tst-xpg-basename.c: Likewise.
10727 * string/test-ffs.c: Likewise.
10728 * string/tst-bswap.c: Likewise.
10729 * string/tst-inlcall.c: Likewise.
10730 * string/tst-strtok.c: Likewise.
10731 * string/tst-strxfrm.c: Likewise.
10732 * sysdeps/x86_64/tst-audit10.c: Likewise.
10733 * sysdeps/x86_64/tst-audit3.c: Likewise.
10734 * sysdeps/x86_64/tst-audit4.c: Likewise.
10735 * sysdeps/x86_64/tst-audit5.c: Likewise.
10736 * time/tst-ftime_l.c: Likewise.
10737 * time/tst-getdate.c: Likewise.
10738 * time/tst-mktime3.c: Likewise.
10739 * time/tst-mktime.c: Likewise.
10740 * time/tst-posixtz.c: Likewise.
10741 * time/tst-strptime2.c: Likewise.
10742 * time/tst-strptime3.c: Likewise.
10743 * wcsmbs/tst-btowc.c: Likewise.
10744 * wcsmbs/tst-mbrtowc.c: Likewise.
10745 * wcsmbs/tst-mbsrtowcs.c: Likewise.
10746 * wcsmbs/tst-wchar-h.c: Likewise.
10747 * wcsmbs/tst-wcpncpy.c: Likewise.
10748 * wcsmbs/tst-wcrtomb.c: Likewise.
10749 * wcsmbs/tst-wcsnlen.c: Likewise.
10750 * wcsmbs/tst-wcstof.c: Likewise.
10752 2014-11-04 Joseph Myers <joseph@codesourcery.com>
10755 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10757 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10759 (_dl_mcount): Use rtld_hidden_proto.
10760 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10762 * elf/rtld.c (_rtld_global_ro): Likewise.
10765 * elf/dl-init.c (_dl_init): Don't use INTDEF.
10766 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10767 of _dl_init_internal.
10768 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10769 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10770 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10771 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10772 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10773 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10774 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10775 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10776 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10777 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10778 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10779 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10780 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10781 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10782 * sysdeps/tile/dl-start.S (_start): Likewise.
10783 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10784 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10787 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10788 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10789 (rtld_progname): Make macro definition unconditional.
10790 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10792 (dlmopen_doit): Do not use INTUSE with _dl_argv.
10793 (dl_main): Likewise.
10794 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10795 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10796 instead of _dl_argv_internal.
10797 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10798 __GI__dl_argv instead of INTUSE(_dl_argv).
10799 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10800 __GI__dl_argv instead of _dl_argv_internal.
10802 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10803 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10805 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10806 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10808 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10809 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10811 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10812 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10814 2014-11-04 Andreas Schwab <schwab@suse.de>
10816 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10818 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10820 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10821 mtvsrd instruction in binary form.
10823 2014-11-03 Andreas Schwab <schwab@suse.de>
10826 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10827 for less than MB_LEN_MAX use a local buffer of that size.
10828 * libio/tst-fputws.c: New file.
10829 * libio/Makefile (tests): Add tst-fputws.
10831 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
10833 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10834 the size of the fpu_fr.fpu_dregs[] array.
10836 2014-11-01 Joseph Myers <joseph@codesourcery.com>
10838 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10839 (__nanosleep): Do not define as alias.
10840 (nanosleep): Define as alias of __nanosleep.
10841 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10842 __libc_nanosleep name.
10844 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10846 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10847 install.texi in comment.
10849 2014-10-31 Torvald Riegel <triegel@redhat.com>
10851 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10852 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10853 ... add here and use lwsync or sync ...
10854 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10855 ... and add here using lwsync.
10857 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
10859 * elf/dl-machine-reject-phdr.h: New file.
10860 * elf/dl-load.c: #include that.
10861 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10862 if that returned true.
10864 2014-10-31 Roland McGrath <roland@hack.frob.com>
10867 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10868 gen-as-const-headers chunk. Add a big scare comment after the last
10869 safe place to touch before-compile.
10871 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10873 * manual/install.texi (Tools for Compilation): Update autoconf
10874 version requirements.
10875 * INSTALL: Regenerated.
10877 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10878 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10879 (__libc_pselect): Likewise.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10887 2014-10-31 Torvald Riegel <triegel@redhat.com>
10889 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10890 correct barrier instruction.
10891 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10893 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10896 2014-10-30 Roland McGrath <roland@hack.frob.com>
10898 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10899 after defining inlines. Instead, just use parens to defeat macro
10900 expansion of __isctype in its declaration.
10902 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10904 * include/sys/uio.h (__libc_readv): Remove declaration.
10905 (__libc_writev): Likewise.
10906 * misc/readv.c (__libc_readv): Rename to __readv.
10907 (__readv): Do not define as alias.
10908 (readv): Define as alias of __readv.
10909 * misc/writev.c (__libc_writev): Rename to __writev.
10910 (__writev): Do not define as alias.
10911 (writev): Define as alias of __writev.
10912 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10913 (__readv): Do not define as alias.
10914 (readv): Define unconditionally as alias of __readv.
10915 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10916 (__writev): Do not define as alias.
10917 (writev): Define unconditionally as alias of __writev.
10918 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10920 (writev): Do not define __libc_writev name.
10922 2014-10-30 Roland McGrath <roland@hack.frob.com>
10924 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10925 (convert_charseq): New function, broken out of ...
10926 (use_from_charmap): ... here. Call it.
10927 (use_to_charmap): Use convert_charseq and free instead of duplicating
10928 its code with a variable-length stack struct.
10930 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10932 * include/fcntl.h (__libc_creat): Remove declaration.
10933 * io/creat.c (__libc_creat): Rename to creat.
10934 (creat): Do not define as alias.
10935 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10936 of creat instead of __libc_creat.
10937 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10939 (creat): Do not define as alias.
10940 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10942 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10944 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10947 2014-10-29 Carlos O'Donell <carlos@redhat.com>
10949 * manual/llio.texi: Add comments discussing why write() may be
10950 considered MT-unsafe on Linux.
10952 2014-10-28 Carlos O'Donell <carlos@redhat.com>
10954 * dl-load.c (local_strdup): Remove.
10955 (expand_dynamic_string_token): Use __strdup.
10956 (decompose_rpath): Likewise.
10957 (_dl_map_object): Likewise.
10959 2014-10-28 Joseph Myers <joseph@codesourcery.com>
10962 * sysdeps/generic/unwind-dw2-fde.c
10963 (__register_frame_info_bases_internal): Do not declare.
10964 (__register_frame_info_table_bases_internal): Likewise.
10965 (__deregister_frame_info_bases_internal): Likewise.
10966 (__register_frame_info_bases): Declare and use hidden_proto before
10967 definition. Use hidden_def instead of INTDEF.
10968 (__register_frame_info_table_bases): Likewise.
10969 (__deregister_frame_info_bases): Likewise.
10970 (__register_frame_info): Do not use INTUSE.
10971 (__register_frame): Likewise.
10972 (__register_frame_info_table): Likewise.
10973 (__register_frame_table): Likewise.
10974 (__deregister_frame_info): Likewise.
10975 (__deregister_frame): Likewise.
10977 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
10979 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10980 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10982 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10984 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10987 2014-10-27 Joseph Myers <joseph@codesourcery.com>
10990 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10991 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10992 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10993 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10994 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10995 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10996 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10997 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10998 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10999 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11000 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11001 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11002 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11004 (setfsuid): Likewise.
11005 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11006 (setfsuid): Likewise.
11007 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11008 (setfsuid): Likewise.
11009 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11011 (setfsuid): Likewise.
11012 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11013 (setfsuid): Likewise.
11014 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11016 (setfsuid): Likewise.
11018 2014-10-27 Andreas Schwab <schwab@suse.de>
11021 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11022 check for Slow_SSE4_2 feature bit.
11023 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11024 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11025 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11026 Likewise. Fix check for Fast_Unaligned_Load feature bit.
11028 2014-10-24 Roland McGrath <roland@hack.frob.com>
11030 * configure.ac: Validate compiler version with a empirical test of
11031 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11033 * configure: Regenerated.
11035 * inet/htons.c (htons): Prototypify.
11036 * inet/htonl.c (htonl): Likewise.
11038 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11040 * string/strncat.c (strncat): Improve performance by using strlen.
11042 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11044 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11046 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11048 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11049 Call libc_fetestexcept_aarch64.
11051 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11053 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11054 Call libc_feholdexcept_aarch64.
11056 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11058 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11059 Call get_rounding_mode.
11061 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11063 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11066 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11068 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11071 2014-10-24 Joseph Myers <joseph@codesourcery.com>
11074 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11075 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11076 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11077 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11078 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11079 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11080 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11081 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11082 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11083 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11084 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11085 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11086 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11087 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11088 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11089 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11090 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11091 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11092 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11093 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11094 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11095 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11096 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11097 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11098 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11099 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11100 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11101 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11102 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11103 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11104 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11105 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11106 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11107 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11108 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11109 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11110 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11111 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11112 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11113 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11114 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11116 (geteuid): Likewise.
11117 (getgid): Likewise.
11118 (getuid): Likewise.
11119 (getresgid): Likewise.
11120 (getresuid): Likewise.
11121 (getgroups): Likewise.
11122 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11123 (geteuid): Likewise.
11124 (getgid): Likewise.
11125 (getuid): Likewise.
11126 (getresgid): Likewise.
11127 (getresuid): Likewise.
11128 (getgroups): Likewise.
11129 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11130 (geteuid): Likewise.
11131 (getgid): Likewise.
11132 (getuid): Likewise.
11133 (getresgid): Likewise.
11134 (getresuid): Likewise.
11135 (getgroups): Likewise.
11136 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11138 (geteuid): Likewise.
11139 (getgid): Likewise.
11140 (getuid): Likewise.
11141 (getresgid): Likewise.
11142 (getresuid): Likewise.
11143 (getgroups): Likewise.
11144 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11145 (geteuid): Likewise.
11146 (getgid): Likewise.
11147 (getuid): Likewise.
11148 (getresgid): Likewise.
11149 (getresuid): Likewise.
11150 (getgroups): Likewise.
11151 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11153 (geteuid): Likewise.
11154 (getgid): Likewise.
11155 (getuid): Likewise.
11156 (getgroups): Likewise.
11159 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11160 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11161 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11162 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11163 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11164 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11165 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11166 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11167 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11168 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11169 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11170 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11171 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11173 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11174 (lchown): Likewise.
11175 (fchown): Likewise.
11176 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11178 (lchown): Likewise.
11179 (fchown): Likewise.
11180 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11181 (lchown): Likewise.
11182 (fchown): Likewise.
11183 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11185 (lchown): Likewise.
11186 (fchown): Likewise.
11188 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11190 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11193 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11195 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11198 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11200 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11201 Remove unused include.
11203 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11205 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11206 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11207 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11208 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11210 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
11211 Helge Deller <deller@gmx.de>
11214 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11215 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11216 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11218 2014-10-23 Joseph Myers <joseph@codesourcery.com>
11221 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11222 Remove macro definition.
11223 (__ashrdi3_v_glibc20): Likewise.
11224 (__lshrdi3_v_glibc20): Likewise.
11225 (__cmpdi2_v_glibc20): Likewise.
11226 (__ucmpdi2_v_glibc20): Likewise.
11227 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11228 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11229 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11230 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11231 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11232 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11234 2014-10-22 Roland McGrath <roland@hack.frob.com>
11236 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11237 old GNU extension [0] syntax.
11238 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11239 alloca rather than an array member with variable length.
11240 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11241 * nscd/nscd.c (invalidate_db): New function, broken out of ...
11242 (parse_opt): ... here. Likewise use alloca there.
11243 Validate the -i argument before checking for rootness.
11244 (send_shutdown): New function, broken out of ...
11245 (parse_opt): ... here.
11247 2014-10-22 Roland McGrath <roland@hack.frob.com>
11249 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11250 macro to get at the _rt_local_ro field.
11251 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11252 ([PIC] case) or _dl_hwcap ([!PIC] case).
11253 * sysdeps/arm/setjmp.S: Likewise.
11255 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11256 * sysdeps/arm/configure.ac: New check to define it.
11257 * sysdeps/arm/configure: Regenerated.
11258 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11259 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11260 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11261 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11262 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11263 Use move/movt pair instead of a load.
11264 (LDST_GLOBAL): Macro removed.
11265 (LDR_GLOBAL): New macro replaces it.
11266 (LDR_HIDDEN): New macro.
11267 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11268 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11270 * setjmp/tst-setjmp-static.c: New file.
11271 * setjmp/Makefile (tests): Add it.
11272 (tests-static): New variable.
11274 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
11277 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11279 2014-10-21 Joseph Myers <joseph@codesourcery.com>
11282 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11284 2014-10-21 Roland McGrath <roland@hack.frob.com>
11286 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11288 2014-10-20 Roland McGrath <roland@hack.frob.com>
11290 * io/fts.c (dirent_not_directory): New function.
11291 (fts_build): Call it.
11293 2014-10-20 Roland McGrath <roland@hack.frob.com>
11295 * nptl/version.c (__nptl_main): Use normal __write rather than
11297 (banner): Update copyright years.
11299 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11301 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11302 * nptl/pthread_cond_timedwait.c: Likewise.
11303 * nptl/pthread_mutex_timedlock.c: Likewise.
11304 * nptl/sem_timedwait.c: Likewise.
11306 * sysdeps/nptl/bits/libc-lock.h
11307 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11308 (__libc_lock_init_recursive): Return void, not 0.
11309 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11310 (__libc_rwlock_init): Likewise.
11311 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11313 2014-10-20 Torvald Riegel <triegel@redhat.com>
11316 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11317 (__pthread_once_slow): ... here.
11318 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11319 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11321 2014-10-20 Torvald Riegel <triegel@redhat.com>
11324 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11325 __PTHREAD_ONCE_FORK_GEN_INCR): New.
11326 * sysdeps/nptl/fork.c (__libc_fork): Use them.
11327 * nptl/pthread_once.c (__pthread_once): Likewise.
11330 2014-10-20 Joseph Myers <joseph@codesourcery.com>
11333 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11335 (writev): Use __libc_writev as strong name.
11336 * sysdeps/unix/sysv/linux/readv.c: Remove file.
11337 * sysdeps/unix/sysv/linux/writev.c: Likewise.
11339 2014-10-17 Roland McGrath <roland@hack.frob.com>
11341 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11343 * sysdeps/i386/nptl/tls.h
11344 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11345 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11347 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11348 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11349 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11350 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11351 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11352 Call CHECK_THREAD_SYSINFO instead of doing an assert.
11354 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11355 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11357 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11359 (__pthread_mutex_init): ... here. Call it.
11360 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11361 Conditionalize PI cases on [__NR_futex].
11362 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11363 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11364 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11366 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11367 conditional on [SIGSETXID].
11368 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11369 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11370 is defined. Likewise for SIGSETXID.
11371 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11372 Conditionalize definitions on [SIGSETXID].
11373 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11374 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11375 unblocking on [SIGCANCEL].
11377 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11378 [__NR_set_robust_list].
11380 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11382 * string/strcoll_l.c (get_next_seq): Fix up formatting.
11383 (do_compare): Likewise.
11385 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
11388 * string/strcoll_l.c: Don't include stdio.h.
11389 (coll_seq): Remove members idxarr and rulearr.
11390 (get_next_seq_cached): Remove function.
11391 (get_next_seq): Likewise.
11392 (get_next_seq_nocache): Rename to get_next_seq.
11393 (do_compare): Remove function.
11394 (do_compare_nocache): Rename to do_compare.
11395 (STRCOLL): Remove weight and rules cache.
11397 2014-10-16 Roland McGrath <roland@hack.frob.com>
11399 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11400 * sysdeps/arm/sfp-machine.h: ... to here.
11401 * sysdeps/arm/Implies: Remove arm/soft-fp.
11403 2014-10-14 Joseph Myers <joseph@codesourcery.com>
11405 * conform/data/sys/utsname.h-data (*_t): Allow.
11406 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11407 [POSIX] (WEXITED): Do not expect constant.
11408 [POSIX] (WSTOPPED): Likewise.
11409 [POSIX] (WNOHANG): Likewise.
11410 [POSIX] (WNOWAIT): Likewise.
11411 [POSIX] (siginfo_t): Do not expect type or elements.
11412 [POSIX] (pid_t): Do not expect type.
11413 [POSIX] (signal.h): Do not allow header.
11414 [POSIX] (sys/resource.h): Likewise.
11415 [POSIX] (si_*): Do not allow pattern.
11416 [POSIX] (W*): Likewise.
11417 [POSIX] (P_*): Likewise.
11418 [POSIX] (BUS_*): Likewise.
11419 [POSIX] (CLD_*): Likewise.
11420 [POSIX] (FPE_*): Likewise.
11421 [POSIX] (ILL_*): Likewise.
11422 [POSIX] (POLL_*): Likewise.
11423 [POSIX] (SEGV_*): Likewise.
11424 [POSIX] (SI_*): Likewise.
11425 [POSIX] (TRAP_*): Likewise.
11426 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11429 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
11432 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11433 infinite loop when __recvmsg returns 0.
11435 2014-10-10 Joseph Myers <joseph@codesourcery.com>
11437 * CANCEL-FCT-WAIVE: Remove file.
11438 * CANCEL-FILE-WAIVE: Likewise.
11441 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11442 instead of INTVARDEF.
11443 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11444 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11445 rtld_hidden_data_def instead of INTVARDEF.
11446 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11447 * elf/dl-deps.c (expand_dst): Likewise.
11448 * elf/dl-load.c (_dl_dst_count): Likewise.
11449 (_dl_dst_substitute): Likewise.
11450 (decompose_rpath): Likewise.
11451 (_dl_init_paths): Likewise.
11452 (open_path): Likewise.
11453 (_dl_map_object): Likewise.
11454 * elf/rtld.c (dl_main): Likewise.
11455 (process_dl_audit): Likewise.
11456 (process_envvars): Likewise.
11457 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11458 Remove declaration.
11459 (__libc_enable_secure): Use rtld_hidden_proto.
11461 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11464 (add_path): New function broken out of _dl_rtld_di_serinfo.
11465 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
11467 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11469 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11470 parentheses around macro arguments.
11471 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11472 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11473 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11474 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11475 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11476 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11477 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11478 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11479 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11480 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11481 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11482 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11483 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11484 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11485 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11486 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11487 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11488 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11489 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11490 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11491 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11492 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11493 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11494 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11495 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11496 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11497 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11498 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11499 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11500 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11501 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11502 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11503 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11504 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11505 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11506 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11508 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11509 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11510 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11511 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11512 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11513 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11514 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11515 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11516 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11517 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11518 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11519 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11520 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11521 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11522 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11523 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11524 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11525 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11526 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11527 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11528 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11529 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11530 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11531 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11532 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11533 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11534 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11535 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11536 (_FP_FRAC_SRS_1): Likewise.
11537 (_FP_FRAC_CLZ_1): Likewise.
11538 (_FP_MUL_MEAT_1_imm): Likewise.
11539 (_FP_MUL_MEAT_1_wide): Likewise.
11540 (_FP_MUL_MEAT_1_hard): Likewise.
11541 (_FP_SQRT_MEAT_1): Likewise.
11542 (_FP_FRAC_ASSEMBLE_1): Likewise.
11543 (_FP_FRAC_DISASSEMBLE_1): Likewise.
11544 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11545 (__FP_CLZ_2): Likewise.
11546 (_FP_MUL_MEAT_2_wide): Likewise.
11547 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11548 (_FP_MUL_MEAT_2_gmp): Likewise.
11549 (_FP_MUL_MEAT_2_120_240_double): Likewise.
11550 (_FP_SQRT_MEAT_2): Likewise.
11551 (_FP_FRAC_ASSEMBLE_2): Likewise.
11552 (_FP_FRAC_DISASSEMBLE_2): Likewise.
11553 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11554 (_FP_FRAC_CLZ_4): Likewise.
11555 (_FP_MUL_MEAT_4_wide): Likewise.
11556 (_FP_MUL_MEAT_4_gmp): Likewise.
11557 (_FP_SQRT_MEAT_4): Likewise.
11558 (_FP_FRAC_ASSEMBLE_4): Likewise.
11559 (_FP_FRAC_DISASSEMBLE_4): Likewise.
11560 * soft-fp/op-common.h (_FP_CMP): Likewise.
11561 (_FP_CMP_EQ): Likewise.
11562 (_FP_CMP_UNORD): Likewise.
11563 (_FP_TO_INT): Likewise.
11564 (_FP_FROM_INT): Likewise.
11565 [!__FP_CLZ] (__FP_CLZ): Likewise.
11566 (_FP_DIV_HELP_imm): Likewise.
11567 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11569 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11570 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11571 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11572 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11573 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11574 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11575 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11576 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11577 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11578 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11579 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11580 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11581 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11582 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11583 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11584 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11585 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11586 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11587 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11588 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11589 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11590 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11591 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11592 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11593 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11594 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11595 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11596 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11597 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11598 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11599 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11600 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11601 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11602 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11603 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11604 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11605 (FP_UNPACK_RAW_SP): Likewise.
11606 (FP_PACK_RAW_S): Likewise.
11607 (FP_PACK_RAW_SP): Likewise.
11608 (FP_UNPACK_S): Likewise.
11609 (FP_UNPACK_SP): Likewise.
11610 (FP_UNPACK_SEMIRAW_S): Likewise.
11611 (FP_UNPACK_SEMIRAW_SP): Likewise.
11612 (FP_PACK_S): Likewise.
11613 (FP_PACK_SP): Likewise.
11614 (FP_PACK_SEMIRAW_S): Likewise.
11615 (FP_PACK_SEMIRAW_SP): Likewise.
11616 (_FP_SQRT_MEAT_S): Likewise.
11617 (FP_CMP_S): Likewise.
11618 (FP_CMP_EQ_S): Likewise.
11619 (FP_CMP_UNORD_S): Likewise.
11620 (FP_TO_INT_S): Likewise.
11621 (FP_FROM_INT_S): Likewise.
11623 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11625 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11626 (FP_EX_INVALID_IMZ): Likewise.
11627 (FP_EX_INVALID_IMZ_FMA): Likewise.
11628 (FP_EX_INVALID_ISI): Likewise.
11629 (FP_EX_INVALID_ZDZ): Likewise.
11630 (FP_EX_INVALID_IDI): Likewise.
11631 (FP_EX_INVALID_SQRT): Likewise.
11632 (FP_EX_INVALID_CVI): Likewise.
11633 (FP_EX_INVALID_VC): Likewise.
11634 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11635 "invalid" exceptions.
11636 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11637 (_FP_ADD_INTERNAL): Likewise.
11638 (_FP_MUL): Likewise.
11639 (_FP_FMA): Likewise.
11640 (_FP_DIV): Likewise.
11641 (_FP_CMP_CHECK_NAN): Likewise.
11642 (_FP_SQRT): Likewise.
11643 (_FP_TO_INT): Likewise.
11644 (FP_EXTEND): Likewise.
11646 2014-10-09 Allan McRae <allan@archlinux.org>
11648 * po/fr.po: Update French translation from translation project.
11650 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11653 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11655 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11656 (__cxa_atexit): Use libc_hidden_proto.
11657 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11660 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11662 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11663 [!_ISOMAC] (__iswspace_l_internal): Likewise.
11664 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11665 [!_ISOMAC] (__iswctype_internal): Likewise.
11666 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11667 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11669 (fcntl): Remove __fcntl_internal alias.
11670 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11671 __connect_internal alias.
11672 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11675 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11676 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11678 (_FP_CHECK_FLUSH_ZERO): New macro.
11679 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11680 (_FP_CMP): Likewise.
11681 (_FP_CMP_EQ): Likewise.
11682 (_FP_TO_INT): Do not set inexact for subnormal arguments if
11684 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11685 (FP_TRUNC): Likewise.
11687 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11688 treated as invalid conversion, not as normal exponent.
11690 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11691 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
11692 (_FP_CMP_EQ): Likewise.
11693 (_FP_CMP_UNORD): Likewise.
11694 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11695 (FP_CMP_EQ_D): Likewise.
11696 (FP_CMP_UNORD_D): Likewise.
11697 * soft-fp/extended.h (FP_CMP_E): Likewise.
11698 (FP_CMP_EQ_E): Likewise.
11699 (FP_CMP_UNORD_E): Likewise.
11700 * soft-fp/quad.h (FP_CMP_Q): Likewise.
11701 (FP_CMP_EQ_Q): Likewise.
11702 (FP_CMP_UNORD_Q): Likewise.
11703 * soft-fp/single.h (FP_CMP_S): Likewise.
11704 (FP_CMP_EQ_S): Likewise.
11705 (FP_CMP_UNORD_S): Likewise.
11706 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11707 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11708 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11709 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11710 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11711 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11712 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11713 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11714 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11715 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11716 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11717 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11718 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11720 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11722 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11723 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11725 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11727 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11728 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11729 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11730 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11732 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11734 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11735 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11737 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11739 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11740 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11741 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11742 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11745 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11746 a subnormal result, set the underflow exception if trapping on
11747 underflow is enabled.
11748 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11749 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11750 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11752 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11753 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11754 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11755 * soft-fp/extendxftf2.c (__extendxftf2): Use
11756 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11758 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11759 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11760 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11761 FP_HANDLE_EXCEPTIONS.
11762 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11763 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11764 FP_HANDLE_EXCEPTIONS.
11765 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11766 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11767 FP_HANDLE_EXCEPTIONS.
11768 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11769 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11770 FP_HANDLE_EXCEPTIONS.
11772 2014-10-08 Joseph Myers <joseph@codesourcery.com>
11775 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11776 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11778 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11779 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11781 (__adjtimex): Define using libc_hidden_ver.
11782 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11783 Remove declaration.
11784 (ntp_gettime): Call __adjtimex directly.
11785 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11786 Remove declaration.
11787 (ntp_gettimex): Call __adjtimex directly.
11788 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11789 __adjtimex_internal alias.
11791 2014-10-08 Roland McGrath <roland@hack.frob.com>
11794 * nscd/nscd.c (more_help): Rewrite list of tables collection
11795 using xstrdup and asprintf.
11797 * nscd/nscd_conf.c: Remove local xstrdup declaration.
11799 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11800 Roland McGrath <roland@hack.frob.com>
11802 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11803 (do_lookup_unique): ... local function 'enter' here; update callers.
11805 2014-10-06 Joseph Myers <joseph@codesourcery.com>
11807 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11808 compat_symbol calls on [SHARED].
11809 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11810 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11812 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11813 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11814 (oldsetrlimit): Remove.
11815 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11817 (lchown): New syscall entry.
11818 (oldsetrlimit): Remove.
11819 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11820 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11821 (oldsetrlimit): Remove.
11822 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11825 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11826 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11827 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11828 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11829 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11830 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11831 (fchown): Likewise.
11832 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11833 (fchown): Likewise.
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11837 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11839 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11840 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11841 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11842 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11843 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11845 (__old_sem_post): Likewise.
11847 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
11849 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11850 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11851 HAVE_CLOCK_GETTIME_VSYSCALL macros.
11852 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11853 Use INLINE_VSYSCALL macro.
11854 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11855 __vdso_clock_gettime.
11856 * sysdeps/unix/sysv/linux/tile/init-first.c
11857 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11858 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11859 __vdso_clock_gettime.
11861 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11862 to set up frame more cleanly.
11864 * sysdeps/tile/memcmp.c: New file.
11866 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11868 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11869 * sysdeps/tile/tilegx/strcasestr.c: New file.
11870 * sysdeps/tile/tilegx/strnlen.c: New file.
11871 * sysdeps/tile/tilegx/strstr.c: New file.
11873 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11875 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
11877 * nptl/tst-setuid3.c: Write errors to stdout.
11879 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11882 (preload): New functions broken out of _dl_map_object_deps.
11883 (_dl_map_object_deps): Remove a nested function. Update call sites.
11885 2014-10-01 Joseph Myers <joseph@codesourcery.com>
11888 * sysdeps/unix/sysv/linux/execve.c: Remove file.
11889 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11891 2014-10-01 Steve Ellcey <sellcey@mips.com>
11893 * sysdeps/mips/strcmp.S: New.
11895 2014-09-30 Joseph Myers <joseph@codesourcery.com>
11898 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11899 (linkat): Likewise.
11900 (mkdirat): Likewise.
11901 (readlinkat): Likewise.
11902 (renameat): Likewise.
11903 (symlinkat): Likewise.
11904 (unlinkat): Likewise.
11905 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11906 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11907 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11908 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11909 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11910 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11911 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11913 2014-09-30 Will Newton <will.newton@linaro.org>
11915 * math/math.h: Define long double math functions if
11916 _LIBC_TEST is defined.
11917 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11919 * localedata/Makefile: Move assignment to tests-special
11920 into an ifdef testing run-built-tests.
11921 * timezone/Makefile: Likewise.
11923 2014-09-29 Joseph Myers <joseph@codesourcery.com>
11925 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11926 with $(BASH) not $(SHELL).
11928 2014-09-29 Carlos O'Donell <carlos@redhat.com>
11929 Matthew LeGendre <legendre1@llnl.gov>
11932 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11935 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11937 * stdio-common/printf_fp.c
11938 (hack_digit): New function, broken out of ...
11939 (__printf_fp): ... local function here. Update call sites.
11940 hack_digit now takes an additional parameter that is a pointer
11941 to a struct of the referenced locals. Those locals moved inside
11942 the struct and references updated.
11944 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
11946 * aclocal.m4: Require autoconf 2.69.
11947 * configure: Regenerated.
11948 * sysdeps/aarch64/configure: Likewise.
11949 * sysdeps/alpha/configure: Likewise.
11950 * sysdeps/arm/armv7/configure: Likewise.
11951 * sysdeps/arm/configure: Likewise.
11952 * sysdeps/ia64/configure: Likewise.
11953 * sysdeps/mach/configure: Likewise.
11954 * sysdeps/mips/configure: Likewise.
11955 * sysdeps/s390/configure: Likewise.
11956 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11959 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11961 * sysdeps/ia64/configure.ac: Likewise.
11963 2014-09-26 Joseph Myers <joseph@codesourcery.com>
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11966 specify symbol version for ld.so. Do not include entry for
11968 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11969 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11970 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11973 * Makeconfig [$(build-shared) = yes]
11974 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11976 [$(build-shared) = yes && $(soversions.mk-done) = t]
11977 ($(common-objpfx)gnu/lib-names.h): Remove rule.
11978 [$(build-shared) = yes && $(soversions.mk-done) = t]
11979 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
11981 [$(build-shared) = yes && $(soversions.mk-done) = t]
11982 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11984 [$(build-shared) = yes && $(soversions.mk-done) = t]
11985 (common-generated): Don't append gnu/lib-names.h and
11986 gnu/lib-names.stmp here.
11987 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11988 (lib-names-h-abi): New variable.
11989 [$(build-shared) = yes && $(soversions.mk-done) = t]
11990 (lib-names-stmp-abi): Likewise.
11991 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11992 abi-variants] (before-compile): Append
11993 $(common-objpfx)$(lib-names-h-abi).
11994 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11995 abi-variants] (common-generated): Append gnu/lib-names.h.
11996 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11997 abi-variants] (install-others-nosubdir): Depend on
11998 $(inst_includedir)/$(lib-names-h-abi).
11999 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12000 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12001 [$(build-shared) = yes && $(soversions.mk-done) = t]
12002 ($(common-objpfx)$(lib-names-h-abi)): New rule.
12003 [$(build-shared) = yes && $(soversions.mk-done) = t]
12004 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12005 [$(build-shared) = yes && $(soversions.mk-done) = t]
12006 (common-generated): Append $(lib-names-h-abi) and
12007 $(lib-names-stmp-abi).
12008 * scripts/lib-names.awk: Do not handle multi being set.
12009 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12011 (abi-lp64_be-ld-soname): Likewise.
12012 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12014 (abi-hard-ld-soname): Likewise.
12015 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12016 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12018 (abi-o32_hard-ld-soname): Likewise.
12019 (abi-o32_soft_2008-ld-soname): Likewise.
12020 (abi-o32_hard_2008-ld-soname): Likewise.
12021 (abi-n32_soft-ld-soname): Likewise.
12022 (abi-n32_hard-ld-soname): Likewise.
12023 (abi-n32_soft_2008-ld-soname): Likewise.
12024 (abi-n32_hard_2008-ld-soname): Likewise.
12025 (abi-n64_soft-ld-soname): Likewise.
12026 (abi-n64_hard-ld-soname): Likewise.
12027 (abi-n64_soft_2008-ld-soname): Likewise.
12028 (abi-n64_hard_2008-ld-soname): Likewise.
12029 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12031 (abi-64-v2-ld-soname): Likewise.
12032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12034 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12036 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12038 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12040 (abi-64-ld-soname): Likewise.
12041 (abi-x32-ld-soname): Likewise.
12042 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12044 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12046 2014-09-23 Joseph Myers <joseph@codesourcery.com>
12049 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12050 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12051 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12052 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12053 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12054 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12055 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12056 syscall entry for GLIBC_2.2 symbol version.
12057 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12060 (setrlimit): Likewise.
12061 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12064 2014-09-23 Will Newton <will.newton@linaro.org>
12066 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12067 _LINUX_ARM_SYSDEP_H include guard too.
12068 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12071 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12073 * sysdeps/unix/sysv/linux/eventfd.c:
12074 Make first argument unsigned.
12075 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12076 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12078 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
12080 * socket/recvmmsg.c (recvmmsg): Drop const argument.
12081 * socket/sys/socket.h: Likewise
12082 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12084 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12086 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12088 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
12090 * time/tst-ftime.c: New test.
12091 * time/Makefile (tests): Add tst-ftime.
12093 2014-09-17 Joseph Myers <joseph@codesourcery.com>
12095 * soft-fp/extended.h: Fix comment formatting.
12096 * soft-fp/op-1.h: Likewise.
12097 * soft-fp/op-2.h: Likewise.
12098 * soft-fp/op-4.h: Likewise.
12099 * soft-fp/op-8.h: Likewise.
12100 * soft-fp/op-common.h: Likewise.
12101 * soft-fp/soft-fp.h: Likewise.
12103 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12105 2014-09-16 Joseph Myers <joseph@codesourcery.com>
12108 * Makeconfig (soversions-default-setname): Remove variable.
12109 ($(common-objpfx)soversions.i): Don't pass default_setname to
12111 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12112 oldest_abi to abi-versions.awk.
12113 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12114 * config.make.in (oldest-abi): Remove variable.
12115 * configure.ac (--enable-oldest-abi): Remove configure option.
12116 * configure: Regenerated.
12117 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12119 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12120 * scripts/soversions.awk: Do not handle default_setname variable.
12121 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12123 * sysdeps/mach/hurd/configure: Regenerated.
12124 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12126 * sysdeps/unix/sysv/linux/configure: Regenerated.
12128 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12130 * elf/Makefile (CFLAGS-interp.c): Remove.
12131 ($(elf-objpfx)runtime-linker.h): Generate header with linker
12133 * elf/interp.c: Include generated runtime-linker.h
12135 * Makerules (lib%.so): Don't include $(+interp) in
12137 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12138 * dlfcn/eval.c: Remove file.
12140 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12144 * misc/sys/cdefs.h: Define __extern_always_inline for clang
12148 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12150 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12151 Jakub Jelinek <jakub@redhat.com>
12154 * libio/stdio.h: Check definition of __fortify_function
12155 instead of __extern_always_inline to include bits/stdio2.h.
12156 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12157 check if __extern_always_inline is defined.
12158 [__USE_MISC || __USE_XOPEN]: Likewise.
12159 [__USE_ISOC99] Likewise.
12160 * misc/sys/cdefs.h (__fortify_function): Define only if
12161 __extern_always_inline is defined.
12162 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12163 __extern_always_inline and __extern_inline only for g++-4.3
12164 and newer or a compatible gcc.
12166 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
12169 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12170 last change to handle zero prefix length.
12172 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12174 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12177 * posix/getconf.c (vars): Add _POSIX_IPV6 and
12178 _POSIX_RAW_SOCKETS.
12180 2014-09-13 Allan McRae <allan@archlinux.org>
12182 * po/ru.po: Update Russian translation from translation project.
12184 2014-09-12 Roland McGrath <roland@hack.frob.com>
12186 * locale/programs/locale.c (show_locale_vars): Inline local function
12187 into its sole call site. Clean up some style nits.
12188 (print_item): New function, broken out of ...
12189 (show_info): ... local function here. Clean up style nits.
12191 * locale/programs/ld-ctype.c (set_one_default): New function, broken
12193 (set_class_defaults): ... local function set_default here.
12194 Define set_default as a macro locally to pass constant parameters.
12195 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12196 rather than a shared local.
12198 * stdlib/rpmatch.c (try): New function, broken out of ...
12199 (rpmatch): ... local function here. Also, prototypify definition.
12201 2014-09-12 Joseph Myers <joseph@codesourcery.com>
12203 * scripts/soversions.awk: Do not handle configuration names.
12204 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12205 vendor and os variables to soversions.awk.
12206 * configure.ac: Do not modify gnu-* host_os.
12207 * configure: Regenerated
12208 * shlib-versions: Remove first column with configuration names.
12209 * nptl/shlib-versions: Likewise.
12210 * nptl_db/shlib-versions: Likewise.
12211 * sysdeps/hppa/shlib-versions: Likewise.
12212 * sysdeps/m68k/shlib-versions: Likewise.
12213 * sysdeps/mach/hurd/shlib-versions: Likewise.
12214 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12215 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12216 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12217 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12218 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12219 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12220 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12221 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12224 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12225 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12226 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12227 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12228 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12229 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12230 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12231 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12234 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12237 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12239 Condition symbol version definitions on [HAVE_ELFV2_ABI].
12241 * shlib-versions: Remove OS-specific entries. Moved to files in
12243 * sysdeps/mach/hurd/shlib-versions: New file.
12244 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12246 * nptl/shlib-versions: Remove architecture-specific entries.
12247 Moved to files in sysdeps.
12248 * shlib-versions: Likewise.
12249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12251 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12252 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12253 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12254 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12256 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12257 (UDP_NO_CHECK6_RX): Likewise.
12259 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12261 * sysdeps/posix/sysconf.c (__sysconf): Spell
12262 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12264 2014-08-12 Florian Weimer <fweimer@redhat.com>
12266 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12268 * iconv/Versions (__gconv_transliterate): Export for use from
12270 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12271 (struct __gconv_trans_data, __gconv_trans_fct,
12272 __gconv_trans_context_fct, __gconv_trans_query_fct,
12273 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12275 (struct __gconv_step_data): Remove __trans member.
12276 (__gconv_transliterate): Declaration moved from gconv_int.h. No
12277 longer hidden. Remove unused trans_data argument.
12278 * iconv/gconv_int.h (struct trans_struct): Remove definition.
12279 (__gconv_translit_find): Remove declaration.
12280 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
12282 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12283 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12284 trans_data argument. Add hidden definition.
12285 (__gconv_translit_find): Remove.
12286 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12287 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12288 * iconv/skeleton.c: Remove transliteration initialization.
12289 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12290 __gconv_step_data initialization.
12291 * libio/iofwide.c (__libio_translit_): Remove.
12292 (_IO_fwide): Adjust struct __gconv_step_data initialization.
12293 * wcsmbs/btowc.c (__btowc): Likewise.
12294 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12295 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12296 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12297 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12298 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12299 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12300 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12301 * wcsmbs/wctob.c (wctob): Likewise.
12303 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12306 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12307 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
12309 * sysdeps/x86/Makefile: Adjust.
12311 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12312 Roland McGrath <roland@hack.frob.com>
12314 * locale/weight.h: Add include guard.
12315 (findidx): Make static rather than auto; take new parameters
12316 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12317 * locale/weightwc.h: Likewise.
12318 * posix/fnmatch_loop.c
12319 (FCT): Change type of EXTRA from int32_t to wint_t.
12320 Don't include either header inside the function.
12321 Call FINDIDX rather than findidx, and pass new arguments.
12322 #undef FINDIDX at the end of the file.
12323 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12324 FINDIDX before including fnmatch_loop.c for the non-wide version.
12325 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12326 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12327 for the wide version.
12328 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12329 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12330 Pass new arguments to findidx.
12331 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12332 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12333 Don't #include it inside the function. Pass new arguments to findidx.
12334 * posix/regex_internal.h
12335 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12336 (re_string_elem_size_at): Don't #include it inside the function.
12337 Pass new arguments to findidx.
12338 * string/strcoll_l.c: #include WEIGHT_H at top level.
12339 (get_next_seq): Don't #include it inside the function.
12340 Pass new arguments to findidx.
12341 (get_next_seq_nocache): Likewise.
12342 * string/strxfrm_l.c: #include WEIGHT_H at top level.
12343 (STRXFRM): Don't #include it inside the function.
12344 Pass new arguments to findidx.
12346 2014-09-11 Florian Weimer <fweimer@redhat.com>
12349 * malloc/malloc.c (unlink): Turn asserts into a call to
12352 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
12355 * libio/wfileops (do_ftell_wide): Free OUT.
12357 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
12359 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12361 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12364 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12365 group if the current group is empty.
12367 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12369 * benchtests/bench-memset.c (test_main): Add more test from size
12370 from 32 to 512 bytes.
12371 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12372 Add POWER8 memset object.
12373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12374 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12375 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12377 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12379 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12380 multiarch POWER8 memset optimization.
12381 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12382 POWER8 memset optimization.
12384 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12385 Remove bzero multiarch objects.
12386 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12387 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12388 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12389 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12391 [__bzero]: Redefine to specific name.
12392 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12393 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12394 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12396 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12397 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12399 2014-09-10 Florian Weimer <fweimer@redhat.com>
12401 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12402 warnings into errors.
12404 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12405 __cxa_thread_atexit_impl prototype.
12407 2014-09-09 Steve Ellcey <sellcey@mips.com>
12409 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12410 Fix capitalization of error message.
12412 2014-09-09 Steve Ellcey <sellcey@mips.com>
12414 * sysdeps/mips/preconfigure: Modify ABI tests.
12416 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
12418 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12420 2014-09-07 Roland McGrath <roland@hack.frob.com>
12421 Carlos O'Donell <carlos@systemhalted.org>
12423 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12424 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12425 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12426 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12427 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12428 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12429 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12430 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12431 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12432 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12433 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12434 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12435 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12436 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12437 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12438 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12439 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12440 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12441 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12442 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12443 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12444 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12445 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12446 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12447 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12448 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12449 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12450 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12451 Deconditionalize the code that was previously under [RESET_PID].
12452 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12453 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12454 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12455 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12458 2014-09-08 Allan McRae <allan@archlinux.org>
12460 * version.h (RELEASE): Set to "development".
12461 (VERSION): Set to "2.20.90"
12463 2014-09-07 Allan McRae <allan@archlinux.org
12465 * version.h (RELEASE): Set to "stable".
12466 (VERSION): Set to "2.20"
12467 * include/features.h (__GLIBC_MINOR__): Set to 20.
12469 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12472 * po/ko.po: Update Korean translation from translation project.
12474 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
12477 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12478 macro for handling signed relocations.
12480 2014-09-03 Florian Weimer <fweimer@redhat.com>
12483 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12484 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12486 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12487 * iconvdata/ibm935.c (BODY): Likewise.
12488 * iconvdata/ibm937.c (BODY): Likewise.
12489 * iconvdata/ibm939.c (BODY): Likewise.
12490 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12492 * iconvdata/Makefile (iconv-test.out): Pass module list to test
12494 * iconvdata/run-iconv-test.sh: New test loop for checking for
12497 2014-09-02 Khem Raj <raj.khem@gmail.com>
12499 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12502 2014-09-01 Allan McRae <allan@archlinux.org>
12504 * po/eo.po: Update Esperanto translation from translation project.
12506 * po/ca.po: Update Catalan translation from translation project.
12508 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12510 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12511 __proc_dostop call.
12513 2014-08-27 Mark Wielaard <mjw@redhat.com>
12516 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12517 to call set_thread_area instead of hand written asm.
12518 (__NR_set_thread_area): Removed define.
12519 (TLS_FLAG_WRITABLE): Likewise.
12520 (__ASSUME_SET_THREAD_AREA): Remove check.
12521 (TLS_EBX_ARG): Remove define.
12522 (TLS_LOAD_EBX): Likewise.
12524 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12526 Simplify atomicity of socket creation in bind.
12528 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12529 looking up the name after linking the file.
12531 2014-08-27 Allan McRae <allan@archlinux.org>
12533 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12535 2014-08-26 Florian Weimer <fweimer@redhat.com>
12538 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12539 trans_compare, open_translit, __gconv_translit_find):
12540 Remove module loading code.
12542 2014-08-26 Allan McRae <allan@archlinux.org>
12544 * po/vi.po: Update Vietnamese translation from translation project.
12546 * po/uk.po: Update Ukrainian translation from translation project.
12548 * po/fr.po: Update French translation from translation project.
12550 * po/ru.po: Update Russian translation from translation project.
12552 * po/pl.po: Update Polish translation from translation project.
12554 * po/cs.po: Update Czech translation from translation project.
12556 * po/de.po: Update German translation from translation project.
12558 * po/bg.po: Update Bulgarian translation from translation project.
12560 * po/sv.po: Update Sweedish translation from translation project.
12562 * po/nl.po: Update Dutch translation from translation project.
12564 * po/es.po: Update Spanish translation from translation project.
12566 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12568 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12570 * catgets/Makefile (CPPFLAGS-gencat): Remove.
12571 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12572 (CPPFLAGS-iconvconfig): Likewise.
12573 * timezone/Makefile (CPPFLAGS-zic): Likewise.
12575 * include/libc-symbols.h: Remove unnecessary check for
12577 * nptl/pthreadP.h: Likewise.
12578 * sysdeps/aarch64/setjmp.S: Likewise.
12579 * sysdeps/alpha/setjmp.S: Likewise.
12580 * sysdeps/arm/sysdep.h: Likewise.
12581 * sysdeps/i386/setjmp.S: Likewise.
12582 * sysdeps/m68k/setjmp.c: Likewise.
12583 * sysdeps/posix/getcwd.c: Likewise.
12584 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12585 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12586 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12587 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12588 * sysdeps/sh/sh3/setjmp.S: Likewise.
12589 * sysdeps/sh/sh4/setjmp.S: Likewise.
12590 * sysdeps/unix/alpha/sysdep.h: Likewise.
12591 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12592 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12593 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12594 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12597 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12598 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12599 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12601 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12602 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12604 * sysdeps/x86_64/setjmp.S: Likewise.
12606 2014-08-13 Joseph Myers <joseph@codesourcery.com>
12609 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12611 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12612 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12614 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12616 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12619 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12620 and __x86_64__ when disabling x87 inline functions.
12622 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
12625 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12626 asm statement with __cpuid_count.
12628 2014-08-12 Mike Frysinger <vapier@gentoo.org>
12630 * configure.ac: Change __ehdr_start code to dereference the struct.
12631 Run readelf on the output to look for relocations.
12632 * configure: Regenerated.
12634 2014-08-12 Joseph Myers <joseph@codesourcery.com>
12637 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12639 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12641 2014-08-12 Roland McGrath <roland@hack.frob.com>
12643 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12645 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
12648 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12649 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12651 2014-08-12 Sean Anderson <seanga2@gmail.com>
12653 * malloc/malloc.c: Fix typo in comment.
12655 2014-08-09 Allan McRae <allan@archlinux.org>
12657 * Regenerate libc.po.
12659 2014-08-08 Mike Frysinger <vapier@gentoo.org>
12661 * intl/tst-gettext2.sh: Check every lang file for creation.
12663 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12665 * sysdeps/aarch64/fpu/math_private.h
12666 (libc_feholdsetround_noex_aarch64_ctx): New function.
12668 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12670 * sysdeps/arm/armv6/strcpy.S (strcpy):
12671 Fix performance issue in misaligned cases.
12673 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12675 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12676 Move definition from termios.h.
12677 (struct termio): Likewise.
12678 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12679 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12680 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12681 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12683 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12684 Move definition to ioctl-types.h
12685 (struct termio): Likewise.
12686 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12687 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12688 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12689 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12692 2014-08-05 Richard Henderson <rth@redhat.com>
12694 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12696 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12698 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12699 Use __feraiseexcept.
12700 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12701 Protect libm symbols with IS_IN_libm.
12703 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12705 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
12707 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12709 2014-08-04 Will Newton <will.newton@linaro.org>
12711 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12714 2014-08-04 Mike Frysinger <vapier@gentoo.org>
12716 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12717 variants for each function.
12719 2014-08-04 Roland McGrath <roland@hack.frob.com>
12721 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12723 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12724 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12726 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12727 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12728 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12729 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12730 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12731 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12732 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12733 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12734 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12735 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12736 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12737 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12738 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12739 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12740 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12741 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12742 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12743 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12744 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12745 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12746 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12747 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12748 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12749 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12750 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12751 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12752 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12753 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12754 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12755 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12756 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12757 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12758 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12759 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12760 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12761 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12762 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12763 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12764 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12765 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12766 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12767 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12768 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12769 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12770 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12771 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12772 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12773 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12774 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12775 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12776 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12777 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12778 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12780 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12781 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12783 2014-08-04 Roland McGrath <roland@hack.frob.com>
12785 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12786 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12787 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12788 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12789 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12790 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12792 2014-08-04 Roland McGrath <roland@hack.frob.com>
12794 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12795 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12796 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12797 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12799 2014-08-04 Roland McGrath <roland@hack.frob.com>
12801 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12802 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12803 (__libc_vfork): Define function under this name.
12804 (__vfork): Define as an alias.
12805 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12806 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12808 2014-08-04 Roland McGrath <roland@hack.frob.com>
12810 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12811 that was previously under [RESET_PID].
12812 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12814 2014-08-04 Andreas Schwab <schwab@suse.de>
12816 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12818 2014-08-03 Mike Frysinger <vapier@gentoo.org>
12820 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12823 2014-08-01 Roland McGrath <roland@hack.frob.com>
12825 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12827 2014-08-01 Richard Henderon <rth@redhat.com>
12829 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12830 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12831 typo in exact zero test.
12832 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12833 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12834 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12836 2014-08-01 Roland McGrath <roland@hack.frob.com>
12838 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12839 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12840 * sysdeps/arm/sysdep.h: ... here.
12841 [!__ASSEMBLER__]: Include <stdint.h>.
12843 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12845 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12846 (HAVE_WCTYPE_H): Likewise.
12847 (HAVE_ISWCTYPE): Likewise.
12848 (ENABLE_NLS): Likewise.
12849 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12850 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12852 * posix/regex_internal.c: Check if DEBUG is defined and is
12855 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12856 (HAVE_MBSRTOWCS): Likewise.
12857 * posix/fnmatch.c: Include string.h unconditionally.
12859 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12861 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12864 2014-07-31 Roland McGrath <roland@hack.frob.com>
12866 * sysdeps/generic/safe-fatal.h: New file.
12867 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12868 * nptl/forward.c: Include it.
12869 (__pthread_unwind): Use __safe_fatal as default action, rather
12870 than a bogus use of INTERNAL_SYSCALL that could never work.
12872 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12873 * configure.ac (libc_cv_builtin_trap): New test.
12874 * configure: Regenerated.
12875 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12876 (ABORT_INSTRUCTION): Define using __builtin_trap.
12878 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12879 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12880 * sysdeps/nptl/nptl-signals.h: New file.
12881 * nptl/pthreadP.h: Include <nptl-signals.h>.
12883 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12885 * sysdeps/s390/s390-64/utf16-utf32-z9.c
12886 (ONE_DIRECTION): Define.
12887 * sysdeps/s390/s390-64/utf8-utf16-z9.c
12888 (ONE_DIRECTION): Define.
12889 * sysdeps/s390/s390-64/utf8-utf32-z9.c
12890 (ONE_DIRECTION): Define.
12892 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12894 * sysdeps/s390/Makefile: Delete file.
12895 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12896 * sysdeps/s390/__longjmp.c: Delete file.
12897 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12898 Remove fields __flags and __reserved.
12899 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12900 and add versioning.
12901 * sysdeps/s390/rtld-__longjmp.c: Delete file.
12902 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12903 * sysdeps/s390/rtld-setjmp.S: Likewise.
12904 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12905 * sysdeps/s390/s390-32/__longjmp.c: ... here.
12906 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12907 * sysdeps/s390/s390-32/setjmp.S: ... here.
12909 (__sigsetjmp): Remove setting __flags field.
12910 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12911 * sysdeps/s390/s390-64/__longjmp.c: ... here.
12912 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12913 * sysdeps/s390/s390-64/setjmp.S: ... here.
12915 (__sigsetjmp): Remove setting __flags field.
12916 * sysdeps/s390/setjmp.S: Delete file.
12917 * sysdeps/s390/sigjmp.c: Likewise.
12918 * sysdeps/s390/v1-longjmp.c: Likewise.
12919 * sysdeps/s390/v1-setjmp.h: Likewise.
12920 * sysdeps/s390/v1-sigjmp.c: Likewise.
12921 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12922 Remove v1-longjmp_chk.
12923 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12924 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12925 Include debug/longjmp_chk.c and add versioning.
12926 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12927 Include nptl/pt-longjmp.c and add versioning.
12928 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12929 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12930 Include __longjmp.c.
12931 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12933 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12934 (__getcontext): Remove setting __flags field.
12936 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12937 Don't restore upper high grps.
12938 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12940 (__swapcontext): Remove setting uc_flags field.
12941 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12943 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12944 Include __longjmp.c.
12945 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12947 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12948 (__getcontext): Remove setting __flags field.
12950 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12951 (__swapcontext): Remove setting uc_flags field.
12952 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12953 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12954 Remove fields uc_high_gprs and __reserved.
12955 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12956 New file with reverted content.
12957 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12958 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12960 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12963 2014-07-31 Andreas Schwab <schwab@suse.de>
12965 * config.h.in (HAVE_IFUNC): Define to 0.
12966 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12969 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
12971 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12972 memmove-avx-unaligned, memcpy-avx-unaligned and
12973 mempcpy-avx-unaligned.
12974 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12975 Add tests for AVX memcpy functions.
12976 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12977 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12979 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12980 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12982 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12983 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12985 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12986 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12987 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12989 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12992 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12995 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
12998 * manual/llio.texi: Add section about open file description locks.
12999 * manual/examples/ofdlocks.c: Example of open file description
13001 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13002 F_OFD_SETLK, and F_OFD_SETLKW.
13004 2014-07-23 Allan McRae <allan@archlinux.org>
13006 * po/es.po: Update Spanish translation from translation project.
13008 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
13010 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13012 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
13015 * sysdeps/arm/dl-machine.h (elf_machine_rela)
13016 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13017 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13019 2014-07-17 Joseph Myers <joseph@codesourcery.com>
13022 * math/fesetenv.c (__fesetenv)
13023 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13024 * math/feupdateenv.c (__feupdateenv)
13025 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13027 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13028 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13029 (__ASSUME_SOCKETCALL): Do not define.
13031 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13032 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13033 (__ASSUME_SOCKETCALL): Do not define.
13034 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13035 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13036 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13037 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13038 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13039 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13040 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13041 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13043 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13044 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13045 (__ASSUME_SOCKETCALL): Do not define.
13046 (__ASSUME_IPC64): Define unconditionally.
13047 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13048 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13049 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13050 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13051 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13052 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13053 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13056 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13057 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13058 (__ASSUME_SOCKETCALL): Do not define.
13059 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13060 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13061 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13062 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13063 (__ASSUME_REQUEUE_PI): Define unconditionally.
13064 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13065 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13066 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13067 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13068 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13069 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13071 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13072 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13073 (__ASSUME_SOCKETCALL): Do not define.
13074 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13075 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13076 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13077 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13078 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13079 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13081 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13082 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13083 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13084 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13085 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13086 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13087 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13088 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13089 (__ASSUME_GETCPU_SYSCALL): Likewise.
13091 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13092 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
13093 cases for individual architectures.
13094 * sysdeps/gnu/configure: Regenerated.
13095 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13096 LIBC_SLIBDIR_RTLDDIR.
13097 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13098 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13099 LIBC_SLIBDIR_RTLDDIR.
13100 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13102 LIBC_SLIBDIR_RTLDDIR.
13103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13105 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13106 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13108 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13109 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13111 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13112 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13113 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13114 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13116 * sysdeps/aarch64/shlib-versions: Move to ...
13117 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13118 * sysdeps/alpha/shlib-versions: Move to ...
13119 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13120 * sysdeps/arm/shlib-versions: Move to ...
13121 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13122 * sysdeps/hppa/shlib-versions: Move all contents except for
13123 libgcc_s entry to ...
13124 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
13126 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
13127 * sysdeps/ia64/shlib-versions: Move to ...
13128 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
13130 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
13131 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13132 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13133 * sysdeps/microblaze/shlib-versions: Move to ...
13134 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13135 * sysdeps/mips/shlib-versions: Move to ...
13136 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
13138 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
13139 * sysdeps/tile/shlib-versions: Move to ...
13140 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13141 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13143 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
13144 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13146 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
13148 2014-07-17 Will Newton <will.newton@linaro.org>
13150 * sysdeps/arm/bits/atomic.h
13151 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13152 (__arch_compare_and_exchange_bool_16_int): Likewise.
13153 (__arch_compare_and_exchange_bool_64_int): Likewise.
13155 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13156 into an #else block.
13158 2014-07-16 Roland McGrath <roland@hack.frob.com>
13160 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13161 just Linux configurations. Test empirically that the compiler sets
13162 __ARM_EABI__, rather than using the tuple to decide.
13163 * sysdeps/arm/preconfigure: Regenerated.
13164 * sysdeps/unix/sysv/linux/arm/configure: File removed.
13165 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13166 contents appended ...
13167 * sysdeps/arm/configure.ac: ... here.
13168 * sysdeps/arm/configure: Regenerated.
13170 2014-07-15 Roland McGrath <roland@hack.frob.com>
13172 * nptl/pthread_kill.c: New file.
13173 * nptl/pthread_sigmask.c: New file.
13174 * nptl/pthread_sigqueue.c: New file.
13176 * sysdeps/nptl/lowlevellock.h: New file.
13177 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13178 * sysdeps/nptl/lowlevellock-futex.h: New file.
13180 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13181 Remove dead declarations.
13183 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
13185 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13186 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13187 config-cflags-avx2.
13188 * sysdeps/x86_64/configure.ac: Likewise.
13189 * sysdeps/i386/configure: Regenerated.
13190 * sysdeps/x86_64/configure: Likewise.
13191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13192 memset-avx2 only if config-cflags-avx2 is yes.
13193 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13194 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13196 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13197 only if HAVE_AVX2_SUPPORT is defined.
13198 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13200 2014-07-14 Alan Modra <amodra@gmail.com>
13203 * elf/elf.h (DT_PPC64_NUM): Correct value.
13204 * NEWS: Add to fixed bug list.
13206 2014-07-13 Jim Meyering <meyering@fb.com>
13209 regex: don't deref NULL upon heap allocation failure
13210 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13211 failure in one more place.
13212 To trigger the segfault, configure grep -with-included-regex,
13213 build it, and run these commands:
13214 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13216 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
13218 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13220 2014-07-11 Richard Henderson <rth@redhat.com>
13222 * sysdeps/aarch64/libm-test-ulps: Update.
13224 2014-07-10 Florian Weimer <fweimer@redhat.com>
13227 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13228 * nptl/allocatestack.c (__nptl_setxid_error): New function.
13229 (__nptl_setxid): Initialize error member. Call
13230 __nptl_setxid_error.
13231 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13232 * nptl/descr.h (struct xid_command): Add error member.
13233 * nptl/tst-setuid3.c: New file.
13234 * nptl/Makefile (tests): Add it.
13236 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13238 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13240 (__lll_trylock): Use __lll_base_trylock.
13241 (__lll_cond_trylock): Likewise.
13243 2014-07-10 Roland McGrath <roland@hack.frob.com>
13245 * nptl/pthread_create.c (start_thread): Use atomic_or and
13246 lll_futex_wake directly rather than lll_robust_dead.
13247 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13248 (lll_robust_dead): Macro removed.
13249 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13250 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13251 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13252 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13253 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13254 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13255 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13256 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13257 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13258 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13259 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13260 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13261 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13262 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13263 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13265 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13266 Use atomic_compare_and_exchange_val_acq directly rather than
13267 lll_robust_trylock.
13268 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13269 (__lll_robust_trylock, lll_robust_trylock): Removed.
13270 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13271 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13272 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13273 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13274 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13275 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13276 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13277 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13278 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13279 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13280 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13281 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13282 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13283 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13285 2014-07-02 Florian Weimer <fweimer@redhat.com>
13287 * manual/locale.texi (Locale Names): New section documenting
13288 locale name syntax. Adjust menu and node chaining accordingly.
13289 (Choosing Locale): Reference Locale Names, Locale Categories.
13290 Mention setting LC_ALL=C. Reflect that name syntax is now
13292 (Locale Categories): New section title. Reference Locale Names.
13293 LC_ALL is an environment variable, but not a category.
13294 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13295 description, now in Locale Name. Reference that section. Locale
13296 name syntax is now documented.
13298 2014-07-02 Florian Weimer <fweimer@redhat.com>
13301 * locale/findlocale.c (name_present, valid_locale_name): New
13303 (_nl_find_locale): Use the loc_name variable to store name
13304 candidates. Call name_present and valid_locale_name to check and
13305 validate locale names. Return an error if the locale is invalid.
13307 2014-07-02 Florian Weimer <fweimer@redhat.com>
13309 * locale/setlocale.c (setlocale): Use strdup for allocating
13310 composite name copy.
13312 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13314 Sync up with gnulib.
13315 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13316 [!_LIBC && ENABLE_NLS]: Include gettext.h.
13317 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13318 and _GL_ARG_NONNULL.
13319 [USE_UNLOCKED_IO]: Include unlocked-io.h.
13320 [!_LIBC]: Include code for Windows and Cygwin.
13321 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13322 Include prototype for int strerror_r.
13323 [!_LIBC] (is_open): New function.
13324 (flush_stdout): New function.
13325 (print_errno_message): Use it.
13327 (error_at_line): Likewise.
13328 (error_tail) Add function attribute macros. Use
13331 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13333 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13335 * io/ftw.c: Include sys/param.h unconditionally.
13337 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13340 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13342 (freecache): New function to free CACHE on exit.
13344 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13347 2014-07-09 David S. Miller <davem@davemloft.net>
13349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13351 * sysdeps/sparc/nptl/internaltypes.h: Delete.
13352 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13353 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13354 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13355 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13356 * sysdeps/sparc/nptl/sem_init.c: Likewise.
13357 * sysdeps/sparc/nptl/sem_post.c: Likewise.
13358 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13359 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13360 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13361 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13362 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13363 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13365 2014-07-09 Andreas Schwab <schwab@suse.de>
13367 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13369 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13370 (do_test): Likewise.
13372 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13374 2014-07-09 Will Newton <will.newton@linaro.org>
13376 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13377 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13378 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13379 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13380 * sysdeps/hppa/start.S (_start): Likewise.
13382 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13384 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13386 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13389 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13391 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13392 after checking that it is non-NULL.
13394 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13396 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13398 * sysdeps/powerpc/memmove.c: Remove file.
13399 * sysdeps/powerpc/powerpc32/power4/memcopy.h
13400 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13401 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13402 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13403 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13404 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13405 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13406 string memmove instead of removed powerpc one.
13408 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13409 [weak_alias]: Fix compiler warning due trailing data.
13410 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13411 [weak_alias]: Likewise.
13412 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13413 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13416 (__libc_ifunc_impl_list): Add memmove functions.
13418 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13420 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13422 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13424 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13426 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13428 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13430 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13432 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13434 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13436 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13438 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13440 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13442 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13444 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13446 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13448 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13450 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13452 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13455 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13457 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13458 to avoid alignment traps in non-cacheable memory.
13459 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13463 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13464 file: multiarch power7 memmove.
13465 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13466 multiarch default memmove.
13467 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13468 multiarch memove for powerpc32/power4.
13470 * string/bcopy.c: Use full path to include memmove.c.
13471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13473 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13474 bcopy for powerpc64.
13475 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13476 bcopy for powerpc64.
13477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13478 and memmove implementations.
13479 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13480 optimized multiarch memmove for POWER7/powerpc64.
13481 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13482 default multiarch memmove for powerpc64.
13483 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13484 multiarch for powerpc64.
13485 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13486 for POWER7/powerpc64.
13487 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13488 memmove for POWER7/powerpc64.
13490 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13493 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13494 __ELF_NATIVE_CLASS equal to 64.
13496 2014-07-07 Roland McGrath <roland@hack.frob.com>
13498 * sysdeps/nptl/lowlevellock.h: File removed.
13500 * NEWS: NPTL is no longer an add-on!
13501 * nptl/internaltypes.h: Moved ...
13502 * sysdeps/nptl/internaltypes.h: ... here.
13503 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13504 * sysdeps/nptl/fork.c: Likewise.
13505 * sysdeps/nptl/gai_misc.h: Likewise.
13506 * sysdeps/nptl/librt-cancellation.c: Likewise.
13507 * sysdeps/nptl/jmp-unwind.c: Likewise.
13508 * sysdeps/nptl/setxid.h: Likewise.
13509 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13510 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13511 * sysdeps/unix/sysv/linux/arm/Implies: New file.
13512 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13513 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13514 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13515 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13516 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13517 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13518 * sysdeps/unix/sysv/linux/mips/Implies: New file.
13519 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13520 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13521 * sysdeps/unix/sysv/linux/sh/Implies: New file.
13522 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13523 * sysdeps/unix/sysv/linux/tile/Implies: New file.
13524 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13525 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13526 * nptl/Makeconfig: Moved ...
13527 * sysdeps/nptl/Makeconfig: ... here.
13528 * nptl/configure: File removed.
13529 * nptl/ANNOUNCE: File removed.
13530 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13531 * sysdeps/unix/sysv/linux/configure: Regenerated.
13533 * nptl/Makefile (routines): Add libc_pthread_init,
13534 libc_multiple_threads, register-atfork and unregister-atfork.
13535 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13536 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13537 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13538 pthread-pi-defines.sym, structsem.sym.
13539 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13540 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13541 [$(subdir) = nptl] (tests): Add tst-setgetname.
13542 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13543 * sysdeps/unix/sysv/linux/sigaction.c: Just include
13544 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13545 [!LIBC_SIGACTION]: Remove aliases.
13546 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13547 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13548 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13549 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13550 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13551 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13552 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13553 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13554 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13555 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13556 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13557 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13558 __libc_allocate_rtsig_private.
13559 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13560 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13561 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13562 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13563 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13564 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13565 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13566 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13567 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13568 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13569 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13570 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13571 * nptl/internaltypes.h: ... here.
13572 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13573 * sysdeps/nptl/jmp-unwind.c: ... here.
13574 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13575 * nptl/libc-lowlevellock.c: ... here.
13576 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13577 * nptl/libc_multiple_threads.c: ... here.
13578 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13579 * nptl/libc_pthread_init.c: ... here.
13580 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13581 * nptl/lowlevelbarrier.sym: ... here.
13582 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13583 * nptl/lowlevelcond.sym: ... here.
13584 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13585 * nptl/lowlevellock.c: ... here.
13586 * nptl/lowlevellock.h: Moved ...
13587 * sysdeps/nptl/lowlevellock.h: ... here.
13588 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13589 * nptl/lowlevelrobustlock.c: ... here.
13590 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13591 * nptl/lowlevelrobustlock.sym: ... here.
13592 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13593 * nptl/lowlevelrwlock.sym: ... here.
13594 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13595 * nptl/pt-fork.c: ... here.
13596 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13597 * nptl/pthread-pi-defines.sym: ... here.
13598 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13599 * nptl/pthread_attr_getaffinity.c: ... here.
13600 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13601 * nptl/pthread_attr_setaffinity.c: ... here.
13602 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13603 * nptl/pthread_mutex_cond_lock.c: ... here.
13604 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13606 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13607 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13608 * nptl/pthread_once.c: ... here, replacing old file.
13609 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13610 * nptl/pthread_yield.c: ... here.
13611 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13612 * nptl/register-atfork.c: ... here.
13613 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13614 * nptl/sem_post.c: ... here.
13615 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13616 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13617 * nptl/sem_timedwait.c: ... here.
13618 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13619 * nptl/sem_trywait.c: ... here.
13620 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13621 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13622 * nptl/sem_wait.c: ... here.
13623 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13624 * nptl/structsem.sym: ... here.
13625 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13626 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13627 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13628 * nptl/unregister-atfork.c: ... here.
13629 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13630 * nptl/unwindbuf.sym: ... here.
13631 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13632 * sysdeps/nptl/fork.c: ... here.
13633 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13634 * sysdeps/nptl/fork.h: ... here.
13635 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13636 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13637 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13638 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13639 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13640 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13641 * sysdeps/unix/sysv/linux/getpid.c: ... here.
13642 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13643 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13644 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13645 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13646 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13647 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13648 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13649 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13650 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13651 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13652 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13653 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13654 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13655 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13656 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13657 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13658 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13659 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13660 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13661 * sysdeps/unix/sysv/linux/raise.c: ... here.
13662 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13663 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13664 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13665 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13666 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13667 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13668 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13669 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13670 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13671 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13672 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13673 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13674 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13675 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13676 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13678 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13680 * sysdeps/generic/memcopy.h: Add comment for
13681 MEMCPY_OK_FOR_FWD_MEMMOVE.
13683 2014-07-04 Will Newton <will.newton@linaro.org>
13685 * string/memchr.c: Merge from gnulib.
13686 [_LIBC]: Remove conditionals.
13687 (__ptr_t): Remove define.
13688 (LONG_MAX_32_BITS): Likewise.
13689 (LONG_MAX): Likewise.
13690 (MEMCHR): Use ANSI prototype and optimize algorithm.
13692 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13694 2014-07-03 Roland McGrath <roland@hack.frob.com>
13696 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13697 (lll_futex_timed_wait_bitset): Fix syscall argument count.
13699 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13700 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13701 in a bare environment with no <stdlib.h> installed.
13702 * sysdeps/nptl/configure: Regenerated.
13704 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13706 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13707 AC_EGREP_CPP for kernel header checks, so they only succeed if
13708 including <linux/version.h> actually works right.
13709 * sysdeps/unix/sysv/linux/configure: Regenerated.
13711 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13712 value so it's not diagnosed as unused.
13714 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13715 thing) with "ifeq ($(subdir),rt)".
13717 2014-07-03 Richard Henderson <rth@redhat.com>
13719 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13720 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13721 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13723 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13724 (math_force_eval): New.
13726 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13727 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13729 * sysdeps/alpha/fpu/s_round.c: Remove file.
13730 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13732 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13733 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13734 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13735 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13736 (_dl_start, print_statistics): Likewise.
13737 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13738 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13740 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13741 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13742 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13743 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13744 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13745 (HP_SMALL_TIMING_AVAIL): Define.
13746 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13747 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13748 (HP_SMALL_TIMING_AVAIL): Define.
13749 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13750 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13752 * sysdeps/aarch64/hp-timing.h: New file.
13754 * sysdeps/generic/hp-timing.h: Remove dead comment.
13755 * sysdeps/generic/hp-timing-common.h: New file.
13756 * sysdeps/alpha/hp-timing.h: Include it.
13757 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13758 * sysdeps/i386/i686/hp-timing.h: Likewise.
13759 * sysdeps/ia64/hp-timing.h: Likewise.
13760 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13761 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13762 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13763 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13764 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13765 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13766 (hp_timing_t): New.
13768 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13769 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13770 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13771 * elf/rtld.c (_dl_start_final): Likewise.
13772 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13773 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13774 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13775 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13776 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13777 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13778 (HP_TIMING_DIFF_INIT): Remove.
13779 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13780 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13781 (HP_TIMING_DIFF_INIT): Remove.
13782 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13783 * sysdeps/i386/i686/hp-timing.c: Remove file.
13784 * sysdeps/x86_64/hp-timing.c: Remove file.
13785 * sysdeps/ia64/hp-timing.c: Remove file.
13786 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13787 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13788 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13789 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13791 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13792 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13793 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13794 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13795 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13796 (HP_TIMING_ACCUM): Remove.
13797 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13798 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13799 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13801 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13802 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13803 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13804 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13805 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13806 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13807 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13808 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13810 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13812 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
13814 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13816 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13818 Sync up with gettext.
13819 * intl/loadmsgcat.c: Define O_BINARY if not defined.
13820 [_MSC_VER]: Include malloc.h
13821 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13822 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13823 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
13824 TEMP_FAILURE_RETRY. Cast return of alloca.
13825 [!_LIBC] Call gl_rwlock_init.
13826 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13828 2014-07-02 Roland McGrath <roland@hack.frob.com>
13830 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13831 before checking its value.
13833 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13835 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13837 * debug/memcpy_chk.c: Don't include pagecopy.h.
13838 * debug/mempcpy_chk.c: Likewise.
13839 * string/memcpy.c: Likewise.
13840 * string/memmove.c: Likewise.
13841 * sysdeps/powerpc/memmove.c: Likewise.
13842 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
13843 definition of PAGE_COPY_FWD_MAYBE here...
13844 * sysdeps/generic/pagecopy.h: ... from here.
13845 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13847 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13848 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13850 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13851 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13853 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13854 (__libc_ifunc_impl_list): Likewise.
13855 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13856 multiarch strcat for PPC64.
13857 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13858 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13860 2014-07-02 Roland McGrath <roland@hack.frob.com>
13862 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13864 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13866 * intl/loadmsgcat.c: Remove declaration of
13867 get_sysdep_segment_value.
13868 (get_sysdep_segment_value): Use ISO C style.
13869 (_nl_load_domain): Use ISO C style. Get rid of redundant
13870 semicolon. Fix typo and formatting in comment.
13871 (_nl_unload_domain): Use ISO C style.
13873 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13875 2014-07-02 Will Newton <will.newton@linaro.org>
13877 * malloc/obstack.c: Merge from gnulib master.
13878 [HAVE_CONFIG_H]: Remove conditional code.
13879 [!_LIBC]: Include config.h.
13880 [!ELIDE_CODE]: Don't include inttypes.h, include
13881 stdint.h unconditionally.
13882 (print_and_abort): Mark as _Noreturn.
13883 (_obstack_allocated_p): Mark as __attribute_pure__.
13884 (obstack_free): Rename to __obstack_free.
13885 [!__attribute__]: Remove conditional code.
13886 * malloc/obstack.h: Merge from gnulib master.
13887 [__cplusplus]: Move conditional down.
13888 [!__attribute_pure__]: Define __attribute_pure__ here
13889 if it is not already defined.
13890 (_obstack_memory_used): Mark as __attribute_pure__.
13891 [!__obstack_free]: Define as obstack_free.
13892 [__GNUC__]: Remove check for ancient NeXT gcc.
13894 2014-07-02 Will Newton <will.newton@linaro.org>
13895 Paul Eggert <eggert@cs.ucla.edu>
13897 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13899 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13901 * resolv/gethnamaddr.c: Add comment warning that the file is
13904 2014-07-01 Carlos O'Donell <carlos@redhat.com>
13906 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13909 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13910 entry for aio_cancel and aio_cancel64.
13911 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13912 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13913 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13914 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13915 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13916 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13917 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13918 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13919 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13920 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13921 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13922 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13923 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13925 2014-07-01 Roland McGrath <roland@hack.frob.com>
13927 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13928 * nptl/pthread_mutex_lock.c: Likewise.
13929 * nptl/pthread_mutex_timedlock.c: Likewise.
13930 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13932 2014-07-01 Richard henderson <rth@redhat.com>
13934 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13935 (__isnan, __isnanl): Remove.
13936 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13938 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13940 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13942 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13944 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13946 * resolv/nss_dns/dns-host.c (getanswer_r)
13947 [MULTI_PTRS_ARE_ALIASES]: Remove code.
13949 2014-07-01 Joseph Myers <joseph@codesourcery.com>
13951 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13952 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13954 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13955 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13957 2014-07-01 Roland McGrath <roland@hack.frob.com>
13959 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13960 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13962 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13963 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13965 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13966 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13968 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13969 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13971 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13972 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13973 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13974 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13976 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13977 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13978 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13979 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13980 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13982 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13984 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13985 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13986 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13987 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13988 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13989 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13990 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13991 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13992 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13993 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13994 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13995 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13996 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13997 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13998 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13999 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14000 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14001 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14002 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14003 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14005 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14006 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14007 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14008 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14009 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14010 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14011 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14012 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14014 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
14016 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14017 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14018 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14021 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14025 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14027 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14028 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14030 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14032 * sysdeps/arm/libm-test-ulps: Regenerated.
14034 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14035 Roland McGrath <roland@hack.frob.com>
14037 * test-skeleton.c (signal_handler): Kill the whole process group
14038 before killing the child individually.
14039 (main): Report any failure on `setpgid'.
14041 2014-06-30 Roland McGrath <roland@hack.frob.com>
14043 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14044 from _TLS_H to _ARM_NPTL_TLS_H.
14045 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14046 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14048 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14051 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14052 (__expm1l): Return argument unchanged when small but not
14055 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14056 include macro name.
14057 (_FP_UNPACK_RAW_1_P): Likewise.
14058 (_FP_PACK_RAW_1): Likewise.
14059 (_FP_PACK_RAW_1_P): Likewise.
14060 (_FP_MUL_MEAT_1_wide): Likewise.
14061 (_FP_MUL_MEAT_DW_1_hard): Likewise.
14062 (_FP_MUL_MEAT_1_hard): Likewise.
14063 (_FP_DIV_MEAT_1_imm): Likewise.
14064 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14065 (_FP_DIV_MEAT_1_udiv): Likewise.
14066 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14067 (_FP_UNPACK_RAW_2): Likewise.
14068 (_FP_UNPACK_RAW_2_P): Likewise.
14069 (_FP_PACK_RAW_2): Likewise.
14070 (_FP_PACK_RAW_2_P): Likewise.
14071 (_FP_MUL_MEAT_DW_2_wide): Likewise.
14072 (_FP_MUL_MEAT_2_wide): Likewise.
14073 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14074 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14075 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14076 (_FP_MUL_MEAT_2_gmp): Likewise.
14077 (_FP_DIV_MEAT_2_udiv): Likewise.
14078 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14079 (_FP_FRAC_SRL_4): Likewise.
14080 (_FP_FRAC_SRST_4): Likewise.
14081 (_FP_FRAC_SRS_4): Likewise.
14082 (_FP_UNPACK_RAW_4): Likewise.
14083 (_FP_UNPACK_RAW_4_P): Likewise.
14084 (_FP_PACK_RAW_4): Likewise.
14085 (_FP_PACK_RAW_4_P): Likewise.
14086 (_FP_MUL_MEAT_DW_4_wide): Likewise.
14087 (_FP_MUL_MEAT_4_wide): Likewise.
14088 (_FP_MUL_MEAT_4_gmp): Likewise.
14089 (umul_ppppmnnn): Likewise.
14090 (_FP_DIV_MEAT_4_udiv): Likewise.
14091 (__FP_FRAC_ADD_4): Likewise.
14092 (__FP_FRAC_SUB_3): Likewise.
14093 (__FP_FRAC_SUB_4): Likewise.
14094 (__FP_FRAC_DEC_3): Likewise.
14095 (__FP_FRAC_DEC_4): Likewise.
14096 (__FP_FRAC_ADDI_4): Likewise.
14097 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14098 (_FP_FRAC_SRL_8): Likewise.
14099 (_FP_FRAC_SRS_8): Likewise.
14101 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14102 include macro name.
14103 (FP_UNPACK_RAW_EP): Likewise.
14104 (FP_PACK_RAW_E): Likewise.
14105 (FP_PACK_RAW_EP): Likewise.
14106 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14107 (_FP_ISSIGNAN): Likewise.
14108 (_FP_ADD_INTERNAL): Likewise.
14109 (_FP_FMA): Likewise.
14110 (_FP_CMP): Likewise.
14111 (_FP_SQRT): Likewise.
14112 (_FP_TO_INT): Likewise.
14113 (_FP_FROM_INT): Likewise.
14114 (FP_EXTEND): Likewise.
14115 (_FP_DIV_MEAT_N_loop): Likewise.
14117 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14119 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14122 2014-06-29 Joseph Myers <joseph@codesourcery.com>
14125 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14126 result with correct sign in case of exponents that produce
14127 overflow except for X very close to 1.
14129 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
14131 mktime: merge #if/#ifdef usage from glibc
14132 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14133 as that works with both Glibc's and Gnulib's style.
14134 See thread starting at Siddhesh Poyarekar's bug report at:
14135 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14137 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14139 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14140 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14141 * sysdeps/tile/tilegx/memmove.c: Remove file.
14143 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14145 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14146 abi-name definition.
14147 * scripts/soversions.awk: Do not handle or generate ABI lines.
14148 * shlib-versions: Remove ABI entries.
14149 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14150 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14152 2014-06-27 Roland McGrath <roland@hack.frob.com>
14154 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14155 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14156 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14157 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14158 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14159 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14160 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14162 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14164 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14165 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14166 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14167 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14168 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14169 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14170 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14171 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14172 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14173 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14174 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14175 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14176 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14178 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14179 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14180 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14181 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14182 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14183 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14185 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14186 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14188 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14189 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14190 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14191 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14193 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14194 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14195 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14196 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14197 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14198 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14199 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14200 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14202 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14203 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14204 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14205 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14207 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14208 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14210 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14211 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14212 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14213 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14215 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14217 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14218 Identical file removed.
14219 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14221 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14222 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14223 Identical file removed.
14224 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14225 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14226 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14228 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14229 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14230 Identical file removed.
14231 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14232 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14233 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14234 Identical file removed.
14235 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14236 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14237 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14238 Identical file removed.
14239 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14240 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14241 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14242 Identical file removed.
14243 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14245 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14246 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14247 Identical file removed.
14248 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14250 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14251 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14252 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14253 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14254 Identical file removed.
14255 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14257 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14259 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14260 Identical file removed.
14261 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14263 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14264 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14265 Identical file removed.
14266 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14268 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14269 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14270 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14271 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14272 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14273 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14275 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14276 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14277 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14279 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14280 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14281 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14282 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14283 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14285 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
14288 * nscd/nscd.c (monitor_child): Return exit status of child
14289 instead of return value from wait syscall.
14291 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14293 * configure.ac (libc_commonpagesize): Remove variable.
14294 (libc_relro_required): Likewise.
14295 (libc_cv_z_relro): Remove configure test.
14296 * configure: Regenerated.
14297 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14299 (libc_relro_required): Likewise.
14300 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14301 (libc_relro_required): Likewise.
14302 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14303 (libc_relro_required): Likewise.
14304 * sysdeps/arm/preconfigure: Regenerated.
14305 * sysdeps/ia64/preconfigure: Remove file.
14306 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14308 (libc_relro_required): Likewise.
14312 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14313 (__ieee754_yn): Set FE_TONEAREST mode internally and then
14314 recompute overflowing results in original rounding mode.
14315 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14316 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14317 recompute overflowing results in original rounding mode.
14318 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14319 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14320 recompute overflowing results in original rounding mode.
14321 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14322 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14323 recompute overflowing results in original rounding mode.
14324 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14325 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14326 recompute overflowing results in original rounding mode.
14327 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14328 (libc_feholdsetround_ctx): New macro.
14329 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14330 * sysdeps/i386/fpu/libm-test-ulps: Update.
14331 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14333 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14335 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14336 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14337 corresponding .cpsetup call.
14339 2014-06-26 Roland McGrath <roland@hack.frob.com>
14341 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14342 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14343 * sysdeps/arm/Makefile [$(subdir) = csu]
14344 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14345 (static-only-routines): Add aeabi_read_tp here.
14346 (shared-only-routines): Add libc-aeabi_read_tp here.
14347 (CFLAGS-libc-start.c): Add -fexceptions here.
14348 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14349 (sysdep_routines, static-only-routines, shared-only-routines):
14350 Don't add to these here.
14351 (CFLAGS-libc-start.c): Likewise.
14353 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14354 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14355 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14356 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14357 * sysdeps/arm/Makefile [$(subdir) = rt]
14358 (librt-sysdep_routines, librt-shared-only-routines):
14359 Append rt-aeabi_unwind_cpp_pr1 here.
14360 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14361 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14362 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14363 (libpthread-sysdep_routines, libpthread-shared-only-routines):
14364 Append nptl-aeabi_unwind_cpp_pr1 here.
14365 (tests): Filter out tst-cleanupx4 here.
14366 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14367 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14368 Don't do those here.
14370 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14372 * scripts/list-sources.sh: Do not handle ports specially.
14374 2014-06-26 Roland McGrath <roland@hack.frob.com>
14376 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14377 * sysdeps/arm/feupdateenv.c: Likewise.
14379 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14381 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14383 * manual/texinfo.tex: Update to version 2014-05-05.10 with
14384 trailing whitespace removed.
14385 * scripts/config.guess: Update to version 2014-03-23.
14386 * scripts/config.sub: Update to version 2014-05-01
14387 * scripts/install-sh: Update to version 2013-12-25.23.
14388 * scripts/move-if-change: Update from gnulib.
14390 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14392 * debug/memmove_chk.c: Remove pagecopy.h include.
14394 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
14396 * time/mktime.c (leapyear): Remove inline keyword. The code is now
14397 identical to gnulib mktime.
14399 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14401 * configure.ac: Do not test for machine being rs6000. Do not test
14402 for powerpc*-*soft.
14403 * configure: Regenerated.
14406 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14408 * configure: Regenerated.
14409 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14410 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14411 Remove configure test.
14412 * sysdeps/arm/configure: Regenerated.
14413 * sysdeps/nptl/configure.ac: Do not check
14414 libc_cv_asm_cfi_directives.
14415 * sysdeps/nptl/configure: Regenerated.
14416 * sysdeps/x86_64/nptl/configure.ac: Remove file.
14417 * sysdeps/x86_64/nptl/configure: Remove generated file.
14418 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14420 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14422 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14424 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14425 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14426 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14429 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14430 instead of whether it is defined.
14431 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14432 * sysdeps/hppa/dl-machine.h: Likewise.
14433 * sysdeps/ia64/dl-machine.h: Likewise.
14434 * sysdeps/m68k/dl-machine.h: Likewise.
14435 * sysdeps/microblaze/dl-machine.h: Likewise.
14436 * sysdeps/mips/dl-machine.: Likewise.
14437 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14438 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14439 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14440 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14441 * sysdeps/sh/dl-machine.h: Likewise.
14442 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14443 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14444 * sysdeps/tile/dl-machine.h: Likewise.
14445 * sysdeps/x86_64/dl-machine.h: Likewise.
14447 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14449 (verify_persistent_db): Likewise.
14451 2014-06-26 Roland McGrath <roland@hack.frob.com>
14453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14454 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14456 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14459 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14462 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14464 Identical file removed.
14465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14466 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14468 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14470 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14472 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14474 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14477 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14479 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14481 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14484 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14486 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14488 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14490 Identical file removed.
14491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14492 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14494 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14497 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14500 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14502 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14504 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14506 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14508 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14511 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14514 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14516 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14519 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14521 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14523 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14525 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14526 * sysdeps/unix/sysv/linux/s390/Versions
14527 (libpthread: GLIBC_2.19): New version set.
14528 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14529 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14530 (librt: GLIBC_2.3.3): New version set.
14531 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14532 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14533 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14534 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14535 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14536 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14537 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14538 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14539 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14540 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14541 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14542 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14543 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14544 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14545 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14546 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14547 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14548 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14549 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14550 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14551 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14552 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14553 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14554 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14555 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14556 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14557 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14558 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14559 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14560 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14561 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14562 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14563 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14564 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14565 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14566 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14567 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14568 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14569 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14570 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14571 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14572 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14573 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14574 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14575 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14577 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14578 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14579 (__libc_vfork): Define the function under this name.
14580 [!NOT_IN_libc] (__vfork): Make this an alias.
14581 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14582 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14583 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14584 (__libc_vfork): Define the function under this name.
14585 [!NOT_IN_libc] (__vfork): Make this an alias.
14586 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14587 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14588 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14589 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14590 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14591 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14593 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14594 code that was previously under [RESET_PID].
14595 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14596 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14597 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14599 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14600 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14601 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14602 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14603 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14604 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14605 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14606 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14607 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14608 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14609 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14611 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14612 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14613 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14614 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14615 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14616 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14617 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14618 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14619 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14620 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14621 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14622 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14623 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14624 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14625 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14626 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14627 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14628 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14629 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14630 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14631 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14632 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14633 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14634 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14635 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14636 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14637 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14638 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14639 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14641 2014-06-25 Roland McGrath <roland@hack.frob.com>
14643 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14644 that was previously under [RESET_PID].
14645 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14647 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14649 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14650 not undefine and redefine.
14651 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14652 [O_CLOEXEC]: Make code unconditional.
14653 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14654 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14655 <kernel-features.h>.
14656 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14657 conditional variable definition.
14658 (shm_open) [O_CLOEXEC]: Make code unconditional.
14659 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14662 * configure.ac (USE_REGPARMS): Don't define here.
14663 * configure: Regenerated.
14664 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14665 * sysdeps/i386/configure: Regenerated.
14667 * nptl/createthread.c: Don't include kernel-features.h.
14668 * nptl/pthread_cancel.c: Likewise.
14669 * nptl/pthread_condattr_setclock.c: Likewise.
14670 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14671 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14672 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14673 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14674 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14675 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14676 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14677 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14678 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14679 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14680 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14681 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14682 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14683 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14684 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14685 * nscd/gai.c: Likewise.
14686 * nss/nss_db/db-open.c: Likewise.
14687 * sysdeps/generic/ldsodefs.h: Likewise.
14688 * sysdeps/sh/nptl/tls.h: Likewise.
14689 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14690 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14691 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14692 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14693 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14694 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14695 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14696 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14697 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14698 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14699 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14700 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14701 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14702 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14703 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14704 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14705 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14706 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14707 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14708 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14709 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14710 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14711 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14712 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14713 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14714 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14715 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14716 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14717 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14718 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14719 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14720 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14721 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14722 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14723 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14724 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14725 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14726 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14727 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14728 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14729 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14730 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14731 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14732 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14733 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14734 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14735 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14736 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14737 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14738 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14739 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14740 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14741 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14742 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14743 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14744 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14745 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14746 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14769 * sysdeps/unix/sysv/linux/pread.c: Likewise.
14770 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14771 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14772 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14773 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14774 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14775 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14776 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14777 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14778 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14779 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14780 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14781 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14782 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14783 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14784 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14785 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14786 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14787 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14788 * sysdeps/unix/sysv/linux/system.c: Likewise.
14789 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14790 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14791 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14792 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14793 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14794 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14795 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14797 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14798 * configure: Regenerated.
14799 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14801 * configure.ac (base_machine): Do not set specially for particular
14803 * configure: Regenerated.
14804 * sysdeps/powerpc/preconfigure: Move machine and base_machine
14805 settings from configure.ac.
14806 * sysdeps/i386/preconfigure: New file.
14807 * sysdeps/s390/preconfigure: Likewise.
14808 * sysdeps/sh/preconfigure: Likewise.
14809 * sysdeps/sparc/preconfigure: Likewise.
14811 2014-06-25 Roland McGrath <roland@hack.frob.com>
14813 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14814 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14815 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14816 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14817 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14818 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14819 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14820 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14821 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14822 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14823 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14824 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14825 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14826 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14827 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14828 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14829 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14830 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14831 * sysdeps/sparc/sparc64/Makefile: ... appended here.
14833 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14834 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14835 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14836 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14837 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14838 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14839 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14840 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14841 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14842 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14843 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14844 * sysdeps/sparc/sparc32/sem_post.c: ... here.
14845 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14846 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14847 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14848 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14849 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14850 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14851 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14852 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14853 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14854 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14855 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14856 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14857 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14858 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14859 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14860 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14861 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14862 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14863 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14864 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14865 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14866 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14867 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14868 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14869 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14870 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14873 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14875 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14878 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14881 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14883 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14886 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14888 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14890 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14892 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14895 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14898 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14900 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14903 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14905 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14907 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14909 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14911 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14914 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14917 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14919 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14922 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14924 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14926 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14928 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14931 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14934 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14936 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14939 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14941 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14943 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14945 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14947 * timezone/checktab.awk: Update from tzcode 2014e.
14948 * timezone/private.h: Likewise.
14949 * timezone/tzfile.h: Likewise.
14950 * timezone/zdump.c: Likewise.
14951 * timezone/zic.c: Likewise.
14953 * sysdeps/unix/sysv/linux/kernel-features.h
14954 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14955 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14956 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14957 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14958 Remove conditional code.
14960 2014-06-25 Will Newton <will.newton@linaro.org>
14962 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14963 (_dl_arm_cap_flags): Add HWCAP2 values.
14964 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14965 (_DL_HWCAP_COUNT): Increase to 37.
14966 (_DL_HWCAP_LAST): New define.
14967 (_DL_HWCAP2_LAST): New define.
14968 (_dl_procinfo): Add support for printing
14970 (_dl_string_hwcap): Use _dl_hwcap_string.
14972 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14976 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14978 * README: Do not mention ports directory.
14980 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14982 * sysdeps/unix/sysv/linux/futimes.c: Do not include
14983 <kernel-features.h>.
14984 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14985 conditional variable definition.
14986 (__futimes): Update comment.
14987 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14988 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14991 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14992 arguments close to 0.
14993 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14995 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14997 * math/auto-libm-test-in: Add more tests of exp10.
14998 * math/auto-libm-test-out: Regenerated.
14999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15001 * sysdeps/unix/sysv/linux/kernel-features.h
15002 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15003 * sysdeps/unix/sysv/linux/readv.c: Do not include
15004 <kernel-features.h>.
15005 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15006 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15007 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15009 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15011 * sysdeps/unix/sysv/linux/writev.c: Do not include
15012 <kernel-features.h>.
15013 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15014 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15015 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15017 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15020 2014-06-25 Will Newton <will.newton@linaro.org>
15022 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15023 comment changes throughout the file. Remove checks
15024 for HAVE_*_H definitions that are not required.
15025 (__gen_tempname): Call abort if an unknown kind value is
15028 2014-06-25 Andreas Schwab <schwab@suse.de>
15031 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15032 scalbln, scalblnf, scalblnl in libc.
15034 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15037 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15038 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15039 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15041 2014-06-24 Roland McGrath <roland@hack.frob.com>
15043 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15044 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15045 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15046 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15048 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15049 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15051 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15052 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15053 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15054 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15055 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15056 * sysdeps/x86/bits/pthreadtypes.h: ... here.
15057 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15058 * sysdeps/x86/bits/semaphore.h: ... here.
15059 * sysdeps/x86/nptl/elide.h: Moved ...
15060 * sysdeps/x86/elide.h: ... here.
15061 * sysdeps/x86_64/nptl/Implies: File removed.
15062 * sysdeps/i386/nptl/Implies: File removed.
15064 2014-06-24 Joseph Myers <joseph@codesourcery.com>
15067 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15068 return the argument for normal arguments with exponent below -64.
15069 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15071 * math/auto-libm-test-in: Add another test of expm1.
15072 * math/auto-libm-test-out: Regenerated.
15075 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15076 calling __erfcl for arguments at least 16.
15077 * math/auto-libm-test-in: Add more tests of erf.
15078 * math/auto-libm-test-out: Regenerated.
15080 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15081 individual architectures.
15082 * sysdeps/unix/sysv/linux/configure: Regenerated.
15083 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15084 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15085 * sysdeps/unix/sysv/linux/powerpc/configure.ac
15086 (ldd_rewrite_script): Define variable.
15087 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15092 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15093 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15094 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15095 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15096 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15097 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15098 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15099 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15101 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15104 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15105 Rename member __data.d to __data.__elision_data.
15107 2014-06-24 Wilco <wdijkstr@arm.com>
15109 * NEWS: Add 16918 to fixed bug list.
15111 2014-06-24 Wilco <wdijkstr@arm.com>
15113 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15115 2014-06-24 Wilco <wdijkstr@arm.com>
15117 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15118 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15119 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15120 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15121 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15122 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15123 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15126 2014-06-24 Wilco <wdijkstr@arm.com>
15128 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15130 2014-06-24 Wilco <wdijkstr@arm.com>
15132 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15133 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15134 * sysdeps/arm/fesetround.c (fesetround): Remove space.
15135 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15137 2014-06-24 Wilco <wdijkstr@arm.com>
15140 * sysdeps/arm/feupdateenv.c (feupdateenv):
15141 Rewrite to reduce FPSCR accesses and fix return value.
15143 2014-06-24 Wilco <wdijkstr@arm.com>
15145 * sysdeps/arm/fclrexcpt.c (feclearexcept):
15146 Optimize to avoid unnecessary FPSCR writes.
15147 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15148 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15149 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15150 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15152 2014-06-24 Wilco <wdijkstr@arm.com>
15154 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15155 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15156 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15157 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15158 Call libc_fetestexcept_vfp.
15159 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15160 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15161 __SOFTFP__ ifdef so that they can be built for softfp.
15163 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15165 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15166 argument type signed char.
15168 * Makerules (check-abi): Dump diff of symlist if the test
15171 2014-06-23 Roland McGrath <roland@hack.frob.com>
15173 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15176 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15177 Remove unused variable ST.
15179 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15183 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15184 small arguments before calling __expm1.
15185 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15186 small arguments before calling __expm1f.
15187 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15188 small arguments before calling __expm1l.
15189 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15191 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15192 * math/auto-libm-test-in: Add more cosh tests. Do not allow
15193 spurious underflow for some cosh tests.
15194 * math/auto-libm-test-out: Regenerated.
15195 * sysdeps/i386/fpu/libm-test-ulps: Update.
15198 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15199 (__ieee754_y1): Set errno if return value overflows.
15200 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15201 (__ieee754_y1f): Set errno if return value overflows.
15202 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15203 (__ieee754_y1l): Set errno if return value overflows.
15204 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15205 (__ieee754_y1l): Set errno if return value overflows.
15206 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15207 * math/auto-libm-test-out: Regenerated.
15209 * math/gen-auto-libm-tests.c: Document use of
15210 ignore-zero-inf-sign.
15211 (input_flag_type): Add value flag_ignore_zero_inf_sign.
15212 (input_flags): Add ignore-zero-inf-sign.
15213 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15214 * math/gen-libm-test.pl (generate_testfile): Handle
15215 ignore-zero-inf-sign.
15216 * math/auto-libm-test-in: Mark some cpow tests with
15217 ignore-zero-inf-sign and some with xfail-rounding.
15218 * math/auto-libm-test-out: Regenerated.
15219 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15220 * sysdeps/i386/fpu/libm-test-ulps: Update.
15221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15224 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15225 overflowing or underflowing operations take place with sign of
15227 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15228 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15229 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15230 (__ieee754_pow): Recompute overflowing and underflowing results in
15231 original rounding mode.
15232 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15233 (__powl_helper): Allow negative argument X and scale negated value
15234 as needed. Avoid passing value outside [-1, 1] to f2xm1.
15235 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15236 overflowing or underflowing operations take place with sign of
15238 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15240 * math/auto-libm-test-in: Add more tests of pow.
15241 * math/auto-libm-test-out: Regenerated.
15242 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15243 (pow_tonearest_test_data): Remove.
15244 (pow_test_tonearest): Likewise.
15245 (pow_towardzero_test_data): Likewise.
15246 (pow_test_towardzero): Likewise.
15247 (pow_downward_test_data): Likewise.
15248 (pow_test_downward): Likewise.
15249 (pow_upward_test_data): Likewise.
15250 (pow_test_upward): Likewise.
15251 (main): Don't call removed functions.
15252 * sysdeps/i386/fpu/libm-test-ulps: Update.
15253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15255 2014-06-23 Roland McGrath <roland@hack.frob.com>
15257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15431 2014-06-23 Will Newton <will.newton@linaro.org>
15432 Wilco <wdijkstr@arm.com>
15434 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15435 implementation. Include get-rounding-mode.h.
15436 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15437 [!libc_feholdsetround_noex_ctx]: Define
15438 libc_feholdsetround_noex_ctx.
15439 [!libc_feholdsetround_noexf_ctx]: Define
15440 libc_feholdsetround_noexf_ctx.
15441 [!libc_feholdsetround_noexl_ctx]: Define
15442 libc_feholdsetround_noexl_ctx.
15443 (libc_feholdsetround_ctx): New function.
15444 (libc_feresetround_ctx): New function.
15445 (libc_feholdsetround_noex_ctx): New function.
15446 (libc_feresetround_noex_ctx): New function.
15448 2014-06-23 Roland McGrath <roland@hack.frob.com>
15450 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15451 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15452 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15453 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15454 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15455 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15457 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15458 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15459 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15460 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15461 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15462 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15463 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15464 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15465 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15466 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15467 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15469 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15471 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15472 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15473 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15474 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15475 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15477 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15478 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15479 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15480 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15481 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15482 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15483 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15484 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15486 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15487 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15489 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15490 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15491 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15492 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15494 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15495 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15496 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15497 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15498 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15499 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15500 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15501 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15502 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15503 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15505 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15507 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15508 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15509 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15510 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15511 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15512 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15513 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15514 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15515 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15516 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15517 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15518 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15519 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15521 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15522 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15523 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15524 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15525 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15526 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15528 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15529 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15530 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15531 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15532 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15534 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15535 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15536 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15537 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15538 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15539 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15540 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15541 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15542 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15543 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15544 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15545 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15546 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15547 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15548 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15549 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15550 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15551 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15552 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15553 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15554 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15555 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15556 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15557 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15558 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15559 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15560 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15561 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15563 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15565 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15566 (FALLOC_FL_COLLAPSE_RANGE): New macro.
15567 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15568 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15569 (IPV6_PMTUDISC_INTERFACE): Likewise.
15570 (IPV6_PMTUDISC_OMIT): Likewise.
15572 2014-06-23 Andreas Schwab <schwab@suse.de>
15574 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15575 Remove unused errout label.
15577 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15579 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15580 macro: hardware supports Vector Crypto instructions.
15582 2014-06-23 Will Newton <will.newton@linaro.org>
15584 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15585 rather than __builtin_expect.
15587 * elf/dl-lookup.c (undefined_msg): Remove variable.
15588 (_dl_lookup_symbol_x): Replace undefined_msg with string
15591 * elf/dl-lookup.c (do_lookup_unique): New function.
15592 (do_lookup_x): Move STB_GNU_UNIQUE handling code
15593 to a separate function.
15595 2014-06-23 Andreas Schwab <schwab@suse.de>
15598 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15599 before reading the next line.
15601 2014-06-23 Will Newton <will.newton@linaro.org>
15603 * test-skeleton.c (signal_handler): Use printf and %m
15604 rather than perror. Use printf rather than fprintf to
15605 stderr. Use puts rather than fputs to stderr.
15608 2014-06-22 Ludovic Courtès <ludo@gnu.org>
15610 * nscd/nscd.c (thread_info_t): Remove typedef.
15611 (thread_info): Remove variable.
15613 2014-06-21 Allan McRae <allan@archlinux.org>
15615 * NEWS: Mention CVE-2014-4043.
15617 2014-06-20 Roland McGrath <roland@hack.frob.com>
15619 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15620 * nptl/smp.h: ... here.
15622 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15624 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15625 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15626 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15627 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15629 * nptl/allocatestack.c: Include <stack-aliasing.h>.
15630 * nptl/stack-aliasing.h: New file.
15631 * sysdeps/i386/i686/stack-aliasing.h: New file.
15632 * sysdeps/i386/i686/nptl/Makefile: File removed.
15633 * sysdeps/x86_64/stack-aliasing.h: New file.
15634 * sysdeps/x86_64/nptl/Makefile
15635 (CFLAGS-pthread_create.c): Variable removed.
15637 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15638 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15640 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15641 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15644 2014-06-21 Joseph Myers <joseph@codesourcery.com>
15646 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15647 (__ASSUME_SIGFRAME_V2): Remove macro.
15648 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15649 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15650 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15651 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15652 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15653 Declare as function. Remove conditional macro definitions.
15654 (__default_rt_sa_restorer): Likewise.
15655 (__default_sa_restorer_v1): Remove declaration.
15656 (__default_sa_restorer_v2): Likewise.
15657 (__default_rt_sa_restorer_v1): Likewise.
15658 (__default_rt_sa_restorer_v2): Likewise.
15659 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15660 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15661 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15663 2014-06-20 Roland McGrath <roland@hack.frob.com>
15665 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15666 (libpthread-routines): Add sysdep.
15667 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15668 * sysdeps/unix/sysv/linux/sparc/Versions
15669 (libpthread: GLIBC_2.3.3): New version set.
15670 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15671 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15672 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15673 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15674 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
15675 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15677 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15678 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15679 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15680 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15681 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15682 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15683 * sysdeps/sparc/nptl/sem_init.c: ... here.
15684 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15685 * sysdeps/sparc/nptl/sem_post.c: ... here.
15686 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15687 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15688 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15689 * sysdeps/sparc/nptl/sem_wait.c: ... here.
15690 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15691 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15692 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15693 (libpthread-routines): Add cpu_relax.
15694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15696 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15697 (librt: GLIBC_2.3.3): New version set.
15698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15699 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15700 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15701 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15703 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15704 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15705 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15707 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15709 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15711 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15713 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15715 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15718 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15722 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15724 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15726 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15730 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15734 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15738 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15740 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15741 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15742 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15743 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15744 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15745 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15746 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15747 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15748 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15749 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15750 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15752 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15753 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15754 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15755 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15756 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15758 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15760 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15761 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15762 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15763 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15764 * nscd/nscd.c: Likewise.
15765 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15766 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15767 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15768 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15770 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15771 <kernel-features.h>.
15772 (init_mq_netlink): Remove conditional have_sock_cloexec
15773 definitions. Remove code conditional on have_sock_cloexec < 0.
15774 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15775 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15776 * sysdeps/unix/sysv/linux/opensock.c: Do not include
15777 <kernel-features.h>.
15778 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15779 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15781 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15783 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15784 Add tests for memset_chk and memset.
15786 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15789 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15792 * elf/tst-dl-iter-static.c: New file.
15793 * elf/Makefile (tests-static): Add tst-dl-iter-static.
15795 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15798 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15800 * sysdeps/unix/sysv/linux/kernel-features.h
15801 (__ASSUME_F_GETOWN_EX): Remove macro.
15802 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15803 <kernel-features.h>.
15804 (miss_F_GETOWN_EX): Remove variable or macro.
15805 (do_fcntl): Do not check miss_F_GETOWN_EX.
15806 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15808 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15810 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15811 [!__ASSUME_AT_RANDOM]: Remove conditional code.
15812 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15814 * sysdeps/unix/sysv/linux/kernel-features.h
15815 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15816 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15817 [ADJ_OFFSET_SS_READ]: Make code unconditional.
15818 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15820 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15823 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15824 Fix calculation of the symbol's value.
15825 * sysdeps/arm/tst-armtlsdescloc.c: New file.
15826 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15827 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15828 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15829 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15830 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15831 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15832 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15833 (modules-names): Add `tst-armtlsdescmod',
15834 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15835 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15836 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15837 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15838 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15839 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15840 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15841 ($(objpfx)tst-armtlsdescloc): New dependency.
15842 ($(objpfx)tst-armtlsdescextnow): Likewise.
15843 ($(objpfx)tst-armtlsdescextlazy): Likewise.
15844 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15845 TLS scheme support.
15846 * sysdeps/arm/configure: Regenerate.
15848 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15850 * include/fcntl.h (__atfct_seterrno): Remove prototype.
15851 (__atfct_seterrno_2): Likewise.
15852 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15853 <kernel-features.h>.
15854 (__ASSUME_ATFCTS): Do not undefine and redefine.
15855 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15856 (__have_atfcts): Remove conditional definition.
15857 (__fxstatat([__NR_fstatat64]: Make code unconditional.
15858 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15859 unreachable if [__ASSUME_ATFCTS].
15860 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15861 not undefine and redefine.
15862 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15863 <kernel-features.h>.
15864 (faccessat) [__NR_faccessat]: Make code unconditional.
15865 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15866 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15867 <kernel-features.h>.
15868 (fchmodat) [__NR_fchmodat]: Make code unconditional.
15869 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15870 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15871 <kernel-features.h>.
15872 (fchownat) [__NR_fchownat]: Make code unconditional.
15873 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15874 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15875 <kernel-features.h>.
15876 (futimesat) [__NR_futimesat]: Make code unconditional.
15877 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15878 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15879 <kernel-features.h>.
15880 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15881 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15882 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15883 <kernel-features.h>.
15884 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15885 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15886 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15887 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15888 <kernel-features.h>.
15889 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15890 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15891 * sysdeps/unix/sysv/linux/linkat.c: Do not include
15892 <kernel-features.h>.
15893 (linkat) [__NR_linkat]: Make code unconditional.
15894 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15895 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15896 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15897 <kernel-features.h>.
15898 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15899 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15900 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15901 <kernel-features.h>.
15902 (mkdirat) [__NR_mkdirat]: Make code unconditional.
15903 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15904 * sysdeps/unix/sysv/linux/openat.c: Do not include
15905 <kernel-features.h>.
15906 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15907 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15908 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15909 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15910 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15911 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15912 <kernel-features.h>.
15913 (readlinkat) [__NR_readlinkat]: Make code unconditional.
15914 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
15915 result of INLINE_SYSCALL directly, not via int variable.
15916 * sysdeps/unix/sysv/linux/renameat.c: Do not include
15917 <kernel-features.h>.
15918 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15919 (renameat) [__NR_renameat]: Make code unconditional.
15920 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15921 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15922 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15923 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15924 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15925 (__ASSUME_ATFCTS): Do not undefine and redefine.
15926 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15927 <kernel-features.h>.
15928 (symlinkat) [__NR_symlinkat]: Make code unconditional.
15929 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15930 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15931 <kernel-features.h>.
15932 (unlinkat) [__NR_unlinkat]: Make code unconditional.
15933 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15934 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15935 (__ASSUME_ATFCTS): Do not undefine and redefine.
15936 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15937 <kernel-features.h>.
15938 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15939 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15940 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15941 <kernel-features.h>.
15942 (__xmknodat) [__NR_mknodat]: Make code unconditional.
15943 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15945 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15947 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15949 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
15952 * posix/regcomp.c (parse_reg_exp): Deallocate partially
15953 constructed tree before returning error.
15954 * posix/bug-regexp36.c: Expand test case.
15956 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15959 * math/libm-test.inc (scalbln_test_date):
15960 Add errno expectations.
15961 * math/w_scalblnf.c: New File.
15962 Add wrapper which checks for setting errno to ERANGE.
15963 Add weak_alias for corresponding scalbln function.
15964 * math/w_scalbln.c: Likewise.
15965 * math/w_scalblnl.c: Likewise.
15966 * math/Makefile (libm-calls): Add w_scalbln.
15967 * sysdeps/ieee754/flt-32/s_scalblnf.c:
15968 Remove weak_alias for corresponding scalbln function.
15969 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15970 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15971 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15972 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15973 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15974 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15975 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15976 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15977 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15978 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15979 Remove long_double_symbol for scalblnl function in libm, libc.
15980 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15981 Add wrapper which checks for setting errno to ERANGE.
15982 Add long_double_symbol for scalblnl function in libm, libc.
15983 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15984 Remove long_double_symbol for scalblnl in libm.
15985 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15986 Add wrapper which checks for setting errno to ERANGE.
15987 Add long_double_symbol for scalblnl function in libm.
15988 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15989 Do not use wrapper because of own implementation.
15991 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
15993 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15994 3 bytes for __pad1 for x32.
15995 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15997 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
15998 H.J. Lu <hongjiu.lu@intel.com>
16000 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16001 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16002 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16003 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16004 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16006 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
16009 * posix/regcomp.c (parse_expression): Deallocate partially
16010 constructed tree before returning error.
16011 * posix/Makefile.c (tests): Add bug-regex36.
16012 (generated): Add bug-regex36.mtrace.
16013 (tests-special): Add $(objpfx)bug-regex36-mem.out
16014 (bug-regex36-ENV): New variable.
16015 ($(objpfx)bug-regex36-mem.out): New rule.
16016 * posix/bug-regex36.c: New file.
16018 2014-06-19 Will Newton <will.newton@linaro.org>
16020 * malloc/malloc.c (systrim): If extra is zero then return
16023 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16025 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16027 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
16029 * sysdeps/aarch64/strchr.S: New file.
16031 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16034 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16035 from arguments -2 or below.
16036 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16037 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16039 2014-06-18 Andreas Schwab <schwab@suse.de>
16042 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16043 of a bracket expr not to run off the end of the string.
16044 * posix/Makefile (tests): Add tst-fnmatch3.
16045 * posix/tst-fnmatch3.c: New file.
16047 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16049 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16050 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16051 [$(cross-compiling) = no]: Likewise.
16052 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16053 [$(cross-compiling) = no]: Likewise.
16055 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16058 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16059 double, adjusted for any remainder from the high double.
16060 * math/libm-test.inc (nearbyint): Add tests.
16063 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16065 * nptl/sysdeps/powerpc/Makefile: Moved ...
16066 * sysdeps/powerpc/nptl/Makefile: ... here.
16067 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16068 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16069 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16070 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16071 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16072 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16073 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16074 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16075 * nptl/sysdeps/powerpc/tls.h: Moved ...
16076 * sysdeps/powerpc/nptl/tls.h: ... here.
16078 2014-06-16 Joseph Myers <joseph@codesourcery.com>
16081 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16082 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16083 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16084 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16085 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16086 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16087 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16088 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16089 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16091 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
16093 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16095 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
16097 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16100 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16103 2014-06-16 Florian Weimer <fweimer@redhat.com>
16106 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16107 non-executed part of the test.
16109 2014-06-16 Andreas Schwab <schwab@suse.de>
16111 * string/bits/string2.h (strdup, strndup): Update feature guard.
16113 2014-06-14 David S. Miller <davem@davemloft.net>
16115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16117 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
16119 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16120 that was previously under [RESET_PID].
16121 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16123 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16124 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16125 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16126 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16127 (__libc_vfork): New strong alias.
16128 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16130 2014-06-14 Andi Kleen <ak@linux.intel.com>
16132 * sysdeps/generic/elide.h: New file.
16134 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
16136 * Makefile (installed-headers): Adjust path of pthread.h header.
16138 2014-06-13 Roland McGrath <roland@hack.frob.com>
16140 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16141 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16142 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16143 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16145 * nptl/sysdeps/s390/Makefile: Moved ...
16146 * sysdeps/s390/nptl/Makefile: ... here.
16147 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16148 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16149 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16150 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16151 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16152 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16153 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16154 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16155 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16156 * sysdeps/s390/nptl/pthreaddef.h: ... here.
16157 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16158 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16159 * nptl/sysdeps/s390/tls.h: Moved ...
16160 * sysdeps/s390/nptl/tls.h: ... here.
16162 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16163 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16165 2014-06-13 David S. Miller <davem@davemloft.net>
16167 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16170 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16171 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16174 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16175 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16176 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16177 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16178 Remove RESET_PID cpp guards.
16179 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16180 Remove RESET_PID cpp guards.
16181 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16183 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
16185 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16188 2014-06-13 Andi Kleen <ak@linux.intel.com>
16190 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16191 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16192 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16193 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16194 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16195 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16196 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16197 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16198 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16199 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16200 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16201 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16202 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16203 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16204 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16205 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16206 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16207 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16208 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16209 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16211 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16212 (pthread_rwlock_rdlock): Add elision.
16213 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16214 (pthread_rwlock_wrlock): Add elision.
16215 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16216 (pthread_rwlock_trywrlock): Add elision.
16217 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16218 (pthread_rwlock_tryrdlock): Add elision.
16219 * nptl/pthread_rwlock_unlock.c: Include elide.h.
16220 (pthread_rwlock_tryrdlock): Add elision unlock.
16221 * nptl/sysdeps/pthread/pthread.h:
16222 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16223 (PTHREAD_RWLOCK_INITIALIZER,
16224 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16225 Handle new elision field.
16226 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16227 * sysdeps/arm/nptl/bits/pthreadtypes.h
16228 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16229 * sysdeps/sh/nptl/bits/pthreadtypes.h
16230 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16231 * sysdeps/tile/nptl/bits/pthreadtypes.h
16232 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16233 * sysdeps/a/nptl/bits/pthreadtypes.h
16234 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16235 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16236 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16237 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16238 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16239 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16240 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16241 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16242 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16243 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16244 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16245 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16246 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16247 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16248 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16249 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16250 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16251 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16252 (elision_init): Set try_xbegin to zero when no RTM.
16253 * sysdeps/x86/nptl/bits/pthreadtypes.h
16254 (pthread_rwlock_t): Change __pad1 to __rwelision.
16255 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16257 2014-06-13 Andi Kleen <ak@linux.intel.com>
16259 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16260 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16261 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16262 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16264 2014-06-13 Meador Inge <meadori@codesourcery.com>
16267 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16268 that the cached result has been set before returning it.
16270 2014-06-12 Roland McGrath <roland@hack.frob.com>
16272 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16273 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16274 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16275 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16276 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16277 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16279 * nptl/sysdeps/sparc/Makefile: Moved ...
16280 * sysdeps/sparc/nptl/Makefile: ... here.
16281 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16282 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16283 * nptl/sysdeps/sparc/tls.h: Moved ...
16284 * sysdeps/sparc/nptl/tls.h: ... here.
16285 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16286 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16287 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16288 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16289 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16290 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16291 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16292 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16293 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16294 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16295 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16296 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16297 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16298 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16299 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16300 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16301 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16302 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16304 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16305 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16307 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16308 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16310 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16311 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16314 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16316 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16317 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16319 * sysdeps/pthread/posix-timer.h: Include <list.h>.
16320 (struct list_links): Type removed.
16321 (struct thread_node, struct timer_node): Replace struct list_links
16322 with struct list_head.
16323 (list_unlink_ip): Likewise.
16324 * sysdeps/pthread/timer_routines.c
16325 (timer_free_list, thread_free_list, thread_active_list): Likewise.
16326 (list_append, list_insbefore): Likewise.
16327 (list_init): Function removed.
16328 (thread_init, init_module): Use INIT_LIST_HEAD instead.
16329 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16330 * sysdeps/pthread/Makefile: ... here, new file.
16332 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16333 * sysdeps/nptl/Implies: ... here.
16334 * sysdeps/unix/sysv/linux/Implies: Add nptl.
16335 * nptl/sysdeps/pthread/list.h: Moved ...
16336 * include/list.h: ... here.
16337 * nptl/sysdeps/pthread/createthread.c: Moved ...
16338 * nptl/createthread.c: ... here.
16339 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16340 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16341 * nptl/pt-longjmp.c: ... here.
16342 * nptl/sysdeps/pthread/Makefile: Moved ...
16343 * sysdeps/nptl/Makefile: ... here.
16344 * nptl/sysdeps/pthread/Subdirs: Moved ...
16345 * sysdeps/nptl/Subdirs: ... here.
16346 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16347 * sysdeps/nptl/aio_misc.h: ... here.
16348 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16349 * sysdeps/nptl/bits/libc-lock.h: ... here.
16350 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16351 * sysdeps/nptl/bits/libc-lockP.h: ... here.
16352 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16353 * sysdeps/nptl/bits/stdio-lock.h: ... here.
16354 * nptl/sysdeps/pthread/configure: Moved ...
16355 * sysdeps/nptl/configure: ... here.
16356 * nptl/sysdeps/pthread/configure.ac: Moved ...
16357 * sysdeps/nptl/configure.ac: ... here.
16358 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16359 * sysdeps/nptl/gai_misc.h: ... here.
16360 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16361 * sysdeps/nptl/librt-cancellation.c: ... here.
16362 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16363 * sysdeps/nptl/malloc-machine.h: ... here.
16364 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16365 * sysdeps/nptl/pthread-functions.h: ... here.
16366 * nptl/sysdeps/pthread/pthread.h: Moved ...
16367 * sysdeps/nptl/pthread.h: ... here.
16368 * nptl/sysdeps/pthread/setxid.h: Moved ...
16369 * sysdeps/nptl/setxid.h: ... here.
16370 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16371 * sysdeps/nptl/sigfillset.c: ... here.
16372 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16373 * sysdeps/nptl/tcb-offsets.h: ... here.
16374 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16375 * sysdeps/nptl/tst-mqueue8x.c: ... here.
16376 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16377 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16378 * nptl/sysdeps/pthread/allocalim.h: Moved ...
16379 * sysdeps/pthread/allocalim.h: ... here.
16380 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16381 * sysdeps/pthread/bits/sigthread.h: ... here.
16382 * nptl/sysdeps/pthread/flockfile.c: Moved ...
16383 * sysdeps/pthread/flockfile.c: ... here.
16384 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16385 * sysdeps/pthread/ftrylockfile.c: ... here.
16386 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16387 * sysdeps/pthread/funlockfile.c: ... here.
16388 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16389 * sysdeps/pthread/posix-timer.h: ... here.
16390 * nptl/sysdeps/pthread/timer_create.c: Moved ...
16391 * sysdeps/pthread/timer_create.c: ... here.
16392 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16393 * sysdeps/pthread/timer_delete.c: ... here.
16394 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16395 * sysdeps/pthread/timer_getoverr.c: ... here.
16396 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16397 * sysdeps/pthread/timer_gettime.c: ... here.
16398 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16399 * sysdeps/pthread/timer_routines.c: ... here.
16400 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16401 * sysdeps/pthread/timer_settime.c: ... here.
16402 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16403 * sysdeps/pthread/tst-timer.c: ... here.
16404 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16405 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16407 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16408 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16410 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16411 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16412 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16413 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16414 Update #include target.
16415 * nptl/sysdeps/i386/i686/Makefile: Moved ...
16416 * sysdeps/i386/i686/nptl/Makefile: ... here.
16417 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16418 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16419 Update #include target.
16420 * nptl/sysdeps/i386/i686/tls.h: Moved ...
16421 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
16422 * nptl/sysdeps/i386/Makefile: Moved ...
16423 * sysdeps/i386/nptl/Makefile: ... here.
16424 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16425 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16426 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16427 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16428 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16429 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16430 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16431 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16432 * sysdeps/i386/nptl/pthreaddef.h: ... here.
16433 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16434 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16435 * nptl/sysdeps/i386/tls.h: Moved ...
16436 * sysdeps/i386/nptl/tls.h: ... here.
16438 * sysdeps/sh/Makefile [$(subdir) = csu]
16439 (gen-as-const-headers): Add tcb-offsets.sym.
16440 * nptl/sysdeps/sh/Makefile: File removed.
16441 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16442 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16443 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16444 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16445 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16446 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16447 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16448 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16449 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16450 * sysdeps/sh/nptl/pthreaddef.h: ... here.
16451 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16452 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16453 * nptl/sysdeps/sh/tls.h: Moved ...
16454 * sysdeps/sh/nptl/tls.h: ... here.
16455 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16456 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16457 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16458 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16459 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16460 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16461 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16462 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16463 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16464 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16465 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16466 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16467 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16468 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16469 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16470 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16471 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16472 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16473 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16474 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16475 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16476 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16477 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16478 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16479 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16481 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16482 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16484 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16485 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16486 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16487 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16488 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16489 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16490 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16491 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16492 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16493 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16494 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16495 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16496 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16497 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16498 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16499 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16500 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16501 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16502 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16504 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16506 * posix/spawn_faction_addopen.c: Include string.h.
16508 2014-06-11 Roland McGrath <roland@hack.frob.com>
16510 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16511 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16512 * nptl/sysdeps/x86_64/Makefile: Moved ...
16513 * sysdeps/x86_64/nptl/Makefile: ... here.
16514 * nptl/sysdeps/x86_64/configure: Moved ...
16515 * sysdeps/x86_64/nptl/configure: ... here.
16516 * nptl/sysdeps/x86_64/configure.ac: Moved ...
16517 * sysdeps/x86_64/nptl/configure.ac: ... here.
16518 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16519 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16520 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16521 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16522 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16523 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16524 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16525 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16526 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16527 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16528 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16529 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16530 * nptl/sysdeps/x86_64/tls.h: Moved ...
16531 * sysdeps/x86_64/nptl/tls.h: ... here.
16532 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16533 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16534 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16535 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16537 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16539 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16543 2014-06-11 Joseph Myers <joseph@codesourcery.com>
16545 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16547 [POSIX] (off_t): Likewise.
16548 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16549 [POSIX] (S_ISBLK): Require macro.
16550 [POSIX] (S_ISCHR): Likewise.
16551 [POSIX] (S_ISDIR): Likewise.
16552 [POSIX] (S_ISFIFO): Likewise.
16553 [POSIX] (S_ISREG): Likewise.
16554 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16556 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16558 [POSIX] (time_t): Likewise.
16559 [POSIX] (timer_t): Likewise.
16561 2014-06-11 Florian Weimer <fweimer@redhat.com>
16564 * posix/spawn_int.h (struct __spawn_action): Make the path string
16565 non-const to support deallocation.
16566 * posix/spawn_faction_addopen.c
16567 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16568 * posix/spawn_faction_destroy.c
16569 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
16570 path in all spawn_do_open actions.
16571 * posix/tst-spawn.c (do_test): Exercise the copy operation in
16572 posix_spawn_file_actions_addopen.
16574 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
16576 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16577 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16578 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16579 conditional code always true.
16580 (__libc_vfork): New alias.
16582 2014-06-11 Roland McGrath <roland@hack.frob.com>
16584 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16585 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16587 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16589 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16590 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16592 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16593 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16595 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16596 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16598 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16600 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16601 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16602 multiarch strcmp for PPC64.
16603 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16604 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16606 multiarch optimizations.
16607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16608 (__libc_ifunc_impl_list): Likewise.
16610 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16612 * benchtests/scripts/validate_benchout.py: New script.
16613 * benchtests/Makefile (bench-func): Call it.
16614 * benchtests/scripts/benchout.schema.json: New file.
16616 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
16618 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16619 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16620 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16621 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16622 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16623 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16624 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16625 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16626 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16627 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16628 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16629 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16630 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16631 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16632 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16633 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16737 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16738 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16739 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16740 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16741 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16743 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16745 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16746 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16747 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16748 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16749 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16750 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16751 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16752 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16753 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16754 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16755 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16756 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16757 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16759 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16760 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16762 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16763 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16764 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16765 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16767 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16768 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16769 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16770 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16771 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16772 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16773 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16775 2014-06-10 Wilco <wdijkstr@arm.com>
16777 * math/test-fenv-return.c: New file.
16778 * math/Makefile: Add new test test-fenv-return.
16780 2014-06-10 Joseph Myers <joseph@codesourcery.com>
16783 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16784 when x - 1 is zero.
16785 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16786 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16787 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16788 0.0L for an argument of 1.0L.
16789 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16791 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16792 value when x - 1 is zero.
16793 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16794 * sysdeps/i386/fpu/libm-test-ulps: Update.
16795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16797 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
16800 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16802 2014-06-09 Roland McGrath <roland@hack.frob.com>
16804 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16805 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16807 2014-06-09 Roland McGrath <roland@hack.frob.com>
16809 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16810 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16812 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16813 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16815 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16816 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16818 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16819 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16821 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16822 if not already defined.
16823 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16824 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16825 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16826 (TLS_INIT_TP): Use it.
16827 (TLS_DEFINE_INIT_TP): New macro.
16828 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16830 2014-06-09 Joseph Myers <joseph@codesourcery.com>
16832 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16834 [POSIX] (IXANY): Likewise.
16835 [POSIX] (OLCUC): Likewise.
16836 [POSIX || POSIX2008] (CBAUD): Do not allow.
16837 [POSIX || POSIX2008] (DEFECHO): Likewise.
16838 [POSIX || POSIX2008] (ECHOCTL): Likewise.
16839 [POSIX || POSIX2008] (ECHOKE): Likewise.
16840 [POSIX || POSIX2008] (ECHOPRT): Likewise.
16841 [POSIX || POSIX2008] (EXTA): Likewise.
16842 [POSIX || POSIX2008] (EXTB): Likewise.
16843 [POSIX || POSIX2008] (FLUSHO): Likewise.
16844 [POSIX || POSIX2008] (LOBLK): Likewise.
16845 [POSIX || POSIX2008] (PENDIN): Likewise.
16846 [POSIX || POSIX2008] (SWTCH): Likewise.
16847 [POSIX || POSIX2008] (VDISCARD): Likewise.
16848 [POSIX || POSIX2008] (VDSUSP): Likewise.
16849 [POSIX || POSIX2008] (VLNEXT): Likewise.
16850 [POSIX || POSIX2008] (VREPRINT): Likewise.
16851 [POSIX || POSIX2008] (VSTATUS): Likewise.
16852 [POSIX || POSIX2008] (VWERASE): Likewise.
16853 (B*): Change to B[0123456789]*.
16854 * conform/data/time.h-data [POSIX || UNIX98]
16855 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16856 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16857 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16858 [POSIX] (tm_*): Do not allow.
16860 2014-06-07 Joseph Myers <joseph@codesourcery.com>
16862 * Makefile (install): Don't set LANGUAGE.
16863 * Makefile.in (install): Likewise.
16864 * assert/Makefile (test-assert-ENV): Remove variable.
16865 (test-assert-perr-ENV): Likewise.
16866 * elf/Makefile (neededtest4-ENV): Likewise.
16867 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16868 [$(cross-compiling) = no]: Don't set LANGUAGE.
16869 * io/ftwtest-sh (LANG): Remove variable.
16870 * libio/Makefile (tst-widetext-ENV): Likewise.
16871 * manual/install.texi (Running make install): Don't refer to
16872 environment settings for make install.
16873 * INSTALL: Regenerated.
16874 * nptl/tst-tls6.sh: Don't set LANG.
16875 * posix/globtest.sh (LANG): Remove variable.
16876 * string/Makefile (tester-ENV): Likewise.
16877 (inl-tester-ENV): Likewise.
16878 (noinl-tester-ENV): Likewise.
16879 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16880 [$(cross-compiling) = no]: Don't set LANGUAGE.
16881 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16882 without explicit environment settings.
16884 2014-06-06 Roland McGrath <roland@hack.frob.com>
16886 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16887 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16888 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16889 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16891 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
16893 * crypt/crypt-private.h [DOS]: Add some includes taken from the
16894 other files in the crypt directory.
16895 * crypt/crypt.c: Remove duplicate includes.
16896 * crypt/crypt-entry.c: Likewise.
16897 * crypt/crypt_util.c: Likewise.
16899 2014-06-06 Joseph Myers <joseph@codesourcery.com>
16901 * Makeconfig (run-program-env): New variable.
16902 (run-program-prefix-before-env): Likewise.
16903 (run-program-prefix-after-env): Likewise.
16904 (run-program-prefix): Define in terms of new variables.
16905 (built-program-cmd-before-env): New variable.
16906 (built-program-cmd-after-env): Likewise.
16907 (built-program-cmd): Define in terms of new variables.
16908 (test-program-prefix-before-env): New variable.
16909 (test-program-prefix-after-env): Likewise.
16910 (test-program-prefix): Define in terms of new variables.
16911 (test-program-cmd-before-env): New variable.
16912 (test-program-cmd-after-env): Likewise.
16913 (test-program-cmd): Define in terms of new variables.
16914 * Rules (make-test-out): Use $(run-program-env).
16915 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16916 (help): Do not mention environment variables. Mention
16917 --timeoutfactor option.
16918 (timeoutfactor): New variable.
16919 (blacklist_exports): Remove function.
16920 (exports): Remove variable.
16921 (command): Do not include ${exports}.
16922 * manual/install.texi (Configuring and compiling): Do not mention
16923 test wrappers preserving environment variables. Mention that last
16924 assignment to a variable must take precedence.
16925 * INSTALL: Regenerated.
16926 * benchtests/Makefile (run-bench): Use $(run-program-env).
16927 * catgets/Makefile ($(objpfx)test1.cat): Use
16928 $(built-program-cmd-before-env), $(run-program-env) and
16929 $(built-program-cmd-after-env).
16930 ($(objpfx)test2.cat): Do not specify environment variables
16932 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16933 $(run-program-env) and $(built-program-cmd-after-env).
16934 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16935 $(run-program-env) and $(test-program-cmd-after-env).
16936 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16938 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16939 run_program_env and test_program_cmd_after_env arguments.
16940 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16941 * elf/tst-pathopt.sh: Use run_program_env argument.
16942 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16943 $(test-wrapper-env) and $(run-program-env).
16944 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16945 run_program_env arguments.
16946 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16947 * intl/Makefile ($(objpfx)tst-gettext.out): Use
16948 $(test-program-prefix-before-env), $(run-program-env) and
16949 $(test-program-prefix-after-env).
16950 ($(objpfx)tst-gettext2.out): Likewise.
16951 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16952 run_program_env and test_program_prefix_after_env arguments.
16953 * intl/tst-gettext2.sh: Likewise.
16954 * intl/tst-gettext4.sh: Do not set environment variables
16956 * intl/tst-gettext6.sh: Likewise.
16957 * intl/tst-translit.sh: Likewise.
16958 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16959 $(test-program-prefix-before-env), $(run-program-env) and
16960 $(test-program-prefix-after-env).
16961 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16962 run_program_env and test_program_prefix_after_env arguments.
16963 * math/Makefile (run-regen-ulps): Use $(run-program-env).
16964 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16965 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
16966 explicitly with each use of ${test_wrapper_env}.
16967 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16968 $(test-program-prefix-before-env), $(run-program-env) and
16969 $(test-program-prefix-after-env).
16970 * posix/tst-getconf.sh: Do not set environment variables
16972 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16973 run_program_env and test_program_prefix_after_env arguments.
16974 * stdio-common/tst-printf.sh: Do not set environment variables
16976 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16977 $(test-program-prefix-before-env), $(run-program-env) and
16978 $(test-program-prefix-after-env).
16979 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16980 run_program_env and test_program_prefix_after_env arguments.
16981 Split $test calls into $test_pre and $test.
16982 * timezone/Makefile (build-testdata): Use
16983 $(built-program-cmd-before-env), $(run-program-env) and
16984 $(built-program-cmd-after-env).
16986 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16988 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16989 strlen for non SHARED builds.
16991 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16993 * nptl/allocatestack.c (check_list): Inlined function...
16994 (__reclaim_stacks): ... here.
16996 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16999 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17002 2014-06-05 Joseph Myers <joseph@codesourcery.com>
17004 * Rules (make-test-out): Include
17005 LOCPATH=$(common-objpfx)localedata in default environment.
17006 * debug/Makefile (tst-chk1-ENV): Remove variable.
17007 (tst-chk2-ENV): Likewise.
17008 (tst-chk3-ENV): Likewise.
17009 (tst-chk4-ENV): Likewise.
17010 (tst-chk5-ENV): Likewise.
17011 (tst-chk6-ENV): Likewise.
17012 (tst-lfschk1-ENV): Likewise.
17013 (tst-lfschk2-ENV): Likewise.
17014 (tst-lfschk3-ENV): Likewise.
17015 (tst-lfschk4-ENV): Likewise.
17016 (tst-lfschk5-ENV): Likewise.
17017 (tst-lfschk6-ENV): Likewise.
17018 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17019 (tst-iconv7-ENV): Likewise.
17020 * intl/Makefile (LOCPATH-ENV): Likewise.
17021 (tst-codeset-ENV): Likewise.
17022 (tst-gettext3-ENV): Likewise.
17023 (tst-gettext5-ENV): Likewise.
17024 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17025 (tst-fopenloc-ENV): Likewise.
17026 (tst-fgetws-ENV): Remove variable.
17027 (tst-ungetwc1-ENV): Likewise.
17028 (tst-ungetwc2-ENV): Likewise.
17029 (bug-ungetwc2-ENV): Likewise.
17030 (tst-swscanf-ENV): Likewise.
17031 (bug-ftell-ENV): Likewise.
17032 (tst-fgetwc-ENV): Likewise.
17033 (tst-fseek-ENV): Likewise.
17034 (tst-ftell-partial-wide-ENV): Likewise.
17035 (tst-ftell-active-handler-ENV): Likewise.
17036 (tst-ftell-append-ENV): Likewise.
17037 * posix/Makefile (tst-fnmatch-ENV): Likewise.
17038 (tst-regexloc-ENV): Likewise.
17039 (bug-regex1-ENV): Likewise.
17040 (tst-regex-ENV): Likewise.
17041 (tst-regex2-ENV): Likewise.
17042 (bug-regex5-ENV): Likewise.
17043 (bug-regex6-ENV): Likewise.
17044 (bug-regex17-ENV): Likewise.
17045 (bug-regex18-ENV): Likewise.
17046 (bug-regex19-ENV): Likewise.
17047 (bug-regex20-ENV): Likewise.
17048 (bug-regex22-ENV): Likewise.
17049 (bug-regex23-ENV): Likewise.
17050 (bug-regex25-ENV): Likewise.
17051 (bug-regex26-ENV): Likewise.
17052 (bug-regex30-ENV): Likewise.
17053 (bug-regex32-ENV): Likewise.
17054 (bug-regex33-ENV): Likewise.
17055 (bug-regex34-ENV): Likewise.
17056 (bug-regex35-ENV): Likewise.
17057 (tst-rxspencer-ENV): Likewise.
17058 (tst-rxspencer-no-utf8-ENV): Likewise.
17059 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17060 (tst-sscanf-ENV): Likewise.
17061 (tst-swprintf-ENV): Likewise.
17062 (tst-swscanf-ENV): Likewise.
17063 (test-vfprintf-ENV): Likewise.
17064 (scanf13-ENV): Likewise.
17065 (bug14-ENV): Likewise.
17066 (tst-grouping-ENV): Likewise.
17067 * stdlib/Makefile (tst-strtod-ENV): Likewise.
17068 (tst-strtod3-ENV): Likewise.
17069 (tst-strtod4-ENV): Likewise.
17070 (tst-strtod5-ENV): Likewise.
17071 (testmb2-ENV): Likewise./
17072 * string/Makefile (tst-strxfrm-ENV): Likewise.
17073 (tst-strxfrm2-ENV): Likewise.
17074 (bug-strcoll1-ENV): Likewise.
17075 (test-strcasecmp-ENV): Likewise.
17076 (test-strncasecmp-ENV): Likewise.
17077 * time/Makefile (tst-strptime-ENV): Likewise.
17078 (tst-ftime_l-ENV): Likewise.
17079 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17080 (tst-mbrtowc-ENV): Likewise.
17081 (tst-wcrtomb-ENV): Likewise.
17082 (tst-mbrtowc2-ENV): Likewise.
17083 (tst-c16c32-1-ENV): Likewise.
17084 (tst-mbsnrtowcs-ENV): Likewise.
17086 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17088 * manual/resource.texi (How to get information about the memory
17089 subsystem?): Fix typo.
17090 Reported by Peon de la Parra Ivan <peon@keba.com>
17092 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
17095 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17096 (pthread_spin_lock): Branch out of spin loop to proper location.
17097 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17098 (pthread_spin_lock): Likewise.
17100 * nptl/tst-spin4.c: New test.
17101 * nptl/Makefile (tests): Add tst-spin4.
17103 2014-06-03 Andreas Schwab <schwab@suse.de>
17106 * resolv/res_send.c (send_dg): Reload file descriptor after
17109 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
17111 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17113 2014-06-03 Richard Henderson <rth@redhat.com>
17115 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17116 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17117 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17118 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
17119 in the SAVE_PID block.
17120 (__libc_vfork): New alias.
17121 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17123 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17124 child in registers, not on the stack. Remove RESET_PID conditionals.
17125 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17127 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
17129 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17131 2014-06-03 Wilco <wdijkstr@arm.com>
17133 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17134 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17135 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17136 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17137 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17140 2014-06-03 Wilco <wdijkstr@arm.com>
17142 * sysdeps/aarch64/fpu/math_private.h
17143 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17144 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17145 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17146 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17149 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17151 * crypt/crypt-private.h: Include ufc-crypt.h.
17152 (__b64_from_24bit): Declare extern.
17153 * crypt/crypt_util.c(__b64_from_24bit): New function.
17154 (b64t): New static const variable.
17155 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17156 (b64t): Remove variable.
17157 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17158 * crypt/sha256-crypt.c: Include crypt-private.h.
17159 (b64t): Remove variable.
17160 (__sha256_crypt_r): Remove b64_from_24bit and replace
17161 with __b64_from_24bit.
17162 * crypt/sha512-crypt.c: Likewise.
17164 2014-06-02 Roland McGrath <roland@hack.frob.com>
17166 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17167 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17168 Label the code __libc_vfork rather than __vfork.
17169 [!NOT_IN_libc] (vfork): Define as weak alias.
17170 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17171 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17172 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17174 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17176 * malloc/malloc.c (malloc_info): Fix format specifier for
17179 2014-06-02 Wilco <wdijkstr@arm.com>
17181 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17184 2014-06-02 Wilco <wdijkstr@arm.com>
17187 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17188 Rewrite to reduce FPCR/FPSR accesses.
17190 2014-06-01 David S. Miller <davem@davemloft.net>
17192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17194 2014-05-31 David S. Miller <davem@davemloft.net>
17196 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17197 to occur in round to nearest mode when |x| >= 2.0
17199 2014-05-30 Richard Henderson <rth@twiddle.net>
17201 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17202 (PSEUDO_RET_NOERRNO): Remove.
17203 (ret): Don't redefine.
17204 (ret_NOERRNO): Define in terms of ret.
17205 (ret_ERRVAL): Likewise.
17207 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17208 use of PSEUDO_RET; perform the error check directly.
17210 2014-05-30 Marko Myllynen <myllynen@redhat.com>
17212 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17215 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17217 * malloc/malloc (malloc_info): Fix formatting.
17219 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17220 Roland McGrath <roland@hack.frob.com>
17222 * malloc/malloc (malloc_info): Also print mmapped statistics.
17224 2014-05-30 Roland McGrath <roland@hack.frob.com>
17226 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17227 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17229 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
17231 * malloc/malloc.c (malloc_info): Inline mi_arena.
17233 2014-05-29 Richard Henderson <rth@twiddle.net>
17235 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17236 Remove comma before expanding ASM_ARGS_##nr.
17237 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17238 Make _x0 a strict output; make _x8 a strict input; adjust expansion
17240 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17241 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17242 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17243 (ASM_ARGS_1): Add leading comma.
17245 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17246 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17247 to __errno_location.
17248 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17249 Remove the expected plt for __errno_location.
17251 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17252 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17255 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17256 Always allocate 64 bytes of stack frame. Use ldp/stp to create
17257 it and break it down.
17258 (DOCARGS_0, DOCARGS_1): Do nothing.
17259 (DOCARGS_2): Update to store into the new stack frame.
17260 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17261 (UNDOCARGS_1): Update to restore from the new stack frame.
17262 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17263 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17265 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17266 (SINGLE_THREAD_P): New parameter for result regno.
17267 (PSEUDO): Update to match; use cbz instead of beq.
17269 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17270 Use ENTRY to define the _nocancel entry point. Share the syscall
17271 and syscall error check paths with the cancel path.
17274 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17275 whitespace; tabs before and after asm mnemonics.
17277 2014-05-29 Eric Wong <normalperson@yhbt.net>
17280 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17281 Call fstat64 or stat64 internally, depending on arguments passed.
17282 Replace stat buffer argument with file descriptor argument.
17283 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17284 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17285 Pass fd to __internal_statvfs instead of calling fstat64.
17286 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17287 Pass fd to __internal_statvfs64 instead of calling fstat64.
17288 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17289 Pass -1 to __internal_statvfs instead of calling stat64.
17290 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17291 Pass -1 to __internal_statvfs64 instead of calling stat64.
17293 2014-05-28 Roland McGrath <roland@hack.frob.com>
17295 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17296 that was previously under [RESET_PID].
17297 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17299 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17300 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17302 2014-05-27 Roland McGrath <roland@hack.frob.com>
17304 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17306 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17307 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17309 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
17311 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17313 2014-05-27 Andreas Schwab <schwab@suse.de>
17315 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17317 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17318 * elf/rtld.c (init_tls, dl_main): Likewise.
17319 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17320 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17321 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17322 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17323 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17324 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17325 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17326 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17327 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17328 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17329 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17330 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17331 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17332 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17333 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17334 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17335 * sysdeps/generic/tls.h: Update description.
17337 2014-05-27 Will Newton <will.newton@linaro.org>
17340 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17341 and restore r2 rather than just restoring.
17343 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17346 * libio/tst-ftell-append.c: New test case.
17347 * libio/Makefile (tests): Add test case.
17348 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17350 * libio/wfileops.c (do_ftell_wide): Likewise.
17352 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17356 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17360 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17361 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17362 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17363 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17364 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17365 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17366 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17369 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17372 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17373 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17374 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17375 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17376 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17378 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17379 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17381 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17383 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17385 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17386 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17387 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17389 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17390 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17391 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17392 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17394 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17397 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17400 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17403 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17407 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17410 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17415 conditional [RESET_PID].
17416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17417 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17419 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17424 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17425 (__libc_vfork): New strong alias.
17426 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17428 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17433 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17434 (__libc_vfork): New strong alias.
17435 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17437 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17440 2014-05-26 Carlos O'Donell <carlos@redhat.com>
17442 * malloc/malloc.c (mi_arena): New function.
17443 (malloc_info): Remove nested function mi_arena. Call non-nosted
17446 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17448 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17450 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17451 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17452 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17453 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17454 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17455 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17456 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17458 2014-05-26 Andreas Schwab <schwab@suse.de>
17461 * locale/programs/repertoire.c (repertoire_read): Add slash
17462 between I18NPATH element and file name.
17463 * locale/programs/locfile.c (locfile_read): Likewise.
17465 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17467 * nptl/pthread_mutexattr_settype.c
17468 (__pthread_mutexattr_settype):
17469 Disable lock elision for PTHREAD_MUTEX_NORMAL.
17471 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17473 * nptl/tst-mutex5 (do_test):
17474 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17476 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17478 * benchtests/README: Document 'init' directive.
17479 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17481 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17482 (parse_file): Recognize 'init' directive.
17484 2014-05-26 Kyle McMartin <kyle@redhat.com>
17487 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17488 alignment of struct pthread.
17490 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17493 * nscd/netgroupcache.c (addgetnetgrentX): Look for
17494 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17495 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17496 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17498 2014-05-25 Richard Henderson <rth@twiddle.net>
17500 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17501 (SINGLE_THREAD_P_PIC): Remove.
17502 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17503 (SINGLE_THREAD_P_PIC): Remove.
17505 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17506 branch to syscall error ...
17507 (PSEUDO): ... here.
17508 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17509 from __local_syscall_error to .Lsyscall_error.
17510 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17511 (SYSCALL_ERROR): Update label name.
17513 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17514 Do not use DOARGS/UNDOARGS.
17515 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17516 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17517 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17518 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17519 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17521 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17524 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17525 define if !NOT_IN_libc.
17526 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17527 define with non-default symbol versions.
17529 2014-05-23 Richard Henderson <rth@twiddle.net>
17531 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17532 (vfork, __vfork): Define via compat_symbol.
17534 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17535 [!HAVE_IFUNC] (vfork_compat): Remove.
17536 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17538 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17541 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17542 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17545 2014-05-23 Richard Henderson <rth@twiddle.net>
17547 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17548 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17549 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17550 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17552 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17553 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17554 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17555 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17556 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17557 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17558 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17559 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17560 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17561 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17562 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17563 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17564 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17565 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17566 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17567 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17568 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17569 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17570 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17571 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17572 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17573 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17574 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17575 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17576 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17577 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17578 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17579 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17580 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17581 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17582 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17583 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17584 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17585 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17586 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17587 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17588 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17589 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17590 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17591 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17592 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17593 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17594 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17595 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17596 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17597 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17598 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17599 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17600 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17601 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17602 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17603 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17604 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17605 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17606 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17607 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17609 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17610 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17611 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
17612 before exiting on error.
17613 (__libc_vfork): New strong alias.
17614 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17615 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17617 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17618 that was previously under [RESET_PID].
17619 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17621 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17623 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17626 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17627 value when x - 1 is zero.
17628 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17629 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17630 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17631 0.0L for an argument of 1.0L.
17632 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17634 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17635 value when x - 1 is zero.
17636 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17637 * sysdeps/i386/fpu/libm-test-ulps: Update.
17638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17640 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
17642 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17643 alphasort and versionsort.
17645 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17647 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17649 [copysignf]: Likewise.
17651 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17653 * crypt/md5-crypt.c: Fix formatting.
17655 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17657 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17658 (b64_from_24bit): New function.
17660 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17662 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17663 libc_hidden_builtin_def to ifunc.
17664 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17665 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17667 2014-05-21 Roland McGrath <roland@hack.frob.com>
17669 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17670 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17672 2014-05-21 Joseph Myers <joseph@codesourcery.com>
17674 * nscd/Depend (linuxthreads): Remove.
17676 * resolv/Depend (linuxthreads): Remove.
17677 * rt/Depend (linuxthreads): Remove.
17679 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17680 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17681 $(common-objpfx)elf/.
17682 (link-libc-before-gnulib): Likewise.
17683 (elfobjdir): Remove variable.
17684 * Makefile (install): Use $(elf-objpfx) instead of
17685 $(common-objpfx)elf/.
17686 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17688 (link-libc-deps): Likewise.
17689 ($(common-objpfx)libc.so): Likewise.
17690 ($(common-objpfx)linkobj/libc.so): Likewise.
17691 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17692 instead of $(common-objpfx)elf/.
17693 (symbolic-link-list): Likewise.
17694 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17695 [$(cross-compiling) = no]: Likewise.
17696 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17698 (static-gnulib-arch): Likewise.
17699 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17700 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17701 $(common-objpfx)elf/.
17703 2014-05-21 Richard Henderson <rth@redhat.com>
17705 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17706 (SINGLE_THREAD_P): Use the correct width load. Fold
17707 into the ldr offset.
17709 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17710 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17712 2014-05-20 Joseph Myers <joseph@codesourcery.com>
17714 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17715 (libgcc_s_resume): Use __attribute_used__.
17716 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17719 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17721 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17722 optimization when used with float constants.
17724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17726 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
17729 * locale/nl_langinfo_l.c: Make direct reference to every
17730 _nl_current_CATEGORY symbol.
17731 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17732 (tests-static): Add tst-langinfo-static.
17733 (tests-special): Add tst-langinfo-static.out.
17734 ($(objpfx)tst-langinfo.out): Redirect output.
17735 ($(objpfx)tst-langinfo-static.out): New.
17736 * localedata/tst-langinfo.sh: Send output to stdout.
17737 * localedata/tst-langinfo-static.c: New file.
17740 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17741 when the shift amount is modulo the limb size.
17743 2014-05-20 Richard Henderson <rth@redhat.com>
17746 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17747 Change type of sa_flags from unsigned int to int.
17750 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17752 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17754 2014-05-20 Will Newton <will.newton@linaro.org>
17756 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17757 Test the return value of the system call in the nocancel case.
17759 2014-05-20 Will Newton <will.newton@linaro.org>
17760 Yvan Roux <yvan.roux@linaro.org>
17762 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17763 #include of asm/ptrace.h.
17764 (PTRACE_GET_THREAD_AREA): Remove #undef.
17765 (PTRACE_GETHBPREGS): Likewise.
17766 (PTRACE_SETHBPREGS): Likewise.
17767 (struct user_regs_struct): New structure.
17768 (struct user_fpsimd_struct): New structure.
17769 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17770 #include of asm/ptrace.h and second #include of sys/user.h.
17771 (PTRACE_GET_THREAD_AREA): Remove #undef.
17772 (PTRACE_GETHBPREGS): Likewise.
17773 (PTRACE_SETHBPREGS): Likewise.
17774 (ELF_NGREG): Use new struct user_regs_struct.
17775 (elf_fpregset_t): Use new struct user_fpsimd_struct.
17777 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17779 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17780 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17782 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17785 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17786 membar to avoid block loads/stores to overlap previous stores.
17788 2014-05-17 Richard Henderson <rth@redhat.com>
17790 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17791 Create the __##syscall_name##_nocancel entry point.
17792 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17793 Remove; let the sysdep-cancel.h code create it.
17795 2014-05-17 David S. Miller <davem@davemloft.net>
17797 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17798 Protect with __USE_GNU.
17799 (TIOCSET_TEMPT): Likewise.
17800 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17801 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17802 these are already provided in bits/ioctl-types.h
17804 2014-05-16 Roland McGrath <roland@hack.frob.com>
17806 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17807 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17809 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17810 Use wait4 regardless of [__NR_waitpid].
17812 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17815 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17816 (_FP_NANSIGN_Q): Set the quiet bit.
17818 2014-05-16 Joseph Myers <joseph@codesourcery.com>
17820 * benchtests/Makefile
17821 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17822 not $(common-objpfx)math/libm.so.
17823 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17824 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17825 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17826 $(common-objpfx)dlfcn/libdl.so.
17827 ($(objpfx)tst-audit8): Depend on $(libm), not
17828 $(common-objpfx)math/libm.so.
17829 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17830 not $(common-objpfx)dlfcn/libdl.so.
17832 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17833 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
17834 [$(build-shared) = yes].
17835 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17836 $(common-objpfx)nptl/libpthread.so.
17837 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17838 $(common-objpfx)math/libm.so$(libm.so-version) or
17839 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17840 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17841 $(common-objpfx)dlfcn/libdl.so.
17842 * setjmp/Makefile (link-libm): Remove variable.
17843 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17844 * stdio-common/Makefile (link-libm): Remove variable.
17845 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17846 * stdlib/Makefile (link-libm): Remove variable.
17847 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17848 ($(objpfx)tst-strtod-round): Likewise.
17849 ($(objpfx)tst-tininess): Likewise.
17850 ($(objpfx)tst-strtod-underflow): Likewise.
17851 ($(objpfx)tst-strtod6): Likewise.
17852 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17853 $(libdl), not $(common-objpfx)nptl/libpthread.so and
17854 $(common-objpfx)dlfcn/libdl.so.
17856 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17858 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17859 BSD terminal modes definitions.
17861 2014-05-16 Roland McGrath <roland@hack.frob.com>
17863 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17864 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17866 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17867 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17868 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17869 Don't do #include_next.
17870 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17871 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17872 Don't do #include_next.
17873 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17874 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17875 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17876 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17878 2014-05-16 Allan McRae <allan@archlinux.org>
17880 * po/sv.po: Update Swedish translation from translation project.
17882 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17885 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
17888 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17889 errno if the TIOCGPTN ioctl fails with an error different than
17891 * login/tst-ptsname.c: New file.
17892 * login/Makefile (tests): Add tst-ptsname.
17895 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17898 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17902 herrno to return EAI_AGAIN.
17904 2014-05-14 Roland McGrath <roland@hack.frob.com>
17906 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17907 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17908 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17909 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17910 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17911 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17912 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17913 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17914 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17915 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17916 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17917 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17918 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17919 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17920 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17921 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17922 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17923 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17924 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17925 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17926 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17927 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17928 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17929 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17930 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17931 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17932 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17933 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17934 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17935 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17937 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17939 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17942 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17944 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17946 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17948 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17950 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17952 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17954 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17956 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17958 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17960 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17962 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17964 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17966 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17968 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17971 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17973 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17975 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17977 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17979 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17981 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17983 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17985 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17987 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17989 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17992 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17994 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17996 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17997 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17998 (libpthread-sysdep_routines): Add elision-related stuff here instead.
17999 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18000 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18001 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18002 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18003 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18004 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18005 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18006 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18007 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18008 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18009 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18010 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18011 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18012 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18013 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18014 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18015 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18016 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18017 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18018 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18019 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18020 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18021 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18022 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18023 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18024 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18025 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18026 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18028 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18029 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18031 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18032 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18033 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18034 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18035 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18036 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18038 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18039 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18041 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18042 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18044 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18045 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18047 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18048 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18049 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18050 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18052 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18053 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18054 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18055 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18056 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18057 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18058 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18059 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18061 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18062 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18064 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18066 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18067 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18068 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18069 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18070 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18072 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18074 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18076 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18077 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18078 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18079 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18080 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18081 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18083 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18084 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18086 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18087 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18089 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18090 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18092 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18093 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18094 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18095 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18097 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18098 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18099 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18100 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18101 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18102 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18103 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18104 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18106 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18107 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18109 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18111 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18112 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18113 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18114 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18115 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18117 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18119 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18121 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18122 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18123 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18124 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18125 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18126 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18127 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18128 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18129 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18130 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18132 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18133 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18135 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18136 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18138 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18139 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18141 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18142 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18143 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18144 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18145 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18146 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18148 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18149 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18150 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18151 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18152 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18153 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18154 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18155 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18157 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18158 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18160 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18162 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18163 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18164 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18165 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18166 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18168 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18170 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18172 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18173 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18174 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18175 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18176 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18177 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18178 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18179 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18180 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18181 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18182 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18184 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18185 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18187 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18188 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18190 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18191 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18192 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18193 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18194 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18195 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18196 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18197 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18198 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18199 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18200 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18201 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18202 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18203 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18204 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18205 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18206 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18207 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18209 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18210 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18211 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18212 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18214 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18215 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18216 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18217 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18218 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18219 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18220 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18221 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18223 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18224 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18226 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18227 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18228 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18229 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18230 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18231 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18232 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18233 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18234 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18235 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18236 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18237 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18238 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18239 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18240 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18241 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18242 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18244 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18245 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18246 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18247 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18248 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18250 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18251 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18252 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18253 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18254 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18255 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18256 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18257 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18258 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18259 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18261 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18262 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18264 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18265 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18266 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18267 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18268 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18269 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18270 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18271 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18272 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18273 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18274 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18275 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18276 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18277 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18280 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18282 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18286 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18288 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18290 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18292 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18294 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18296 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18298 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18299 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18300 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18301 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18302 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18303 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18304 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18305 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18306 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18307 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18308 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18309 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18310 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18311 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
18312 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
18314 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18315 that was previously under [RESET_PID].
18316 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18317 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18318 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18320 * sysdeps/i386/nptl/Implies: New file.
18321 * sysdeps/x86_64/nptl/Implies: New file.
18322 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18323 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18324 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18325 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18327 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18328 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18329 (__libc_vfork): New strong alias.
18330 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18331 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18333 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18334 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18335 (__libc_vfork): New strong alias.
18336 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18337 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18339 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18340 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18341 (__libc_vfork): New strong alias.
18342 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18343 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18344 * nptl/pt-vfork.c: New file.
18345 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18346 (libpthread: GLIBC_2.20): New version set (empty).
18348 2014-05-14 Will Newton <will.newton@linaro.org>
18350 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18353 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18356 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18357 arguments with exponent 65 or above.
18358 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18359 arguments 0x1p113L or above.
18360 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18361 to arguments 0x1p107L or above.
18362 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18363 positive arguments with exponent 65 or above.
18364 * math/auto-libm-test-in: Add more tests of log1p.
18365 * math/auto-libm-test-out: Regenerated.
18368 * math/s_cacos.c (__cacos): Ensure zero real part of result from
18369 non-finite arguments is +0.
18370 * math/s_cacosf.c (__cacosf): Likewise.
18371 * math/s_cacosl.c (__cacosl): Likewise.
18372 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18373 * sysdeps/i386/fpu/libm-test-ulps: Update.
18374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18377 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18379 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18380 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18381 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18382 for explicit high bit of mantissa when testing for argument equal
18384 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18385 * sysdeps/i386/fpu/libm-test-ulps: Update.
18386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18389 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18390 (__erf): Scale by 16 instead of 8 in potentially underflowing
18391 case. Ensure exception if result actually underflows.
18392 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18393 (__erff): Scale by 16 instead of 8 in potentially underflowing
18394 case. Ensure exception if result actually underflows.
18395 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18396 (efx8): Remove variable.
18397 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18398 case. Ensure exception if result actually underflows.
18399 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18400 (efx8): Remove variable.
18401 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18402 case. Ensure exception if result actually underflows.
18403 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18404 (efx8): Remove variable.
18405 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18406 case. Ensure exception if result actually underflows.
18407 * math/auto-libm-test-in: Add more tests of erf.
18408 * math/auto-libm-test-out: Regenerated.
18410 2014-05-14 Andreas Schwab <schwab@suse.de>
18412 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18413 Remove code conditionalized on USE___THREAD.
18415 * config.h.in (HAVE_PT_CHOWN): Define as 0.
18416 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18419 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18421 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18422 Define unconditionally.
18423 (__ASSUME_O_CLOEXEC): Likewise.
18424 (__ASSUME_SOCK_CLOEXEC): Likewise.
18425 (__ASSUME_IN_NONBLOCK): Likewise.
18426 (__ASSUME_PIPE2): Likewise.
18427 (__ASSUME_EVENTFD2): Likewise.
18428 (__ASSUME_SIGNALFD4): Likewise.
18429 (__ASSUME_DUP3): Likewise.
18430 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18431 (__ASSUME_DUP3): Do not define.
18432 (__ASSUME_EVENTFD2): Likewise.
18433 (__ASSUME_IN_NONBLOCK): Likewise.
18434 (__ASSUME_O_CLOEXEC): Likewise.
18435 (__ASSUME_PIPE2): Likewise.
18436 (__ASSUME_SIGNALFD4): Likewise.
18437 (__ASSUME_SOCK_CLOEXEC): Likewise.
18438 (__ASSUME_UTIMES): Undefine.
18439 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18440 (__ASSUME_UTIMES): Do not define.
18441 (__ASSUME_O_CLOEXEC): Likewise.
18442 (__ASSUME_SOCK_CLOEXEC): Likewise.
18443 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18444 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18446 (__ASSUME_PIPE2): Likewise.
18447 (__ASSUME_EVENTFD2): Likewise.
18448 (__ASSUME_SIGNALFD4): Likewise.
18449 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18450 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18452 (__ASSUME_EVENTFD2): Likewise.
18453 (__ASSUME_SIGNALFD4): Likewise.
18454 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18455 (__ASSUME_32BITUIDS): Likewise.
18456 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18457 (__ASSUME_IPC64): Likewise.
18458 (__ASSUME_ST_INO_64_BIT): Likewise.
18459 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18460 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18461 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18462 (__ASSUME_UTIMES): Do not define.
18463 (__ASSUME_PSELECT): Likewise.
18464 (__ASSUME_PPOLL): Likewise.
18465 (__ASSUME_O_CLOEXEC): Likewise.
18466 (__ASSUME_SOCK_CLOEXEC): Likewise.
18467 (__ASSUME_IN_NONBLOCK): Likewise.
18468 (__ASSUME_PIPE2): Likewise.
18469 (__ASSUME_EVENTFD2): Likewise.
18470 (__ASSUME_SIGNALFD4): Likewise.
18471 (__ASSUME_DUP3): Likewise.
18472 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18473 (__ASSUME_UTIMES): Likewise.
18474 (__ASSUME_O_CLOEXEC): Likewise.
18475 (__ASSUME_SOCK_CLOEXEC): Likewise.
18476 (__ASSUME_IN_NONBLOCK): Likewise.
18477 (__ASSUME_PIPE2): Likewise.
18478 (__ASSUME_EVENTFD2): Likewise.
18479 (__ASSUME_SIGNALFD4): Likewise.
18480 (__ASSUME_DUP3): Likewise.
18481 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18482 (__ASSUME_UTIMES): Likewise.
18483 (__ASSUME_O_CLOEXEC): Likewise.
18484 (__ASSUME_SOCK_CLOEXEC): Likewise.
18485 (__ASSUME_IN_NONBLOCK): Likewise.
18486 (__ASSUME_PIPE2): Likewise.
18487 (__ASSUME_EVENTFD2): Likewise.
18488 (__ASSUME_SIGNALFD4): Likewise.
18489 (__ASSUME_DUP3): Likewise.
18490 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18492 (__ASSUME_UTIMES): Likewise.
18493 (__ASSUME_EVENTFD2): Likewise.
18494 (__ASSUME_SIGNALFD4): Likewise.
18495 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18496 (__ASSUME_O_CLOEXEC): Likewise.
18497 (__ASSUME_SOCK_CLOEXEC): Likewise.
18498 (__ASSUME_IN_NONBLOCK): Likewise.
18499 (__ASSUME_PIPE2): Likewise.
18500 (__ASSUME_EVENTFD2): Likewise.
18501 (__ASSUME_SIGNALFD4): Likewise.
18502 (__ASSUME_DUP3): Likewise.
18503 (__ASSUME_UTIMES): Undefine.
18505 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18506 feclearexcept. Remove symbol versioning code.
18507 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
18508 symbol versioning code.
18509 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
18510 symbol versioning code.
18511 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18512 feupdateenv. Remove symbol versioning code.
18513 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18514 fegetexceptflag. Remove symbol versioning code.
18515 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18516 fesetexceptflag. Remove symbol versioning code.
18517 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18518 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
18519 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18520 (__posix_fadvise64_l32): Remove prototype.
18521 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18524 2014-05-13 Roland McGrath <roland@hack.frob.com>
18526 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18527 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18528 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18529 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18531 2014-05-13 Sami Kerola <kerolasa@iki.fi>
18533 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18534 current working directory
18536 2014-05-13 Roland McGrath <roland@hack.frob.com>
18538 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18539 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18540 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18541 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18542 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18543 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18544 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18545 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18546 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18547 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18548 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18549 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18550 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18551 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18552 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18553 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18554 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18555 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18556 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18557 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18558 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18559 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18560 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18561 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18562 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18563 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18564 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18565 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18566 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18567 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18568 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18569 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18570 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18571 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18572 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18573 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18574 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18575 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18576 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18577 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18578 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18579 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18581 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18582 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18584 * sysdeps/unix/sysv/linux/arm/Makefile
18585 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18586 Add rt-aeabi_unwind_cpp_pr1.
18587 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18588 Add nptl-aeabi_unwind_cpp_pr1.
18589 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18590 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18591 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18592 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18593 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18594 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18596 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18597 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18598 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18599 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18601 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18602 Deconditionalize the code that was previously under [RESET_PID].
18603 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18605 * sysdeps/generic/exit-thread.h: New file.
18606 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18607 * include/unistd.h (__exit_thread): Remove declaration.
18608 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18609 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18610 * csu/libc-start.c: Include <exit-thread.h>.
18611 (LIBC_START_MAIN): Pass no argument to __exit_thread.
18612 * nptl/pthread_create.c: Include <exit-thread.h>.
18613 (start_thread): Call __exit_thread in place of __exit_thread_inline.
18614 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18615 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18616 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18617 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18618 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18619 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18620 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18621 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18622 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18623 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18624 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18625 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18626 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18627 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18628 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18629 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18631 2014-05-13 Andreas Schwab <schwab@suse.de>
18633 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18635 2014-05-12 Joseph Myers <joseph@codesourcery.com>
18637 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18638 (__ASSUME_UTIMES): Do not condition on kernel version.
18639 (__ASSUME_PSELECT): Define unconditionally.
18640 (__ASSUME_PPOLL): Likewise.
18641 (__ASSUME_ATFCTS): Likewise.
18642 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18643 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18644 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18645 (__ASSUME_UTIMENSAT): Define unconditionally.
18646 (__ASSUME_PRIVATE_FUTEX): Likewise.
18647 (__ASSUME_FALLOCATE): Likewise.
18648 (__ASSUME_O_CLOEXEC): Likewise.
18649 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18650 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18651 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18652 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18653 (__ASSUME_IN_NONBLOCK): Likewise.
18654 (__ASSUME_PIPE2): Likewise.
18655 (__ASSUME_EVENTFD2): Likewise.
18656 (__ASSUME_SIGNALFD4): Likewise.
18657 (__ASSUME_DUP3): Likewise.
18658 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18659 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18660 (__ASSUME_AT_RANDOM): Likewise.
18661 (__ASSUME_PREADV): Likewise.
18662 (__ASSUME_PWRITEV): Likewise.
18663 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18664 (__ASSUME_F_GETOWN_EX): Define unconditionally.
18665 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18666 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18667 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18668 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18669 (__ASSUME_O_CLOEXEC): Define unconditionally.
18670 (__ASSUME_PSELECT): Do not undefine conditionally.
18671 (__ASSUME_PPOLL): Likewise.
18672 (__ASSUME_ATFCTS): Likewise.
18673 (__ASSUME_SET_ROBUST_LIST): Likewise.
18674 (__ASSUME_UTIMENSAT): Likewise.
18675 (__ASSUME_FDATASYNC): Define unconditionally.
18676 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18677 (__ASSUME_SIGFRAME_V2): Likewise.
18678 )__ASSUME_EVENTFD2): Likewise.
18679 (__ASSUME_SIGNALFD4): Likewise.
18680 (__ASSUME_PSELECT): Do not undefine conditionally.
18681 (__ASSUME_PPOLL): Likewise.
18682 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18683 (__ASSUME_PSELECT): Define unconditionally.
18684 (__ASSUME_PPOLL): Likewise.
18685 (__ASSUME_O_CLOEXEC): Likewise.
18686 (__ASSUME_SOCK_CLOEXEC): Likewise.
18687 (__ASSUME_IN_NONBLOCK): Likewise.
18688 (__ASSUME_PIPE2): Likewise.
18689 (__ASSUME_EVENTFD2): Likewise.
18690 (__ASSUME_SIGNALFD4): Likewise.
18691 (__ASSUME_DUP3): Likewise.
18692 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18693 (__ASSUME_O_CLOEXEC): Likewise.
18694 (__ASSUME_SOCK_CLOEXEC): Likewise.
18695 (__ASSUME_IN_NONBLOCK): Likewise.
18696 (__ASSUME_PIPE2): Likewise.
18697 (__ASSUME_EVENTFD2): Likewise.
18698 (__ASSUME_SIGNALFD4): Likewise.
18699 (__ASSUME_DUP3): Likewise.
18700 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18701 (__ASSUME_EVENTFD2): Likewise.
18702 (__ASSUME_SIGNALFD4): Likewise.
18703 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18705 2014-05-12 Andreas Schwab <schwab@suse.de>
18708 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18709 (_nss_nis_gethostbyname4_r): Return error if item length is larger
18710 than maximum RPC packet size.
18711 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18712 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18713 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18714 (_nss_nis_getservbyport_r): Likewise.
18716 2014-05-12 Will Newton <will.newton@linaro.org>
18718 * malloc/Makefile (tests): Add tst-mallopt.
18719 * malloc/tst-mallopt.c: New file.
18721 2014-05-09 Roland McGrath <roland@hack.frob.com>
18723 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18724 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18726 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18728 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18729 (tst-tlsmod6.so): Likewise.
18731 2014-05-09 Roland McGrath <roland@hack.frob.com>
18733 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18735 2014-05-09 Joseph Myers <joseph@codesourcery.com>
18738 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18739 and <dl-procinfo.h>.
18740 (__fegetenv): Save SSE state in envp->__eip if supported.
18741 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18742 envp->__eip if supported.
18743 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18744 and <dl-procinfo.h>.
18745 (__fesetenv): Always set __eip, __cs_selector, __opcode,
18746 __data_offset and __data_selector in environment to 0. Set SSE
18747 state if supported.
18748 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18750 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18752 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18754 2014-05-09 Will Newton <will.newton@linaro.org>
18756 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18757 and libc_relro_required for ARM.
18758 * sysdeps/arm/preconfigure: Regenerate.
18760 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
18761 Stefan Liebler <stli@linux.vnet.ibm.com>
18763 * config.make.in (enable-lock-elision): New Makefile variable.
18764 * configure.ac: Likewise.
18765 * configure: Regenerate.
18766 * sysdeps/s390/configure.ac:
18767 Add check for gcc transactions support.
18768 * sysdeps/s390/configure: Regenerate.
18769 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18770 Build elision files if enabled.
18771 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18772 Add lock elision support for s390.
18773 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18774 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18775 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18776 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18777 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18778 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18779 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18781 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18783 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18785 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18787 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18788 (__lll_timedlock_elision, __lll_lock_elision)
18789 (__lll_unlock_elision, __lll_trylock_elision)
18790 (lll_timedlock_elision, lll_lock_elision)
18791 (lll_unlock_elision, lll_trylock_elision): Add.
18792 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18793 (pthread_mutex_t): Add lock elision support for s390.
18795 2014-05-14 Wilco <wdijkstr@arm.com>
18797 * sysdeps/arm/fclrexcpt.c: Cleanup.
18798 * sysdeps/arm/fedisblxcpt.c: Cleanup.
18799 * sysdeps/arm/feenablxcpt.c: Cleanup.
18800 * sysdeps/arm/fegetenv.c: Cleanup.
18801 * sysdeps/arm/fegetexcept.c: Cleanup.
18802 * sysdeps/arm/fegetround.c: Cleanup.
18803 * sysdeps/arm/feholdexcpt.c: Cleanup.
18804 * sysdeps/arm/fesetenv.c: Cleanup.
18805 * sysdeps/arm/fesetround.c: Cleanup.
18806 * sysdeps/arm/feupdateenv.c: Cleanup.
18807 * sysdeps/arm/fgetexcptflg.c: Cleanup.
18808 * sysdeps/arm/fraiseexcpt.c: Cleanup.
18809 * sysdeps/arm/fsetexcptflg.c: Cleanup.
18810 * sysdeps/arm/ftestexcept.c: Cleanup.
18811 * sysdeps/arm/get-rounding-mode.h: Cleanup.
18812 * sysdeps/arm/setfpucw.c: Cleanup.
18814 2014-05-09 Will Newton <will.newton@linaro.org>
18816 * sysdeps/arm/armv7/strcmp.S: New file.
18817 * NEWS: Mention addition of ARMv7 optimized strcmp.
18819 2014-05-08 Roland McGrath <roland@hack.frob.com>
18821 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18822 look for %.ac rather than %.in.
18824 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18825 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18826 * sysdeps/mach/hurd/configure: Regenerated.
18827 * sysdeps/unix/sysv/linux/configure: Regenerated.
18829 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18831 2014-05-07 Steve Ellcey <sellcey@mips.com>
18834 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18838 2014-05-07 Andreas Schwab <schwab@suse.de>
18840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18841 when skipping over non-matching result from nscd.
18843 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
18846 * nptl/sockperf.c (client): Check socket return value.
18849 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18850 nscd security class.
18852 2014-05-06 Roland McGrath <roland@hack.frob.com>
18854 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18855 * sysdeps/arm/unwind.h: ... here.
18857 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
18860 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18863 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18865 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18866 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18867 multiarch strncpy for PPC64.
18868 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18869 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18871 multiarch optimizations.
18872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18873 (__libc_ifunc_impl_list): Likewise.
18874 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18875 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18876 multiarch stpncpy for PPC64.
18877 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18878 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18880 2014-05-06 Andreas Schwab <schwab@suse.de>
18883 * gmon/mcount.c (_MCOUNT_DECL): Use
18884 atomic_compare_and_exchange_bool_acq instead of
18885 catomic_compare_and_exchange_bool_acq.
18887 2014-05-05 Roland McGrath <roland@hack.frob.com>
18889 * elf/Makefile (others, install-bin): Remove pldd.
18890 (pldd-modules): Variable removed.
18891 ($(objpfx)pldd): Target removed.
18892 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18893 (others, install-bin): Append pldd here.
18894 ($(objpfx)pldd): New target.
18896 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18897 to 0, so the first #if test emitted later doesn't see it undefined.
18898 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18899 * sysdeps/gnu/errlist.c: Regenerated.
18901 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18903 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18904 [libc_hidden_builtin_def]: Define to empty value.
18905 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18906 [libc_hidden_builtin_def]: Likewise.
18907 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18908 [libc_hidden_builtin_def]: Likewise.
18909 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18910 [libc_hidden_builtin_def]: Likewise.
18911 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18912 __redirect_memcpy and define ifunc as default hidden symbol.
18913 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18914 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18916 2014-05-04 Adam Conrad <adconrad@0c3.net>
18918 * locale/iso-4217.def: Reintroduce XDR currency.
18920 2014-05-04 Allan McRae <allan@archlinux.org>
18922 * po/eo.po: Update Esperanto translation from translation project.
18924 2014-05-02 Carlos O'Donell <carlos@redhat.com>
18926 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18927 and FEATURE_INDEX_MAX to 1.
18928 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18930 2014-05-01 Steve Ellcey <sellcey@mips.com>
18932 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18933 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18934 * iconvdata/big5.c (ONE_DIRECTION): Define.
18935 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18936 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18937 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18938 * iconvdata/cp932.c (ONE_DIRECTION): Define.
18939 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18940 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18941 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18942 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18943 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18944 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18945 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18946 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18947 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18948 * iconvdata/gbk.c (ONE_DIRECTION): Define.
18949 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18950 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18951 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18952 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18953 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18954 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18955 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18956 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18957 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18958 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18959 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18960 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18961 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18962 * iconvdata/iso646.c (ONE_DIRECTION): Define.
18963 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18964 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18965 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18966 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18967 * iconvdata/johab.c (ONE_DIRECTION): Define.
18968 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18969 * iconvdata/sjis.c (ONE_DIRECTION): Define.
18970 * iconvdata/t.61.c (ONE_DIRECTION): Define.
18971 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18972 * iconvdata/tscii.c (ONE_DIRECTION): Define.
18973 * iconvdata/uhc.c (ONE_DIRECTION): Define.
18974 * iconvdata/unicode.c (ONE_DIRECTION): Define.
18975 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18976 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18977 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18979 2014-05-01 Roland McGrath <roland@hack.frob.com>
18981 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18982 (_IO_JUMPS_OFFSET): Define to 0.
18984 * nptl/sysdeps/pthread/bits/libc-lock.h
18985 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18986 (__libc_lock_define_initialized_recursive): Always define using
18987 initializer. Modern compilers treat uninitialized (implicit zero) and
18988 explicit zero initializers the same (i.e. put the datum in bss).
18990 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18992 * nscd/nscd-client.h: Include <string.h>.
18994 2014-05-01 David S. Miller <davem@davemloft.net>
18997 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18998 multiple zero bytes exist at the end of a string.
18999 Reported by Aurelien Jarno <aurelien@aurel32.net>
19001 * string/test-strcmp.c (check): Add explicit test for situations where
19002 there are multiple zero bytes after the first.
19004 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
19007 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19008 when compiling wprintf.
19009 * stdio-common/tstdiomisc.c (t3): New function.
19012 2014-05-01 Steve Ellcey <sellcey@mips.com>
19014 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19015 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19016 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19017 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19019 2014-05-01 Steve Ellcey <sellcey@mips.com>
19021 * stdlib/longlong.h: Updated from GCC.
19023 2014-05-01 Will Newton <will.newton@linaro.org>
19024 Bernard Ogden <bernie.ogden@linaro.org>
19026 * NEWS: Update fixed bug list.
19029 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19031 2014-04-30 David S. Miller <davem@davemloft.net>
19033 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19034 (libc_feholdexcept_setround_sparc_ctx): New function.
19035 (libc_fesetenv_sparc_ctx): Likewise.
19036 (libc_feupdateenv_sparc_ctx): Likewise.
19037 (libc_feholdsetround_sparc_ctx): Likewise.
19038 (libc_feholdexcept_setround_ctx): Define.
19039 (libc_feholdexcept_setroundf_ctx): Likewise.
19040 (libc_feholdexcept_setroundl_ctx): Likewise.
19041 (libc_fesetenv_ctx): Likewise.
19042 (libc_fesetenvf_ctx): Likewise.
19043 (libc_fesetenvl_ctx): Likewise.
19044 (libc_feupdateenv_ctx): Likewise.
19045 (libc_feupdateenvf_ctx): Likewise.
19046 (libc_feupdateenvl_ctx): Likewise.
19047 (libc_feresetround_ctx): Likewise.
19048 (libc_feresetroundf_ctx): Likewise.
19049 (libc_feresetroundl_ctx): Likewise.
19050 (libc_feholdsetround_ctx): Likewise.
19051 (libc_feholdsetroundf_ctx): Likewise.
19052 (libc_feholdsetroundl_ctx): Likewise.
19054 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19055 with __USE_GNU instead of XOPEN cpp guards.
19057 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19060 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19061 with XOPEN cpp guards.
19063 2014-04-30 Julian Brown <julian@codesourcery.com>
19066 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19069 2014-04-30 Joseph Myers <joseph@codesourcery.com>
19072 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19074 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19075 * sysdeps/unix/sysv/linux/configure: Regenerated.
19076 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19077 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19078 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19079 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19080 * README: Update reference to required Linux kernel version.
19081 * manual/install.texi (Linux): Update reference to required Linux
19082 kernel headers version.
19083 * INSTALL: Regenerated.
19085 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19087 [POSIX] (limits.h): Likewise.
19088 [POSIX] (math.h): Likewise.
19089 [POSIX] (sys/wait.h): Likewise.
19090 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19092 [POSIX] (stddef.h): Do not allow header inclusion.
19094 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19096 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19098 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
19100 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19101 Return immediately after lll_futex_wake.
19103 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19106 * nscd/nscd-client.h (datahead_init_common): Initialize entire
19108 (datahead_init_pos): Call datahead_init_common early.
19109 (datahead_init_neg): Likewise.
19111 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19112 datahead_init_neg): New functions.
19113 * nscd/aicache.c (addhstaiX): Use them.
19114 * nscd/grpcache.c (cache_addgr): Likewise.
19115 * nscd/hstcache.c (cache_addhst): Likewise.
19116 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19117 * nscd/netgroupcache.c (do_notfound): Likewise.
19118 (addgetnetgrentX): Likewise.
19119 (addinnetgrX): Likewise.
19120 * nscd/pwdcache.c (cache_addpw): Likewise.
19121 * nscd/servicescache.c (cache_addserv): Likewise.
19123 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19124 Atsushi Onoe <atsushi@onoe.org>
19129 * resolv/res_query.c (__libc_res_nsearch): Return if at least
19130 one response is valid.
19131 * resolv/res_send.c (send_dg): Check for validity of other
19132 response if the current response is a referral.
19134 2014-04-29 Steve Ellcey <sellcey@mips.com>
19136 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19138 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
19141 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19142 Always divide by positive zero when computing -Inf result.
19143 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19144 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19146 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19148 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19149 FPSCR if value do not change.
19150 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19151 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19152 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19153 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19154 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19155 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19158 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
19160 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19161 * sysdeps/unix/sysv/linux/hppa: Move directory from
19162 ports/systeps/unix/sysv/linux/hppa.
19163 * README: Update listing for hppa-*-linux-gnu.
19165 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
19168 * manual/stdio.texi (Hook functions): Fix types of stream hook
19171 * socket/sys/socket.h: Fix typo in comment.
19173 2014-04-28 Wilco <wdijkstr@arm.com>
19175 * sysdeps/arm/fenv_private.h: New file.
19176 * sysdeps/arm/math_private.h: New file.
19177 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19179 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
19181 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19183 (La_x86_64_retval): Likewise.
19185 2014-04-24 Ian Bolton <ian.bolton@arm.com>
19187 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19188 fpsr if value didn't change.
19189 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19190 to fpcr if value didn't change.
19191 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19192 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19193 fpsr or fpcr if value didn't change.
19194 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19195 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19196 fpcr if value didn't change.
19197 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19198 to fpsr if value didn't change.
19200 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19202 * nptl/tst-sem3.c: Use test-skeleton.c
19203 (main): Rename to do_test. Use return instead of
19205 * nptl/tst-sem4.c: Use test-skeleton.c
19206 (main): Rename to do_test.
19208 2014-04-22 David S. Miller <davem@davemloft.net>
19210 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19211 (struct sigaction): New struct member __glibc_reserved0, change
19212 type of sa_flags to int.
19214 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
19216 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19217 (COUNT_LEADING_ZEROS_0): Define for AArch64.
19219 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19221 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19222 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19224 2014-04-22 Will Newton <will.newton@linaro.org>
19225 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
19227 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19228 (__longjmp): Add longjmp and longjmp_target SystemTap
19230 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19231 (__sigsetjmp): Add setjmp SystemTap probe.
19233 2014-04-17 Carlos O'Donell <carlos@redhat.com>
19235 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19236 match manual order.
19238 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19240 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19242 * sysdeps/powerpc/fpu/fenv_private.h
19243 (libc_feholdexcept_setroundl_ctx): Define to
19244 libc_feholdexcept_setround_ppc_ctx.
19245 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19246 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19247 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19248 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19250 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19252 * sysdeps/aarch64/math-tests.h: New file.
19254 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
19256 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19259 Check and set bit_AVX2_Usable.
19260 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19262 (bit_AVX2): Likewise.
19263 (index_AVX2_Usable): Likewise.
19264 (CPUID_AVX2): Likewise.
19265 (HAS_AVX2): Likewise.
19267 2014-04-17 Will Newton <will.newton@linaro.org>
19269 * manual/setjmp.texi (System V contexts): Add note that
19270 calling setcontext on a context created by a call to a
19271 signal handler is undefined. Update text to note that
19272 setcontext from a signal handler is possible but not
19276 * stdlib/tst-setcontext.c: Include signal.h.
19277 (main): Check that the signal stack before and
19278 after swapcontext is the same.
19280 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19281 Re-implement to restore registers in user code and avoid
19282 rt_sigreturn system call.
19284 2014-04-17 Wilco <wdijkstr@arm.com>
19286 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19287 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19288 * math/test-fenv.c: Skip exception trap tests on targets which only
19289 support non-stop mode.
19291 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19292 Wilco Dijkstra <wilco.dijkstra@arm.com>
19294 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19295 (libc_feholdsetround_aarch64_ctx)
19296 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19297 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19298 (libc_feresetround_ctx, libc_feresetroundf_ctx)
19299 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19300 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19301 (libc_feresetround_noexl_ctx): Define.
19303 2014-04-16 Richard Henderson <rth@redhat.com>
19305 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19307 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19310 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19311 const from the non-libc, non-ldso copy.
19313 * sysdeps/alpha/libm-test-ulps: Regenerate.
19315 2014-04-16 Ian Bolton <ian.bolton@arm.com>
19316 Wilco Dijkstra <wilco.dijkstra@arm.com>
19318 * sysdeps/aarch64/fpu/math_private.h: New file.
19320 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
19322 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19324 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
19327 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19328 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19329 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19330 Intel MPX bound registers before _dl_profile_fixup.
19331 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19332 registers after _dl_profile_fixup. Save and restore bound
19333 registers bnd0/bnd1 when calling _dl_call_pltexit.
19334 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19335 (LR_BND_OFFSET): Likewise.
19336 (LRV_BND0_OFFSET): Likewise.
19337 (LRV_BND1_OFFSET): Likewise.
19339 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19341 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19343 * sysdeps/mach/hurd/i386/tls.h: ... here.
19344 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19345 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19348 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19350 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19352 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19354 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19356 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19359 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19360 * sysdeps/s390/configure: Regenerate.
19363 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19364 Set round-to-nearest internally to reduce error accumulation.
19366 2014-04-16 Alan Modra <amodra@gmail.com>
19370 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19371 * math/libm-test.inc (frexp_test_data): Add tests.
19372 * NEWS: Update fixed bug list.
19374 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19376 * benchtests/Makefile: Depend on libraries in build directory.
19377 (bench-math): Separate out math tests.
19378 (bench-pthread): Separate out pthread tests.
19379 (bench): Include math and pthread tests.
19381 2014-04-14 Carlos O'Donell <carlos@redhat.com>
19384 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19385 _dl_debug_initialize.
19387 * configure.ac: Remove SELinux header check.
19388 * configure: Regenerate.
19389 * nscd/selinux.c (perms): Array of const char* to permission names.
19390 (nscd_request_avc_has_perm): Call security_deny_unknown to find
19391 default policy. Call string_to_security_class and string_to_av_perm to
19392 translate strings. Enforce default policy and call avs_has_perm with
19393 results of translated strings.
19395 2014-04-13 David S. Miller <davem@davemloft.net>
19397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19399 2014-04-12 Allan McRae <allan@archlinux.org>
19402 * manual/string.texi (Collation Functions): Fix qsort argument
19404 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19406 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
19408 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19409 Make the test a no-op if there are no exceptions defined.
19411 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19413 * elf/Makefile (tests): make tst-dlopen-aout conditional on
19414 enable-hardcoded-path-in-tests
19416 2014-04-11 Will Newton <will.newton@linaro.org>
19418 * benchtests/Makefile (extra-objs): Add json-lib.o.
19419 (bench-func): Tidy up JSON output.
19420 * benchtests/bench-skeleton.c: Include json-lib.h.
19421 (main): Use JSON library functions to do output of
19423 * benchtests/bench-timing-type.c (main): Output the
19424 timing type simply, leaving formatting to the user.
19425 * benchtests/json-lib.c: New file.
19426 * benchtests/json-lib.h: Likewise.
19428 2014-04-11 Torvald Riegel <triegel@redhat.com>
19431 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19432 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
19433 memory barriers. Add comments.
19434 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19435 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19436 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19437 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19438 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19439 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19441 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19443 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19444 * sysdeps/s390/s390-64/configure.ac: ... this ...
19445 * sysdeps/s390/configure.ac: ... to here.
19446 * sysdeps/s390/s390-32/configure: Delete file.
19447 * sysdeps/s390/s390-64/configure: Delete file.
19448 * sysdeps/s390/configure: Regenerate.
19450 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
19452 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19454 2014-04-11 Will Newton <will.newton@linaro.org>
19456 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19457 to zero if it is not defined elsewhere. (mtrim): Test
19458 the value of MALLOC_DEBUG with #if rather than #ifdef.
19460 2014-04-10 Torvald Riegel <triegel@redhat.com>
19462 * benchtests/pthread_once-inputs: New file.
19463 * benchtests/pthread_once-source.c: New file.
19464 * benchtests/README: Update documentation.
19466 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
19467 H.J. Lu <hongjiu.lu@intel.com>
19470 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19471 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19472 * sysdeps/x86_64/configure: Regenerated.
19473 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19475 (REGISTER_SAVE_RAX): Likewise.
19476 (REGISTER_SAVE_RCX): Likewise.
19477 (REGISTER_SAVE_RDX): Likewise.
19478 (REGISTER_SAVE_RSI): Likewise.
19479 (REGISTER_SAVE_RDI): Likewise.
19480 (REGISTER_SAVE_R8): Likewise.
19481 (REGISTER_SAVE_R9): Likewise.
19482 (REGISTER_SAVE_BND0): Likewise.
19483 (REGISTER_SAVE_BND1): Likewise.
19484 (REGISTER_SAVE_BND2): Likewise.
19485 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
19486 bound registers when calling _dl_fixup.
19488 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19490 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19491 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19493 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19494 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19495 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19496 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19497 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19498 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19499 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19501 2014-04-09 Peter Brett <peter@peter-b.co.uk>
19504 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19505 pathconf(_PC_NAME_MAX).
19507 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19509 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19510 Remove macro usage.
19511 (__PTHREAD_SPINS): Move definition to ...
19512 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19513 (__PTHREAD_SPINS): ... here.
19514 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19515 (__PTHREAD_SPIN): Likewise.
19516 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19517 (__PTHREAD_SPIN): Likewise.
19518 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19519 (__PTHREAD_SPIN): Likewise.
19520 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19521 (__PTHREAD_SPIN): Likewise.
19522 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19523 (__PTHREAD_SPIN): Likewise.
19524 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19525 (__PTHREAD_SPIN): Likewise.
19526 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19527 (__PTHREAD_SPIN): Likewise.
19528 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19529 (__PTHREAD_SPIN): Likewise.
19530 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19531 (__PTHREAD_SPIN): Likewise.
19532 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19533 (__PTHREAD_SPIN): Likewise.
19534 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19535 (__PTHREAD_SPIN): Likewise.
19536 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19537 (__PTHREAD_SPIN): Likewise.
19539 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19540 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19541 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19542 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19544 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19545 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19546 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19547 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19548 correct imply path.
19549 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19550 strlen symbol for non multi-arch builds.
19551 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19552 missing hidden_def and weak_alias.
19554 2014-04-08 Carlos O'Donell <carlos@redhat.com>
19556 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19558 2014-04-07 Will Newton <will.newton@linaro.org>
19560 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19561 and contents. [!_LIBC] Remove #ifndef and contents.
19562 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
19563 * string/memccpy.c (__memccpy): Use ANSI prototype.
19564 * string/memfrob.c (memfrob): Likewise.
19565 * string/strcoll.c (STRCOLL): Likewise.
19566 * string/strlen.c (strlen): Likewise.
19567 * string/strtok.c (STRTOK): Likewise.
19568 * string/strcat.c: Remove unused #include of memcopy.h.
19569 (strcat): Use ANSI prototype.
19570 * string/strchr.c: Remove unused #include of memcopy.h.
19571 (strchr): Use ANSI prototype.
19572 * string/strcmp.c: Remove unused #include of memcopy.h.
19573 (strcmp): Use ANSI prototype.
19574 * string/strcpy.c: Remove unused #include of memcopy.h.
19575 (strcpy): Use ANSI prototype.
19577 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19579 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19580 * config.make.in (config-extra-cppflags): Set it from
19581 libc_extra_cppflags.
19582 * configure.ac (libc_extra_cflags): Make it accumulate over
19583 configure fragments.
19584 (libc_extra_cppflags): New flag.
19585 * configure. Regenerate.
19586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19587 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19588 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19592 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19593 result for FE_DOWNWARD rounding mode.
19594 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19598 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
19600 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19601 in function argument name.
19603 2014-04-03 David Svoboda <svoboda@cert.org>
19606 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19609 2014-04-03 Roland McGrath <roland@hack.frob.com>
19611 * elf/dl-unmap-segments.h: New file.
19612 * sysdeps/generic/ldsodefs.h
19613 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19614 * elf/dl-close.c: Include <dl-unmap-segments.h>.
19615 * elf/dl-fptr.c: Likewise.
19616 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19617 * sysdeps/aarch64/tlsdesc.c: Likewise.
19618 * sysdeps/arm/tlsdesc.c: Likewise.
19619 * sysdeps/i386/tlsdesc.c: Likewise.
19620 * sysdeps/tile/dl-runtime.c: Likewise.
19621 * sysdeps/x86_64/tlsdesc.c: Likewise.
19622 * elf/dl-load.h: New file.
19623 * elf/dl-load.c: Include it.
19624 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19625 Macros moved to dl-load.h.
19626 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19627 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19628 Use _dl_unmap_segments in place of __munmap.
19629 Break out segment-mapping loop into ...
19630 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19632 2014-04-03 Will Newton <will.newton@linaro.org>
19634 * elf/dl-lookup.c (do_lookup_x): Remove comment
19635 referring to nested function and move variable
19636 declarations down to before first use.
19638 2014-04-02 Joseph Myers <joseph@codesourcery.com>
19642 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19644 * math/s_catanf.c (__catanf): Likewise.
19645 * math/s_catanh.c (__catanh): Likewise.
19646 * math/s_catanhf.c (__catanhf): Likewise.
19647 * math/s_catanhl.c (__catanhl): Likewise.
19648 * math/s_catanl.c (__catanl): Likewise.
19649 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19650 by positive zero when computing -Inf result.
19651 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19652 (catanh_test): Likewise.
19653 * sysdeps/i386/fpu/libm-test-ulps: Update.
19654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19657 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19658 instead of using underflowing value in computing result.
19659 * math/s_clog10.c (__clog10): Likewise.
19660 * math/s_clog10f.c (__clog10f): Likewise.
19661 * math/s_clog10l.c (__clog10l): Likewise.
19662 * math/s_clogf.c (__clogf): Likewise.
19663 * math/s_clogl.c (__clogl): Likewise.
19664 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19665 (clog10_test): Likewise.
19666 * sysdeps/i386/fpu/libm-test-ulps: Update.
19667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19669 2014-04-02 Alan Modra <amodra@gmail.com>
19672 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19673 output when value is near a power of two. Use int64_t for lx and
19674 remove casts. Use decimal rather than hex exponent constants.
19675 Don't use long double multiplication when double will suffice.
19676 * math/libm-test.inc (nextafter_test_data): Add tests.
19677 * NEWS: Add 16739 and 16786 to bug list.
19679 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19681 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19683 2014-04-01 Will Newton <will.newton@linaro.org>
19685 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19686 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
19688 2014-04-01 Florian Weimer <fweimer@redhat.com>
19691 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19692 * nptl/tst-setuid2.c: New file.
19693 * nptl/Makefile (xtests): Add tst-setuid2.
19695 2014-04-01 Alan Modra <amodra@gmail.com>
19698 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19700 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19704 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19705 set errno as appropriate.
19706 * math/w_scalbf.c (__scalbf): Likewise.
19707 * math/w_scalbl.c (__scalbl): Likewise.
19708 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19709 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19710 * math/libm-test.inc (scalb_test_data): Add errno expectations.
19711 Add more NaN tests.
19714 * math/w_atan2.c: Include <errno.h>.
19715 (__atan2): Set errno for result underflowing to zero.
19716 * math/w_atan2f.c: Include <errno.h>.
19717 (__atan2f): Set errno for result underflowing to zero.
19718 * math/w_atan2l.c: Include <errno.h>.
19719 (__atan2l): Set errno for result underflowing to zero.
19720 * math/auto-libm-test-in: Don't allow missing errno for some atan2
19722 * math/auto-libm-test-out: Regenerated.
19724 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19726 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19727 Encode instruction correctly in little endian.
19728 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19730 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19732 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19734 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19737 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19740 * sysdeps/unix/sysv/linux/kernel-features.h
19741 [__sparc__ && !__arch64__ && !__sparc_v9__]
19742 (__ASSUME_SET_ROBUST_LIST): Do not define.
19743 [__sparc__ && !__arch64__ && !__sparc_v9__]
19744 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19745 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19747 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19748 (__ASSUME_FUTEX_LOCK_PI): Undefine.
19749 (__ASSUME_REQUEUE_PI): Likewise.
19750 (__ASSUME_SET_ROBUST_LIST): Likewise.
19751 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19752 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19754 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19755 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19757 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19759 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19761 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19762 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19764 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19765 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19769 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19770 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19771 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19773 2014-03-31 Will Newton <will.newton@linaro.org>
19775 * benchtests/Makefile (bench): Add ffs and ffsll to list
19777 * benchtests/ffs-inputs: New file.
19778 * benchtests/ffsll-inputs: Likewise.
19780 2014-03-29 Joseph Myers <joseph@codesourcery.com>
19783 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19784 too large before casting to int.
19785 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19786 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19787 * math/libm-test.inc (scalb_test_data): Add more tests.
19789 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19791 * benchtests/Makefile (DETAILED_OPT): New make option.
19792 (bench-func): Run benchmark program with -d if DETAILED_OPT is
19794 * benchtests/bench-skeleton.c: Include stdbool.h.
19795 (main): Store and print timings per input.
19796 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19797 member to each argument value.
19798 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19799 (_print_arg_data): Initialize per-input timing to 0.
19801 * benchtests/Makefile (timing-type): New binary.
19802 (bench-clean): Also remove bench-timing-type.
19803 (bench): New target for timing-type.
19804 (bench-func): Print output in JSON format.
19805 * benchtests/bench-skeleton.c (main): Print output in JSON
19807 * benchtests/bench-timing-type.c: New file.
19808 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19809 (TIMING_PRINT_STATS): Remove.
19810 * benchtests/scripts/bench.py (_print_arg_data): Store variant
19813 * benchtests/bench-modf.c: Remove.
19814 * benchtests/modf-inputs: New inputs file.
19816 2014-03-28 Joseph Myers <joseph@codesourcery.com>
19819 * math/s_clog10.c (M_PI_LOG10E): New macro.
19820 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19821 imaginary parts are 0.
19822 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19823 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19824 imaginary parts are 0.
19825 * math/s_clog10l.c (M_PI_LOG10El): New macro.
19826 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19827 imaginary parts are 0.
19828 * math/libm-test.inc (clog10_test_data): Update expected results
19829 for when real and imaginary parts are 0.
19831 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
19833 * elf/dl-load.c: Finish conversion of __builtin_expect into
19834 __glibc_{un}likely.
19836 2014-03-27 Joseph Myers <joseph@codesourcery.com>
19839 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19840 1+x for argument with exponent below -67.
19841 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19843 * math/auto-libm-test-in: Add more tests of exp.
19844 * math/auto-libm-test-out: Regenerated.
19846 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19849 * inet/getnetgrent_r.c (get_nonempty_val): New function.
19850 (nscd_getnetgrent): Use it.
19853 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19856 2014-03-27 Andi Kleen <ak@linux.intel.com>
19858 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19859 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19860 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19861 (lll_robust_unlock): Remove out of line section. Use cfi
19863 (LLL_STUB_UNWIND_INFO*): Remove.
19864 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19865 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19866 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19867 (lll_robust_unlock): Remove out of line section. Use cfi
19869 (LLL_STUB_UNWIND_INFO*): Remove.
19871 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19874 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19877 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19879 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19881 2014-03-26 Joseph Myers <joseph@codesourcery.com>
19884 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19886 * math/test-fenv-preserve.c: New file.
19887 * math/Makefile (tests): Add test-fenv-preserve.
19889 2014-03-26 Will Newton <will.newton@linaro.org>
19891 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19893 2014-03-25 Roland McGrath <roland@hack.frob.com>
19895 * scripts/versionlist.awk: Partition the version sets and emit all
19896 GLIBC_* (sorted) before all others (sorted).
19898 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19900 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19901 GLIBC_2.2.5 version.
19903 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19905 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19908 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19913 2014-03-25 Andreas Schwab <schwab@suse.de>
19915 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19916 label to be used after in6ailist is initialized.
19918 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19920 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19921 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19923 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19927 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19929 (fp_formats): Update initializers.
19930 (init_fp_formats): Initialize new field.
19931 (output_for_one_input_case): Allow underflow for results up to
19933 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19934 * math/auto-libm-test-in: Don't mark some underflows from asin and
19936 * math/auto-libm-test-out: Regenerated.
19937 * sysdeps/i386/fpu/libm-test-ulps: Update.
19938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19940 2014-03-25 Andreas Schwab <schwab@suse.de>
19942 * libio/Makefile (tst-ftell-partial-wide-ENV)
19943 (tst-ftell-active-handler-ENV): Define.
19945 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19947 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19949 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19951 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19953 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19955 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19956 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19957 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19959 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19962 * elf/dl-load.c (open_verify): Add mode parameter.
19963 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19964 (open_path): Change from boolean 'secure' to complete flag 'mode'
19965 (_dl_map_object): Adjust.
19966 * elf/Makefile (tests): Add tst-dlopen-aout.
19967 * elf/tst-dlopen-aout.c: New test.
19969 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19972 * sysdeps/unix/sysv/linux/s390/bits/stat.h
19973 (struct stat): Rename member pad0 to __glibc_reserved0.
19976 * sysdeps/s390/s390-32/bits/wordsize.h
19977 (__WORDSIZE32_SIZE_ULONG): New define.
19978 * sysdeps/s390/s390-64/bits/wordsize.h
19979 (__WORDSIZE32_SIZE_ULONG): Likewise.
19980 * sysdeps/generic/stdint.h (SIZE_MAX):
19981 Define as UL if __WORDSIZE32_SIZE_ULONG.
19984 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19985 (__glibc_reserved0): New variable.
19986 (sa_flags): Change type to int.
19988 * posix/Makefile (before-compile): Use += before-compile instead
19991 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19992 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19994 2014-03-20 Andreas Schwab <schwab@suse.de>
19997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19998 non-matching result from nscd.
20000 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20002 * scripts/bench.py: Moved to ...
20003 * benchtests/scripts/bench.py: ... here.
20004 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20006 2014-03-24 Andreas Schwab <schwab@suse.de>
20009 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20010 alloca_account and account alloca use for struct in6ailist.
20012 2014-03-24 Joseph Myers <joseph@codesourcery.com>
20015 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20016 rounding mode to recompute results that overflow to infinity or
20018 * math/auto-libm-test-in: Don't mark tests as expected to fail for
20020 * math/auto-libm-test-out: Regenerated.
20021 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20022 (ccosh_test): Likewise.
20023 (csin_test_data): Use plus_oflow.
20024 (csin_test): Use ALL_RM_TEST.
20025 (csinh_test_data): Use plus_oflow.
20026 (csinh_test): Use ALL_RM_TEST.
20027 * sysdeps/i386/fpu/libm-test-ulps: Update.
20028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20030 2014-03-21 Joseph Myers <joseph@codesourcery.com>
20032 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20033 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20034 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20037 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20038 when x - 1 is zero.
20039 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20040 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20041 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20042 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20044 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20045 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20047 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20048 * sysdeps/i386/fpu/libm-test-ulps: Update.
20049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20051 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20053 * scripts/bench.pl: Remove file.
20054 * scripts/bench.py: New benchmark script.
20055 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20056 * benchtests/README: Mention python dependency.
20057 * scripts/pylintrc: New file.
20058 * scripts/pylint: New file.
20060 * bits/mathdef.h: Use #ifdef instead of #if.
20061 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20062 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20063 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20064 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20065 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20066 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20068 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20069 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20071 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20073 and strpbrk-ppc64 objects.
20074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20075 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20076 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20077 multiarch strpbrk for POWER7.
20078 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20079 multiarch strpbrk for PPC64.
20080 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20082 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20083 strpbrk for POWER7.
20085 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20087 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20088 (atan_test): Likewise.
20089 (atanh_test_data): Use NO_TEST_INLINE for two tests.
20090 (atanh_test): Use ALL_RM_TEST.
20091 (atan2_test_data): Likewise.
20092 (cabs_test): Likewise.
20093 (cacosh_test): Likewise.
20094 (carg_test): Likewise.
20095 (casin_test): Likewise.
20096 (casinh_test): Likewise.
20097 (cbrt_test): Likewise.
20098 (csqrt_test): Likewise.
20099 (erf_test): Likewise.
20100 (erfc_test): Likewise.
20101 (pow10_test): Likewise.
20102 (exp2_test): Likewise.
20103 (hypot_test): Likewise.
20104 (j0_test): Likewise.
20105 (j1_test): Likewise.
20106 (lgamma_test): Likewise.
20107 (gamma_test): Likewise.
20108 (sincos_test): Likewise.
20109 (tanh_test): Likewise.
20110 (y0_test): Likewise.
20111 (y1_test): Likewise.
20112 * sysdeps/i386/fpu/libm-test-ulps: Update.
20113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20115 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20117 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20119 and strcspn-ppc64 objects.
20120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20121 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20122 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20123 multiarch strcspn for POWER7.
20124 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20125 multiarch strcspn for PPC64.
20126 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20128 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20129 strcspn for POWER7.
20131 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20133 * math/gen-libm-test.pl (generate_testfile): Expect only function
20134 name as argument to AUTO_TESTS_* and pass results for all rounding
20135 modes to parse_args.
20136 (parse_auto_input): Separate inputs of automatic tests from
20137 outputs before storing in %auto_tests.
20138 * math/libm-test.inc (acos_test_data): Update call to
20140 (acos_test): Use ALL_RM_TEST.
20141 (acos_tonearest_test_data): Remove.
20142 (acos_test_tonearest): Likewise.
20143 (acos_towardzero_test_data): Likewise.
20144 (acos_test_towardzero): Likewise.
20145 (acos_downward_test_data): Likewise.
20146 (acos_test_downward): Likewise.
20147 (acos_upward_test_data): Likewise.
20148 (acos_test_upward): Likewise.
20149 (acosh_test_data): Update call to AUTO_TESTS_f_f.
20150 (asin_test_data): Likewise.
20151 (asin_test): Use ALL_RM_TEST.
20152 (asin_tonearest_test_data): Remove.
20153 (asin_test_tonearest): Likewise.
20154 (asin_towardzero_test_data): Likewise.
20155 (asin_test_towardzero): Likewise.
20156 (asin_downward_test_data): Likewise.
20157 (asin_test_downward): Likewise.
20158 (asin_upward_test_data): Likewise.
20159 (asin_test_upward): Likewise.
20160 (asinh_test_data): Update call to AUTO_TESTS_f_f.
20161 (atan_test_data): Likewise.
20162 (atanh_test_data): Likewise.
20163 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20164 (cabs_test_data): Update call to AUTO_TESTS_c_f.
20165 (carg_test_data): Likewise.
20166 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20167 (ccos_test_data): Update call to AUTO_TESTS_c_c.
20168 (ccosh_test_data): Likewise.
20169 (cexp_test_data): Likewise.
20170 (clog_test_data): Likewise.
20171 (clog10_test_data): Likewise.
20172 (cos_test_data): Update call to AUTO_TESTS_f_f.
20173 (cos_test): Use ALL_RM_TEST.
20174 (cos_tonearest_test_data): Remove.
20175 (cos_test_tonearest): Likewise.
20176 (cos_towardzero_test_data): Likewise.
20177 (cos_test_towardzero): Likewise.
20178 (cos_downward_test_data): Likewise.
20179 (cos_test_downward): Likewise.
20180 (cos_upward_test_data): Likewise.
20181 (cos_test_upward): Likewise.
20182 (cosh_test_data): Update call to AUTO_TESTS_f_f.
20183 (cosh_test): Use ALL_RM_TEST.
20184 (cosh_tonearest_test_data): Remove.
20185 (cosh_test_tonearest): Likewise.
20186 (cosh_towardzero_test_data): Likewise.
20187 (cosh_test_towardzero): Likewise.
20188 (cosh_downward_test_data): Likewise.
20189 (cosh_test_downward): Likewise.
20190 (cosh_upward_test_data): Likewise.
20191 (cosh_test_upward): Likewise.
20192 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20193 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20194 (ctan_test_data): Likewise.
20195 (ctan_test): Use ALL_RM_TEST.
20196 (ctan_tonearest_test_data): Remove.
20197 (ctan_test_tonearest): Likewise.
20198 (ctan_towardzero_test_data): Likewise.
20199 (ctan_test_towardzero): Likewise.
20200 (ctan_downward_test_data): Likewise.
20201 (ctan_test_downward): Likewise.
20202 (ctan_upward_test_data): Likewise.
20203 (ctan_test_upward): Likewise.
20204 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20205 (ctanh_test): Use ALL_RM_TEST.
20206 (ctanh_tonearest_test_data): Remove.
20207 (ctanh_test_tonearest): Likewise.
20208 (ctanh_towardzero_test_data): Likewise.
20209 (ctanh_test_towardzero): Likewise.
20210 (ctanh_downward_test_data): Likewise.
20211 (ctanh_test_downward): Likewise.
20212 (ctanh_upward_test_data): Likewise.
20213 (ctanh_test_upward): Likewise.
20214 (erf_test_data): Update call to AUTO_TESTS_f_f.
20215 (erfc_test_data): Likewise.
20216 (exp_test_data): Likewise.
20217 (exp_test): Use ALL_RM_TEST.
20218 (exp_tonearest_test_data): Remove.
20219 (exp_test_tonearest): Likewise.
20220 (exp_towardzero_test_data): Likewise.
20221 (exp_test_towardzero): Likewise.
20222 (exp_downward_test_data): Likewise.
20223 (exp_test_downward): Likewise.
20224 (exp_upward_test_data): Likewise.
20225 (exp_test_upward): Likewise.
20226 (exp10_test_data): Update call to AUTO_TESTS_f_f.
20227 (exp10_test): Use ALL_RM_TEST.
20228 (exp10_tonearest_test_data): Remove.
20229 (exp10_test_tonearest): Likewise.
20230 (exp10_towardzero_test_data): Likewise.
20231 (exp10_test_towardzero): Likewise.
20232 (exp10_downward_test_data): Likewise.
20233 (exp10_test_downward): Likewise.
20234 (exp10_upward_test_data): Likewise.
20235 (exp10_test_upward): Likewise.
20236 (exp2_test_data): Update call to AUTO_TESTS_f_f.
20237 (expm1_test_data): Likewise.
20238 (expm1_test): Use ALL_RM_TEST.
20239 (expm1_tonearest_test_data): Remove.
20240 (expm1_test_tonearest): Likewise.
20241 (expm1_towardzero_test_data): Likewise.
20242 (expm1_test_towardzero): Likewise.
20243 (expm1_downward_test_data): Likewise.
20244 (expm1_test_downward): Likewise.
20245 (expm1_upward_test_data): Likewise.
20246 (expm1_test_upward): Likewise.
20247 (fma_test_data): Update call to AUTO_TESTS_fff_f.
20248 (fma_test): Use ALL_RM_TEST.
20249 (fma_towardzero_test_data): Remove.
20250 (fma_test_towardzero): Likewise.
20251 (fma_downward_test_data): Likewise.
20252 (fma_test_downward): Likewise.
20253 (fma_upward_test_data): Likewise.
20254 (fma_test_upward): Likewise.
20255 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20256 (j0_test_data): Update call to AUTO_TESTS_f_f.
20257 (j1_test_data): Likewise.
20258 (jn_test_data): Update call to AUTO_TESTS_if_f.
20259 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20260 (log_test_data): Update call to AUTO_TESTS_f_f.
20261 (log10_test_data): Likewise.
20262 (log1p_test_data): Likewise.
20263 (log2_test_data): Likewise.
20264 (pow_test_data): Update call to AUTO_TESTS_ff_f.
20265 (pow_tonearest_test_data): Likewise.
20266 (sin_test_data): Update call to AUTO_TESTS_f_f.
20267 (sin_test): Use ALL_RM_TEST.
20268 (sin_tonearest_test_data): Remove.
20269 (sin_test_tonearest): Likewise.
20270 (sin_towardzero_test_data): Likewise.
20271 (sin_test_towardzero): Likewise.
20272 (sin_downward_test_data): Likewise.
20273 (sin_test_downward): Likewise.
20274 (sin_upward_test_data): Likewise.
20275 (sin_test_upward): Likewise.
20276 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20277 (sinh_test_data): Update call to AUTO_TESTS_f_f.
20278 (sinh_test): Use ALL_RM_TEST.
20279 (sinh_tonearest_test_data): Remove.
20280 (sinh_test_tonearest): Likewise.
20281 (sinh_towardzero_test_data): Likewise.
20282 (sinh_test_towardzero): Likewise.
20283 (sinh_downward_test_data): Likewise.
20284 (sinh_test_downward): Likewise.
20285 (sinh_upward_test_data): Likewise.
20286 (sinh_test_upward): Likewise.
20287 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20288 (sqrt_test): Use ALL_RM_TEST.
20289 (sqrt_tonearest_test_data): Remove.
20290 (sqrt_test_tonearest): Likewise.
20291 (sqrt_towardzero_test_data): Likewise.
20292 (sqrt_test_towardzero): Likewise.
20293 (sqrt_downward_test_data): Likewise.
20294 (sqrt_test_downward): Likewise.
20295 (sqrt_upward_test_data): Likewise.
20296 (sqrt_test_upward): Likewise.
20297 (tan_test_data): Update call to AUTO_TESTS_f_f.
20298 (tan_test): Use ALL_RM_TEST.
20299 (tan_tonearest_test_data): Remove.
20300 (tan_test_tonearest): Likewise.
20301 (tan_towardzero_test_data): Likewise.
20302 (tan_test_towardzero): Likewise.
20303 (tan_downward_test_data): Likewise.
20304 (tan_test_downward): Likewise.
20305 (tan_upward_test_data): Likewise.
20306 (tan_test_upward): Likewise.
20307 (tanh_test_data): Update call to AUTO_TESTS_f_f.
20308 (tgamma_test_data): Likewise.
20309 (y0_test_data): Likewise.
20310 (y1_test_data): Likewise.
20311 (yn_test_data): Update call to AUTO_TESTS_if_f.
20312 (main): Do not call removed functions.
20314 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20316 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20317 (ldexp_test_data): Remove.
20318 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
20320 (scalb_test): Use ALL_RM_TEST.
20322 2014-03-19 Andreas Schwab <schwab@suse.de>
20324 * nscd/nscd.service: Also invalidate netgroup cache on reload.
20326 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20329 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20330 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20331 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20332 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20333 (__ASSUME_PREADV): Undefine.
20334 (__ASSUME_PWRITEV): Likewise.
20336 2014-03-18 Roland McGrath <roland@hack.frob.com>
20338 * bits/mman-linux.h: Add comment about non-Linux use.
20339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20340 bits/mman-linux.h resting place.
20342 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20343 * bits/mman-linux.h: ... here.
20345 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20347 * conform/conformtest.pl: Add standard definition when calling C
20348 preprocessor on data files.
20349 (checknamespace): Remove unused variable.
20351 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20353 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20354 minus_oflow, plus_uflow and minus_uflow in expected results.
20355 * math/libm-test.inc (scalbn_test_data): Add more tests of
20356 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
20358 (scalbn_test): Use ALL_RM_TEST.
20359 (scalbln_test_data): Add more tests of negative arguments. Use
20360 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20361 (scalbln_test): Use ALL_RM_TEST.
20363 2014-03-18 Roland McGrath <roland@hack.frob.com>
20365 * scripts/abilist.awk: Ignore symbols marked with .hidden.
20367 2014-03-18 Will Newton <will.newton@linaro.org>
20369 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20370 inaccurate comment.
20372 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20374 * Makerules [!subdir] (check-abi): Exit with error status if a
20377 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20379 * math/libm-test.inc (nearbyint_test_data): Include all tests used
20380 for rint. Include results for all rounding modes.
20381 (nearbyint_test): Use ALL_RM_TEST.
20382 (rint_test_data): Include all tests used for nearbyint.
20384 2014-03-17 Will Newton <will.newton@linaro.org>
20386 * nptl/sysdeps/pthread/pthread.h: Revert previous
20389 * sysdeps/generic/ldsodefs.h: Revert previous
20392 * libio/genops.c: Revert previous change.
20393 * libio/libioP.h: Likewise.
20394 * stdio-common/vfprintf.c: Likewise.
20396 * sysdeps/generic/math_private.h: Revert previous
20399 * sysdeps/generic/math_private.h: Check whether
20400 HAVE_RM_CTX is defined with #ifdef rather
20403 * argp/argp-fmtstream.h: Check whether
20404 __STRICT_ANSI__ is defined with #ifdef rather
20406 * argp/argp.h: Likewise.
20408 * libio/genops.c: Check whether
20409 _IO_JUMPS_OFFSET is defined with #ifdef rather
20411 * libio/libioP.h: Likewise.
20412 * stdio-common/vfprintf.c: Likewise.
20414 * sysdeps/generic/ldsodefs.h: Check whether
20415 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20418 * nptl/sysdeps/pthread/pthread.h: Check
20419 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20422 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20424 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20426 * libio/tst-ftell-active-handler.c (do_append_test): Add a
20430 * libio/fileops.c (_IO_file_open): Seek to end of file but
20431 don't cache the offset.
20432 (get_file_offset): Remove function.
20433 (do_ftell): Use cached offset when available.
20434 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20435 don't cache the offset.
20436 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20438 (do_one_test): Call it.
20439 (do_ftell_test): Fix up expected old offset for a+ mode.
20440 * libio/wfileops.c (do_ftell_wide): Used cached offset when
20443 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20444 up test status with function return status.
20445 (do_write_test): Likewise.
20446 (do_append_test): Likewise.
20448 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20449 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20452 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20454 * math/gen-libm-test.pl (parse_args): Handle results specified for
20455 each rounding mode separately.
20456 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20457 tests and results from lrint_tonearest_test_data,
20458 lrint_towardzero_test_data, lrint_downward_test_data and
20459 lrint_upward_test_data.
20460 (lrint_test): Use ALL_RM_TEST.
20461 (lrint_tonearest_test_data): Remove.
20462 (lrint_test_tonearest): Likewise.
20463 (lrint_towardzero_test_data): Likewise.
20464 (lrint_test_towardzero): Likewise.
20465 (lrint_downward_test_data): Likewise.
20466 (lrint_test_downward): Likewise.
20467 (lrint_upward_test_data): Likewise.
20468 (lrint_test_upward): Likewise.
20469 (llrint_test_data): Merge in per-rounding-mode tests and results
20470 from llrint_tonearest_test_data, llrint_towardzero_test_data,
20471 llrint_downward_test_data and llrint_upward_test_data.
20472 (llrint_test): Use ALL_RM_TEST.
20473 (llrint_tonearest_test_data): Remove.
20474 (llrint_test_tonearest): Likewise.
20475 (llrint_towardzero_test_data): Likewise.
20476 (llrint_test_towardzero): Likewise.
20477 (llrint_downward_test_data): Likewise.
20478 (llrint_test_downward): Likewise.
20479 (llrint_upward_test_data): Likewise.
20480 (llrint_test_upward): Likewise.
20481 (rint_test_data): Merge in per-rounding-mode tests and results
20482 from rint_tonearest_test_data, rint_towardzero_test_data,
20483 rint_downward_test_data and rint_upward_test_data. Add
20484 per-rounding-mode results for tests not in those arrays.
20485 (rint_test): Use ALL_RM_TEST.
20486 (rint_tonearest_test_data): Remove.
20487 (rint_test_tonearest): Likewise.
20488 (rint_towardzero_test_data): Likewise.
20489 (rint_test_towardzero): Likewise.
20490 (rint_downward_test_data): Likewise.
20491 (rint_test_downward): Likewise.
20492 (rint_upward_test_data): Likewise.
20493 (rint_test_upward): Likewise.
20494 (main): Don't call removed functions.
20496 2014-03-14 Roland McGrath <roland@hack.frob.com>
20498 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20499 "Compiled on ..." crapola. It is anti-useful.
20501 2014-03-14 Joseph Myers <joseph@codesourcery.com>
20503 * scripts/evaluate-test.sh: Handle fourth argument to determine
20504 whether test run should stop on failure.
20505 * Makeconfig (stop-on-test-failure): New variable.
20506 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20507 $(stop-on-test-failure).
20508 * Makefile (tests): Give a summary of results from testing and
20509 exit with failure status if they include an ERROR or FAIL.
20510 (xtests): Likewise.
20511 * manual/install.texi (Configuring and compiling): Mention
20512 stop-on-test-failure=y.
20513 * INSTALL: Regenerated.
20515 2014-03-14 Roland McGrath <roland@hack.frob.com>
20517 * scripts/versionlist.awk: New file.
20518 * Makerules [$(build-shared) = yes]
20519 (postclean-generated): Add Versions.def, not Versions.def.v and
20521 ($(common-objpfx)Versions.def.v.i): Target removed.
20522 ($(common-objpfx)Versions.def): New target.
20523 ($(common-objpfx)Versions.all): Depend on that rather that
20524 $(common-objpfx)Versions.def.v.
20525 * Versions.def: File removed.
20527 * Makeconfig (+gccwarn): Add -Wundef.
20528 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20529 a dl-sysdep.h breaking its contract.
20530 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20531 * include/stackinfo.h: New file.
20532 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20533 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20534 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20535 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20536 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20537 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20538 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20539 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20540 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20541 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20542 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20543 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20544 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20545 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20546 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20548 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20551 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20553 * math/libm-test.inc (round_test_data): Add more tests.
20556 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20558 * math/libm-test.inc (nearbyint_test_data): Add more tests.
20561 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20563 * math/libm-test.inc (ceil_test_data): Add more tests.
20565 * math/libm-test.inc (trunc_test_data): Add more tests related to
20568 2014-03-14 Roland McGrath <roland@hack.frob.com>
20570 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20571 with #if rather than #ifdef.
20572 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20574 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
20576 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20577 first. Disable AVX-512 GCC support if assembler doesn't support
20579 * sysdeps/x86_64/configure: Regenerated.
20581 2014-03-13 Carlos O'Donell <carlos@redhat.com>
20583 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20584 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20585 (__old_pthread_attr_setstack): Likewise.
20586 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20587 [!_STACK_GROWS_DOWN]: Likewise.
20589 2014-03-13 Mike Frysinger <vapier@gentoo.org>
20591 * config.make.in (have-bash2): Delete.
20592 * configure.ac (libc_cv_have_bash2): Delete.
20593 * configure: Regenerate.
20594 * elf/Makefile (common-ldd-rewrite): Rename to ...
20595 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
20596 (sh-ldd-rewrite): Delete.
20597 (bash-ldd-rewrite): Delete.
20598 (have-bash2): Delete checks.
20599 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20602 * config.make.in (have-ksh): Delete.
20604 * configure.ac (libc_cv_have_ksh): Delete.
20605 * configure: Regenerate.
20607 * elf/Makefile: Delete $(have-ksh) check.
20608 ($(objpfx)sotruss): Change KSH to BASH.
20609 * elf/sotruss.ksh: Rename to ...
20610 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
20611 function style to match POSIX. Drop ksh vim mode setting.
20613 * manual/time.texi (Specifying the Time Zone with TZ): Change
20614 Tuesday to Thursday.
20616 * debug/tst-longjmp_chk2.c: Update header comment.
20617 (stackoverflow_handler): Add comment. Call assert on pass value.
20619 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
20622 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20623 (HAVE_AVX512_ASM_SUPPORT): Likewise.
20624 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20625 (La_x86_64_vector): Add zmm.
20626 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20627 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20628 ($(objpfx)tst-audit10): New target.
20629 ($(objpfx)tst-audit10.out): Likewise.
20630 (tst-audit10-ENV): New.
20631 (AVX512-CFLAGS): Likewise.
20632 (CFLAGS-tst-audit10.c): Likewise.
20633 (CFLAGS-tst-auditmod10a.c): Likewise.
20634 (CFLAGS-tst-auditmod10b.c): Likewise.
20635 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20636 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20637 * sysdeps/x86_64/configure: Regenerated.
20638 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20639 AVX-512 zmm register support.
20640 (_dl_x86_64_save_sse): Likewise.
20641 (_dl_x86_64_restore_sse): Likewise.
20642 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20643 size vector registers.
20644 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20645 (ZMM_SIZE): Likewise.
20646 * sysdeps/x86_64/tst-audit10.c: New file.
20647 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20648 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20650 2014-03-13 Roland McGrath <roland@hack.frob.com>
20652 * configure.ac (HAVE_EHDR_START): New check.
20653 * configure: Regenerated.
20654 * config.h.in (HAVE_EHDR_START): New #undef.
20655 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20656 assuming the lowest-addressed segment maps the start of the file.
20658 2014-03-13 Joseph Myers <joseph@codesourcery.com>
20660 * INSTALL: Regenerated.
20662 2014-03-13 Will Newton <will.newton@linaro.org>
20664 * manual/setjmp.texi (System V contexts): Improve
20665 clarity and grammar of documentation.
20667 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
20670 * elf/Makefile (tests): Add tst-pie2.
20671 (tests-pie): Add tst-pie2.
20672 * elf/tst-pie2.c: New file.
20673 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20675 * elf/rtld.c (map_doit): Load executable as lt_executable.
20676 (dl_main): Likewise.
20678 2014-03-12 Joseph Myers <joseph@codesourcery.com>
20681 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20682 (__ASSUME_PSELECT): Undefine.
20684 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20687 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20688 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20690 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20691 selector for static builds.
20693 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20696 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20699 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20701 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20702 IFUNC selector for static builds.
20704 2014-03-11 Joseph Myers <joseph@codesourcery.com>
20706 * sysdeps/mips/math_private.h [__mips_hard_float]
20707 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20708 libc_feresetround_mips_ctx.
20709 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20710 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20711 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20714 * math/s_nextafter.c (__nextafter): Do not return value from
20715 overflowing computation.
20716 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20717 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20718 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20720 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20722 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20723 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20725 2014-03-11 Roland McGrath <roland@hack.frob.com>
20727 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20728 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20729 Move sfi_sp use from the load-multiple (that no longer sets sp) to
20730 the new mov targetting sp.
20732 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20735 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20736 Define it for static builds as well.
20737 (NO_BZERO_IMPL): Likewise.
20739 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20741 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20742 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20743 multiarch strspn for PPC64.
20744 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20745 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20747 (__libc_ifunc_impl_list): Likewise.
20748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20749 multiarch optimizations
20750 * string/strspn.c (strspn): Using macro to redefine symbol name.
20752 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20753 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20755 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20756 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20757 multiarch strncat for PPC64.
20758 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20759 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20761 (__libc_ifunc_impl_list): Likewise.
20762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20763 multiarch optimizations
20765 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20768 * nscd/nscd.service: Make service type forking.
20770 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20772 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20773 sign in non default rounding modes.
20774 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20776 2014-03-08 Joseph Myers <joseph@codesourcery.com>
20778 * math/libm-test.inc (ALL_RM_TEST): New macro.
20779 (ceil_test): Use ALL_RM_TEST.
20780 (cimag_test): Likewise.
20781 (conj_test): Likewise.
20782 (copysign_test): Likewise.
20783 (cproj_test): Likewise.
20784 (creal_test): Likewise.
20785 (fabs_test): Likewise.
20786 (floor_test): Likewise.
20787 (fmax_test): Likewise.
20788 (fmin_test): Likewise.
20789 (fmod_test): Likewise.
20790 (fpclassify_test): Likewise.
20791 (frexp_test): Likewise.
20792 (ilogb_test): Likewise.
20793 (isfinite_test): Likewise.
20794 (finite_test): Likewise.
20795 (isgreater_test): Likewise.
20796 (isgreaterequal_test): Likewise.
20797 (isinf_test): Likewise.
20798 (isless_test): Likewise.
20799 (islessequal_test): Likewise.
20800 (islessgreater_test): Likewise.
20801 (isnan_test): Likewise.
20802 (isnormal_test): Likewise.
20803 (issignaling_test): Likewise.
20804 (isunordered_test): Likewise.
20805 (logb_test): Likewise.
20806 (logb_downward_test_data): Remove.
20807 (logb_test_downward): Likewise.
20808 (lround_test): Use ALL_RM_TEST.
20809 (llround_test): Likewise.
20810 (modf_test): Likewise.
20811 (nexttoward_test): Likewise.
20812 (remainder_test): Likewise.
20813 (drem_test): Likewise.
20814 (remainder_tonearest_test_data): Likewise.
20815 (remainder_test_tonearest): Likewise.
20816 (drem_test_tonearest): Likewise.
20817 (remainder_towardzero_test_data): Likewise.
20818 (remainder_test_towardzero): Likewise.
20819 (drem_test_towardzero): Likewise.
20820 (remainder_downward_test_data): Likewise.
20821 (remainder_test_downward): Likewise.
20822 (drem_test_downward): Likewise.
20823 (remainder_upward_test_data): Likewise.
20824 (remainder_test_upward): Likewise.
20825 (drem_test_upward): Likewise.
20826 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
20827 (round_test): Use ALL_RM_TEST.
20828 (signbit_test): Likewise.
20829 (trunc_test): Likewise.
20830 (significand_test): Likewise.
20831 (main): Don't call removed functions.
20833 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20836 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20837 || __USE_XOPEN2K8].
20838 (ILL_ILLOPN): Likewise.
20839 (ILL_ILLADR): Likewise.
20840 (ILL_ILLTRP): Likewise.
20841 (ILL_PRVOPC): Likewise.
20842 (ILL_PRVREG): Likewise.
20843 (ILL_COPROC): Likewise.
20844 (ILL_BADSTK): Likewise.
20845 (FPE_INTDIV): Likewise.
20846 (FPE_INTOVF): Likewise.
20847 (FPE_FLTDIV): Likewise.
20848 (FPE_FLTOVF): Likewise.
20849 (FPE_FLTUND): Likewise.
20850 (FPE_FLTRES): Likewise.
20851 (FPE_FLTINV): Likewise.
20852 (FPE_FLTSUB): Likewise.
20853 (SEGV_MAPERR): Likewise.
20854 (SEGV_ACCERR): Likewise.
20855 (BUS_ADRALN): Likewise.
20856 (BUS_ADRERR): Likewise.
20857 (BUS_OBJERR): Likewise.
20858 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20859 (TRAP_TRACE): Likewise.
20860 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20862 (CLD_KILLED): Likewise.
20863 (CLD_DUMPED): Likewise.
20864 (CLD_TRAPPED): Likewise.
20865 (CLD_STOPPED): Likewise.
20866 (CLD_CONTINUED): Likewise.
20867 (POLL_IN): Likewise.
20868 (POLL_OUT): Likewise.
20869 (POLL_MSG): Likewise.
20870 (POLL_ERR): Likewise.
20871 (POLL_PRI): Likewise.
20872 (POLL_HUP): Likewise.
20873 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20875 (ILL_ILLOPN): Likewise.
20876 (ILL_ILLADR): Likewise.
20877 (ILL_ILLTRP): Likewise.
20878 (ILL_PRVOPC): Likewise.
20879 (ILL_PRVREG): Likewise.
20880 (ILL_COPROC): Likewise.
20881 (ILL_BADSTK): Likewise.
20882 (FPE_INTDIV): Likewise.
20883 (FPE_INTOVF): Likewise.
20884 (FPE_FLTDIV): Likewise.
20885 (FPE_FLTOVF): Likewise.
20886 (FPE_FLTUND): Likewise.
20887 (FPE_FLTRES): Likewise.
20888 (FPE_FLTINV): Likewise.
20889 (FPE_FLTSUB): Likewise.
20890 (SEGV_MAPERR): Likewise.
20891 (SEGV_ACCERR): Likewise.
20892 (BUS_ADRALN): Likewise.
20893 (BUS_ADRERR): Likewise.
20894 (BUS_OBJERR): Likewise.
20895 (BUS_MCEERR_AR): Likewise.
20896 (BUS_MCEERR_AO): Likewise.
20897 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20898 (TRAP_TRACE): Likewise.
20899 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20901 (CLD_KILLED): Likewise.
20902 (CLD_DUMPED): Likewise.
20903 (CLD_TRAPPED): Likewise.
20904 (CLD_STOPPED): Likewise.
20905 (CLD_CONTINUED): Likewise.
20906 (POLL_IN): Likewise.
20907 (POLL_OUT): Likewise.
20908 (POLL_MSG): Likewise.
20909 (POLL_ERR): Likewise.
20910 (POLL_PRI): Likewise.
20911 (POLL_HUP): Likewise.
20912 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20913 (ILL_ILLOPN): Likewise.
20914 (ILL_ILLADR): Likewise.
20915 (ILL_ILLTRP): Likewise.
20916 (ILL_PRVOPC): Likewise.
20917 (ILL_PRVREG): Likewise.
20918 (ILL_COPROC): Likewise.
20919 (ILL_BADSTK): Likewise.
20920 (FPE_INTDIV): Likewise.
20921 (FPE_INTOVF): Likewise.
20922 (FPE_FLTDIV): Likewise.
20923 (FPE_FLTOVF): Likewise.
20924 (FPE_FLTUND): Likewise.
20925 (FPE_FLTRES): Likewise.
20926 (FPE_FLTINV): Likewise.
20927 (FPE_FLTSUB): Likewise.
20928 (SEGV_MAPERR): Likewise.
20929 (SEGV_ACCERR): Likewise.
20930 (BUS_ADRALN): Likewise.
20931 (BUS_ADRERR): Likewise.
20932 (BUS_OBJERR): Likewise.
20933 (BUS_MCEERR_AR): Likewise.
20934 (BUS_MCEERR_AO): Likewise.
20935 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20936 (TRAP_TRACE): Likewise.
20937 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20939 (CLD_KILLED): Likewise.
20940 (CLD_DUMPED): Likewise.
20941 (CLD_TRAPPED): Likewise.
20942 (CLD_STOPPED): Likewise.
20943 (CLD_CONTINUED): Likewise.
20944 (POLL_IN): Likewise.
20945 (POLL_OUT): Likewise.
20946 (POLL_MSG): Likewise.
20947 (POLL_ERR): Likewise.
20948 (POLL_PRI): Likewise.
20949 (POLL_HUP): Likewise.
20950 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20952 (ILL_ILLOPN): Likewise.
20953 (ILL_ILLADR): Likewise.
20954 (ILL_ILLTRP): Likewise.
20955 (ILL_PRVOPC): Likewise.
20956 (ILL_PRVREG): Likewise.
20957 (ILL_COPROC): Likewise.
20958 (ILL_BADSTK): Likewise.
20959 (ILL_BADIADDR): Likewise.
20960 (ILL_BREAK): Likewise.
20961 (FPE_INTDIV): Likewise.
20962 (FPE_INTOVF): Likewise.
20963 (FPE_FLTDIV): Likewise.
20964 (FPE_FLTOVF): Likewise.
20965 (FPE_FLTUND): Likewise.
20966 (FPE_FLTRES): Likewise.
20967 (FPE_FLTINV): Likewise.
20968 (FPE_FLTSUB): Likewise.
20969 (FPE_DECOVF): Likewise.
20970 (FPE_DECDIV): Likewise.
20971 (FPE_DECERR): Likewise.
20972 (FPE_INVASC): Likewise.
20973 (FPE_INVDEC): Likewise.
20974 (SEGV_MAPERR): Likewise.
20975 (SEGV_ACCERR): Likewise.
20976 (SEGV_PSTKOVF): Likewise.
20977 (BUS_ADRALN): Likewise.
20978 (BUS_ADRERR): Likewise.
20979 (BUS_OBJERR): Likewise.
20980 (BUS_MCEERR_AR): Likewise.
20981 (BUS_MCEERR_AO): Likewise.
20982 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20983 (TRAP_TRACE): Likewise.
20984 (TRAP_BRANCH): Likewise.
20985 (TRAP_HWBKPT): Likewise.
20986 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20988 (CLD_KILLED): Likewise.
20989 (CLD_DUMPED): Likewise.
20990 (CLD_TRAPPED): Likewise.
20991 (CLD_STOPPED): Likewise.
20992 (CLD_CONTINUED): Likewise.
20993 (POLL_IN): Likewise.
20994 (POLL_OUT): Likewise.
20995 (POLL_MSG): Likewise.
20996 (POLL_ERR): Likewise.
20997 (POLL_PRI): Likewise.
20998 (POLL_HUP): Likewise.
20999 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21000 (ILL_ILLOPN): Likewise.
21001 (ILL_ILLADR): Likewise.
21002 (ILL_ILLTRP): Likewise.
21003 (ILL_PRVOPC): Likewise.
21004 (ILL_PRVREG): Likewise.
21005 (ILL_COPROC): Likewise.
21006 (ILL_BADSTK): Likewise.
21007 (FPE_INTDIV): Likewise.
21008 (FPE_INTOVF): Likewise.
21009 (FPE_FLTDIV): Likewise.
21010 (FPE_FLTOVF): Likewise.
21011 (FPE_FLTUND): Likewise.
21012 (FPE_FLTRES): Likewise.
21013 (FPE_FLTINV): Likewise.
21014 (FPE_FLTSUB): Likewise.
21015 (SEGV_MAPERR): Likewise.
21016 (SEGV_ACCERR): Likewise.
21017 (BUS_ADRALN): Likewise.
21018 (BUS_ADRERR): Likewise.
21019 (BUS_OBJERR): Likewise.
21020 (BUS_MCEERR_AR): Likewise.
21021 (BUS_MCEERR_AO): Likewise.
21022 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21023 (TRAP_TRACE): Likewise.
21024 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21026 (CLD_KILLED): Likewise.
21027 (CLD_DUMPED): Likewise.
21028 (CLD_TRAPPED): Likewise.
21029 (CLD_STOPPED): Likewise.
21030 (CLD_CONTINUED): Likewise.
21031 (POLL_IN): Likewise.
21032 (POLL_OUT): Likewise.
21033 (POLL_MSG): Likewise.
21034 (POLL_ERR): Likewise.
21035 (POLL_PRI): Likewise.
21036 (POLL_HUP): Likewise.
21037 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21038 (ILL_ILLOPN): Likewise.
21039 (ILL_ILLADR): Likewise.
21040 (ILL_ILLTRP): Likewise.
21041 (ILL_PRVOPC): Likewise.
21042 (ILL_PRVREG): Likewise.
21043 (ILL_COPROC): Likewise.
21044 (ILL_BADSTK): Likewise.
21045 (FPE_INTDIV): Likewise.
21046 (FPE_INTOVF): Likewise.
21047 (FPE_FLTDIV): Likewise.
21048 (FPE_FLTOVF): Likewise.
21049 (FPE_FLTUND): Likewise.
21050 (FPE_FLTRES): Likewise.
21051 (FPE_FLTINV): Likewise.
21052 (FPE_FLTSUB): Likewise.
21053 (SEGV_MAPERR): Likewise.
21054 (SEGV_ACCERR): Likewise.
21055 (BUS_ADRALN): Likewise.
21056 (BUS_ADRERR): Likewise.
21057 (BUS_OBJERR): Likewise.
21058 (BUS_MCEERR_AR): Likewise.
21059 (BUS_MCEERR_AO): Likewise.
21060 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21061 (TRAP_TRACE): Likewise.
21062 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21064 (CLD_KILLED): Likewise.
21065 (CLD_DUMPED): Likewise.
21066 (CLD_TRAPPED): Likewise.
21067 (CLD_STOPPED): Likewise.
21068 (CLD_CONTINUED): Likewise.
21069 (POLL_IN): Likewise.
21070 (POLL_OUT): Likewise.
21071 (POLL_MSG): Likewise.
21072 (POLL_ERR): Likewise.
21073 (POLL_PRI): Likewise.
21074 (POLL_HUP): Likewise.
21075 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21076 (ILL_ILLOPN): Likewise.
21077 (ILL_ILLADR): Likewise.
21078 (ILL_ILLTRP): Likewise.
21079 (ILL_PRVOPC): Likewise.
21080 (ILL_PRVREG): Likewise.
21081 (ILL_COPROC): Likewise.
21082 (ILL_BADSTK): Likewise.
21083 (FPE_INTDIV): Likewise.
21084 (FPE_INTOVF): Likewise.
21085 (FPE_FLTDIV): Likewise.
21086 (FPE_FLTOVF): Likewise.
21087 (FPE_FLTUND): Likewise.
21088 (FPE_FLTRES): Likewise.
21089 (FPE_FLTINV): Likewise.
21090 (FPE_FLTSUB): Likewise.
21091 (SEGV_MAPERR): Likewise.
21092 (SEGV_ACCERR): Likewise.
21093 (BUS_ADRALN): Likewise.
21094 (BUS_ADRERR): Likewise.
21095 (BUS_OBJERR): Likewise.
21096 (BUS_MCEERR_AR): Likewise.
21097 (BUS_MCEERR_AO): Likewise.
21098 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21099 (TRAP_TRACE): Likewise.
21100 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21102 (CLD_KILLED): Likewise.
21103 (CLD_DUMPED): Likewise.
21104 (CLD_TRAPPED): Likewise.
21105 (CLD_STOPPED): Likewise.
21106 (CLD_CONTINUED): Likewise.
21107 (POLL_IN): Likewise.
21108 (POLL_OUT): Likewise.
21109 (POLL_MSG): Likewise.
21110 (POLL_ERR): Likewise.
21111 (POLL_PRI): Likewise.
21112 (POLL_HUP): Likewise.
21113 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21114 (ILL_ILLOPN): Likewise.
21115 (ILL_ILLADR): Likewise.
21116 (ILL_ILLTRP): Likewise.
21117 (ILL_PRVOPC): Likewise.
21118 (ILL_PRVREG): Likewise.
21119 (ILL_COPROC): Likewise.
21120 (ILL_BADSTK): Likewise.
21121 (ILL_DBLFLT): Likewise.
21122 (ILL_HARDWALL): Likewise.
21123 (FPE_INTDIV): Likewise.
21124 (FPE_INTOVF): Likewise.
21125 (FPE_FLTDIV): Likewise.
21126 (FPE_FLTOVF): Likewise.
21127 (FPE_FLTUND): Likewise.
21128 (FPE_FLTRES): Likewise.
21129 (FPE_FLTINV): Likewise.
21130 (FPE_FLTSUB): Likewise.
21131 (SEGV_MAPERR): Likewise.
21132 (SEGV_ACCERR): Likewise.
21133 (BUS_ADRALN): Likewise.
21134 (BUS_ADRERR): Likewise.
21135 (BUS_OBJERR): Likewise.
21136 (BUS_MCEERR_AR): Likewise.
21137 (BUS_MCEERR_AO): Likewise.
21138 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21139 (TRAP_TRACE): Likewise.
21140 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21142 (CLD_KILLED): Likewise.
21143 (CLD_DUMPED): Likewise.
21144 (CLD_TRAPPED): Likewise.
21145 (CLD_STOPPED): Likewise.
21146 (CLD_CONTINUED): Likewise.
21147 (POLL_IN): Likewise.
21148 (POLL_OUT): Likewise.
21149 (POLL_MSG): Likewise.
21150 (POLL_ERR): Likewise.
21151 (POLL_PRI): Likewise.
21152 (POLL_HUP): Likewise.
21153 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21154 (ILL_ILLOPN): Likewise.
21155 (ILL_ILLADR): Likewise.
21156 (ILL_ILLTRP): Likewise.
21157 (ILL_PRVOPC): Likewise.
21158 (ILL_PRVREG): Likewise.
21159 (ILL_COPROC): Likewise.
21160 (ILL_BADSTK): Likewise.
21161 (FPE_INTDIV): Likewise.
21162 (FPE_INTOVF): Likewise.
21163 (FPE_FLTDIV): Likewise.
21164 (FPE_FLTOVF): Likewise.
21165 (FPE_FLTUND): Likewise.
21166 (FPE_FLTRES): Likewise.
21167 (FPE_FLTINV): Likewise.
21168 (FPE_FLTSUB): Likewise.
21169 (SEGV_MAPERR): Likewise.
21170 (SEGV_ACCERR): Likewise.
21171 (BUS_ADRALN): Likewise.
21172 (BUS_ADRERR): Likewise.
21173 (BUS_OBJERR): Likewise.
21174 (BUS_MCEERR_AR): Likewise.
21175 (BUS_MCEERR_AO): Likewise.
21176 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21177 (TRAP_TRACE): Likewise.
21178 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21180 (CLD_KILLED): Likewise.
21181 (CLD_DUMPED): Likewise.
21182 (CLD_TRAPPED): Likewise.
21183 (CLD_STOPPED): Likewise.
21184 (CLD_CONTINUED): Likewise.
21185 (POLL_IN): Likewise.
21186 (POLL_OUT): Likewise.
21187 (POLL_MSG): Likewise.
21188 (POLL_ERR): Likewise.
21189 (POLL_PRI): Likewise.
21190 (POLL_HUP): Likewise.
21191 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21192 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21195 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21196 before #include of <time.h>.
21197 [!__USE_XOPEN2K] (__need_timespec): Likewise.
21198 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21199 (test-xfail-UNIX98/sched.h/conform): Likewise.
21201 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
21203 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21204 error absence of trapping exception support.
21205 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21207 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21209 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21210 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21211 * timezone/Makefile (testdata): Move definition above include of
21213 (test-zones): New variable.
21214 (tests-special): Add zone files.
21215 (build-testdata): Use $(evaluate-test).
21217 * elf/Makefile (tests-special): Rename tests to end with .out.
21218 ($(objpfx)noload-mem): Likewise.
21219 ($(objpfx)tst-leaks1-mem): Likewise.
21220 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21221 * iconv/Makefile (xtests-special): Change test-iconvconfig to
21222 $(objpfx)test-iconvconfig.out.
21223 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
21224 set -e inside subshell and redirect output to file.
21225 * iconvdata/Makefile (generated): Rename tests to end with .out.
21227 (tests-special): Rename tests to end with .out.
21228 ($(objpfx)mtrace-tst-loading): Likewise.
21229 * intl/Makefile (generated): Likewise.
21230 (tests-special): Likewise.
21231 ($(objpfx)mtrace-tst-gettext): Likewise.
21232 * misc/Makefile (generated): Likewise.
21233 (tests-special): Likewise.
21234 ($(objpfx)tst-error1-mem): Likewise.
21235 * nptl/Makefile (tests-special): Likewise.
21236 ($(objpfx)tst-stack3-mem): Likewise.
21237 (generated): Likewise.
21238 * posix/Makefile (generated): Likewise.
21239 (tests-special): Likewise.
21240 (xtests-special): Likewise.
21241 ($(objpfx)tst-fnmatch-mem): Likewise.
21242 ($(objpfx)bug-regex2-mem): Likewise.
21243 ($(objpfx)bug-regex14-mem): Likewise.
21244 ($(objpfx)bug-regex21-mem): Likewise.
21245 ($(objpfx)bug-regex31-mem): Likewise.
21246 ($(objpfx)tst-vfork3-mem): Likewise.
21247 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21248 ($(objpfx)tst-pcre-mem): Likewise.
21249 ($(objpfx)tst-boost-mem): Likewise.
21250 ($(objpfx)bug-ga2-mem): Likewise.
21251 ($(objpfx)bug-glob2-mem): Likewise.
21252 * resolv/Makefile (generate): Likewise.
21253 (tests-special): Likewise.
21254 (xtests-special): Likewise.
21255 (generated): Likewise.
21256 ($(objpfx)mtrace-tst-leaks): Likewise.
21257 ($(objpfx)mtrace-tst-leaks2): Likewise.
21259 * scripts/merge-test-results.sh: New file.
21260 * Makefile (tests-special-notdir): New variable.
21261 (tests): Run merge-test-results.sh.
21262 (xtests): Likewise.
21263 * Rules (tests-special-notdir): New variable.
21264 (xtests-special-notdir): Likewise.
21265 (tests): Run merge-test-results.sh
21266 (xtests): Likewise.
21268 * Makeconfig (test-xfail-name): New variable.
21269 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21270 compute variable name for expected failures.
21271 * conform/Makefile (conformtest-headers-data): New variable.
21272 (conformtest-standards): Likewise.
21273 (conformtest-headers-ISO): Likewise.
21274 (conformtest-headers-ISO99): Likewise.
21275 (conformtest-headers-ISO11): Likewise.
21276 (conformtest-headers-POSIX): Likewise.
21277 (conformtest-headers-XPG3): Likewise.
21278 (conformtest-headers-XPG4): Likewise.
21279 (conformtest-headers-UNIX98): Likewise.
21280 (conformtest-headers-XOPEN2K): Likewise.
21281 (conformtest-headers-POSIX2008): Likewise.
21282 (conformtest-headers-XOPEN2K8): Likewise.
21283 (conformtest-header-list-base): Likewise.
21284 (conformtest-header-list-tests): Likewise.
21285 (conformtest-header-base): Likewise.
21286 (conformtest-header-tests): Likewise.
21287 (tests-special): Add $(conformtest-header-list-tests). If
21288 [$(fast-check) && !$(cross-compiling)], add
21289 $(conformtest-header-tests) instead of
21290 $(objpfx)run-conformtest.out.
21291 (generated): Add $(conformtest-header-list-base). If
21292 [$(fast-check) && !$(cross-compiling)], add
21293 $(conformtest-header-base). Remove previous setting.
21294 ($(conformtest-header-list-tests)): New target.
21295 (test-xfail-run-conformtest): Remove variable.
21296 ($(objpfx)run-conformtest.out): Remove target.
21297 (test-xfail-ISO11/complex.h/conform): New variable.
21298 (test-xfail-ISO11/stdalign.h/conform): Likewise.
21299 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21300 (test-xfail-XPG3/varargs.h/conform): Likewise.
21301 (test-xfail-XPG4/varargs.h/conform): Likewise.
21302 (test-xfail-UNIX98/varargs.h/conform): Likewise.
21303 (test-xfail-XPG4/ndbm.h/conform): Likewise.
21304 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21305 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21306 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21307 (test-xfail-XPG3/fcntl.h/conform): Likewise.
21308 (test-xfail-XPG3/ftw.h/conform): Likewise.
21309 (test-xfail-XPG3/grp.h/conform): Likewise.
21310 (test-xfail-XPG3/langinfo.h/conform): Likewise.
21311 (test-xfail-XPG3/limits.h/conform): Likewise.
21312 (test-xfail-XPG3/pwd.h/conform): Likewise.
21313 (test-xfail-XPG3/search.h/conform): Likewise.
21314 (test-xfail-XPG3/signal.h/conform): Likewise.
21315 (test-xfail-XPG3/stdio.h/conform): Likewise.
21316 (test-xfail-XPG3/stdlib.h/conform): Likewise.
21317 (test-xfail-XPG3/string.h/conform): Likewise.
21318 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21319 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21320 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21321 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21322 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21323 (test-xfail-XPG3/sys/types.h/conform): Likewise.
21324 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21325 (test-xfail-XPG3/termios.h/conform): Likewise.
21326 (test-xfail-XPG3/time.h/conform): Likewise.
21327 (test-xfail-XPG3/unistd.h/conform): Likewise.
21328 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21329 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21330 (test-xfail-XPG4/langinfo.h/conform): Likewise.
21331 (test-xfail-XPG4/netdb.h/conform): Likewise.
21332 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21333 (test-xfail-XPG4/signal.h/conform): Likewise.
21334 (test-xfail-XPG4/stdio.h/conform): Likewise.
21335 (test-xfail-XPG4/stdlib.h/conform): Likewise.
21336 (test-xfail-XPG4/stropts.h/conform): Likewise.
21337 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21338 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21339 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21340 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21341 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21342 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21343 (test-xfail-XPG4/sys/time.h/conform): Likewise.
21344 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21345 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21346 (test-xfail-XPG4/termios.h/conform): Likewise.
21347 (test-xfail-XPG4/ucontext.h/conform): Likewise.
21348 (test-xfail-XPG4/unistd.h/conform): Likewise.
21349 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21350 (test-xfail-POSIX/sched.h/conform): Likewise.
21351 (test-xfail-POSIX/signal.h/conform): Likewise.
21352 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21353 (test-xfail-POSIX/tar.h/conform): Likewise.
21354 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21355 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21356 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21357 (test-xfail-UNIX98/netdb.h/conform): Likewise.
21358 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21359 (test-xfail-UNIX98/sched.h/conform): Likewise.
21360 (test-xfail-UNIX98/signal.h/conform): Likewise.
21361 (test-xfail-UNIX98/stdio.h/conform): Likewise.
21362 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21363 (test-xfail-UNIX98/stropts.h/conform): Likewise.
21364 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21365 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21366 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21367 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21368 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21369 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21370 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21371 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21372 (test-xfail-UNIX98/unistd.h/conform): Likewise.
21373 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21374 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21375 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21376 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21377 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21378 (test-xfail-XOPEN2K/math.h/conform): Likewise.
21379 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21380 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21381 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21382 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21383 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21384 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21385 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21386 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21387 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21388 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21389 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21390 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21391 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21392 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21393 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21394 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21395 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21396 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21397 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21398 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21399 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21400 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21401 (test-xfail-POSIX2008/signal.h/conform): Likewise.
21402 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21403 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21404 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21405 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21406 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21407 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21408 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21409 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21410 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21411 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21412 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21413 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21414 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21415 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21416 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21417 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21418 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21419 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21420 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21421 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21422 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21423 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21424 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21425 (conformtest-cc-flags): Likewise.
21426 ($(conformtest-header-tests): New target.
21427 * conform/check-header-lists.sh: New file.
21428 * conform/run-conformtest.sh: Remove.
21430 * conform/conformtest.pl: Allow ' and \ in values given for
21432 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21434 [POSIX] (sys/types.h): Likewise.
21435 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21437 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21439 * conform/data/signal.h-data (SIGIO): Remove expectation.
21440 [XPG3] (SIGBUS): Do not expect.
21441 [POSIX || XPG3] (SIGPOLL): Likewise.
21442 [POSIX || XPG3] (SIGPROF): Likewise.
21443 [POSIX || XPG3] (SIGSYS): Likewise.
21444 [XPG3] (SIGTRAP): Likewise.
21445 [POSIX || XPG3] (SIGURG): Likewise.
21446 [POSIX || XPG3] (SIGVTALRM): Likewise.
21447 [POSIX || XPG3] (SIGXCPU): Likewise.
21448 [POSIX || XPG3] (SIGXFSZ): Likewise.
21449 [POSIX] (SA_SIGINFO): Expect.
21450 [XPG3] (siginfo_t): Do not expect type or contents.
21451 [POSIX] (si_pid): Do not expect element.
21452 [POSIX] (si_uid): Likewise.
21453 [POSIX] (si_addr): Likewise.
21454 [POSIX] (si_status): Likewise.
21455 [POSIX] (si_band): Likewise.
21456 [XPG4] (si_value): Likewise.
21457 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21458 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21459 [POSIX || XPG3] (ILL_ILLADR): Likewise.
21460 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21461 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21462 [POSIX || XPG3] (ILL_PRVREG): Likewise.
21463 [POSIX || XPG3] (ILL_COPROC): Likewise.
21464 [POSIX || XPG3] (ILL_BADSTK): Likewise.
21465 [POSIX || XPG3] (FPE_INTDIV): Likewise.
21466 [POSIX || XPG3] (FPE_INTOVF): Likewise.
21467 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21468 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21469 [POSIX || XPG3] (FPE_FLTUND): Likewise.
21470 [POSIX || XPG3] (FPE_FLTRES): Likewise.
21471 [POSIX || XPG3] (FPE_FLTINV): Likewise.
21472 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21473 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21474 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21475 [POSIX || XPG3] (BUS_ADRALN): Likewise.
21476 [POSIX || XPG3] (BUS_ADRERR): Likewise.
21477 [POSIX || XPG3] (BUS_OBJERR): Likewise.
21478 [POSIX || XPG3] (CLD_EXITED): Likewise.
21479 [POSIX || XPG3] (CLD_KILLED): Likewise.
21480 [POSIX || XPG3] (CLD_DUMPED): Likewise.
21481 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21482 [POSIX || XPG3] (CLD_STOPPED): Likewise.
21483 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21484 [POSIX || XPG3] (POLL_IN): Likewise.
21485 [POSIX || XPG3] (POLL_OUT): Likewise.
21486 [POSIX || XPG3] (POLL_MSG): Likewise.
21487 [POSIX || XPG3] (POLL_ERR): Likewise.
21488 [POSIX || XPG3] (POLL_PRI): Likewise.
21489 [POSIX || XPG3] (POLL_HUP): Likewise.
21490 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21491 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21492 (SIG*): Do not allow.
21493 [XPG3] (si_*): Likewise.
21494 [XPG3] (SI_*): Likewise.
21495 [XPG3 || XPG4] (sigev_*): Likewise.
21496 [XPG3 || XPG4] (SIGEV_*): Likewise.
21497 [XPG3 || XPG4] (sival_*): Likewise.
21498 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21499 [POSIX || XPG3] (BUS_*): Likewise.
21500 [POSIX || XPG3] (CLD_*): Likewise.
21501 [POSIX || XPG3] (FPE_*): Likewise.
21502 [POSIX || XPG3] (ILL_*): Likewise.
21503 [POSIX || XPG3] (POLL_*): Likewise.
21504 [POSIX || XPG3] (SEGV_*): Likewise.
21505 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21506 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21507 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21508 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21509 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21510 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21511 Specify type and value.
21512 (TVERSLEN): Likewise.
21513 (REGTYPE): Likewise.
21514 (AREGTYPE): Likewise.
21515 (LNKTYPE): Likewise.
21516 (SYMTYPE): Likewise.
21517 (CHRTYPE): Likewise.
21518 (BLKTYPE): Likewise.
21519 (DIRTYPE): Likewise.
21520 (FIFOTYPE): Likewise.
21521 (CONTTYPE): Likewise.
21525 (TUREAD): Likewise.
21526 (TUWRITE): Likewise.
21527 (TUEXEC): Likewise.
21528 (TGREAD): Likewise.
21529 (TGWRITE): Likewise.
21530 (TGEXEC): Likewise.
21531 (TOREAD): Likewise.
21532 (TOWRITE): Likewise.
21533 (TOEXEC): Likewise.
21534 [POSIX] (TSVTX): Expect constant.
21536 2014-03-06 Joseph Myers <joseph@codesourcery.com>
21538 * Makefile (tests): Change dependencies to ....
21539 (tests-special): ... additions to this variable.
21540 (tests): Depend on $(tests-special).
21541 * Makerules (check-abi-list): New variable.
21542 (check-abi): Depend on $(check-abi-list).
21543 [$(subdir) = elf] (tests-special): Add
21544 $(objpfx)check-abi-libc.out.
21545 [$(build-shared) = yes && subdir] (tests-special): Add
21547 [$(build-shared) = yes && subdir] (tests): Do not depend on
21549 * Rules (tests): Depend on $(tests-special).
21550 (xtests): Depend on $(xtests-special).
21551 * catgets/Makefile (tests): Change dependencies to ....
21552 (tests-special): ... additions to this variable.
21553 * conform/Makefile (tests): Change dependencies to ....
21554 (tests-special): ... additions to this variable.
21555 * elf/Makefile (tests): Change dependencies to ....
21556 (tests-special): ... additions to this variable.
21557 * grp/Makefile (tests): Change dependencies to ....
21558 (tests-special): ... additions to this variable.
21559 * iconv/Makefile (xtests): Change dependencies to ....
21560 (xtests-special): ... additions to this variable.
21561 * iconvdata/Makefile (tests): Change dependencies to ....
21562 (tests-special): ... additions to this variable.
21563 * intl/Makefile (tests): Change dependencies to ....
21564 (tests-special): ... additions to this variable. Also add
21565 $(objpfx)tst-gettext.out.
21566 * io/Makefile (tests): Change dependencies to ....
21567 (tests-special): ... additions to this variable.
21568 * libio/Makefile (tests): Change dependencies to ....
21569 (tests-special): ... additions to this variable.
21570 * malloc/Makefile (tests): Change dependencies to ....
21571 (tests-special): ... additions to this variable.
21572 * misc/Makefile (tests): Change dependencies to ....
21573 (tests-special): ... additions to this variable.
21574 * nptl/Makefile (tests): Change dependencies to ....
21575 (tests-special): ... additions to this variable.
21576 * nptl_db/Makefile (tests): Change dependencies to ....
21577 (tests-special): ... additions to this variable.
21578 * posix/Makefile (tests): Change dependencies to ....
21579 (tests-special): ... additions to this variable.
21580 (xtests): Change dependencies to ....
21581 (xtests-special): ... additions to this variable.
21582 * resolv/Makefile (tests): Change dependencies to ....
21583 (tests-special): ... additions to this variable.
21584 (xtests): Change dependencies to ....
21585 (xtests-special): ... additions to this variable.
21586 * stdio-common/Makefile (tests): Change dependencies to ....
21587 (tests-special): ... additions to this variable.
21588 (do-tst-unbputc): Remove target.
21589 (do-tst-printf): Likewise.
21590 * stdlib/Makefile (tests): Change dependencies to ....
21591 (tests-special): ... additions to this variable.
21592 * string/Makefile (tests): Change dependencies to ....
21593 (tests-special): ... additions to this variable.
21594 * sysdeps/x86/Makefile (tests): Change dependencies to ....
21595 (tests-special): ... additions to this variable.
21597 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21599 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21601 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21602 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21604 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21605 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21606 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21607 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21608 * conform/data/libgen.h-data [XPG3]: Likewise.
21609 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21610 * conform/data/ndbm.h-data [XPG3]: Likewise.
21611 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21612 * conform/data/netdb.h-data [XPG3]: Likewise.
21613 * conform/data/netinet/in.h-data [XPG3]: Likewise.
21614 * conform/data/poll.h-data [XPG3]: Likewise.
21615 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21616 * conform/data/strings.h-data [XPG3]: Likewise.
21617 * conform/data/stropts.h-data [XPG3]: Likewise.
21618 * conform/data/sys/mman.h-data [XPG3]: Likewise.
21619 * conform/data/sys/resource.h-data [XPG3]: Likewise.
21620 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21622 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21623 * conform/data/sys/time.h-data [XPG3]: Likewise.
21624 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21625 * conform/data/sys/uio.h-data [XPG3]: Likewise.
21626 * conform/data/sys/un.h-data [XPG3]: Likewise.
21627 * conform/data/syslog.h-data [XPG3]: Likewise.
21628 * conform/data/ucontext.h-data [XPG3]: Likewise.
21629 * conform/data/utmpx.h-data [XPG3]: Likewise.
21630 * conform/data/varargs.h-data [UNIX98]: Enable file.
21632 * manual/Makefile (INSTALL_INFO): Remove variable setting.
21634 * math/libm-test.inc (struct test_f_f_data): Move expected results
21635 into structure for each rounding mode.
21636 (struct test_ff_f_data): Likewise.
21637 (struct test_ff_f_data_nexttoward): Likewise.
21638 (struct test_fi_f_data): Likewise.
21639 (struct test_fl_f_data): Likewise.
21640 (struct test_if_f_data): Likewise.
21641 (struct test_fff_f_data): Likewise.
21642 (struct test_c_f_data): Likewise.
21643 (struct test_f_f1_data): Likewise.
21644 (struct test_fF_f1_data): Likewise.
21645 (struct test_ffI_f1_data): Likewise.
21646 (struct test_c_c_data): Likewise.
21647 (struct test_cc_c_data): Likewise.
21648 (struct test_f_i_data): Likewise.
21649 (struct test_ff_i_data): Likewise.
21650 (struct test_f_l_data): Likewise.
21651 (struct test_f_L_data): Likewise.
21652 (struct test_fFF_11_data): Likewise.
21654 (RM_FE_DOWNWARD): Likewise.
21655 (RM_FE_TONEAREST): Likewise.
21656 (RM_FE_TOWARDZERO): Likewise.
21657 (RM_FE_UPWARD): Likewise.
21658 (RUN_TEST_LOOP_f_f): Update references to expected results.
21659 (RUN_TEST_LOOP_2_f): Likewise.
21660 (RUN_TEST_LOOP_fff_f): Likewise.
21661 (RUN_TEST_LOOP_c_f): Likewise.
21662 (RUN_TEST_LOOP_f_f1): Likewise.
21663 (RUN_TEST_LOOP_fF_f1): Likewise.
21664 (RUN_TEST_LOOP_fI_f1): Likewise.
21665 (RUN_TEST_LOOP_ffI_f1): Likewise.
21666 (RUN_TEST_LOOP_c_c): Likewise.
21667 (RUN_TEST_LOOP_cc_c): Likewise.
21668 (RUN_TEST_LOOP_f_i): Likewise.
21669 (RUN_TEST_LOOP_f_i_tg): Likewise.
21670 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21671 (RUN_TEST_LOOP_f_b): Likewise.
21672 (RUN_TEST_LOOP_f_b_tg): Likewise.
21673 (RUN_TEST_LOOP_f_l): Likewise.
21674 (RUN_TEST_LOOP_f_L): Likewise.
21675 (RUN_TEST_LOOP_fFF_11): Likewise.
21676 * math/gen-libm-test.pl (parse_args): Output four copies of
21677 expected results for each test.
21679 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21680 (__ASSUME_UTIMES): Remove.
21681 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21682 (__ASSUME_UTIMES): Likewise.
21684 * math/gen-auto-libm-tests.c: Update comment on output format.
21685 (output_for_one_input_case): Generate before-rounding and
21686 after-rounding information as conditions on output flags not
21687 floating-point format.
21688 * math/auto-libm-test-out: Regenerated.
21689 * math/gen-libm-test.pl (cond_value): New function.
21690 (or_cond_value): Use cond_value.
21691 (generate_testfile): Handle conditional exceptions.
21693 2014-03-05 Joseph Myers <joseph@codesourcery.com>
21695 * math/libm-test.inc (max_valid_error): New variable.
21696 (init_max_error): Take new argument specifying whether function
21697 results are exactly determined. Set max_valid_error and bound
21698 other variables for errors based on this argument.
21699 (set_max_error): Do not record results above max_valid_error.
21700 (check_float_internal): Only accept errors of up to 0.5ulps if
21701 also at most max_valid_error.
21702 (START): Take new argument EXACT and pass it to init_max_error.
21703 (acos_test): Update call to START.
21704 (acos_test_tonearest): Likewise.
21705 (acos_test_towardzero): Likewise.
21706 (acos_test_downward): Likewise.
21707 (acos_test_upward): Likewise.
21708 (acosh_test): Likewise.
21709 (asin_test): Likewise.
21710 (asin_test_tonearest): Likewise.
21711 (asin_test_towardzero): Likewise.
21712 (asin_test_downward): Likewise.
21713 (asin_test_upward): Likewise.
21714 (asinh_test): Likewise.
21715 (atan_test): Likewise.
21716 (atanh_test): Likewise.
21717 (atan2_test): Likewise.
21718 (cabs_test): Likewise.
21719 (cacos_test): Likewise.
21720 (cacosh_test): Likewise.
21721 (carg_test): Likewise.
21722 (casin_test): Likewise.
21723 (casinh_test): Likewise.
21724 (catan_test): Likewise.
21725 (catanh_test): Likewise.
21726 (cbrt_test): Likewise.
21727 (ccos_test): Likewise.
21728 (ccosh_test): Likewise.
21729 (ceil_test): Likewise.
21730 (cexp_test): Likewise.
21731 (cimag_test): Likewise.
21732 (clog_test): Likewise.
21733 (clog10_test): Likewise.
21734 (conj_test): Likewise.
21735 (copysign_test): Likewise.
21736 (cos_test): Likewise.
21737 (cos_test_tonearest): Likewise.
21738 (cos_test_towardzero): Likewise.
21739 (cos_test_downward): Likewise.
21740 (cos_test_upward): Likewise.
21741 (cosh_test): Likewise.
21742 (cosh_test_tonearest): Likewise.
21743 (cosh_test_towardzero): Likewise.
21744 (cosh_test_downward): Likewise.
21745 (cosh_test_upward): Likewise.
21746 (cpow_test): Likewise.
21747 (cproj_test): Likewise.
21748 (creal_test): Likewise.
21749 (csin_test): Likewise.
21750 (csinh_test): Likewise.
21751 (csqrt_test): Likewise.
21752 (ctan_test): Likewise.
21753 (ctan_test_tonearest): Likewise.
21754 (ctan_test_towardzero): Likewise.
21755 (ctan_test_downward): Likewise.
21756 (ctan_test_upward): Likewise.
21757 (ctanh_test): Likewise.
21758 (ctanh_test_tonearest): Likewise.
21759 (ctanh_test_towardzero): Likewise.
21760 (ctanh_test_downward): Likewise.
21761 (ctanh_test_upward): Likewise.
21762 (erf_test): Likewise.
21763 (erfc_test): Likewise.
21764 (exp_test): Likewise.
21765 (exp_test_tonearest): Likewise.
21766 (exp_test_towardzero): Likewise.
21767 (exp_test_downward): Likewise.
21768 (exp_test_upward): Likewise.
21769 (exp10_test): Likewise.
21770 (exp10_test_tonearest): Likewise.
21771 (exp10_test_towardzero): Likewise.
21772 (exp10_test_downward): Likewise.
21773 (exp10_test_upward): Likewise.
21774 (pow10_test): Likewise.
21775 (exp2_test): Likewise.
21776 (expm1_test): Likewise.
21777 (expm1_test_tonearest): Likewise.
21778 (expm1_test_towardzero): Likewise.
21779 (expm1_test_downward): Likewise.
21780 (expm1_test_upward): Likewise.
21781 (fabs_test): Likewise.
21782 (fdim_test): Likewise.
21783 (floor_test): Likewise.
21784 (fma_test): Likewise.
21785 (fma_test_towardzero): Likewise.
21786 (fma_test_downward): Likewise.
21787 (fma_test_upward): Likewise.
21788 (fmax_test): Likewise.
21789 (fmin_test): Likewise.
21790 (fmod_test): Likewise.
21791 (fpclassify_test): Likewise.
21792 (frexp_test): Likewise.
21793 (hypot_test): Likewise.
21794 (ilogb_test): Likewise.
21795 (isfinite_test): Likewise.
21796 (finite_test): Likewise.
21797 (isgreater_test): Likewise.
21798 (isgreaterequal_test): Likewise.
21799 (isinf_test): Likewise.
21800 (isless_test): Likewise.
21801 (islessequal_test): Likewise.
21802 (islessgreater_test): Likewise.
21803 (isnan_test): Likewise.
21804 (isnormal_test): Likewise.
21805 (issignaling_test): Likewise.
21806 (isunordered_test): Likewise.
21807 (j0_test): Likewise.
21808 (j1_test): Likewise.
21809 (jn_test): Likewise.
21810 (ldexp_test): Likewise.
21811 (lgamma_test): Likewise.
21812 (gamma_test): Likewise.
21813 (lrint_test): Likewise.
21814 (lrint_test_tonearest): Likewise.
21815 (lrint_test_towardzero): Likewise.
21816 (lrint_test_downward): Likewise.
21817 (lrint_test_upward): Likewise.
21818 (llrint_test): Likewise.
21819 (llrint_test_tonearest): Likewise.
21820 (llrint_test_towardzero): Likewise.
21821 (llrint_test_downward): Likewise.
21822 (llrint_test_upward): Likewise.
21823 (log_test): Likewise.
21824 (log10_test): Likewise.
21825 (log1p_test): Likewise.
21826 (log2_test): Likewise.
21827 (logb_test): Likewise.
21828 (logb_test_downward): Likewise.
21829 (lround_test): Likewise.
21830 (llround_test): Likewise.
21831 (modf_test): Likewise.
21832 (nearbyint_test): Likewise.
21833 (nextafter_test): Likewise.
21834 (nexttoward_test): Likewise.
21835 (pow_test): Likewise.
21836 (pow_test_tonearest): Likewise.
21837 (pow_test_towardzero): Likewise.
21838 (pow_test_downward): Likewise.
21839 (pow_test_upward): Likewise.
21840 (remainder_test): Likewise.
21841 (drem_test): Likewise.
21842 (remainder_test_tonearest): Likewise.
21843 (drem_test_tonearest): Likewise.
21844 (remainder_test_towardzero): Likewise.
21845 (drem_test_towardzero): Likewise.
21846 (remainder_test_downward): Likewise.
21847 (drem_test_downward): Likewise.
21848 (remainder_test_upward): Likewise.
21849 (drem_test_upward): Likewise.
21850 (remquo_test): Likewise.
21851 (rint_test): Likewise.
21852 (rint_test_tonearest): Likewise.
21853 (rint_test_towardzero): Likewise.
21854 (rint_test_downward): Likewise.
21855 (rint_test_upward): Likewise.
21856 (round_test): Likewise.
21857 (scalb_test): Likewise.
21858 (scalbn_test): Likewise.
21859 (scalbln_test): Likewise.
21860 (signbit_test): Likewise.
21861 (sin_test): Likewise.
21862 (sin_test_tonearest): Likewise.
21863 (sin_test_towardzero): Likewise.
21864 (sin_test_downward): Likewise.
21865 (sin_test_upward): Likewise.
21866 (sincos_test): Likewise.
21867 (sinh_test): Likewise.
21868 (sinh_test_tonearest): Likewise.
21869 (sinh_test_towardzero): Likewise.
21870 (sinh_test_downward): Likewise.
21871 (sinh_test_upward): Likewise.
21872 (sqrt_test): Likewise.
21873 (sqrt_test_tonearest): Likewise.
21874 (sqrt_test_towardzero): Likewise.
21875 (sqrt_test_downward): Likewise.
21876 (sqrt_test_upward): Likewise.
21877 (tan_test): Likewise.
21878 (tan_test_tonearest): Likewise.
21879 (tan_test_towardzero): Likewise.
21880 (tan_test_downward): Likewise.
21881 (tan_test_upward): Likewise.
21882 (tanh_test): Likewise.
21883 (tgamma_test): Likewise.
21884 (trunc_test): Likewise.
21885 (y0_test): Likewise.
21886 (y1_test): Likewise.
21887 (yn_test): Likewise.
21888 (significand_test): Likewise.
21890 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21891 individual tests in comment.
21892 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21893 (prev_max_error): New variable.
21894 (prev_real_max_error): Likewise.
21895 (prev_imag_max_error): Likewise.
21896 (compare_ulp_data): Don't refer to test names in comment.
21897 (find_test_ulps): Remove function.
21898 (find_function_ulps): Likewise.
21899 (find_complex_function_ulps): Likewise.
21900 (init_max_error): Take function name as argument. Look up ulps
21902 (print_ulps): Remove function.
21903 (print_max_error): Use prev_max_error instead of calling
21904 find_function_ulps.
21905 (print_complex_max_error): Use prev_real_max_error and
21906 prev_imag_max_error instead of calling find_complex_function_ulps.
21907 (check_float_internal): Take max_ulp parameter instead of calling
21908 find_test_ulps. Don't call print_ulps.
21909 (check_float): Update call to check_float_internal.
21910 (check_complex): Update calls to check_float_internal.
21911 (START): Pass argument to init_max_error.
21912 * math/gen-libm-test.pl (%results): Don't include "kind"
21914 (parse_ulps): Don't handle ulps of individual tests.
21915 (print_ulps_file): Likewise.
21916 (output_ulps): Likewise.
21917 * math/README.libm-test: Update.
21918 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21920 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21921 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21922 * sysdeps/arm/libm-test-ulps: Likewise.
21923 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21924 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21925 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21926 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21927 * sysdeps/microblaze/libm-test-ulps: Likewise.
21928 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21929 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21930 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21931 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21932 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21933 * sysdeps/sh/libm-test-ulps: Likewise.
21934 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21935 * sysdeps/tile/libm-test-ulps: Likewise.
21936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21938 2014-03-04 Joseph Myers <joseph@codesourcery.com>
21940 * math/libm-test.inc (print_complex_max_error): Check separately
21941 whether real and imaginary errors are within allowed range and
21942 pass 0 to print_complex_function_ulps instead of value within
21945 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21947 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21949 (get_handles_fopen): Likewise.
21950 (do_write_test): Likewise.
21952 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21954 * libio/fileops.c (do_ftell): Use cached offset when
21956 * libio/iofwide.c (do_ftell_wide): Likewise.
21957 * libio/iofdopen.c (_IO_new_fdopen): Don't use
21959 * libio/wfileops.c (_IO_fwide): Don't cache offset.
21962 * libio/libioP.h (get_file_offset): New function.
21963 * libio/fileops.c (get_file_offset): Likewise.
21964 (do_ftell): Likewise.
21965 (_IO_new_file_seekoff): Split out ftell logic.
21966 * libio/wfileops.c (do_ftell_wide): Likewise.
21967 (_IO_wfile_seekoff): Split out ftell logic.
21968 * libio/tst-ftell-active-handler.c: New test case.
21969 * libio/Makefile (tests): Add it.
21971 2014-03-03 Roland McGrath <roland@hack.frob.com>
21973 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21974 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21976 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21979 * nscd/connections.c (nscd_init): Call do_exit.
21980 (start_threads): Call do_exit and notify_parent.
21981 (begin_drop_privileges): Call do_exit.
21982 (finish_drop_privileges): Likewise.
21983 * nscd/selinux.c (preserve_capabilities): Likewise.
21984 (install_real_capabilities): Likewise.
21985 (nscd_selinux_enabled): Likewise.
21986 (avc_create_thread): Likewise.
21987 (avc_alloc_lock): Likewise.
21988 (nscd_avc_init): Likewise.
21989 * nscd/nscd.c (parent_fd): New static variable.
21990 (main): Create a pipe between parent and child processes.
21991 Skip closing parent_fd.
21992 (monitor_child): New function.
21993 (do_exit): Likewise.
21994 (notify_parent): Likewise.
21995 * nscd/nscd.h (notify_parent): Likewise.
21996 (do_exit): Likewise.
21998 2014-03-03 Carlos O'Donell <carlos@redhat.com>
22000 * malloc/malloc.c (__libc_calloc): Revert last change.
22002 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22006 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22008 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22009 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22012 (__libc_ifunc_impl_list): Likewise.
22013 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22014 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22015 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22016 * string/strrchr.c: Define STRRCHR.
22018 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
22020 * benchtest/bench-strtok.c (simple_strtok): Delete.
22021 (strtok_string): Use as benchmark.
22022 * string/strtok (STRTOK): New macro.
22024 2014-02-28 Carlos O'Donell <carlos@redhat.com>
22026 * manual/threads.texi: Add header and standard comments to all
22029 * elf/dl-lookup.c (check_match): New function.
22030 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22031 (do_lookup_x): Remove nested function check_match. Use non-nested
22032 function check_match.
22034 2014-02-28 Roland McGrath <roland@hack.frob.com>
22036 * csu/Makefile (generated, before-compile): Use += rather than =.
22037 * catgets/Makefile (generated, generated-dirs): Likewise.
22038 * debug/Makefile (generated): Likewise.
22039 * dlfcn/Makefile (generated): Likewise.
22040 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22041 * iconvdata/Makefile (before-compile, generated): Likewise.
22042 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22043 * libio/Makefile (generated): Likewise.
22044 * malloc/Makefile (generated): Likewise.
22045 * manual/Makefile (generated, generated-dirs): Likewise.
22046 * misc/Makefile (generated): Likewise.
22047 * posix/Makefile (generated): Likewise.
22048 * resolv/Makefile (generated): Likewise.
22049 * sunrpc/Makefile (generated, generated-dirs): Likewise.
22050 * timezone/Makefile (generated, generated-dirs): Likewise.
22052 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22054 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22057 power8 implementation.
22058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22059 file: POWER8 llround ifunc implementation.
22060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22061 (__lllround): Add POWER8 implementation.
22062 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22063 POWER8 llround implementation.
22065 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22066 power8 implementation.
22067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22068 file: POWER8 llrint ifunc implementation.
22069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22070 Add POWER8 implementation.
22071 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22072 POWER8 llrint implementation.
22074 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22075 power8 implementation.
22076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22077 file: POWER8 finite ifunc implementation.
22078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22079 Add POWER8 implementation.
22080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22082 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22083 POWER8 finite implementation.
22084 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22086 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22087 power8 implementation.
22088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22089 file: POWER8 isinf ifunc implementation.
22090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22091 POWER8 implementation.
22092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22094 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22095 isinf implementation.
22096 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22098 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22099 (INIT_ARCH): Add hwcap2 initialization.
22100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22101 power8 implementation.
22102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22103 file: POWER8 isnan ifunc implementation.
22104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22105 POWER8 implementation.
22106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22108 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22109 isnan implementation.
22110 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22112 2014-02-27 Joey Ye <joey.ye@arm.com>
22114 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22115 (_FP_NANFRAC_Q): Set to zero.
22117 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22120 * math/auto-libm-test-in: New test inputs.
22121 * math/auto-libm-test-out: Regenerate.
22122 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22125 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22127 2014-02-27 Joseph Myers <joseph@codesourcery.com>
22129 * scripts/evaluate-test.sh: Take new argument indicating whether
22130 failure is expected.
22131 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22132 indicating whether failure is expected.
22133 * conform/Makefile (test-xfail-run-conformtest): New variable.
22134 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22136 * posix/Makefile (test-xfail-annexc): New variable.
22137 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22139 2014-02-26 Joseph Myers <joseph@codesourcery.com>
22141 * argp/Makefile: Include Makeconfig immediately after defining
22143 * assert/Makefile: Likewise.
22144 * benchtests/Makefile: Likewise.
22145 * catgets/Makefile: Likewise.
22146 * conform/Makefile: Likewise.
22147 * crypt/Makefile: Likewise.
22148 * csu/Makefile: Likewise.
22149 (all): Remove target.
22150 * ctype/Makefile: Include Makeconfig immediately after defining
22152 * debug/Makefile: Likewise.
22153 * dirent/Makefile: Likewise.
22154 * dlfcn/Makefile: Likewise.
22155 * gmon/Makefile: Likewise.
22156 * gnulib/Makefile: Likewise.
22157 * grp/Makefile: Likewise.
22158 * gshadow/Makefile: Likewise.
22159 * hesiod/Makefile: Likewise.
22160 * hurd/Makefile: Likewise.
22161 (all): Remove target.
22162 * iconvdata/Makefile: Include Makeconfig immediately after
22164 * inet/Makefile: Likewise.
22165 * intl/Makefile: Likewise.
22166 * io/Makefile: Likewise.
22167 * libio/Makefile: Likewise.
22168 (all): Remove target.
22169 * locale/Makefile: Include Makeconfig immediately after defining
22171 * login/Makefile: Likewise.
22172 * mach/Makefile: Likewise.
22173 (all): Remove target.
22174 * malloc/Makefile: Include Makeconfig immediately after defining
22176 (all): Remove target.
22177 * manual/Makefile: Include Makeconfig immediately after defining
22179 * math/Makefile: Likewise.
22180 * misc/Makefile: Likewise.
22181 * nis/Makefile: Likewise.
22182 * nss/Makefile: Likewise.
22183 * po/Makefile: Likewise.
22184 (all): Remove target.
22185 * posix/Makefile: Include Makeconfig immediately after defining
22187 * pwd/Makefile: Likewise.
22188 * resolv/Makefile: Likewise.
22189 * resource/Makefile: Likewise.
22190 * rt/Makefile: Likewise.
22191 * setjmp/Makefile: Likewise.
22192 * shadow/Makefile: Likewise.
22193 * signal/Makefile: Likewise.
22194 * socket/Makefile: Likewise.
22195 * soft-fp/Makefile: Likewise.
22196 * stdio-common/Makefile: Likewise.
22197 * stdlib/Makefile: Likewise.
22198 * streams/Makefile: Likewise.
22199 * string/Makefile: Likewise.
22200 * sunrpc/Makefile: Likewise.
22201 (all): Remove target.
22202 * sysvipc/Makefile: Include Makeconfig immediately after defining
22204 * termios/Makefile: Likewise.
22205 * time/Makefile: Likewise.
22206 * timezone/Makefile: Likewise.
22207 (all): Remove target.
22208 * wcsmbs/Makefile: Include Makeconfig immediately after defining
22210 * wctype/Makefile: Likewise.
22212 2014-02-26 Steve Ellcey <sellcey@mips.com>
22214 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22215 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22216 (libc_feholdexcept_setround_mips): Ditto.
22217 (libc_feholdsetround): New.
22218 (libc_feholdsetroundf): New.
22219 (libc_feholdsetroundl): New.
22220 (libc_feupdateenv_test_mips): New.
22221 (libc_feupdateenv_test): New.
22222 (libc_feupdateenv_testf): New.
22223 (libc_feupdateenv_testl): New.
22224 (libc_feresetround): New.
22225 (libc_feresetroundf): New.
22226 (libc_feresetroundl): New.
22227 (libc_fetestexcept_mips): New.
22228 (libc_fetestexcept): New.
22229 (libc_fetestexceptf): New.
22230 (libc_fetestexceptl): New.
22231 (HAVE_RM_CTX): New.
22232 (libc_feholdexcept_setround_mips_ctx): New.
22233 (libc_feholdexcept_setround_ctx): New.
22234 (libc_feholdexcept_setroundf_ctx): New.
22235 (libc_feholdexcept_setroundl_ctx): New.
22236 (libc_fesetenv_mips_ctx): New.
22237 (libc_fesetenv_ctx): New.
22238 (libc_fesetenv_ctxf): New.
22239 (libc_fesetenv_ctxl): New.
22240 (libc_feupdateenv_mips_ctx): New.
22241 (libc_feupdateenv_ctx): New.
22242 (libc_feupdateenvf_ctx): New.
22243 (libc_feupdateenvl_ctx): New.
22244 (libc_feholdsetround_mips_ctx): New.
22245 (libc_feholdsetround_ctx): New.
22246 (libc_feholdsetroundf_ctx): New.
22247 (libc_feholdsetroundl_ctx): New.
22248 (libc_feresetround_mips_ctx): New.
22249 (libc_feresetround_ctx): New.
22250 (libc_feresetroundf_ctx): New.
22251 (libc_feresetroundl_ctx): New.
22253 2014-02-26 Carlos O'Donell <carlos@redhat.com>
22255 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22257 * manual/ipc.texi: New file.
22258 * manual/Makefile (chapters): Add ipc.
22259 * manual/job.texi: Add "Inter-Process Communication" to next.
22260 * manual/process.texi: Add "Inter-Process Communication" to prev.
22262 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22266 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
22268 * malloc/malloc.c (__libc_calloc): Simplify implementation.
22270 * manual/arith.texi: Fix spaces after sentences.
22271 * manual/charset.texi: Likewise.
22272 * manual/errno.texi: Likewise.
22273 * manual/install.texi: Likewise.
22274 * manual/llio.texi: Likewise.
22275 * manual/locale.texi: Likewise.
22276 * manual/maint.texi: Likewise.
22277 * manual/math.texi: Likewise.
22278 * manual/memory.texi: Likewise.
22279 * manual/message.texi: Likewise.
22280 * manual/probes.texi: Likewise.
22281 * manual/resource.texi: Likewise.
22282 * manual/signal.texi: Likewise.
22283 * manual/socket.texi: Likewise.
22284 * manual/stdio.texi: Likewise.
22285 * manual/string.texi: Likewise.
22286 * manual/time.texi: Likewise.
22287 * manual/users.texi: Likewise.
22289 2014-02-25 Carlos O'Donell <carlos@redhat.com>
22292 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22293 _DEFAULT_SOURCE is defined.
22295 2014-02-25 Ulrich Drepper <drepper@gmail.com>
22296 Carlos O'Donell <carlos@redhat.com>
22299 * elf/dl-tls.c (_dl_count_modids): New function.
22300 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22301 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22302 audit library and increment generation counter.
22303 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22304 * elf/tst-audit9.c: New file.
22305 * elf/tst-auditmod9a.c: New file.
22306 * elf/tst-auditmod9b.c: New file.
22307 * elf/Makefile: Add rules to build and run tst-audit9.
22309 2014-02-25 Florian Weimer <fweimer@redhat.com>
22312 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22314 2014-02-25 Will Newton <will.newton@linaro.org>
22316 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22317 (__longjmp): Restore sp and lr before restoring callee
22318 saved registers. Add longjmp and longjmp_target
22319 SystemTap probe point.
22320 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22321 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22322 Define to zero to match jmpbuf layout.
22323 * sysdeps/arm/setjmp.S: Include stap-probe.h.
22324 (__sigsetjmp): Save sp and lr before saving callee
22325 saved registers. Add setjmp SystemTap probe point.
22327 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22329 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22331 2014-02-24 Andreas Schwab <schwab@suse.de>
22334 * elf/pldd.c (wait_for_ptrace_stop): New function.
22335 (main): Call it after attaching.
22337 2014-02-22 Roland McGrath <roland@hack.frob.com>
22339 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22340 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22341 Versions files is now verboten.
22342 * hurd/Versions (libc: GLIBC_2.0):
22343 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22344 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22345 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22346 * mach/Versions: Likewise.
22348 * csu/Versions: Remove unused %include.
22349 * resolv/Versions: Likewise.
22351 2014-02-21 Joseph Myers <joseph@codesourcery.com>
22353 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22354 ($(objpfx)check-local-headers.out): Likewise.
22355 ($(objpfx)begin-end-check.out): Likewise.
22356 * Makerules (check-abi-%.out): Likewise.
22357 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22358 ($(objpfx)test2.cat): Likewise.
22359 ($(objpfx)de/libc.cat): Likewise.
22360 ($(objpfx)test-gencat.out): Likewise.
22361 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22362 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22363 ($(objpfx)noload-mem): Likewise.
22364 ($(objpfx)tst-pathopt.out): Likewise.
22365 ($(objpfx)tst-rtld-load-self.out): Likewise.
22366 ($(objpfx)tst-array1-cmp.out): Likewise.
22367 ($(objpfx)tst-array1-static-cmp.out): Likewise.
22368 ($(objpfx)tst-array2-cmp.out): Likewise.
22369 ($(objpfx)tst-array3-cmp.out): Likewise.
22370 ($(objpfx)tst-array4-cmp.out): Likewise.
22371 ($(objpfx)tst-array5-cmp.out): Likewise.
22372 ($(objpfx)tst-array5-static-cmp.out): Likewise.
22373 ($(objpfx)check-textrel.out): Likewise.
22374 ($(objpfx)check-execstack.out): Likewise.
22375 ($(objpfx)check-localplt.out): Likewise.
22376 ($(objpfx)order2-cmp.out): Likewise.
22377 ($(objpfx)tst-leaks1-mem): Likewise.
22378 ($(objpfx)tst-leaks1-static-mem): Likewise.
22379 ($(objpfx)tst-initorder-cmp.out): Likewise.
22380 ($(objpfx)tst-initorder2-cmp.out): Likewise.
22381 ($(objpfx)tst-unused-dep.out): Likewise.
22382 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22383 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22384 * iconv/Makefile (test-iconvconfig): Likewise.
22385 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22386 ($(objpfx)iconv-test.out): Likewise.
22387 ($(objpfx)tst-tables.out): Likewise.
22388 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22389 ($(objpfx)tst-gettext.out): Likewise.
22390 ($(objpfx)tst-translit.out): Likewise.
22391 ($(objpfx)tst-gettext2.out): Likewise.
22392 ($(objpfx)tst-gettext4.out): Likewise.
22393 ($(objpfx)tst-gettext6.out): Likewise.
22394 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22395 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22396 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22397 ($(objpfx)tst-fopenloc-mem.out): Likewise.
22398 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22399 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22400 * posix/Makefile ($(objpfx)globtest.out): Likewise.
22401 ($(objpfx)wordexp-tst.out): Likewise.
22402 ($(objpfx)annexc.out): Likewise.
22403 ($(objpfx)tst-fnmatch-mem): Likewise.
22404 ($(objpfx)bug-regex2-mem): Likewise.
22405 ($(objpfx)bug-regex14-mem): Likewise.
22406 ($(objpfx)bug-regex21-mem): Likewise.
22407 ($(objpfx)bug-regex31-mem): Likewise.
22408 ($(objpfx)tst-vfork3-mem): Likewise.
22409 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22410 ($(objpfx)tst-pcre-mem): Likewise.
22411 ($(objpfx)tst-boost-mem): Likewise.
22412 ($(objpfx)tst-getconf.out): Likewise.
22413 ($(objpfx)bug-ga2-mem): Likewise.
22414 ($(objpfx)bug-glob2-mem): Likewise.
22415 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22416 ($(objpfx)mtrace-tst-leaks2): Likewise.
22417 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22418 ($(objpfx)tst-printf.out): Likewise.
22419 ($(objpfx)tst-setvbuf1.out): Likewise.
22420 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22421 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22422 ($(objpfx)tst-fmtmsg.out): Likewise.
22423 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22424 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22426 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22427 * bits/sigaction.h [__USE_MISC]: Likewise.
22428 * bits/waitstatus.h: Update #endif comments.
22429 * ctype/ctype.h: Likewise.
22430 * dirent/dirent.h: Likewise.
22431 [__USE_MISC]: Remove redundant conditionals.
22432 * grp/grp.h: Update #endif comments.
22433 [__USE_GNU]: Remove redundant conditionals.
22434 [__USE_MISC]: Likewise.
22435 * inet/netinet/in.h [__USE_GNU]: Likewise.
22436 * io/sys/stat.h [__USE_MISC]: Likewise.
22437 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22438 * libio/bits/stdio.h: Update #endif comments.
22439 [__USE_MISC]: Remove redundant conditionals.
22440 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22441 * libio/stdio.h: Update #endif comments.
22442 [__USE_MISC]: Remove redundant conditionals.
22443 * math/bits/math-finite.h [__USE_MISC]: Likewise.
22444 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22445 * math/math.h: Update #else and #endif comments.
22446 [__USE_MISC]: Remove redundant conditionals.
22447 * misc/sys/uio.h: Update #endif comments.
22448 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22449 * posix/glob.h [__USE_MISC]: Likewise.
22450 * posix/sys/types.h: Update #endif comments.
22451 [__USE_MISC]: Remove redundant conditionals.
22452 * posix/sys/wait.h: Update #endif comments.
22453 [__USE_MISC]: Remove redundant conditionals.
22454 * posix/unistd.h: Update #endif comments.
22455 [__USE_MISC]: Remove redundant conditionals.
22456 * pwd/pwd.h [__USE_GNU]: Likewise.
22457 [__USE_MISC]: Likewise.
22458 * resolv/netdb.h [__USE_GNU]: Likewise.
22459 * signal/signal.h: Update #endif comments.
22460 [__USE_MISC]: Remove redundant conditionals.
22461 * stdlib/stdlib.h: Update #else and #endif comments.
22462 [__USE_MISC]: Remove redundant conditionals.
22463 [__USE_GNU]: Likewise.
22464 * string/bits/string2.h [__USE_MISC]: Likewise.
22465 * string/string.h: Update #endif comments.
22466 [__USE_MISC]: Remove redundant conditionals.
22467 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22469 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22470 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22471 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22473 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22475 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22477 [__USE_MISC]: Remove redundant conditionals.
22478 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22479 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22480 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22481 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22482 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22484 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22485 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22487 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22488 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22490 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22492 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22493 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22495 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22497 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22498 * sysdeps/x86/bits/string.h: Update #endif comments.
22499 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22501 * time/sys/time.h: Update #endif comments.
22502 * time/time.h: Likewise.
22503 [__USE_MISC]: Remove redundant conditionals.
22505 2014-02-21 Yury Gribov <y.gribov@samsung.com>
22508 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22510 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
22512 * Versions.def (librt): Add GLIBC_2.17.
22514 2014-02-21 Adam Conrad <adconrad@0c3.net>
22516 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22517 synonym for _SYS_AUXV_H to allow direct inclusion.
22518 * sysdeps/sparc/bits/hwcap.h: Likewise.
22519 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22520 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22521 * sysdeps/sparc/sysdep.h: Likewise.
22523 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22525 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22527 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22529 * benchtests/bench-strrchr.c: Print length instead of position.
22531 2014-02-20 Joseph Myers <joseph@codesourcery.com>
22534 * sysdeps/unix/sysv/linux/kernel-features.h
22535 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22536 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22537 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22538 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22540 [__i386__ || __powerpc__ || __sh__ || __sparc__]
22541 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22542 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22543 (__ASSUME_SENDMMSG): Define instead of using previous
22544 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22545 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22546 (__ASSUME_SENDMMSG_SYSCALL): Define.
22547 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22548 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22550 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22551 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22553 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22554 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22556 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22557 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22558 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22559 [__ASSUME_SENDMMSG]: Change conditionals to
22560 [__ASSUME_SENDMMSG_SOCKETCALL].
22561 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22562 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22564 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22565 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22567 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22568 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22569 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22570 [!__ASSUME_SENDMMSG]: Change conditional to
22571 [!__ASSUME_SENDMMSG_SOCKETCALL].
22572 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22573 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22577 * sysdeps/unix/sysv/linux/kernel-features.h
22578 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22579 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22580 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22581 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22582 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22583 [__i386__ || __sparc__]
22584 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22585 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22586 (__ASSUME_RECVMMSG): Define instead of using previous
22587 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22588 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22589 (__ASSUME_RECVMMSG_SYSCALL): Define.
22590 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22591 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22593 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22594 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22596 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22597 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22599 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22600 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22601 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22602 [__ASSUME_RECVMMSG]: Change condition to
22603 [__ASSUME_RECVMMSG_SOCKETCALL].
22604 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22605 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22607 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22608 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22609 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22611 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22612 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22613 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22614 [!__ASSUME_RECVMMSG]: Change condition to
22615 [!__ASSUME_RECVMMSG_SOCKETCALL].
22616 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22617 (__ASSUME_RECVMMSG_SYSCALL): Define.
22620 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22621 __powerpc__ || __s390__ || __sh__ || __sparc__]
22622 (__ASSUME_SOCKETCALL): Define.
22623 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22624 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22625 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22626 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22627 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22628 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22629 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22630 (__ASSUME_ACCEPT4): Define instead of using previous
22631 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22632 __powerpc__ || __sparc__ || __s390__)] condition.
22633 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22634 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22635 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22636 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22637 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22638 [!__ASSUME_ACCEPT4]: Change condition to
22639 [!__ASSUME_ACCEPT4_SOCKETCALL].
22640 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22641 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
22642 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22643 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22644 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22645 __ASSUME_ACCEPT4_SYSCALL.
22646 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22647 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22648 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22649 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22650 __ASSUME_ACCEPT4_SYSCALL.
22651 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22652 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22653 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22654 [__ASSUME_ACCEPT4]: Change condition to
22655 [__ASSUME_ACCEPT4_SOCKETCALL].
22656 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22657 (__ASSUME_SOCKETCALL): Define.
22658 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22659 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22660 (__ASSUME_SOCKETCALL): Define.
22661 (__ASSUME_ACCEPT4): Remove.
22662 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22664 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22665 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22667 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22668 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22670 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22672 (HWCAP_ARM_LPAE): Likewise.
22673 (HWCAP_ARM_EVTSTRM): Likewise.
22674 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22675 Add vpfd32, lpae and evtstrm.
22676 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22679 2014-02-19 Joseph Myers <joseph@codesourcery.com>
22681 * math/auto-libm-test-in: Add tests of clog10.
22682 * math/auto-libm-test-out: Regenerated.
22683 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22684 * sysdeps/i386/fpu/libm-test-ulps: Update.
22685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22687 2014-02-18 Andreas Schwab <schwab@suse.de>
22690 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22691 Store non-zero if the second buffer was newly allocated.
22692 (send_dg): Likewise.
22693 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22694 to send_vc and send_dg.
22695 (res_nsend): Pass NULL for ansp2_malloced.
22696 * resolv/res_query.c (__libc_res_nquery): Add parameter
22697 answerp2_malloced and pass it down to __libc_res_nsend.
22698 (res_nquery): Pass additional NULL to __libc_res_nquery.
22699 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22700 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
22701 second answer buffer if answerp2_malloced was set.
22702 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22703 (__libc_res_nquerydomain): Add parameter
22704 answerp2_malloced and pass it down to __libc_res_nquery.
22705 (res_nquerydomain): Pass additional NULL to
22706 __libc_res_nquerydomain.
22707 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22708 additional NULL to __libc_res_nsend and __libc_res_nquery.
22709 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22710 additional NULL to __libc_res_nsearch.
22711 (_nss_dns_gethostbyname4_r): Revert last change. Use new
22712 parameter of __libc_res_nsearch to check for separately allocated
22714 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22716 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22717 additional NULL to __libc_res_nquery.
22718 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22719 __libc_res_nsearch.
22720 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22721 * include/resolv.h: Update prototypes of __libc_res_nquery,
22722 __libc_res_nsearch, __libc_res_nsend.
22724 2014-02-18 Joseph Myers <joseph@codesourcery.com>
22726 * math/auto-libm-test-in: Add tests of fma.
22727 * math/auto-libm-test-out: Regenerated.
22728 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22729 (fma_towardzero_test_data): Likewise.
22730 (fma_downward_test_data): Likewise.
22731 (fma_upward_test_data): Likewise.
22732 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22734 (rounding_modes): Add values for new field.
22735 (func_calc_method): Add value mpfr_fff_f.
22736 (func_calc_desc): Add mpfr_fff_f union field.
22737 (test_function): Add field exact_args.
22738 (FUNC): Add macro argument EXACT_ARGS.
22739 (FUNC_mpfr_f_f): Update call to FUNC.
22740 (FUNC_mpfr_f_f): Likewise.
22741 (FUNC_mpfr_ff_f): Likewise.
22742 (FUNC_mpfr_if_f): Likewise.
22743 (FUNC_mpc_c_f): Likewise.
22744 (FUNC_mpc_c_c): Likewise.
22745 (test_functions): Add fma. Update calls to FUNC.
22746 (handle_input_arg): Add argument exact_args.
22747 (add_test): Update call to handle_input_arg.
22748 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
22749 (output_for_one_input_case): Update call to calc_generic_results.
22750 Recalculate exact zero results in each rounding mode.
22752 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22753 non-negative before setting low bit.
22754 * math/auto-libm-test-in: Mark one asin test possibly having
22755 spurious underflow.
22756 * math/auto-libm-test-out: Regenerated.
22757 * sysdeps/i386/fpu/libm-test-ulps: Update.
22758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22760 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
22762 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22763 * sysdeps/unix/sysv/linux/microblaze: Move directory from
22764 ports/sysdeps/unix/sysv/linux/microblaze.
22765 * README: Add missing listing for microblaze*-*-linux-gnu.
22767 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
22769 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22772 2014-02-16 Mike Frysinger <vapier@gentoo.org>
22774 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22775 * sysdeps/unix/sysv/linux/ia64: Move directory from
22776 ports/sysdeps/unix/sysv/linux/ia64.
22777 * README: Update listing for ia64-*-linux-gnu.
22779 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
22780 Joseph Myers <joseph@codesourcery.com>
22782 * Makeconfig (test-name): New variable.
22783 (evaluate-test): Likewise.
22784 * Makerules (do-test-clean): Remove .test-result files.
22785 (common-mostlyclean): Likewise.
22786 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22787 * scripts/evaluate-test.sh: New file.
22789 2014-02-14 Joseph Myers <joseph@codesourcery.com>
22791 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22792 separate $(objpfx)tst-fopenloc-cmp.out and
22793 $(objpfx)tst-fopenloc-mem.out targets.
22794 (tests): Update dependencies.
22795 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22796 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22797 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22798 (tst-rxspencer-no-utf8-ARGS): New variable.
22799 (tst-rxspencer-no-utf8-ENV): Likewise.
22800 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22801 instead of $(objpfx)tst-rxspencer-mem.
22802 ($(objpfx)tst-rxspencer-mem): Change target to
22803 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
22804 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22805 * posix/tst-rxspencer-no-utf8.c: New file.
22807 * elf/Makefile ($(objpfx)order.out): Remove rule.
22808 [$(run-built-tests) = yes] (tests): Depend on
22809 $(objpfx)order-cmp.out.
22810 ($(objpfx)order-cmp.out): New rule.
22811 [$(run-built-tests) = yes] (tests): Depend on
22812 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22813 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22814 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22815 $(objpfx)tst-array5-static-cmp.out.
22816 ($(objpfx)tst-array1.out): Remove rule.
22817 ($(objpfx)tst-array1-cmp.out): New rule.
22818 ($(objpfx)tst-array1-static.out): Remove rule.
22819 ($(objpfx)tst-array1-static-cmp.out): New rule.
22820 ($(objpfx)tst-array2.out): Remove rule.
22821 ($(objpfx)tst-array2-cmp.out): New rule.
22822 ($(objpfx)tst-array3.out): Remove rule.
22823 ($(objpfx)tst-array3-cmp.out): New rule.
22824 ($(objpfx)tst-array4.out): Remove rule.
22825 ($(objpfx)tst-array4-cmp.out): New rule.
22826 ($(objpfx)tst-array5.out): Remove rule.
22827 ($(objpfx)tst-array5-cmp.out): New rule.
22828 ($(objpfx)tst-array5-static.out): Remove rule.
22829 ($(objpfx)tst-array5-static-cmp.out): New rule.
22830 [$(run-built-tests) = yes] (tests): Depend on
22831 $(objpfx)order2-cmp.out.
22832 ($(objpfx)order2.out): Remove rule.
22833 ($(objpfx)order2-cmp.out): New rule.
22834 ($(objpfx)tst-initorder.out): Remove rule.
22835 [$(run-built-tests) = yes] (tests): Depend on
22836 $(objpfx)tst-initorder-cmp.out.
22837 ($(objpfx)tst-initorder-cmp.out): New rule.
22838 ($(objpfx)tst-initorder2.out): Remove rule.
22839 [$(run-built-tests) = yes] (tests): Depend on
22840 $(objpfx)tst-initorder2-cmp.out.
22841 ($(objpfx)tst-initorder2-cmp.out): New rule.
22842 [$(run-built-tests) = yes] (tests): Depend on
22843 $(objpfx)tst-unused-dep-cmp.out.
22844 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22845 ($(objpfx)tst-unused-dep-cmp.out): New rule.
22846 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22847 on $(objpfx)tst-setvbuf1-cmp.out.
22848 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22849 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22850 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22851 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22852 ($(objpfx)tst-svc.out): Remove rule.
22853 ($(objpfx)tst-svc-cmp.out): New rule.
22855 2014-02-13 Joseph Myers <joseph@codesourcery.com>
22857 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22858 * ctype/ctype.h [__USE_MISC]: Likewise.
22859 * dirent/dirent.h [__USE_MISC]: Likewise.
22860 * grp/grp.h [__USE_MISC]: Likewise.
22861 * io/fcntl.h [__USE_MISC]: Likewise.
22862 * io/sys/stat.h [__USE_MISC]: Likewise.
22863 * libio/stdio.h [__USE_MISC]: Likewise.
22864 * posix/unistd.h [__USE_MISC]: Likewise.
22865 * pwd/pwd.h [__USE_MISC]: Likewise.
22866 * stdlib.h [__USE_MISC]: Likewise.
22867 * string/bits/string2.h [__USE_MISC]: Likewise.
22868 * string/string.h [__USE_MISC]: Likewise.
22869 * time/time.h [__USE_MISC]: Likewise.
22871 2014-02-13 Andreas Schwab <schwab@suse.de>
22874 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22875 second answer buffer if it was separately allocated.
22877 2014-02-12 Joseph Myers <joseph@codesourcery.com>
22879 * sysdeps/mips/math-tests.h: Include <features.h>.
22880 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22881 (ROUNDING_TESTS_long_double): Do not define.
22882 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22883 (EXCEPTION_TESTS_long_double): Likewise.
22884 * sysdeps/mips/mips64/libm-test-ulps: Update.
22886 * include/features.h (__USE_BSD): Remove macro definitions.
22887 (__USE_SVID): Likewise.
22888 (_BSD_SOURCE): Likewise.
22889 (_SVID_SOURCE): Likewise.
22890 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22891 from definition of _DEFAULT_SOURCE.
22892 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22894 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22895 * bits/mman.h [__USE_BSD]: Likewise.
22896 * bits/termios.h [__USE_BSD]: Likewise.
22897 * bits/waitstatus.h [__USE_BSD]: Likewise.
22898 * ctype/ctype.h [__USE_SVID]: Likewise.
22899 * dirent/dirent.h [__USE_BSD]: Likewise.
22900 * grp/grp.h [__USE_SVID]: Likewise.
22901 [__USE_BSD]: Likewise.
22902 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22903 * io/fcntl.h [__USE_BSD]: Likewise.
22904 * io/ftw.h [__USE_BSD]: Likewise.
22905 * io/sys/stat.h [__USE_BSD]: Likewise.
22906 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22907 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22908 * libio/stdio.h [__USE_SVID]: Likewise.
22909 [__USE_BSD]: Likewise.
22910 * math/math.h [__USE_SVID]: Likewise.
22911 [__USE_BSD]: Likewise.
22912 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22913 * misc/bits/syslog.h [__USE_BSD]: Likewise.
22914 * misc/search.h [__USE_SVID]: Likewise.
22915 * misc/sys/mman.h [__USE_BSD]: Likewise.
22916 * misc/sys/syslog.h [__USE_BSD]: Likewise.
22917 * misc/sys/uio.h [__USE_BSD]: Likewise.
22918 * posix/bits/unistd.h [__USE_BSD]: Likewise.
22919 * posix/glob.h [__USE_BSD]: Likewise.
22920 * posix/regex.h [__USE_BSD]: Likewise.
22921 * posix/sys/types.h [__USE_BSD]: Likewise.
22922 [__USE_SVID]: Likewise.
22923 * posix/sys/utsname.h [__USE_SVID]: Likewise.
22924 * posix/sys/wait.h [__USE_BSD]: Likewise.
22925 [__USE_SVID]: Likewise.
22926 * posix/unistd.h [__USE_BSD]: Likewise.
22927 [__USE_SVID]: Likewise.
22928 * pwd/pwd.h [__USE_SVID]: Likewise.
22929 * resolv/netdb.h [__USE_BSD]: Likewise.
22930 * setjmp/setjmp.h [__USE_BSD]: Likewise.
22931 * signal/signal.h [__USE_BSD]: Likewise.
22932 [__USE_SVID]: Likewise.
22933 * socket/sys/socket.h [__USE_BSD]: Likewise.
22934 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22935 * stdlib/stdlib.h [__USE_BSD]: Likewise.
22936 [__USE_SVID]: Likewise.
22937 * string/bits/string2.h [__USE_BSD]: Likewise.
22938 [__USE_SVID]: Likewise.
22939 * string/bits/string3.h [__USE_BSD]: Likewise.
22940 * string/endian.h [__USE_BSD]: Likewise.
22941 * string/string.h [__USE_SVID]: Likewise.
22942 [__USE_BSD]: Likewise.
22943 * string/strings.h [__USE_BSD]: Likewise.
22944 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22945 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22946 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22947 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22948 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22949 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22951 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22953 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22954 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22956 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22957 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22959 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22961 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22962 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22963 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22965 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22967 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22968 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22969 * termios/termios.h [__USE_BSD]: Likewise.
22970 * time/sys/time.h [__USE_BSD]: Likewise.
22971 * time/time.h [__USE_BSD]: Likewise.
22972 [__USE_SVID]: Likewise.
22974 * Makefile (subdir_targets): Remove subdir_lint.out.
22976 * stdio-common/Makefile (do-tst-unbputc): Remove target.
22977 (do-tst-printf): Likewise.
22978 (tests): Depend directly on $(objpfx)tst-unbputc.out and
22979 $(objpfx)tst-printf.out.
22981 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22983 * Makerules (check-abi-%): Change target to
22984 $(objpfx)check-abi-%.out.
22985 (check-abi target): Update dependencies.
22986 (check-abi-pattern variable): Redirect output of diff to $@.
22987 (check-abi variable): Likewise.
22988 * elf/Makefile (check-abi): Update dependencies.
22990 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22992 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22993 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22995 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22996 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22997 value has largest subnormal exponent.
22998 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22999 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23000 * sysdeps/aarch64/soft-fp/sfp-machine.h
23001 (_FP_TININESS_AFTER_ROUNDING): New macro.
23002 * sysdeps/alpha/soft-fp/sfp-machine.h
23003 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23004 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23006 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23007 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23008 * sysdeps/mips/soft-fp/sfp-machine.h
23009 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23010 * sysdeps/powerpc/soft-fp/sfp-machine.h
23011 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23012 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23014 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23015 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23016 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23017 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23018 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23021 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
23024 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23027 2014-02-12 Richard Henderson <rth@redhat.com>
23029 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23030 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23031 * sysdeps/unix/sysv/linux/alpha: Move directory from
23032 ports/sysdeps/unix/sysv/linux/alpha.
23033 * README: Update listing for alpha-*-linux-gnu.
23035 2014-02-11 Joseph Myers <joseph@codesourcery.com>
23037 * include/features.h: Update comment documenting feature test
23039 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
23041 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23042 (_SVID_SOURCE): Likewise.
23043 (_DEFAULT_SOURCE): Update description of default features.
23044 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23046 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23047 (S_ISVTX): Likewise.
23048 * manual/math.texi (Mathematical Constants): Likewise.
23049 * manual/signal.texi (Interrupted Primitives): Likewise.
23050 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23051 * math/test-matherr.c (_SVID_SOURCE): Do not define.
23052 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23053 Don't refer to _SVID_SOURCE in warning text.
23055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23057 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23059 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23060 * sysdeps/mips/dl-lookup.c: Remove.
23061 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23063 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23066 * math/auto-libm-test-in: Add testcase for expl.
23067 * math/auto-libm-test-out: Regenerate.
23068 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23069 calculation of unsafe.
23070 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23072 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
23074 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23075 * sysdeps/unix/sysv/linux/aarch64: Move directory from
23076 ports/sysdeps/unix/sysv/linux/aarch64.
23077 * README: Update listing for aarch64*-*-linux-gnu.
23079 2014-02-11 Will Newton <will.newton@linaro.org>
23081 * manual/probes.texi (Mathematical Function Probes): Use
23082 "triggered" instead of "hit".
23084 * manual/probes.texi (Internal Probes): Add documentation
23085 of setjmp, longjmp and longjmp_target probes.
23087 * include/stap-probe.h: Add comment about probe argument
23090 * malloc/mtrace.c (attribute_hidden): Remove unused macro
23091 definition. (tr_where, tr_freehook, tr_mallochook,
23092 tr_reallochook, tr_memalignhook): Use ANSI protoype.
23094 2014-02-11 David S. Miller <davem@davemloft.net>
23096 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23097 processing int_tests.
23099 2014-02-10 Joseph Myers <joseph@codesourcery.com>
23101 * sysdeps/mips: Move directory from ports/sysdeps/mips.
23102 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23103 * sysdeps/unix/sysv/linux/mips: Move directory from
23104 ports/sysdeps/unix/sysv/linux/mips.
23105 * README: Update listing for mips-*-linux-gnu and
23106 mips64-*-linux-gnu.
23108 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
23110 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23111 * sysdeps/unix/sysv/linux/m68k: Move directory from
23112 ports/sysdeps/unix/sysv/linux/m68k.
23113 * README: Update listing for m68k-*-linux-gnu.
23115 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
23117 * sysdeps/tile: Move directory from ports/sysdeps/tile.
23118 * sysdeps/unix/sysv/linux/generic: Move directory from
23119 ports/sysdeps/unix/sysv/linux/generic.
23120 * sysdeps/unix/sysv/linux/tile: Move directory from
23121 ports/sysdeps/unix/sysv/linux/tile.
23122 * README: Update listing for tile*-*-linux-gnu.
23124 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
23126 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23128 * benchtests/bench-memmem.c (simple_memmem): Likewise.
23129 * catgets/open_catalog.c (__open_catalog): Likewise.
23130 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23131 * debug/confstr_chk.c: Likewise.
23132 * debug/fread_chk.c (__fread_chk): Likewise.
23133 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23134 * debug/getgroups_chk.c: Likewise.
23135 * debug/mbsnrtowcs_chk.c: Likewise.
23136 * debug/mbsrtowcs_chk.c: Likewise.
23137 * debug/mbstowcs_chk.c: Likewise.
23138 * debug/memcpy_chk.c: Likewise.
23139 * debug/memmove_chk.c: Likewise.
23140 * debug/mempcpy_chk.c: Likewise.
23141 * debug/memset_chk.c: Likewise.
23142 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23143 * debug/strcat_chk.c (__strcat_chk): Likewise.
23144 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23145 * debug/strncat_chk.c (__strncat_chk): Likewise.
23146 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23147 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23148 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23149 * debug/wcpncpy_chk.c: Likewise.
23150 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23151 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23152 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23153 * debug/wcsncpy_chk.c: Likewise.
23154 * debug/wcsnrtombs_chk.c: Likewise.
23155 * debug/wcsrtombs_chk.c: Likewise.
23156 * debug/wcstombs_chk.c: Likewise.
23157 * debug/wmemcpy_chk.c: Likewise.
23158 * debug/wmemmove_chk.c: Likewise.
23159 * debug/wmempcpy_chk.c: Likewise.
23160 * debug/wmemset_chk.c: Likewise.
23161 * dirent/scandirat.c (SCANDIRAT): Likewise.
23162 * dlfcn/dladdr1.c (dladdr1): Likewise.
23163 * dlfcn/dladdr.c (dladdr): Likewise.
23164 * dlfcn/dlclose.c (dlclose_doit): Likewise.
23165 * dlfcn/dlerror.c (__dlerror): Likewise.
23166 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23167 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23168 * dlfcn/dlopen.c (dlopen_doit): Likewise.
23169 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23170 * dlfcn/dlsym.c (dlsym_doit): Likewise.
23171 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23172 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23173 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23175 * elf/dl-conflict.c: Likewise.
23176 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23177 * elf/dl-dst.h: Likewise.
23178 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23179 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23180 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23181 * elf/dl-init.c (call_init, _dl_init): Likewise.
23182 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23183 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23184 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23186 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23188 * elf/dl-minimal.c (__libc_memalign): Likewise.
23189 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23190 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23191 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23192 * elf/dl-sym.c (do_sym): Likewise.
23193 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23194 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23195 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23196 * elf/dl-writev.h (_dl_writev): Likewise.
23197 * elf/ldconfig.c (search_dir): Likewise.
23198 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23199 (dl_main): Likewise.
23200 * elf/setup-vdso.h (setup_vdso): Likewise.
23201 * grp/compat-initgroups.c (compat_call): Likewise.
23202 * grp/fgetgrent.c (fgetgrent): Likewise.
23203 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23204 * grp/putgrent.c (putgrent): Likewise.
23205 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23207 * hurd/hurdinit.c: Likewise.
23208 * iconvdata/8bit-gap.c (struct): Likewise.
23209 * iconvdata/ansi_x3.110.c : Likewise.
23210 * iconvdata/big5.c : Likewise.
23211 * iconvdata/big5hkscs.c : Likewise.
23212 * iconvdata/cp1255.c: Likewise.
23213 * iconvdata/cp1258.c : Likewise.
23214 * iconvdata/cp932.c : Likewise.
23215 * iconvdata/euc-cn.c: Likewise.
23216 * iconvdata/euc-jisx0213.c : Likewise.
23217 * iconvdata/euc-jp.c: Likewise.
23218 * iconvdata/euc-jp-ms.c : Likewise.
23219 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23220 * iconvdata/gb18030.c : Likewise.
23221 * iconvdata/gbbig5.c (const): Likewise.
23222 * iconvdata/gbgbk.c: Likewise.
23223 * iconvdata/gbk.c : Likewise.
23224 * iconvdata/ibm1364.c : Likewise.
23225 * iconvdata/ibm930.c : Likewise.
23226 * iconvdata/ibm932.c: Likewise.
23227 * iconvdata/ibm933.c : Likewise.
23228 * iconvdata/ibm935.c : Likewise.
23229 * iconvdata/ibm937.c : Likewise.
23230 * iconvdata/ibm939.c : Likewise.
23231 * iconvdata/ibm943.c: Likewise.
23232 * iconvdata/iso_11548-1.c: Likewise.
23233 * iconvdata/iso-2022-cn.c : Likewise.
23234 * iconvdata/iso-2022-cn-ext.c : Likewise.
23235 * iconvdata/iso-2022-jp-3.c: Likewise.
23236 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23237 * iconvdata/iso-2022-kr.c : Likewise.
23238 * iconvdata/iso646.c (gconv_end): Likewise.
23239 * iconvdata/iso_6937-2.c : Likewise.
23240 * iconvdata/iso_6937.c : Likewise.
23241 * iconvdata/iso8859-1.c: Likewise.
23242 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23243 * iconvdata/shift_jisx0213.c : Likewise.
23244 * iconvdata/sjis.c : Likewise.
23245 * iconvdata/t.61.c : Likewise.
23246 * iconvdata/tcvn5712-1.c : Likewise.
23247 * iconvdata/tscii.c: Likewise.
23248 * iconvdata/uhc.c : Likewise.
23249 * iconvdata/unicode.c (gconv_end): Likewise.
23250 * iconvdata/utf-16.c (gconv_end): Likewise.
23251 * iconvdata/utf-32.c (gconv_end): Likewise.
23252 * iconvdata/utf-7.c (base64): Likewise.
23253 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23254 * iconv/gconv_close.c (__gconv_close): Likewise.
23255 * iconv/gconv_open.c (__gconv_open): Likewise.
23256 * iconv/gconv_simple.c (internal_ucs4_loop_single)
23257 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23258 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23259 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23260 (ucs4le_internal_loop_single): Likewise.
23261 * iconv/iconv.c (iconv): Likewise.
23262 * iconv/iconv_close.c: Likewise.
23263 * iconv/loop.c (SINGLE): Likewise.
23264 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23265 * include/atomic.h: Likewise.
23266 * inet/inet6_option.c (option_alloc): Likewise.
23267 * intl/bindtextdom.c (set_binding_values): Likewise.
23268 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23269 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23270 * intl/localealias.c (read_alias_file): Likewise.
23271 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23272 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23273 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23274 * libio/fmemopen.c (fmemopen): Likewise.
23275 * libio/iofgets.c (_IO_fgets): Likewise.
23276 * libio/iofgets_u.c (fgets_unlocked): Likewise.
23277 * libio/iofgetws.c (fgetws): Likewise.
23278 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23279 * libio/iogetdelim.c (_IO_getdelim): Likewise.
23280 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23281 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23282 * locale/findlocale.c (_nl_find_locale): Likewise.
23283 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23284 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23286 * locale/setlocale.c (setlocale): Likewise.
23287 * login/programs/pt_chown.c (main): Likewise.
23288 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23289 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23290 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23291 (mmap, mmap64, mremap, munmap): Likewise.
23292 * math/e_exp2l.c: Likewise.
23293 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23294 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23295 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23296 * math/s_catan.c (__catan): Likewise.
23297 * math/s_catanf.c (__catanf): Likewise.
23298 * math/s_catanh.c (__catanh): Likewise.
23299 * math/s_catanhf.c (__catanhf): Likewise.
23300 * math/s_catanhl.c (__catanhl): Likewise.
23301 * math/s_catanl.c (__catanl): Likewise.
23302 * math/s_ccosh.c (__ccosh): Likewise.
23303 * math/s_ccoshf.c (__ccoshf): Likewise.
23304 * math/s_ccoshl.c (__ccoshl): Likewise.
23305 * math/s_cexp.c (__cexp): Likewise.
23306 * math/s_cexpf.c (__cexpf): Likewise.
23307 * math/s_cexpl.c (__cexpl): Likewise.
23308 * math/s_clog10.c (__clog10): Likewise.
23309 * math/s_clog10f.c (__clog10f): Likewise.
23310 * math/s_clog10l.c (__clog10l): Likewise.
23311 * math/s_clog.c (__clog): Likewise.
23312 * math/s_clogf.c (__clogf): Likewise.
23313 * math/s_clogl.c (__clogl): Likewise.
23314 * math/s_csin.c (__csin): Likewise.
23315 * math/s_csinf.c (__csinf): Likewise.
23316 * math/s_csinh.c (__csinh): Likewise.
23317 * math/s_csinhf.c (__csinhf): Likewise.
23318 * math/s_csinhl.c (__csinhl): Likewise.
23319 * math/s_csinl.c (__csinl): Likewise.
23320 * math/s_csqrt.c (__csqrt): Likewise.
23321 * math/s_csqrtf.c (__csqrtf): Likewise.
23322 * math/s_csqrtl.c (__csqrtl): Likewise.
23323 * math/s_ctan.c (__ctan): Likewise.
23324 * math/s_ctanf.c (__ctanf): Likewise.
23325 * math/s_ctanh.c (__ctanh): Likewise.
23326 * math/s_ctanhf.c (__ctanhf): Likewise.
23327 * math/s_ctanhl.c (__ctanhl): Likewise.
23328 * math/s_ctanl.c (__ctanl): Likewise.
23329 * math/w_pow.c: Likewise.
23330 * math/w_powf.c: Likewise.
23331 * math/w_powl.c: Likewise.
23332 * math/w_scalb.c (sysv_scalb): Likewise.
23333 * math/w_scalbf.c (sysv_scalbf): Likewise.
23334 * math/w_scalbl.c (sysv_scalbl): Likewise.
23335 * misc/error.c (error_tail): Likewise.
23336 * misc/pselect.c (__pselect): Likewise.
23337 * nis/nis_callback.c (__nis_create_callback): Likewise.
23338 * nis/nis_call.c (__nisfind_server): Likewise.
23339 * nis/nis_creategroup.c (nis_creategroup): Likewise.
23340 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23341 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23342 * nis/nis_getservlist.c (nis_getservlist): Likewise.
23343 * nis/nis_lookup.c (nis_lookup): Likewise.
23344 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23345 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23346 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23347 * nis/nis_xdr.c (xdr_endpoint): Likewise.
23348 * nis/nss_compat/compat-grp.c (getgrent_next_file)
23349 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23350 * nis/nss_compat/compat-initgroups.c (add_group)
23351 (internal_getgrent_r): Likewise.
23352 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23353 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23354 * nis/nss_compat/compat-spwd.c (getspent_next_file)
23355 (internal_getspnam_r): Likewise.
23356 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23357 (_nss_nis_getaliasbyname_r): Likewise.
23358 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23359 (_nss_nis_getntohost_r): Likewise.
23360 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23361 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23362 (_nss_nis_getgrgid_r): Likewise.
23363 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23364 (internal_nis_gethostent_r, internal_gethostbyname2_r)
23365 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23366 (_nss_nis_gethostbyname4_r): Likewise.
23367 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23368 (initgroups_netid): Likewise.
23369 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23370 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23371 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23372 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23373 (_nss_nis_getprotobynumber_r): Likewise.
23374 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23375 (_nss_nis_getsecretkey): Likewise.
23376 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23377 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23378 (_nss_nis_getpwuid_r): Likewise.
23379 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23380 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23381 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23382 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23383 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23384 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23385 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23387 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23388 (_nss_nisplus_getntohost_r): Likewise.
23389 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23390 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23391 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23392 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23394 * nis/nss_nisplus/nisplus-initgroups.c
23395 (_nss_nisplus_initgroups_dyn): Likewise.
23396 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23397 (_nss_nisplus_getnetbyaddr_r): Likewise.
23398 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23399 (_nss_nisplus_getprotobynumber_r): Likewise.
23400 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23401 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23402 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23404 * nis/nss_nisplus/nisplus-service.c
23405 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23406 (_nss_nisplus_getservbyport_r): Likewise.
23407 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23408 (_nss_nisplus_getspnam_r): Likewise.
23409 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23411 * nscd/aicache.c (addhstaiX): Likewise.
23412 * nscd/cache.c (cache_search, prune_cache): Likewise.
23413 * nscd/connections.c (register_traced_file, send_ro_fd)
23414 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23415 (main_loop_epoll): Likewise.
23416 * nscd/grpcache.c (addgrbyX): Likewise.
23417 * nscd/hstcache.c (addhstbyX): Likewise.
23418 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23419 * nscd/mem.c (gc, mempool_alloc): Likewise.
23420 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23421 (addinnetgrX): Likewise.
23422 * nscd/nscd-client.h (__nscd_acquire_maplock)
23423 (__nscd_drop_map_ref): Likewise.
23424 * nscd/nscd_getai.c (__nscd_getai): Likewise.
23425 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23426 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23428 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23429 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23430 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23431 (__nscd_get_map_ref): Likewise.
23432 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23433 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23435 * nscd/pwdcache.c (addpwbyX): Likewise.
23436 * nscd/selinux.c (preserve_capabilities): Likewise.
23437 * nscd/servicescache.c (addservbyX): Likewise.
23438 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23439 * posix/fnmatch.c (fnmatch): Likewise.
23440 * posix/getopt.c (_getopt_internal_r): Likewise.
23441 * posix/glob.c (glob, glob_in_dir): Likewise.
23442 * posix/wordexp.c (exec_comm_child): Likewise.
23443 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23444 (getanswer_r, gaih_getanswer_slice): Likewise.
23445 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23446 * resolv/res_init.c: Likewise.
23447 * resolv/res_mkquery.c (res_nmkquery): Likewise.
23448 * resolv/res_query.c (__libc_res_nquery): Likewise.
23449 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23451 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23452 * stdio-common/perror.c (perror): Likewise.
23453 * stdio-common/printf_fp.c (___printf_fp): Likewise.
23454 * stdio-common/tmpnam.c (tmpnam): Likewise.
23455 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23456 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23457 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23459 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23460 * stdlib/putenv.c (putenv): Likewise.
23461 * stdlib/setenv.c (__add_to_environ): Likewise.
23462 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23463 * stdlib/strtol_l.c (INTERNAL): Likewise.
23464 * string/memmem.c (memmem): Likewise.
23465 * string/strerror.c (strerror): Likewise.
23466 * string/strnlen.c (__strnlen): Likewise.
23467 * string/test-memmem.c (simple_memmem): Likewise.
23468 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23469 * sunrpc/pm_getport.c (__get_socket): Likewise.
23470 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23471 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23472 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23473 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23475 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23476 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23477 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23478 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23479 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23480 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23482 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23484 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23485 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23486 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23487 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23488 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23490 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23491 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23492 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23493 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23494 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23495 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23497 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23499 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23501 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23502 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23503 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23504 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23505 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23506 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23507 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23508 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23509 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23510 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23511 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23512 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23513 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23514 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23515 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23516 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23518 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23520 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23522 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23524 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23525 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23526 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23528 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23529 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23530 * sysdeps/posix/opendir.c (__opendirat): Likewise.
23531 * sysdeps/posix/sleep.c: Likewise.
23532 * sysdeps/posix/tempname.c: Likewise.
23533 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23534 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23536 * sysdeps/powerpc/powerpc32/dl-machine.h
23537 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23538 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23539 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23540 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23541 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23543 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23544 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23545 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23546 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23547 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23548 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23549 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23550 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23551 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23552 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23553 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23554 (elf_machine_lazy_rel): Likewise.
23555 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23556 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23557 (elf_machine_lazy_rel): Likewise.
23558 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23559 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23560 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23561 * sysdeps/unix/grantpt.c (grantpt): Likewise.
23562 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23563 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23564 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23565 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23567 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23568 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23569 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23570 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23571 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23572 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23573 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23574 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23575 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23576 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23577 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23579 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23580 (__posix_fallocate64_l64): Likewise.
23581 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23582 (posix_fallocate): Likewise.
23583 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23585 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23586 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23587 (getifaddrs_internal): Likewise.
23588 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23589 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23590 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23591 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23592 * sysdeps/unix/sysv/linux/posix_fallocate64.c
23593 (__posix_fallocate64_l64): Likewise.
23594 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23596 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23597 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23598 (__get_clockfreq): Likewise.
23599 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23600 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23601 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23602 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23603 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23604 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23605 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23606 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23608 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23609 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23610 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23611 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23612 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23613 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23614 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23616 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23617 (posix_fallocate): Likewise.
23618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23619 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23620 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23621 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23622 (elf_machine_rela, elf_machine_rela_relative)
23623 (elf_machine_lazy_rel): Likewise.
23624 * time/asctime.c (asctime_internal): Likewise.
23625 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23626 * time/tzset.c (__tzset_parse_tz): Likewise.
23627 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23628 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23629 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23630 * wcsmbs/wcsmbsload.h: Likewise.
23633 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23635 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23636 (arena_get2): Remove THREAD_STATS conditionals.
23637 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23638 (__malloc_stats, int): Likewise.
23640 2014-02-08 Mike Frysinger <vapier@gentoo.org>
23642 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23643 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
23645 * manual/setjmp.texi: Fix typos/grammar errors.
23647 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23648 Only return early when n is <= 0. Delete unused return statement.
23650 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23651 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23652 * debug/tst-longjmp_chk3.c: New file.
23654 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23655 (test_main): Replace code with set_fortify_handler call.
23656 * debug/test-strcpy_chk.c: Likewise.
23657 * debug/tst-chk1.c: Likewise.
23658 * debug/tst-longjmp_chk.c: Likewise.
23659 * test-skeleton.c: Include fcntl.h & paths.h
23660 (set_fortify_handler): Define.
23662 * debug/tst-longjmp_chk.c: Add header comment and include
23663 ../test-skeleton.c.
23664 (do_test): Mark static.
23665 (TEST_FUNCTION): Define.
23667 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23668 (IP_PMTUDISC_INTERFACE): Likewise.
23669 (IP_MULTICAST_IF): Likewise.
23670 (IP_MULTICAST_TTL): Likewise.
23671 (IP_MULTICAST_LOOP): Likewise.
23672 (IP_ADD_MEMBERSHIP): Likewise.
23673 (IP_DROP_MEMBERSHIP): Likewise.
23674 (IP_UNBLOCK_SOURCE): Likewise.
23675 (IP_BLOCK_SOURCE): Likewise.
23676 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23677 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23678 (IP_MSFILTER): Likewise.
23679 (MCAST_JOIN_GROUP): Likewise.
23680 (MCAST_BLOCK_SOURCE): Likewise.
23681 (MCAST_UNBLOCK_SOURCE): Likewise.
23682 (MCAST_LEAVE_GROUP): Likewise.
23683 (MCAST_JOIN_SOURCE_GROUP): Likewise.
23684 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23685 (MCAST_MSFILTER): Likewise.
23686 (IP_MULTICAST_ALL): Likewise.
23687 (IP_UNICAST_IF): Likewise.
23689 * timezone/Makefile: Delete $(have-ksh) check.
23690 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23691 * timezone/tzselect.ksh: Add +x mode bits.
23693 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23694 (ANON_INODE_FS_MAGIC): Likewise.
23695 (BDEVFS_MAGIC): Likewise.
23696 (BINFMTFS_MAGIC): Likewise.
23697 (BTRFS_TEST_MAGIC): Likewise.
23698 (CRAMFS_MAGIC_WEND): Likewise.
23699 (DEBUGFS_MAGIC): Likewise.
23700 (ECRYPTFS_SUPER_MAGIC): Likewise.
23701 (EXT3_SUPER_MAGIC): Likewise.
23702 (EXT4_SUPER_MAGIC): Likewise.
23703 (FUTEXFS_SUPER_MAGIC): Likewise.
23704 (HOSTFS_SUPER_MAGIC): Likewise.
23705 (HUGETLBFS_MAGIC): Likewise.
23706 (MINIX3_SUPER_MAGIC): Likewise.
23707 (MTD_INODE_FS_MAGIC): Likewise.
23708 (NILFS_SUPER_MAGIC): Likewise.
23709 (OPENPROM_SUPER_MAGIC): Likewise.
23710 (PIPEFS_MAGIC): Likewise.
23711 (PSTOREFS_MAGIC): Likewise.
23712 (QNX6_SUPER_MAGIC): Likewise.
23713 (RAMFS_MAGIC): Likewise.
23714 (REISERFS_SUPER_MAGIC_STRING): Likewise.
23715 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23716 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23717 (SECURITYFS_MAGIC): Likewise.
23718 (SELINUX_MAGIC): Likewise.
23719 (SMACK_MAGIC): Likewise.
23720 (SOCKFS_MAGIC): Likewise.
23721 (SQUASHFS_MAGIC): Likewise.
23722 (STACK_END_MAGIC): Likewise.
23723 (TMPFS_MAGIC): Likewise.
23724 (USBDEVICE_SUPER_MAGIC): Likewise.
23725 (V9FS_MAGIC): Likewise.
23726 (XENFS_SUPER_MAGIC): Likewise.
23727 (CRAMFS_MAGIC): Fix typo in comment.
23728 (EXT2_SUPER_MAGIC): Update comment.
23729 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23731 2014-02-08 Joseph Myers <joseph@codesourcery.com>
23733 * sysdeps/arm: Move directory from ports/sysdeps/arm.
23734 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23735 * sysdeps/unix/sysv/linux/arm: Move directory from
23736 ports/sysdeps/unix/sysv/linux/arm.
23737 * README: Update listing for arm-*-linux-gnueabi.
23739 * README: Remove mention of am33.
23741 2014-02-07 Roland McGrath <roland@hack.frob.com>
23743 * bits/sigset.h (__sigemptyset): Use a statement expression rather
23744 than the comma operator, to avoid "rhs of comma has no effect"
23746 (__sigfillset, __sigandset, __sigorset): Likewise.
23747 * include/signal.h (__sigemptyset): Likewise.
23748 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23750 2014-02-07 Allan McRae <allan@archlinux.org>
23752 * version.h (RELEASE): Set to "development".
23753 (VERSION): Set to "2.19.90"
23754 * NEWS: Add 2.20 section.
23756 2014-02-06 Carlos O'Donell <carlos@redhat.com>
23759 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23761 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23763 * manual/contrib.texi: Update entry for Carlos O'Donell,
23764 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23766 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
23768 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23770 * sysdeps/unix/sysv/linux/kernel-features.h
23771 [__LINUX_KERNEL_VERSION >= 0x020621]
23772 (__ASSUME_PROC_PID_TASK_COMM): Define.
23774 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23777 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23778 conversion when destination buffer does not have enough space.
23779 * libio/tst-ftell-partial-wide.c: New test case.
23780 * libio/Makefile (tests): Add tst-ftell-partial-wide.
23782 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23783 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
23784 Leonard and Allan McRae.
23786 2014-02-04 David S. Miller <davem@davemloft.net>
23788 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23791 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23820 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23822 * nptl/shlib-versions: Change powerpc*le start to 2.17.
23823 * shlib-versions: Likewise.
23825 2014-02-04 Roland McGrath <roland@hack.frob.com>
23826 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23828 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23829 (abilist-pattern): New variable, set to %-le.abilist.
23831 * Makerules (abilist-pattern): New variable.
23832 (vpath): Use $(abilist-pattern) in place of %.abilist.
23833 (check-abi-% pattern rule): Likewise.
23834 (check-abi, update-abi): Likewise.
23836 2014-02-04 Eric Wong <normalperson@yhbt.net>
23838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23840 2014-02-03 Carlos O'Donell <carlos@redhat.com>
23842 * manual/startup.texi: Add next, previous, and top entries for
23843 the `Program Arguments' and `Environment Variables' nodes.
23845 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
23847 * manual/macros.texi: Add comments before MTASC-safety macros.
23849 * manual/users.texi: Document MTASC-safety properties.
23851 * manual/threads.texi (pthread_key_create, pthread_key_delete)
23852 (pthread_getspecific, pthread_setspecific): Format with
23853 @deftypefun, and add @safety note.
23854 * manual/signal.texi: Move comments that analyze the above
23855 functions to their home place.
23857 2014-02-03 Allan McRae <allan@archlinux.org>
23859 * po/sl.po: Update Slovenian translation from translation project.
23861 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
23863 * manual/time.texi (timegm): Add missing blank after @c.
23864 Reported by Joseph Myers <joseph@codesourcery.com>.
23866 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
23868 * manual/check-safety.sh: New.
23869 * manual/Makefile ($(objpfx)stamp-summary): Run it.
23871 * manual/terminal.texi: Document MTASC-safety properties.
23873 * manual/filesys.texi: Document MTASC-safety properties.
23875 * manual/errno.texi: Document MTASC-safety properties.
23877 * manual/intro.texi: Document safety identifiers and
23880 * manual/string.texi (wcstok): Fix prototype.
23881 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23883 * manual/time.texi: Document MTASC-safety properties.
23885 * manual/string.texi: Document MTASC-safety properties.
23887 * manual/threads.texi: Document MTASC-safety properties.
23889 * manual/stdio.texi: Document MTASC-safety properties.
23891 * manual/syslog.texi: Document MTASC-safety properties.
23893 * manual/sysinfo.texi: Document MTASC-safety properties.
23895 * manual/startup.texi: Document MTASC-safety properties.
23897 * manual/socket.texi: Document MTASC-safety properties.
23899 * manual/signal.texi: Document MTASC-safety properties.
23901 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
23903 * manual/setjmp.texi: Document MTASC-safety properties.
23905 * manual/search.texi: Document MTASC-safety properties.
23907 * manual/resource.texi: Document MTASC-safety properties.
23909 * manual/process.texi: Document MTASC-safety properties.
23911 * manual/platform.texi: Document MTASC-safety properties.
23913 * manual/pipe.texi: Document MTASC-safety properties.
23915 * manual/pattern.texi: Document MTASC-safety properties.
23917 * manual/message.texi: Document MTASC-safety properties.
23920 * manual/memory.texi: Document MTASC-safety properties.
23922 * manual/math.texi: Document MTASC-safety properties.
23924 * manual/locale.texi: Document MTASC-safety properties.
23926 * manual/llio.texi: Document MTASC-safety properties.
23928 * manual/libdl.texi: New.
23930 * manual/lang.texi: Document MTASC-safety properties.
23932 * manual/job.texi: Document MTASC-safety properties.
23934 * manual/getopt.texi: Document MTASC-safety properties.
23936 * manual/ctype.texi: Document MTASC-safety properties.
23938 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
23941 * csu/libc-tls.c (static_map): Remove variable.
23942 (__libc_setup_tls): Use main executable's link map for TLS data.
23943 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23944 casing for LM_ID_BASE and GL(dl_nns).
23945 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23946 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
23947 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23948 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23949 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23951 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23954 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
23956 * manual/debug.texi: Document MTASC-safety properties.
23958 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
23961 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23962 of __x86_64__ when disabling x87 inline functions.
23964 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
23966 * manual/charset.texi: Document MTASC-safety properties.
23968 * manual/crypt.texi: Document MTASC-safety properties.
23970 * manual/conf.texi: Document MTASC-safety properties.
23972 * manual/arith.texi: Document MTASC-safety properties.
23974 * manual/argp.texi: Document MTASC-safety properties.
23976 * manual/macros.texi: Introduce macros to document multi
23977 thread, asynchronous signal and asynchronous cancellation
23979 * manual/intro.texi: Introduce the properties themselves.
23981 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23983 * sysdeps/sh/sh4/Makefile: New file.
23985 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
23987 * math/gen-libm-test.pl ($srcdir): New variable.
23988 ($auto_input): Use it.
23990 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23993 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23994 access beyond array bounds when parsing netgroups file.
23996 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23997 the old buffer before realloc.
23999 2014-01-27 Allan McRae <allan@archlinux.org>
24001 * po/fr.po: Update French translation from translation project.
24003 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24005 * sysdeps/sh/libm-test-ulps: Regenerate.
24007 2014-01-24 David S. Miller <davem@davemloft.net>
24009 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24011 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24013 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24014 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24016 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24019 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24020 string pointers after reallocation.
24022 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24024 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24025 __SH4A__ instead of __SH_FPU_ANY__.
24027 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24029 * sysdeps/sh/fpu_control.h: New file.
24030 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24031 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24032 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24033 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24034 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24035 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24036 * sysdeps/sh/sys/ucontext.h: Remove.
24037 * sysdeps/sh/sys: Remove directory.
24039 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24041 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24042 s390/sys/ucontext.h.
24043 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24044 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24046 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
24049 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24051 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24054 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24055 Adjust the vDSO correctly for internal calls.
24056 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24058 2014-01-20 Allan McRae <allan@archlinux.org>
24060 * po/ca.po: Update Catalan translation from translation project.
24062 2014-01-16 Mike Frysinger <vapier@gentoo.org>
24064 * sysdeps/s390/sotruss-lib.c: New file.
24066 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24069 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24070 (__GI___gettimeofday): Alias for a different internal symbol to avoid
24071 local calls issues by not having a PLT stub required for IFUNC calls.
24072 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24074 2014-01-16 Joseph Myers <joseph@codesourcery.com>
24076 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24077 * math/test-fpucw-static.c: Likewise.
24079 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24082 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24084 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24086 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24087 implementation for powerpc.
24089 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
24092 * sysdeps/posix/system.c (__libc_system): Do not enable
24093 asynchronous cancellation.
24095 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24098 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24099 handling only for numbers special also in the IEEE case.
24101 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24103 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24105 2014-01-11 Allan McRae <allan@archlinux.org>
24107 * po/bg.po: Update Bulgarian translation from translation project.
24109 * po/de.po: Update German translation from translation project.
24111 2014-01-10 Roland McGrath <roland@hack.frob.com>
24113 * sysdeps/generic/gcc-compat.h: New file.
24115 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24117 * benchtests/asin-inputs: Correct slow inputs.
24118 * benchtests/acos-inputs: Likewise.
24120 2014-01-10 Allan McRae <allan@archlinux.org>
24122 * po:sv.po: Update Swedish translation from translation project.
24124 * po/vi.po: Update Vietnamese translation from translation project.
24126 * po/eo.po: Update Esperanto translation from translation project.
24128 * po/cs.po: Update Czech translation from translation project.
24130 * po/nl.po: Update Dutch translation from translation project.
24132 * po/pl.po: Update Polish translation from translation project.
24134 * po/ru.po: Update Russian translation from translation project.
24136 * po/uk.po: Update Ukrainian translation from translation project.
24138 2014-01-08 Brooks Moses <bmoses@google.com>
24140 * elf/dl-load.c: Fix comment typo.
24142 2014-01-08 Carlos O'Donell <carlos@redhat.com>
24144 * po/header.pot: Rename to...
24145 * po/pot.header: ... this.
24146 * po/Makefile: Use pot.header.
24148 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
24149 Maxim Kuvyrkov <maxim@kugelworks.com>
24152 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24153 SRC and DEST against LEN.
24155 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24158 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24160 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24162 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24166 2014-01-08 Joseph Myers <joseph@codesourcery.com>
24169 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24170 for large positive arguments.
24172 2014-01-07 Joseph Myers <joseph@codesourcery.com>
24174 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24176 * math/auto-libm-test-in: Mark various tests with
24177 xfail-rounding:ldbl-128ibm.
24178 * math/auto-libm-test-out: Regenerated.
24181 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24182 Increase overflow threshold.
24184 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
24187 * stdio-common/vfprintf.c: Check for integer overflow.
24189 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24191 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24192 the first argument and return value of __tls_get_addr_internal.
24194 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24196 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24197 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24199 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24201 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24202 * sysdeps/s390/rtld-global-offsets.sym: New file.
24203 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24205 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24206 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24207 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24209 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24210 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24216 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24217 halfs of GPRs for high_gprs contexts.
24218 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24219 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
24221 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24223 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24225 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24226 for high GPRs (uc_high_gprs) and for future extensions
24228 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24229 for future extensions (__reserved).
24230 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24232 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24233 SC_HIGHGPRS offset definition.
24234 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24235 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24237 * Versions.def: Add GLIBC_2.19 for libpthread.
24238 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24239 siglongjmp for libpthread with GLIBC_2.19 symver.
24240 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24241 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24242 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24243 * sysdeps/s390/__longjmp.c: New file.
24244 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24245 * sysdeps/s390/longjmp.c: New file.
24246 * sysdeps/s390/setjmp.S: New file.
24247 * sysdeps/s390/sigjmp.S: New file.
24248 * sysdeps/s390/v1-longjmp.c: New file.
24249 * sysdeps/s390/v1-setjmp.h: New file.
24250 * sysdeps/s390/v1-sigjmp.c: New file.
24251 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24252 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24253 GLIBC_2.19 version.
24254 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24255 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24256 versioned symbols for ____longjmp_chk.
24257 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24267 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24268 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24269 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24270 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24271 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24272 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24273 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24274 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24275 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24276 * sysdeps/s390/rtld-__longjmp.c: New file.
24277 * sysdeps/s390/rtld-setjmp.S: New file.
24279 2014-01-06 Joseph Myers <joseph@codesourcery.com>
24282 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24283 Return -__logl (x) for small positive arguments without evaluating
24286 2014-01-06 Mike Frysinger <vapier@gentoo.org>
24288 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24290 (__ptrace_peeksiginfo_args): ... this.
24291 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24292 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24293 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24295 2014-01-06 Allan McRae <allan@archlinux.org>
24297 * inet/netinet/in.h: Fix typo in comment.
24299 2014-01-05 Andreas Jaeger <aj@suse.de>
24301 * sysdeps/i386/fpu/libm-test-ulps: Update.
24303 2014-01-05 Allan McRae <allan@archlinux.org>
24305 * po/libc.pot: Regenerated.
24307 * malloc/memusagestat.c: Fix gettext call formatting.
24309 2014-01-04 Sami Kerola <kerolasa@iki.fi>
24311 * nscd/nscd.c: Improve usage() output.
24313 2014-01-04 Mike Frysinger <vapier@gentoo.org>
24315 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24316 * sysdeps/unix/sysv/linux/configure: Regenerated.
24317 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24318 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24320 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24323 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24324 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24326 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24328 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24329 extra tokens at end of #undef directive.
24330 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24331 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24332 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24334 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24336 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24338 * math/auto-libm-test-in: Mark various tests with
24339 xfail-rounding:ldbl-128ibm.
24340 * math/auto-libm-test-out: Regenerated.
24342 2014-01-02 Joseph Myers <joseph@codesourcery.com>
24345 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24346 numbers with subnormal high part when calculating exponent.
24349 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24353 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24355 (__ieee754_acoshl): Use __log1pl not __log1p.
24357 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
24359 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24360 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24361 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24362 (grow_heap, heap_trim, _int_new_arena, get_free_list)
24363 (reused_arena, arena_get2): Convert to GNU style.
24364 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24365 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24366 (memalign_check, __malloc_set_state): Likewise.
24367 * malloc/mallocbug.c (main): Likewise.
24368 * malloc/malloc.c (__malloc_assert, malloc_init_state)
24369 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24370 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24371 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24372 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24373 (__posix_memalign, malloc_info): Likewise.
24374 * malloc/malloc.h: Likewise.
24375 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24376 (mallochook, memalignhook, reallochook, mabort): Likewise.
24377 * malloc/mcheck.h: Likewise.
24378 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24379 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24380 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24381 * malloc/morecore.c (__default_morecore): Likewise.
24382 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24383 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24384 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24385 (print_and_abort): Likewise.
24386 * malloc/obstack.h: Likewise.
24387 * malloc/set-freeres.c (__libc_freeres): Likewise.
24388 * malloc/tst-mallocstate.c (main): Likewise.
24389 * malloc/tst-mtrace.c (main): Likewise.
24390 * malloc/tst-realloc.c (do_test): Likewise.
24392 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24395 * nscd/netgroupcache.c (do_notfound): New function.
24396 (addgetnetgrentX): Use it.
24399 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24400 NSS_STATUS_NOTFOUND.
24402 2014-01-01 Joseph Myers <joseph@codesourcery.com>
24404 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24407 2014-01-01 Allan McRae <allan@archlinux.org>
24409 * scripts/update-copyrights: Update configure input file suffix.
24411 * NEWS: Update copyright year.
24412 * catgets/gencat.c: Likewise.
24413 * csu/version.c: Likewise.
24414 * debug/catchsegv.sh: Likewise.
24415 * debug/pcprofiledump.c: Likewise.
24416 * debug/xtrace.sh: Likewise.
24417 * elf/ldconfig.c: Likewise.
24418 * elf/ldd.bash.in: Likewise.
24419 * elf/pldd.c: Likewise.
24420 * elf/sotruss.ksh: Likewise.
24421 * elf/sprof.c: Likewise.
24422 * iconv/iconv_prog.c: Likewise.
24423 * iconv/iconvconfig.c: Likewise.
24424 * locale/programs/locale.c: Likewise.
24425 * locale/programs/localedef.c: Likewise.
24426 * login/programs/pt_chown.c: Likewise.
24427 * malloc/memusage.sh: Likewise.
24428 * malloc/memusagestat.c: Likewise.
24429 * malloc/mtrace.pl: Likewise.
24430 * manual/libc.texinfo: Likewise.
24431 * nscd/nscd.c: Likewise.
24432 * nss/getent.c: Likewise.
24433 * nss/makedb.c: Likewise.
24434 * posix/getconf.c: Likewise.
24435 * scripts/test-installation.pl: Likewise.
24437 * All files with FSF copyright notices: Update copyright dates
24438 using scripts/update-copyrights.
24439 * intl/plural.c: Regenerated.
24440 * locale/programs/charmap-kw.h: Likewise.
24441 * locale/programs/locfile-kw.h: Likewise.
24443 2013-12-31 Mike Frysinger <vapier@gentoo.org>
24445 * sysdeps/unix/sysv/linux/configure: Regenerated.
24446 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24447 the linux/fanotify.h header.
24448 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24449 HAVE_LINUX_FANOTIFY_H is defined.
24451 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24453 * benchtests/cos-inputs: New inputs.
24454 * benchtests/sin-inputs: Likewise.
24456 * benchtests/atan-inputs: New inputs. Fix name of multiple
24457 precision fallback inputs.
24459 * benchtests/atanh-inputs: New inputs.
24460 * benchtests/tanh-inputs: Likewise.
24462 * benchtests/acosh-inputs: New inputs.
24463 * benchtests/asinh-inputs: Likewise.
24465 * benchtests/cosh-inputs: New inputs.
24466 * benchtests/sinh-inputs: Likewise.
24468 * benchtests/acos-inputs: Add more inputs.
24469 * benchtests/asin-inputs: Likewise.
24471 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
24474 * manual/arith.texi: Fix spelling.
24475 * manual/charset.texi: Likewise.
24476 * manual/errno.texi: Likewise.
24477 * manual/filesys.texi: Likewise.
24478 * manual/lang.texi: Likewise.
24479 * manual/llio.texi: Likewise.
24480 * manual/locale.texi: Likewise.
24481 * manual/message.texi: Likewise.
24482 * manual/resource.texi: Likewise.
24483 * manual/search.texi: Likewise.
24484 * manual/setjmp.texi: Likewise.
24485 * manual/stdio.texi: Likewise.
24486 * manual/string.texi: Likewise.
24487 * manual/sysinfo.texi: Likewise.
24488 * manual/time.texi: Likewise.
24490 2013-12-27 Carlos O'Donell <carlos@redhat.com>
24492 * po/sl.po: New file.
24494 2013-12-27 Mike Frysinger <vapier@gentoo.org>
24496 * .gitignore: Add core/.gdbinit/.gdb_history.
24498 2013-12-27 Allan McRae <allan@archlinux.org>
24501 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24502 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24504 2013-12-24 Brooks Moses <bmoses@google.com>
24506 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24507 all compilers that claim C++98 compliance, not just GCC.
24508 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24511 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24513 * NEWS: Restore accidentally deleted bug-fix entries.
24515 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24516 Ondřej Bílka <neleai@seznam.cz>
24519 * malloc/malloc.c (_int_free): Perform sanity check only if we
24522 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
24525 * manual/stdio.texi (String Input Conversions): Clarify that character
24526 classes are not supported.
24528 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24532 2013-12-22 Joseph Myers <joseph@codesourcery.com>
24535 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24536 Calculate results for small negative arguments directly rather
24537 than using reflection formula with special underflow handling.
24539 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24540 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24541 sysdeps/unix/bsd/bsd4.4/syscalls.list.
24542 (fchflags): Likewise.
24543 (revoke): Likewise.
24544 (setlogin): Likewise.
24545 (sigaltstack): Likewise.
24547 (sigblock): Remove.
24548 (sigsetmask): Likewise.
24550 (waitpid): Likewise.
24551 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24552 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24554 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24555 * sysdeps/unix/bsd/Makefile: ... here.
24556 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24557 * sysdeps/unix/bsd/Versions: ... here.
24558 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24559 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24560 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24561 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24562 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24563 * sysdeps/unix/bsd/sigblock.c: ... here.
24564 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24565 * sysdeps/unix/bsd/sigsetmask.c: ... here.
24566 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24567 * sysdeps/unix/bsd/sigvec.c: ... here.
24568 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24569 * sysdeps/unix/bsd/tcdrain.c: ... here.
24570 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24571 * sysdeps/unix/bsd/tcgetattr.c: ... here.
24572 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24573 * sysdeps/unix/bsd/tcsetattr.c: ... here.
24574 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24575 * sysdeps/unix/bsd/wait.c: ... here.
24576 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24577 * sysdeps/unix/bsd/wait3.c: ... here.
24578 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24579 * sysdeps/unix/bsd/waitpid.c: ... here.
24581 2013-12-21 Joseph Myers <joseph@codesourcery.com>
24584 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24585 round-to-nearest for [!USE_AS_EXPM1L].
24586 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24587 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
24588 more tests of exp and exp10. Expect some exp10 tests to miss
24589 exceptions or fail in directed rounding modes.
24590 * math/auto-libm-test-out: Regenerated.
24591 * math/libm-test.inc (exp10_tonearest_test_data): New array.
24592 (exp10_test_tonearest): New function.
24593 (exp10_towardzero_test_data): New array.
24594 (exp10_test_towardzero): New function.
24595 (exp10_downward_test_data): New array.
24596 (exp10_test_downward): New function.
24597 (exp10_upward_test_data): New array.
24598 (exp10_test_upward): New function.
24599 (main): Call the new functions.
24600 * sysdeps/i386/fpu/libm-test-ulps: Update.
24601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24603 2013-12-20 Joseph Myers <joseph@codesourcery.com>
24605 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24606 asinh, atan, atan2, atanh, cbrt, cos and cosh.
24607 * math/auto-libm-test-out: Regenerated.
24608 * math/libm-test.inc (acosh_test_data): Add more tests.
24609 (atanh_test_data): Likewise.
24610 (ceil_test_data): Likewise.
24611 (copysign_test_data): Likewise.
24612 * sysdeps/i386/fpu/libm-test-ulps: Update.
24613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24615 * timezone/checktab.awk: Update from tzcode 2013i.
24616 * timezone/private.h: Likewise.
24617 * timezone/scheck.c: Likewise.
24618 * timezone/tzfile.h: Likewise.
24619 * timezone/tzselect.ksh: Likewise.
24620 * timezone/zdump.c: Likewise.
24621 * timezone/zic.c: Likewise.
24623 * math/auto-libm-test-in: Add tests of cpow.
24624 * math/auto-libm-test-out: Regenerated.
24625 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24626 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24628 (func_calc_desc): Add mpc_cc_c union field.
24629 (test_functions): Add cpow.
24630 (special_fill_2pi): New function.
24631 (special_real_inputs): Add 2pi.
24632 (calc_generic_results): Handle mpc_cc_c.
24633 * sysdeps/i386/fpu/libm-test-ulps: Update.
24634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24636 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24637 csqrt, ctan and ctanh.
24638 * math/auto-libm-test-out: Regenerated.
24639 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24640 (TEST_COND_x86): Likewise.
24641 (ccos_test_data): Use AUTO_TESTS_c_c.
24642 (ccosh_test_data): Likewise.
24643 (cexp_test_data): Likewise.
24644 (clog_test_data): Likewise.
24645 (csqrt_test_data): Likewise.
24646 (ctan_test_data): Likewise.
24647 (ctan_tonearest_test_data): Likewise.
24648 (ctan_towardzero_test_data): Likewise.
24649 (ctan_downward_test_data): Likewise.
24650 (ctan_upward_test_data): Likewise.
24651 (ctanh_test_data): Likewise.
24652 (ctanh_tonearest_test_data): Likewise.
24653 (ctanh_towardzero_test_data): Likewise.
24654 (ctanh_downward_test_data): Likewise.
24655 (ctanh_upward_test_data): Likewise.
24656 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24658 (func_calc_desc): Add mpc_c_c union field.
24659 (FUNC_mpc_c_c): New macro.
24660 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24661 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24663 (special_fill_min_subnorm_p120): New function.
24664 (special_real_inputs): Add min_subnorm_p120.
24665 (calc_generic_results): Handle mpc_c_c.
24666 * sysdeps/i386/fpu/libm-test-ulps: Update.
24667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24669 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24671 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24672 (do_sin_slow): New functions.
24673 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24674 (cslow2, csloww1, csloww2): Use the new functions.
24676 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24677 Use M to change sign of result instead of X. Assume X is
24679 (csloww1): Likewise.
24683 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24684 arguments A and DA.
24688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24690 (sloww1): Don't adjust sign of DX.
24691 (csloww1): Likewise.
24692 (sloww2): Use X directly and don't adjust sign of DX.
24693 (csloww2): Likewise.
24695 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24697 * math/auto-libm-test-in: Add tests of cabs and carg.
24698 * math/auto-libm-test-out: Regenerated.
24699 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24700 (carg_test_data): Likewise.
24701 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24703 (func_calc_desc): Add mpc_c_f union field.
24704 (test_functions): Add cabs and carg.
24705 (calc_generic_results): Handle mpc_c_f.
24707 * sysdeps/powerpc/powerpc32/libgcc-compat.S
24708 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24709 as a macro and a compat symbol.
24710 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24711 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24712 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24713 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24714 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24715 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24717 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24719 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24721 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24723 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24725 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24727 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24728 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24731 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24735 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24737 * manual/texinfo.tex: Update to version 2013-11-26.10 with
24738 trailing whitespace removed.
24739 * scripts/config.guess: Update to version 2013-11-29.
24740 * scripts/config.sub: Update to version 2013-10-01.
24742 * math/auto-libm-test-in: Add tests of sincos.
24743 * math/auto-libm-test-out: Regenerated.
24744 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24745 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24747 (func_calc_desc): Add mpfr_f_11 union field.
24748 (test_functions): Add sincos.
24749 (calc_generic_results): Handle mpfr_f_11.
24750 * sysdeps/i386/fpu/libm-test-ulps: Update.
24751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24753 2013-12-19 Andreas Schwab <schwab@suse.de>
24755 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24757 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24758 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24759 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24761 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24763 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24764 * sysdeps/i386/fpu/libm-test-ulps: Update.
24765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24768 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24769 round-to-nearest mode when using frndint.
24770 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24771 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24772 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24774 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
24776 * math/auto-libm-test-out: Regenerated.
24777 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24778 (TEST_COND_x86): Likewise.
24779 (expm1_tonearest_test_data): New array.
24780 (expm1_test_tonearest): New function.
24781 (expm1_towardzero_test_data): New array.
24782 (expm1_test_towardzero): New function.
24783 (expm1_downward_test_data): New array.
24784 (expm1_test_downward): New function.
24785 (expm1_upward_test_data): New array.
24786 (expm1_test_upward): New function.
24787 (main): Run the new test functions.
24788 * sysdeps/i386/fpu/libm-test-ulps: Update.
24789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24791 * include/features.h: Update comment documenting feature test
24792 macros. Mention _DEFAULT_SOURCE in comment.
24793 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24794 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24795 _BSD_SOURCE and _SVID_SOURCE.
24796 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24797 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24798 !_SVID_SOURCE]: Likewise.
24799 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24800 (__USE_POSIX_IMPLICITLY): Define.
24801 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24802 (_POSIX_SOURCE): Undefine and redefine.
24803 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24804 (_POSIX_C_SOURCE): Likewise.
24805 * manual/creature.texi (_DEFAULT_SOURCE): Document.
24806 (Feature Test Macros): Update documentation of default features.
24808 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24810 * benchtests/Makefile: Add bench-strtok.
24811 * benchtests/bench-strtok.c: New file: strtok benchtest.
24813 2013-12-19 Allan McRae <allan@archlinux.org>
24815 * manual/install.texi: Suppress menu for plain text output.
24816 * INSTALL: Regenerated.
24818 2013-12-18 Brooks Moses <bmoses@google.com>
24821 * misc/getauxval.c: Include errno.h.
24822 (__getauxval): Set errno to ENOENT if the requested type is not
24824 * misc/sys/auxv.h (getauxval): Document that it may set errno;
24825 don't declare with __attribute_const__.
24826 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24827 * manual/startup.texi: Document that getauxval sets errno.
24829 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24831 * math/auto-libm-test-in: Add tests of jn and yn.
24832 * math/auto-libm-test-out: Regenerated.
24833 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24834 (yn_test_data): Likewise.
24835 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24837 (func_calc_desc): Add mpfr_if_f union field.
24838 (FUNC_mpfr_if_f): New macro.
24839 (test_functions): Add jn and yn.
24840 (calc_generic_results): Assert type of second input for
24841 mpfr_ff_f. Handle mpfr_if_f.
24842 (output_for_one_input_case): Disable all checking for arguments
24843 fitting floating-point types in case of an integer argument.
24844 * sysdeps/i386/fpu/libm-test-ulps: Update.
24845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24848 Don't expect fegetround reference in libm.so.
24850 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24852 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24853 $(config-cflags-nofma).
24855 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24857 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24858 * math/auto-libm-test-out: Regenerated.
24861 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24862 to determine exponent and adjust argument to have exponent of -1.
24863 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24865 * math/auto-libm-test-out: Regenerated.
24866 * sysdeps/i386/fpu/libm-test-ulps: Update.
24867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24869 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
24871 * manual/probes.texi: Remove cases when per-thread arenas are
24874 2013-12-18 Andreas Schwab <schwab@suse.de>
24876 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24877 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24878 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24879 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24880 * sysdeps/i386/i686/multiarch/Makefile: Update.
24881 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24883 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24885 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24886 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24888 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
24891 Support TZ transition times < 00:00:00.
24892 This is needed for version-3 tz-format files; it supports time
24893 stamps past 2037 for America/Godthab (the only entry in the tz
24894 database for which this change is relevant).
24895 * manual/time.texi (TZ Variable): Document transition times
24896 from -167:59:59 through -00:00:01.
24897 * time/tzset.c (tz_rule): Time of day is now signed.
24898 (__tzset_parse_tz): Parse negative time of day.
24900 Document TZ transition times >= 25:00:00.
24901 * manual/time.texi (TZ Variable): Document transition times from
24902 25:00:00 through 167:59:59. These are already supported, and this
24903 support will help with version-3 tz-format files.
24905 * manual/time.texi (TZ Variable): Modernize North America example
24906 to reflect current (i.e., 2007-and-later) daylight saving rules.
24908 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24910 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24912 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24913 * sysdeps/unix/bsd/bits/stat.h: Likewise.
24914 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24915 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24916 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24917 * sysdeps/unix/bsd/bsdstat.h: Likewise.
24918 * sysdeps/unix/bsd/clock.c: Likewise.
24919 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24920 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24921 * sysdeps/unix/bsd/init-posix.c: Likewise.
24922 * sysdeps/unix/bsd/poll.c: Likewise.
24923 * sysdeps/unix/bsd/ptsname.c: Likewise.
24924 * sysdeps/unix/bsd/seekdir.c: Likewise.
24925 * sysdeps/unix/bsd/setegid.c: Likewise.
24926 * sysdeps/unix/bsd/seteuid.c: Likewise.
24927 * sysdeps/unix/bsd/setgid.c: Likewise.
24928 * sysdeps/unix/bsd/setrgid.c: Likewise.
24929 * sysdeps/unix/bsd/setruid.c: Likewise.
24930 * sysdeps/unix/bsd/setsid.c: Likewise.
24931 * sysdeps/unix/bsd/setuid.c: Likewise.
24932 * sysdeps/unix/bsd/sigaction.c: Likewise.
24933 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24934 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24935 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24936 * sysdeps/unix/bsd/telldir.c: Likewise.
24937 * sysdeps/unix/bsd/times.c: Likewise.
24938 * sysdeps/unix/bsd/usleep.c: Likewise.
24940 * misc/Makefile (install-lib): Remove libbsd-compat.a.
24941 ($(objpfx)libbsd-compat.a): Remove rule.
24943 * include/features.h (__FAVOR_BSD): Do not define.
24944 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24945 features conflicting with POSIX.
24946 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24947 (_BSD_SOURCE): Remove description of not being a subset of other
24948 feature test macros.
24949 * manual/job.texi (getpgrp): Do not document BSD version.
24950 (getpgid): Do not document by reference to BSD getpgrp.
24951 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24952 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24953 * signal/signal.h [__FAVOR_BSD]: Likewise.
24954 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24955 instead of making contents conditional on [__FAVOR_BSD].
24956 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24958 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24962 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24965 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24966 values below 2**-450, not 2**-500.
24967 * math/auto-libm-test-in: Don't allow spurious underflow from
24969 * math/auto-libm-test-out: Regenerated.
24973 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24974 values of ha and hb and sort them after adjusting subnormal
24976 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24978 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24979 values of ea and eb and sort them after adjusting subnormal
24981 * math/auto-libm-test-in: Do not expect some hypot tests of
24982 subnormals to fail. Add more hypot tests.
24983 * math/auto-libm-test-out: Regenerated.
24985 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24988 * sysdeps/sh/s_fma.c: New file.
24989 * sysdeps/sh/s_fmaf.c: New file.
24990 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
24992 * sysdeps/sh/Implies: Add sh/soft-fp.
24994 2013-12-16 Roland McGrath <roland@hack.frob.com>
24996 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
24997 level of indirection to members `objname', `errstring', `malloced'.
24998 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24999 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
25000 it as the __longjmp argument (just pass 1 instead).
25001 (_dl_catch_error): Initialize C with argument pointers and address of
25002 volatile local ERRCODE rather than copying values out of C at return.
25004 2013-12-16 Joseph Myers <joseph@codesourcery.com>
25006 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25007 * math/auto-libm-test-out: Regenerated.
25008 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25009 (hypot_test_data): Likewise.
25010 (pow_test_data): Likewise.
25011 (pow_tonearest_test_data): Likewise.
25012 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25014 (func_calc_desc): Add mpfr_ff_f union field.
25015 (FUNC_mpfr_ff_f): New macro.
25016 (test_functions): Add atan2, hypot and pow.
25017 (special_fill_min): New function.
25018 (special_fill_minus_min): Likewise.
25019 (special_fill_min_subnorm): Likewise.
25020 (special_fill_minus_min_subnorm): Likewise.
25021 (special_real_inputs): Add min, -min, min_subnorm and
25023 (calc_generic_results): Handle mpfr_ff_f.
25024 * sysdeps/i386/fpu/libm-test-ulps: Update.
25025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25027 2013-12-16 Will Newton <will.newton@linaro.org>
25029 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25030 (Aligned Memory Blocks): Add documentation for aligned_alloc
25031 and suggest it as an alternative to posix_memalign.
25032 (Hooks for Malloc): Document __memalign_hook is also called
25033 for aligned_alloc. (Summary of Malloc): Add summary for
25034 aligned alloc. Document __memalign_hook is also called
25037 2013-12-16 Will Newton <will.newton@linaro.org>
25039 * manual/memory.texi (Malloc Examples): Clarify default
25040 alignment documentation. Suggest posix_memalign rather
25041 than memalign or valloc.
25042 (Aligned Memory Blocks): Remove suggestion to use memalign
25043 or valloc. Remove obsolete comment about BSD.
25044 Document memalign errno values and mark the function obsolete.
25045 Document posix_memalign returned error codes. Mark valloc
25046 as obsolete. (Hooks for Malloc): __memalign_hook is also
25047 called for posix_memalign and valloc.
25048 (Summary of Malloc): Add posix_memalign to function summary.
25049 __memalign_hook is also called for posix_memalign and valloc.
25051 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25053 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25057 (sloww): Use mynumber union. Expand ternary operator into
25058 if-else statements.
25059 (cslow): use mynumber union.
25061 2013-12-16 Allan McRae <allan@archlinux.org>
25063 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25064 * configure: Regenerated.
25066 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25069 * configure.ac: Added --enable-maintainer-mode. Check for
25070 autoconf when enabled.
25071 * configure: Regenerated.
25073 * nscd/nscd.service: New file.
25074 * nscd/nscd.tmpfiles: New file.
25076 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
25079 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25080 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25081 * sysdeps/x86_64/multiarch/strstr.c: ... here.
25082 (strstr): Add __strstr_sse2_unaligned ifunc.
25083 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25084 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25085 (strcasestr): Remove __strcasestr_sse42 ifunc.
25086 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25087 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25090 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25092 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25093 * sysdeps/sh/bits/fenv.h: ... here.
25094 * sysdeps/sh/sh4/fpu/bits: Remove directory.
25096 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25098 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25101 hypotf multiarch implementations.
25102 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25103 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25104 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25105 multiarch hypot for PPC64.
25106 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25107 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25108 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25109 multiarch hypotf for PPC64.
25111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25112 modff multiarch implementations.
25113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25116 multiarch modf for PPC64.
25117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25120 multiarch modff for PPC64.
25122 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25123 and logl multiarch implementations.
25124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25127 multiarch logb for PPC64.
25128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25131 multiarch logb for PPC64.
25132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25135 multiarch logb for PPC64.
25137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25138 isinff multiarch implementation.
25139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25143 multiarch isinf for PPC64.
25144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25147 multiarch isinff for PPC64.
25149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25150 finitef multiarch implementation.
25151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25155 multiarch finite for PPC64.
25156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25159 multiarch finitef for PPC64.
25161 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25162 lrint multiarch implementation.
25163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25167 multiarch llrint for PPC64.
25168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25169 multiarch lrint for PPC64.
25171 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25172 copysignf multiarch implementation.
25173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25178 multiarch copysign for PPC64.
25179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25180 multiarch copysignf for PPC64.
25182 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25183 multiarch implementation.
25184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25192 multiarch llround for PPC64.
25193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25194 multiarch trunc for PPC64.
25195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25196 multiarch truncf for PPC64.
25198 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25199 multiarch implementation.
25200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25208 multiarch llround for PPC64.
25209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25210 multiarch round for PPC64.
25211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25212 multiarch roundf for PPC64.
25214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25215 multiarch implementation.
25216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25224 multiarch llround for PPC64.
25225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25226 multiarch floor for PPC64.
25227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25228 multiarch floorf for PPC64.
25230 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25231 multiarch implementation.
25232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25240 multiarch llround for PPC64.
25241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25242 multiarch ceil for PPC64.
25243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25244 multiarch ceilf for PPC64.
25246 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25247 multiarch implementation.
25248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25255 multiarch llround for PPC64.
25256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25257 multiarch lround for PPC64.
25259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25260 multiarch implementation.
25261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25268 multiarch isnan for PPC64.
25269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25270 multiarch isnanf for PPC64.
25272 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25273 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25274 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25275 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25276 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25279 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25280 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25281 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25282 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25285 multiarch implementations.
25286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25287 (__libc_ifunc_impl_list): Likewise.
25288 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25289 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25290 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25291 multiarch stpcpy for PPC64.
25293 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25294 multiarch implementations.
25295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25296 (__libc_ifunc_impl_list): Likewise.
25297 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25298 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25299 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25300 multiarch strcpy for PPC64.
25302 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25303 redefine function name.
25304 (_wordcopy_fwd_dest_aligned): Likewise.
25305 (_wordcopy_bwd_aligned): Likewise.
25306 (_wordcopy_bwd_dest_aligned): Likewise.
25307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25308 multiarch implementations.
25309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25310 (__libc_ifunc_impl_list): Likewise.
25311 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25312 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25313 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25314 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25315 multiarch wcscpy for PPC64.
25317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25318 multiarch implementations.
25319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25320 (__libc_ifunc_impl_list): Likewise.
25321 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25322 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25323 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25324 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25325 multiarch wcscpy for PPC64.
25327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25328 multiarch implementations.
25329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25330 (__libc_ifunc_impl_list): Likewise.
25331 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25332 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25333 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25334 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25335 multiarch wcsrchr for PPC64.
25337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25338 multiarch implementations.
25339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25340 (__libc_ifunc_impl_list): Likewise.
25341 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25342 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25343 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25344 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25345 multiarch wcschr for PPC64.
25347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25348 multiarch implementations.
25349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25350 (__libc_ifunc_impl_list): Likewise.
25351 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25352 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25353 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25354 multiarch strchrnul for PPC64.
25356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25359 (__libc_ifunc_impl_list): Likewise.
25360 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25361 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25362 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25363 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25369 (__libc_ifunc_impl_list): Likewise.
25370 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25371 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25372 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25373 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25377 multiarch implementations.
25378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25379 (__libc_ifunc_impl_list): Likewise.
25380 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25381 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25382 strncasecmp for PPC64.
25383 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25384 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25385 multiarch strncasecmp_l for PPC64.
25387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25388 multiarch implementations.
25389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25390 (__libc_ifunc_impl_list): Likewise.
25391 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25392 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25393 multiarch strcasecmp for PPC64.
25394 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25396 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25397 multiarch strcasecmp_l for PPC64.
25399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25402 (__libc_ifunc_impl_list): Likewise.
25403 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25404 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25405 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25408 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25411 (__libc_ifunc_impl_list): Likewise.
25412 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25413 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25414 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25420 (__libc_ifunc_impl_list): Likewise.
25421 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25422 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25423 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25424 rawmemrchr for PPC64.
25426 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25428 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25429 (__libc_ifunc_impl_list): Likewise.
25430 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25431 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25432 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25438 (__libc_ifunc_impl_list): Likewise.
25439 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25440 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25441 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25447 (__libc_ifunc_impl_list): Likewise.
25448 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25449 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25450 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25453 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25454 avoid cretion of __bzero symbol.
25455 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25457 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25459 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25462 multiarch implementations.
25463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25464 (__libc_ifunc_impl_list): Likewise.
25465 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25466 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25467 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25468 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25470 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25471 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25472 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25473 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25474 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25476 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25478 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25482 (__libc_ifunc_impl_list): Likewise.
25483 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25484 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25485 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25486 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25490 multiarch for POWER/PPC64.
25491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25492 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25493 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25494 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25495 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25496 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25497 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25498 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25499 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25502 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25503 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25504 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25505 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25506 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25507 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25508 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25509 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25510 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25511 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25512 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25513 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25514 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25515 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25516 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25525 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25527 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25529 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25531 * benchtests/Makefile (bench): Add exp2 and log2.
25532 (LDLIBS-bench-exp2): Add -lm.
25533 (LDLIBS-bench-log2): Likewise.
25534 * benchtests/exp2-inputs: New inputs file.
25535 * benchtests/log2-inputs: New inputs file.
25536 * benchtests/log-inputs: Add new inputs.
25537 * benchtests/tan-inputs: Likewise.
25539 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25541 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25543 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25544 (csloww2): ... from here.
25546 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25547 instead of structures.
25548 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25549 (POLYNOMIAL): Likewise.
25550 (TAYLOR_SLOW): Likewise.
25556 (sloww1); Likewise.
25557 (sloww2): Likewise.
25558 (bsloww1): Likewise.
25559 (bsloww2): Likewise.
25560 (cslow2): Likewise.
25561 (csloww): Likewise.
25562 (csloww1): Likewise.
25563 (csloww2): Likewise.
25565 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
25567 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25568 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25569 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25570 * malloc/hooks.c (realloc_check): Likewise.
25572 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25573 * malloc/arena.c: Remove PER_THREAD conditional.
25574 [!PER_THREAD]: Remove code.
25575 (ptmalloc_unlock_all2): Likewise.
25576 (ptmalloc_init): Likewise.
25577 (_int_new_arena): Likewise.
25578 (arena_get2): Likewise.
25579 * malloc/hooks.c (__malloc_get_state): Likewise.
25580 (__malloc_set_state): Likewise.
25581 * malloc/malloc.c: Likewise.
25582 (struct malloc_state): Likewise.
25583 (struct malloc_par): Likewise.
25584 (__libc_realloc): Likewise.
25585 (__libc_mallopt): Likewise.
25587 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25589 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25591 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
25593 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25594 macro to a function. Check for zero perturb_byte.
25595 (_int_malloc, _int_free): Remove zero perturb_byte checks.
25597 * malloc/malloc.c: (force_reg): Remove.
25598 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25599 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25600 force_reg by atomic_forced_read.
25601 * malloc/arena.c (ptmalloc_init): Likewise.
25602 * malloc/hooks.c (top_check): Likewise.
25604 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25608 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
25610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25612 2013-12-08 Joseph Myers <joseph@codesourcery.com>
25614 * math/auto-libm-test-in: Add tests of lgamma.
25615 * math/auto-libm-test-out: Regenerated.
25616 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25617 (M_LOG_2_SQRT_PIl): Likewise.
25618 (lgamma_test_data): Use AUTO_TESTS_f_f1.
25619 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25621 (func_calc_desc): Add mpfr_f_f1 union field.
25622 (ARGS1): New macro.
25630 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25631 (test_functions): Add lgamma.
25632 (calc_generic_results): Handle mpfr_f_f1.
25633 * sysdeps/i386/fpu/libm-test-ulps: Update.
25634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25636 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25638 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25639 __mpn_add_n for PowerPC64/POWER7.
25640 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25641 __mpn_sub_n for PowerPC64/POWER7.
25643 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25644 __mpn_addmul_1 for PowerPC64.
25645 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25646 __mpn_submul_1 for PowerPC64.
25647 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25649 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25652 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
25655 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25657 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25659 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25661 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25662 add multiarch folders.
25663 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25664 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25665 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25666 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25667 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25668 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25669 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25670 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25671 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25672 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25673 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25682 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25688 multiarch __ieee754_hypot for PowerPC32.
25689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25694 multiarch __ieee754_hypotf for PowerPC32.
25696 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25697 long_double_symbol only if __logbl is defined.
25698 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25699 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25700 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25701 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25702 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25703 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25704 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25705 path for implementation.
25706 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25707 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25709 logb, and logbl multiarch implementations for PowerPC32.
25710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25715 multiarch logb for PowerPC32.
25716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25721 multiarch logbf for PowerPC32.
25722 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25726 multiarch logbl implementation for PowerPC32.
25728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25729 and modff multiarch implementations.
25730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25735 multiarch modf for PowerPC32.
25736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25741 multiarch modff for PowerPC32.
25743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25744 and lrintf multiarch implementations.
25745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25750 multiarch lrint for PowerPC32.
25751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25752 file: multiarch lrintf for PowerPC32.
25754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25755 and lroundf multiarch implementations.
25756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25763 multiarch lround for PowerPC32.
25764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25765 file: multiarch lroundf for PowerPC32.
25767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25768 copysign and copysignf multiarch implementations.
25769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25774 file: multiarch copysign for PowerPC32.
25775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25776 file: multiarch copysignf for PowerPC32.
25778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25779 and truncf multiarch implementations.
25780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25785 multiarch trunc for PowerPC32.
25786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25791 multiarch truncf for PowerPC32.
25793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25794 and roundf multiarch implementations.
25795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25800 multiarch round for PowerPC32.
25801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25806 multiarch roundf for PowerPC32.
25808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25809 and floorf multiarch implementations.
25810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25815 multiarch floor for PowerPC32.
25816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25821 multiarch floorf for PowerPC32.
25823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25824 and ceilf multiarch implementations.
25825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25830 multiarch ceil for PowerPC32.
25831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25836 multiarch ceilf for PowerPC32.
25838 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25840 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25841 FINITEF is defined.
25842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25843 and finitef multiarch implementations.
25844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25849 multiarch finite for PowerPC32.
25850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25853 file: multiarch finitef for PowerPC32.
25855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25856 and isinff multiarch implementations.
25857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25862 multiarch isinf for PowerPC32.
25863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25866 multiarch isinff for PowerPC32.
25868 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25869 alias when __isnan is defined.
25870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25871 and isnanf multiarch implementations.
25872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25881 multiarch isnan for PowerPC32.
25882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25887 multiarch isnanf for PowerPC32.
25889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25890 and sqrtf multiarch implementations.
25891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25896 multiarch sqrt for PowerPC32.
25897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25902 multiarch sqrtf for PowerPC32.
25904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25905 and llroundf multiarch implementations.
25906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25913 file: multiarch llround for PowerPC32.
25914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25915 file: multiarch llroundf for PowerPC32.
25917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25918 multiarch PowerPC32 fpu implementations.
25919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25924 multiarch llrint for PowerPC32.
25925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25934 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25936 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25938 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25940 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25941 multiarch wordcopy for PPC32.
25942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25945 (__libc_ifunc_impl_list): Likewise.
25946 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25947 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25948 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25949 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25950 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25951 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25953 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25954 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25956 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25958 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25960 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25961 multiarch wcscpy for PPC32.
25962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25965 (__libc_ifunc_impl_list): Likewise.
25966 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25967 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25968 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25969 sysdeps/powerpc/power6/wcscpy.c.
25971 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25972 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25974 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25976 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25978 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25979 multiarch wcsrchr for PPC32.
25980 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25982 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25983 (__libc_ifunc_impl_list): Likewise.
25984 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25985 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25986 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25987 sysdeps/powerpc/power6/wcsrchr.c.
25989 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25993 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25994 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25995 multiarch wcschr for PPc32.
25996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25998 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25999 (__libc_ifunc_impl_list): Likewise.
26000 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26001 * sysdeps/powerpc/power6/wcschr.c: ... to here.
26002 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26003 sysdeps/powerpc/power6/wcschr.c.
26005 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26006 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26008 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26009 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26010 file: multiarch strchr for PPC32.
26011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26014 (__libc_ifunc_impl_list): Likewise.
26016 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26018 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26020 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26022 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26023 multiarch strchrnul for PPC32.
26024 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26026 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26027 (__libc_ifunc_impl_list): Likewise.
26029 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26031 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26032 multiarch strncasecmp for PPC32.
26033 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26035 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26036 multiarch strncasecmp_l for PPC32.
26037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26038 strncasecmp multiarch objects.
26039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26040 (__libc_ifunc_impl_list): Likewise.
26042 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26044 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26045 multiarch strncasecmp for PPC32.
26046 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26048 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26049 multiarch strcasecmp_l for PPC32.
26050 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26052 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26053 (__libc_ifunc_impl_list): Likewise.
26055 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26057 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26059 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26060 multiarch strncmp for PPC32.
26061 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26063 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26064 (__libc_ifunc_impl_list): Likewise.
26066 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26067 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26069 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26070 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26071 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26073 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26074 (__libc_ifunc_impl_list): Likewise.
26076 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26078 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26080 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26081 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26083 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26084 (__libc_ifunc_impl_list): Likewise.
26086 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26088 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26090 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26091 multiarch rawmemchr for PPC32.
26092 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26094 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26095 (__libc_ifunc_impl_list): Likewise.
26097 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26099 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26101 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26102 file: memrchr multiarch for PPC32.
26103 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26105 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26106 (__libc_ifunc_impl_list): Likewise.
26108 * string/memchr.c (__memchr): Using macro to redefine symbol name.
26109 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26111 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26112 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26113 multiarch memchr for PPC32.
26114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26117 (__libc_ifunc_impl_list): Likewise.
26119 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26120 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26122 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26124 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26125 file: multiarch mempcpy for PPC32.
26126 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26128 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26129 (__libc_ifunc_impl_list): Likewise.
26131 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26132 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26133 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26134 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26135 multiarch bzero for PPC32.
26136 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26138 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26140 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26141 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26142 file: multiarch memset for PPC32.
26143 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26144 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26145 memset multiarch objects.
26146 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26147 (__libc_ifunc_impl_list): Likewise.
26149 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26151 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26152 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26154 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26158 (__libc_ifunc_impl_list): Likewise.
26160 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26161 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26162 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26164 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26166 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26168 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26169 multiarch memcpy for PPC32.
26170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26173 (__libc_ifunc_impl_list): Likewise.
26175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26176 support multiarch for POWER/PPC32.
26177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26179 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26181 Implies file to make multiarch folder appers before the fpu and
26182 default folder for power4 configuration.
26184 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26186 * scripts/bench.pl: Append volatile keyword to type.
26188 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26190 * sysdeps/sh/sotruss-lib.c: New file.
26191 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26193 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26197 2013-12-05 Joseph Myers <joseph@codesourcery.com>
26200 * math/w_tgamma.c: Include <errno.h>.
26201 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
26202 * math/w_tgammaf.c: Include <errno.h>.
26203 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
26204 * math/w_tgammal.c: Include <errno.h>.
26205 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
26206 * math/auto-libm-test-in: Do not allow missing errno on tgamma
26207 underflow. Add more tgamma tests.
26208 * math/auto-libm-test-out: Regenerated.
26209 * sysdeps/i386/fpu/libm-test-ulps: Update.
26210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26212 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26213 sin, sinh, tan, tanh, tgamma, y0 and y1.
26214 * math/auto-libm-test-out: Regenerated.
26215 * math/libm-test.inc (TEST_COND_x86_64): New macro.
26216 (TEST_COND_x86): Likewise.
26217 (M_E2l): Remove macro.
26219 (M_2_SQRT_PIl): Likewise.
26220 (M_SQRT_PIl): Likewise.
26221 (M_1_DIV_El): Likewise.
26222 (log_test_data): Use AUTO_TESTS_f_f.
26223 (log10_test_data): Likewise.
26224 (log1p_test_data): Likewise.
26225 (log2_test_data): Likewise.
26226 (sin_test_data): Likewise.
26227 (sin_tonearest_test_data): Likewise.
26228 (sin_towardzero_test_data): Likewise.
26229 (sin_downward_test_data): Likewise.
26230 (sin_upward_test_data): Likewise.
26231 (sinh_test_data): Likewise.
26232 (sinh_tonearest_test_data): Likewise.
26233 (sinh_towardzero_test_data): Likewise.
26234 (sinh_downward_test_data): Likewise.
26235 (sinh_upward_test_data): Likewise.
26236 (tan_test_data): Likewise.
26237 (tan_tonearest_test_data): Likewise.
26238 (tan_towardzero_test_data): Likewise.
26239 (tan_downward_test_data): Likewise.
26240 (tan_upward_test_data): Likewise.
26241 (tanh_test_data): Likewise.
26242 (tgamma_test_data): Likewise.
26243 (y0_test_data): Likewise.
26244 (y1_test_data): Likewise.
26245 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26246 (special_real_inputs): Add pi/4.
26247 * sysdeps/i386/fpu/libm-test-ulps: Update.
26248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26250 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26252 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26253 "longjmp_target" static probes.
26254 (__longjmp): Rename to __longjmp_symbol.
26255 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26256 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26257 on which longjmp to generate.
26258 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26259 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26261 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26262 (__sigjmp_save): Rename to __sigjmp_save_symbol.
26263 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26264 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26265 and __sigjmp_save_symbol based on which sigsetjmp to generated.
26266 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26268 __longjmp_symbol based on which __longjmp to generate.
26269 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26271 (setjmp): Rename to setjmp_symbol.
26272 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26273 (_setjmp): Rename to _setjmp_symbol.
26274 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26275 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26276 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26277 which setjmp to generate.
26278 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26279 "longjmp_target" static probes.
26281 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26283 * benchtests/README: Add note about output arguments.
26284 * benchtests/bench-sincos.c: Remove file.
26285 * benchtests/sincos-inputs: New file.
26286 * scripts/bench.pl: Identify output arguments and define
26287 static variables for them.
26289 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26292 * Makefile (INSTALL): Add install-plain.texi as the primary
26294 * manual/install-plain.texi: New file.
26295 * manual/install.texi: Include node directive only for
26296 non-plaintext output.
26298 2013-12-04 Joseph Myers <joseph@codesourcery.com>
26300 * stdlib/longlong.h: Update from GCC.
26304 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26305 * math/w_j0f.c (y0f): Likewise.
26306 * math/w_j0l.c (__y0l): Likewise.
26307 * math/w_j1.c (y1): Likewise.
26308 * math/w_j1f.c (y1f): Likewise.
26309 * math/w_j1l.c (__y1l): Likewise
26310 * math/w_jn.c (yn): Likewise.
26311 * math/w_jnf.c (ynf): Likewise.
26312 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26313 Bessel function pole errors in _POSIX_ mode. Use NAN as return
26314 value for Bessel function domain errors outside _SVID_ mode.
26315 Adjust sign of return value for yn (negative integer, 0).
26316 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26317 by zero in return for negative x and set sign appropriately for
26319 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26320 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26321 * math/libm-test.inc (y0_test_data): Add more tests and adjust
26322 expectations in error cases.
26323 (y1_test_data): Likewise.
26324 (yn_test_data): Likewise.
26325 * sysdeps/i386/fpu/libm-test-ulps: Update.
26326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26328 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26330 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26331 "64" to "64-v1". Add "64-v2".
26332 (abi-64-options): Rename to ...
26333 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
26334 (abi-64-condition): Rename to ...
26335 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
26336 (abi-64-ld-soname): Rename to ...
26337 (abi-64-v1-ld-soname): ... this.
26338 (abi-64-v2-options): Define.
26339 (abi-64-v2-condition): Likewise.
26340 (abi-64-v2-ld-soname): Likewise.
26341 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26342 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26347 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26348 Alan Modra <amodra@gmail.com>
26350 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26351 New versions for use with the ELFv2 ABI.
26352 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26353 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26355 (struct La_ppc64v2_retval): Likewise.
26356 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26357 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26358 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26359 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26360 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26361 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26362 Do not save or restore CR.
26363 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26364 (_dl_profile_resolve): Do no save or restore CR. Support extended
26365 return values for ELFv2 ABI. Fix location of FPR return registers.
26366 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26367 updated values for _CALL_ELF == 2.
26368 (La_regs, La_retval, int_retval): Likewise.
26370 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26372 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26373 (FRAME_MIN_SIZE_PARM): Likewise.
26374 (FRAME_BACKCHAIN): Likewise.
26375 (FRAME_CR_SAVE): Likewise.
26376 (FRAME_LR_SAVE): Likewise.
26377 (FRAME_TOC_SAVE): Likewise.
26378 (FRAME_PARM_SAVE): Likewise.
26379 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26380 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26381 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26382 (call_mcount_parm_offset): New macro.
26383 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26384 (PROF): Use symbolic stack frame offsets.
26385 (TAIL_CALL_SYSCALL_ERROR): Likewise.
26386 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26387 Redefine in terms of FRAME_MIN_SIZE.
26388 (_dl_runtime_resolve): Use symbolic stack frame offsets.
26389 (_dl_profile_resolve): Likewise. Update comment.
26390 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26391 symbols stack frame offsets.
26392 (__sigsetjmp): Likewise.
26393 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26394 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26395 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26396 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26399 (FRAME_BACKCHAIN): Remove.
26400 (FRAME_CR_SAVE): Likewise.
26401 (FRAME_LR_SAVE): Likewise.
26402 (FRAME_COMPILER_DW): Likewise.
26403 (FRAME_LINKER_DW): Likewise.
26404 (FRAME_TOC_SAVE): Likewise.
26405 (FRAME_PARM_SAVE): Likewise.
26406 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26407 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26408 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26410 (CHECK_SP): Use symbolic stack frame offsets.
26411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26412 zone" instead of caller's parameter save area for temp storage.
26413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26414 Likewise. Also, use symbolic stack frame offsets.
26415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26416 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26417 our own stack frame instead of the caller's.
26418 (__socket): Use symbolic stack frame offsets.
26420 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26421 Alan Modra <amodra@gmail.com>
26423 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26425 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26426 (PPC64_LOCAL_ENTRY_OFFSET): Define.
26427 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26429 (elf_machine_fixup_plt): Call it.
26430 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
26432 (elf_machine_rela): Update call to elf_machine_plt_conflict.
26433 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26434 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26435 r2 before calling target.
26437 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26438 Alan Modra <amodra@gmail.com>
26440 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26441 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26442 versions of macros to support ELFv2 ABI.
26443 (LOCALENTRY): New macro.
26444 (ENTRY, EALIGN): Use it.
26445 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26446 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26447 fall through into ENTRY entry point.
26448 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26449 Only define if _CALL_ELF != 2.
26451 (elf_machine_matches_host): Verify ABI version matches.
26452 (RTLD_START): Use LOCALENTRY.
26453 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26454 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26455 (PLT_ENTRY_WORDS): New macro.
26456 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26457 (elf_machine_runtime_setup): Support ELFv2 ABI.
26458 (elf_machine_fixup_plt): Likewise.
26459 (elf_machine_plt_conflict): Likewise.
26460 (resolve_ifunc): Likewise.
26461 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26462 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26465 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26467 (makecontext): Support ELFv2 ABI.
26468 * elf/elf.h (EF_PPC64_ABI): Define.
26470 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26472 * sysdeps/powerpc/powerpc64/sysdep.h
26473 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26474 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26475 (ENTRY) [ASSEMBLER]: ... but instead here ...
26476 (EALIGN) [ASSEMBLER]: ... and here.
26477 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26478 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26479 (ENTRY_2) [!ASSEMBLER]: Use it.
26480 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26481 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
26482 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26483 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26484 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26486 Use PPC64_LOAD_FUNCPTR.
26488 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26490 2013-12-04 Alan Modra <amodra@gmail.com>
26492 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26493 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26494 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26495 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26497 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26498 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26499 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26500 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26501 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26502 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26504 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26507 (__makecontext): Fix incorrect CFI when backtracing out of
26508 context created via makecontext.
26509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26510 (__setcontext): Fix incorrect CFI during switch to new context.
26511 (__novec_setcontext): Likewise.
26513 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26516 * time/strptime_l.c (__strptime_internal): Allow modifiers
26518 * time/tst-strptime.c (day_tests): Add testcase.
26520 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26522 * scripts/bench.pl: Skip over blank lines.
26524 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
26527 * manual/time.texi (Calendar Time): Clarify what timezone functions
26530 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26534 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26536 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26538 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26539 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26540 * debug/memset_chk.c (__memset_chk): Likewise.
26541 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26542 * debug/strncpy_chk.c: Likewise.
26544 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26548 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26549 (__ieee754_exp): For possibly underflowing results, check size of
26550 result and force underflow exception if required.
26551 * math/auto-libm-test-in: Add more tests of exp.
26552 * math/auto-libm-test-out: Regenerated.
26553 * sysdeps/i386/fpu/libm-test-ulps: Update.
26554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26557 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26558 * math/w_exp2f.c (__exp2f): Likewise.
26559 * math/w_exp2l.c (__exp2l): Likewise.
26560 * math/auto-libm-test-in: Do not allow missing errno on exp2
26562 * math/auto-libm-test-out: Regenerated.
26564 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
26567 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26568 handle filename validation.
26569 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26572 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26575 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26576 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26577 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26579 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26580 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26581 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26582 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26583 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26584 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26585 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26586 * math/auto-libm-test-in: Don't allow missing errno from erfc.
26587 Add more erfc tests.
26588 * math/auto-libm-test-out: Regenerated.
26589 * sysdeps/i386/fpu/libm-test-ulps: Update.
26590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26592 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26593 exp2, expm1, j0 and j1.
26594 * math/auto-libm-test-out: Regenerated.
26595 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26596 (erfc_test_data): Likewise.
26597 (exp_test_data): Likewise.
26598 (exp_tonearest_test_data): Likewise.
26599 (exp_towardzero_test_data): Likewise.
26600 (exp_downward_test_data): Likewise.
26601 (exp_upward_test_data): Likewise.
26602 (exp10_test_data): Likewise.
26603 (exp2_test_data): Likewise.
26604 (expm1_test_data): Likewise.
26605 (j0_test_data): Likewise.
26606 (j1_test_data): Likewise.
26607 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26608 (input_flag_type): Add flag_xfail_rounding.
26609 (input_flags): Add xfail-rounding.
26610 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26611 (output_for_one_input_case): Handle flag_xfail_rounding.
26612 * sysdeps/i386/fpu/libm-test-ulps: Update.
26613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26615 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
26618 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26621 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26624 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26625 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26626 (STAP_PROBE0): New macro.
26627 (STAP_PROBE1): Likewise.
26628 (STAP_PROBE2): Likewise.
26629 (STAP_PROBE3): Likewise.
26630 (STAP_PROBE4): Likewise.
26632 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
26634 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26636 2013-12-02 Steve Ellcey <sellcey@mips.com>
26638 * benchtests/Makefile (bench): Add sqrt.
26639 (LDLIBS-bench-sqrt): New.
26640 * benchtests/sqrt-input: New.
26642 2013-12-02 Pavel Simerda <psimerda@redhat.com>
26644 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26645 (GAIH_EAI): Likewise.
26646 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26647 (gaih_inet): Likewise.
26648 (getaddrinfo): Don't use GAIH_EAI.
26650 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26651 (struct gaih): Remove definition.
26653 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26655 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26656 Use HERRNOP directly.
26658 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26662 2013-11-30 Joseph Myers <joseph@codesourcery.com>
26664 * math/gen-auto-libm-tests.c (test_functions): Add more
26665 single-argument functions.
26666 (special_fill_pi_2): New function.
26667 (special_fill_minus_pi_2): Likewise.
26668 (special_fill_pi_6): Likewise.
26669 (special_fill_minus_pi_6): Likewise.
26670 (special_fill_pi_3): Likewise.
26671 (special_fill_2pi_3): Likewise.
26672 (special_fill_e): Likewise.
26673 (special_fill_1_e): Likewise.
26674 (special_fill_e_minus_1): Likewise.
26675 (special_real_inputs): Add more special inputs.
26676 (output_for_one_input_case): Do not require ERANGE on underflow to
26677 zero if round-to-nearest result does not underflow to zero, unless
26678 exact results required.
26679 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26680 atan, atanh, cbrt, cos and cosh.
26681 * math/auto-libm-test-out: Regenerated.
26682 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26683 (acos_tonearest_test_data): Likewise.
26684 (acos_towardzero_test_data): Likewise.
26685 (acos_downward_test_data): Likewise.
26686 (acos_upward_test_data): Likewise.
26687 (acosh_test_data): Likewise.
26688 (asin_test_data): Likewise.
26689 (asin_tonearest_test_data): Likewise.
26690 (asin_towardzero_test_data): Likewise.
26691 (asin_upward_test_data): Likewise.
26692 (asinh_test_data): Likewise.
26693 (atan_test_data): Likewise.
26694 (atanh_test_data): Likewise.
26695 (cbrt_test_data): Likewise.
26696 (cos_test_data): Likewise.
26697 (cos_tonearest_test_data): Likewise.
26698 (cos_towardzero_test_data): Likewise.
26699 (cos_downward_test_data): Likewise.
26700 (cos_upward_test_data): Likewise.
26701 (cosh_test_data): Likewise.
26702 (cosh_tonearest_test_data): Likewise.
26703 (cosh_towardzero_test_data): Likewise.
26704 (cosh_downward_test_data): Likewise.
26705 (cosh_upward_test_data): Likewise.
26706 * sysdeps/i386/fpu/libm-test-ulps: Update.
26707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26709 2013-11-29 Joseph Myers <joseph@codesourcery.com>
26712 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26713 * math/w_exp10f.c (__exp10f): Likewise.
26714 * math/w_exp10l.c (__exp10l): Likewise.
26715 * math/libm-test.inc (exp10_test_data): Add more tests and expect
26716 errno settings in existing tests.
26719 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26720 precision control set to double precision.
26721 * sysdeps/i386/fpu/w_sqrt.c: New file.
26722 * math/auto-libm-test-in: Add more tests.
26723 * math/auto-libm-test-out: Update.
26725 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26726 (sqrt_test_tonearest): New function.
26727 (sqrt_towardzero_test_data): New variable.
26728 (sqrt_test_towardzero): New function.
26729 (sqrt_downward_test_data): New variable.
26730 (sqrt_test_downward): New function.
26731 (sqrt_upward_test_data): New variable.
26732 (sqrt_test_upward): New function.
26733 (main): Call the new functions.
26735 * math/gen-auto-libm-tests.c: New file.
26736 * math/auto-libm-test-in: Likewise.
26737 * math/auto-libm-test-out: New generated file.
26738 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26740 (%beautify): Add generated representations of zero.
26741 (top level): Set $auto_input and call parse_auto_input.
26742 (beautify): Remove trailing "f" from hex float constants.
26743 (parse_args): Handle XFAIL_TEST.
26744 (convert_condition): New function.
26745 (or_value): Likewise.
26746 (or_cond_value): Likewise.
26747 (generate_testfile): Handle AUTO_TESTS_* lines.
26748 (parse_auto_input): New function.
26749 * math/libm-test.inc (XFAIL_TEST): New macro.
26750 (ERRNO_UNCHANGED): Update value.
26751 (ERRNO_EDOM): Likewise.
26752 (ERRNO_ERANGE): Likewise.
26753 (IGNORE_RESULT): Likewise.
26754 (TEST_COND_flt_32): New macro.
26755 (TEST_COND_dbl_64): Likewise.
26756 (TEST_COND_ldbl_96_intel): Likewise.
26757 (TEST_COND_ldbl_96_m68k): Likewise.
26758 (TEST_COND_ldbl_128): Likewise.
26759 (TEST_COND_ldbl_128ibm): Likewise.
26760 (TEST_COND_long32): Likewise.
26761 (TEST_COND_long64): Likewise.
26762 (TEST_COND_before_rounding): Likewise.
26763 (TEST_COND_after_rounding): Likewise.
26764 (enable_test): Handle XFAIL_TEST flag.
26765 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26766 with finite results.
26767 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26768 auto-libm-test-out.
26770 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26771 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26774 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26775 __tls_get_addr_internal instead of __tls_get_offset in order to
26776 avoid GOT pointer dependency. Make rtld export
26777 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26778 __tls_get_addr since we are a __tls_get_offset platform.
26779 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26780 GOT pointer being set up before.
26781 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26783 2013-11-28 Joseph Myers <joseph@codesourcery.com>
26785 * manual/math.texi (Errors in Math Functions): Document accuracy
26789 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26790 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26791 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26792 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26793 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26794 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26795 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26796 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26797 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26798 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26799 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26800 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26801 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26802 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26803 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26804 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26806 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26807 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26808 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26809 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26810 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26812 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26814 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26816 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26817 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26818 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26819 atomic-feupdateenv and flt-rounds.
26820 * sysdeps/powerpc/nofpu/Versions (libc): Add
26821 __atomic_feholdexcept, __atomic_feclearexcept,
26822 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26823 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26824 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26825 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26826 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26831 * manual/arith.texi (FP Exceptions): Document that exceptions may
26832 not be raised when matherr is used.
26833 (Math Error Reporting): Document overflow in directed rounding
26834 modes. Document that errno may not be set when finite values are
26835 returned on overflow. Document intent to set errno on underflow
26836 only for underflow to zero.
26839 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26840 round-to-nearest then adjust result for other rounding modes.
26841 * include/fenv.h (fegetround): Use libm_hidden_proto.
26842 * math/fegetround.c (fegetround): Use libm_hidden_def.
26843 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26844 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26845 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26846 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26848 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26849 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26850 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26851 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26853 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26856 * nss/Versions (libnss_files): Add
26857 _nss_files_gethostbyname3_r.
26858 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26860 (HOST_DB_LOOKUP): Remove macro.
26861 (_nss_files_gethostbyname_r): Implement function without the
26862 HOST_DB_LOOKUP macro.
26863 (_nss_files_gethostbyname2_r): Likewise.
26865 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
26867 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26869 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
26871 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26872 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26875 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26877 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26878 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26879 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26880 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26881 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26882 __fe_nomask_env_priv and attribute_hidden.
26883 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26884 (libc_feupdateenv_test_ppc): Likewise.
26885 (libc_feresetround_ppc): Likewise.
26886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26887 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26888 compat_symbol macro.
26889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26890 (__fe_nomask_env): Likewise.
26891 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26893 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26895 * string/Makefile: Remove ifunc tests.
26896 * string/test-string.h: Define TEST_IFUNC.
26897 * string/test-bcopy-ifunc.c: Remove.
26898 * string/test-bzero-ifunc.c: Likewise.
26899 * string/test-memccpy-ifunc.c: Likewise.
26900 * string/test-memchr-ifunc.c: Likewise.
26901 * string/test-memcmp-ifunc.c: Likewise.
26902 * string/test-memcpy-ifunc.c: Likewise.
26903 * string/test-memmem-ifunc.c: Likewise.
26904 * string/test-memmove-ifunc.c: Likewise.
26905 * string/test-mempcpy-ifunc.c: Likewise.
26906 * string/test-memrchr-ifunc.c: Likewise.
26907 * string/test-memset-ifunc.c: Likewise.
26908 * string/test-rawmemchr-ifunc.c: Likewise.
26909 * string/test-stpcpy-ifunc.c: Likewise.
26910 * string/test-stpncpy-ifunc.c: Likewise.
26911 * string/test-strcasecmp-ifunc.c: Likewise.
26912 * string/test-strcasestr-ifunc.c: Likewise.
26913 * string/test-strcat-ifunc.c: Likewise.
26914 * string/test-strchr-ifunc.c: Likewise.
26915 * string/test-strchrnul-ifunc.c: Likewise.
26916 * string/test-strcmp-ifunc.c: Likewise.
26917 * string/test-strcpy-ifunc.c: Likewise.
26918 * string/test-strcspn-ifunc.c: Likewise.
26919 * string/test-strlen-ifunc.c: Likewise.
26920 * string/test-strncasecmp-ifunc.c: Likewise.
26921 * string/test-strncat-ifunc.c: Likewise.
26922 * string/test-strncmp-ifunc.c: Likewise.
26923 * string/test-strncpy-ifunc.c: Likewise.
26924 * string/test-strnlen-ifunc.c: Likewise.
26925 * string/test-strpbrk-ifunc.c: Likewise.
26926 * string/test-strrchr-ifunc.c: Likewise.
26927 * string/test-strspn-ifunc.c: Likewise.
26928 * string/test-strstr-ifunc.c: Likewise.
26930 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26932 * benchtests/Makefile: Remove ifunc tests.
26933 * benchtests/bench-string.h: Define TEST_IFUNC.
26934 * benchtests/bench-bcopy-ifunc.c: Remove.
26935 * benchtests/bench-bzero-ifunc.c: Likewise.
26936 * benchtests/bench-memccpy-ifunc.c: Likewise.
26937 * benchtests/bench-memchr-ifunc.c: Likewise.
26938 * benchtests/bench-memcmp-ifunc.c: Likewise.
26939 * benchtests/bench-memcpy-ifunc.c: Likewise.
26940 * benchtests/bench-memmem-ifunc.c: Likewise.
26941 * benchtests/bench-memmove-ifunc.c: Likewise.
26942 * benchtests/bench-mempcpy-ifunc.c: Likewise.
26943 * benchtests/bench-memrchr-ifunc.c: Likewise.
26944 * benchtests/bench-memset-ifunc.c: Likewise.
26945 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26946 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26947 * benchtests/bench-stpcpy-ifunc.c: Likewise.
26948 * benchtests/bench-stpncpy-ifunc.c: Likewise.
26949 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26950 * benchtests/bench-strcasestr-ifunc.c: Likewise.
26951 * benchtests/bench-strcat-ifunc.c: Likewise.
26952 * benchtests/bench-strchr-ifunc.c: Likewise.
26953 * benchtests/bench-strchrnul-ifunc.c: Likewise.
26954 * benchtests/bench-strcmp-ifunc.c: Likewise.
26955 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26956 * benchtests/bench-strcpy-ifunc.c: Likewise.
26957 * benchtests/bench-strcspn-ifunc.c: Likewise.
26958 * benchtests/bench-strlen-ifunc.c: Likewise.
26959 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26960 * benchtests/bench-strncat-ifunc.c: Likewise.
26961 * benchtests/bench-strncmp-ifunc.c: Likewise.
26962 * benchtests/bench-strncpy-ifunc.c: Likewise.
26963 * benchtests/bench-strnlen-ifunc.c: Likewise.
26964 * benchtests/bench-strpbrk-ifunc.c: Likewise.
26965 * benchtests/bench-strrchr-ifunc.c: Likewise.
26966 * benchtests/bench-strsep-ifunc.c: Likewise.
26967 * benchtests/bench-strspn-ifunc.c: Likewise.
26968 * benchtests/bench-strstr-ifunc.c: Likewise.
26970 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26972 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26974 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26976 * resolv/netdb.h: Use __glibc_reserved instead __unused.
26977 * rt/aio.h: Likewise.
26978 * sysdeps/gnu/bits/utmp.h: Likewise.
26979 * sysdeps/gnu/bits/utmpx.h: Likewise.
26980 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26981 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26982 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26983 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26984 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26985 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26986 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26987 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26988 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26989 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26990 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26991 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26992 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26994 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26995 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26996 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26997 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26998 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26999 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27000 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27001 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27002 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27003 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27004 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27005 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27006 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27007 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27008 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27009 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27010 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27011 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27012 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27013 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27014 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27015 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27016 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27017 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27018 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27019 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27020 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27021 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27023 2013-11-25 Carlos O'Donell <carlos@redhat.com>
27026 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27027 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27029 2013-11-25 Joseph Myers <joseph@codesourcery.com>
27031 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27032 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27035 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27037 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27038 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27039 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27040 (__fesetround): Remove define.
27041 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27042 rounding and exceptions handling.
27043 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27044 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27045 (__fe_nomask_env): Likewise.
27046 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27047 __fegetround instead of fegetround.
27048 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27049 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27051 2013-11-21 Roland McGrath <roland@hack.frob.com>
27053 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27056 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27058 2013-11-21 Meador Inge <meadori@codesourcery.com>
27061 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27062 (encrypt_r): Likewise.
27063 * malloc/obstack.h (obstack_free): Likewise.
27064 * posix/unistd.h (encrypt): Likewise.
27066 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
27068 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27069 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27070 DL_CALL_DT_FINI() that call the functions directly.
27071 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27072 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27073 * elf/dl-fini.c: Likewise.
27075 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
27077 * malloc/hooks.c (memalign_check): Add alignment rounding.
27078 * malloc/malloc.c (_mid_memalign): New function.
27079 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27080 Implement by calling _mid_memalign.
27081 * manual/probes.texi (Memory Allocation Probes): Remove
27082 memory_valloc_retry and memory_pvalloc_retry.
27084 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27086 * locale/programs/locarchive.c (open_archive): Add const
27087 qualifier to ARCHIVEFNAME and copy default fname to
27091 * libio/tst-widetext.input: Rename Oriya to Odia.
27092 * locale/iso-639.def: Likewise.
27094 * manual/probes.texi (Mathematical Function Probes): Add
27095 documentation for sin, cos, asin and acos probes.
27096 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27097 (__sin32): Add slowasin probe.
27098 (__cos32): Add slowacos probe.
27099 (__mpsin): Add slowsin probe.
27100 (__mpcos): Add slowcos probe.
27102 2013-11-19 Joseph Myers <joseph@codesourcery.com>
27105 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27106 thread-local __sim_exceptions_thread and global
27107 __sim_exceptions_global.
27108 (__sim_disabled_exceptions): Change to thread-local
27109 __sim_disabled_exceptions_thread and global
27110 __sim_disabled_exceptions_global.
27111 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27112 and global __sim_round_mode_global.
27113 (__simulate_exceptions): Use thread-local floating-point state and
27114 set global state from it as needed.
27115 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27116 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27117 __sim_round_mode_thread.
27118 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27119 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27120 and global __sim_exceptions_global.
27121 (__sim_disabled_exceptions): Change to thread-local
27122 __sim_disabled_exceptions_thread and global
27123 __sim_disabled_exceptions_global.
27124 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27125 and global __sim_round_mode_global.
27126 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27127 (SIM_SET_GLOBAL): Likewise.
27128 * sysdeps/powerpc/soft-fp/sfp-machine.h
27129 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27130 __sim_round_mode_thread.
27131 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27132 __sim_disabled_exceptions_thread.
27133 (__sim_exceptions): Change to __sim_exceptions_thread.
27134 (__sim_disabled_exceptions): Change to
27135 __sim_disabled_exceptions_thread.
27136 (__sim_round_mode): Change to __sim_round_mode_thread.
27137 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27138 thread-local floating-point state and set global state from it as
27140 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27141 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27142 (__sim_disabled_exceptions): Remove extern declaration.
27143 (feenableexcept): Use thread-local floating-point state and set
27144 global state from it as needed.
27145 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27146 extern declaration.
27147 (__sim_disabled_exceptions): Likewise.
27148 (__sim_round_mode): Likewise.
27149 (__fegetenv): Use thread-local floating-point state.
27150 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27151 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27152 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27153 floating-point state and set global state from it as needed.
27154 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27155 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27156 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27158 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27159 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27161 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27162 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27163 Use __sim_round_mode_thread.
27164 * math/test-fenv-tls.c: New file.
27165 * math/Makefile (tests): Add test-fenv-tls.
27166 ($(objpfx)test-fenv-tls): Depend on
27167 $(common-objpfx)nptl/libpthread.so.
27169 2013-11-19 Andreas Schwab <schwab@suse.de>
27171 * locale/programs/locale.c (show_info): Decode wordarray elements.
27172 * locale/categories.def (LC_MONETARY): Add element for
27173 _NL_MONETARY_CRNCYSTR.
27174 * locale/C-monetary.c (conversion_rate): New variable.
27175 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27178 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
27180 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27181 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27183 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27185 * elf/Makefile (tst-auxv): New test.
27186 * elf/tst-auxv.c: New
27187 * elf/rtld.c (dl_main): Adjust AT_EXECFN
27189 2013-11-18 Joseph Myers <joseph@codesourcery.com>
27191 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27192 (hidden_proto): Caller changed.
27193 (hidden_tls_proto): New macro.
27194 (libc_hidden_tls_proto): Likewise.
27195 (rtld_hidden_tls_proto): Likewise.
27196 (libm_hidden_tls_proto): Likewise.
27197 (libresolv_hidden_tls_proto): Likewise.
27198 (librt_hidden_tls_proto): Likewise.
27199 (libdl_hidden_tls_proto): Likewise.
27200 (libnss_files_hidden_tls_proto): Likewise.
27201 (libnsl_hidden_tls_proto): Likewise.
27202 (libnss_nisplus_hidden_tls_proto): Likewise.
27203 (libutil_hidden_tls_proto): Likewise.
27205 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
27208 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27209 (decompose_rpath): Defer expansion to fillin_rpath.
27210 (_dl_init_paths): Pass linkmap to fillin_rpath.
27212 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27214 * benchtests/Makefile: Add strsep.
27215 * benchtests/bench-strsep.c: New file: strsep benchtest.
27216 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27218 2013-11-18 Andreas Schwab <schwab@suse.de>
27220 * locale/programs/locale.c (show_info) [case byte]: Check for
27221 '\377' instead of '\177'.
27222 * locale/C-monetary.c (not_available): Always use "\377".
27223 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27224 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
27225 detect unavailable sign_posn locale elements.
27226 * locale/localeconv.c (__localeconv): For grouping and
27227 mon_grouping handle "\177" and "\377" like no grouping.
27228 (INT_ELEM): New macro. Use it to set all numeric members.
27229 * locale/programs/ld-monetary.c (monetary_read)
27230 <tok_mon_grouping>: Normalize single -1 to the empty string.
27231 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27234 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27237 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27238 when we match (nil).
27239 * stdio-common/tst-sscanf.c (struct test): Add testcase.
27241 2013-11-16 Joseph Myers <joseph@codesourcery.com>
27243 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27244 (NO_TEST_INLINE): Update value.
27245 (ERRNO_UNCHANGED): Likewise.
27246 (ERRNO_EDOM): Likewise.
27247 (ERRNO_ERANGE): Likewise.
27248 (IGNORE_RESULT): Likewise.
27249 (check_float_internal): Check signs of NaN results if
27250 TEST_NAN_SIGN used.
27251 (check_complex): Pass TEST_NAN_SIGN flag through to second
27252 check_float_internal call.
27253 (copysign_test_data): Add tests with quiet NaNs as second
27254 argument. Use TEST_NAN_SIGN.
27255 (fabs_test_data): Add test of negative quiet NaN argument. Use
27257 (signbit_test_data): Add tests of quiet NaN argument.
27258 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27260 * math/gen-libm-test.pl (show_exceptions): Take extra argument
27262 (parse_args): Handle function results specified as IGNORE.
27263 * math/libm-test.inc (IGNORE_RESULT): New macro.
27264 (check_float_internal): Do not check numerical result if flag
27266 (check_complex): Pass through IGNORE_RESULT to second
27267 check_float_internal call.
27268 (check_int): Do not check numerical result if flag IGNORE_RESULT
27270 (check_long): Likewise.
27271 (check_bool): Likewise.
27272 (check_longlong): Likewise.
27273 (lrint_test_data): Add tests of infinite and NaN arguments.
27274 (lrint_tonearest_test_data): Likewise.
27275 (lrint_towardzero_test_data): Likewise.
27276 (lrint_downward_test_data): Likewise.
27277 (lrint_upward_test_data): Likewise.
27278 (llrint_test_data): Likewise.
27279 (llrint_tonearest_test_data): Likewise.
27280 (llrint_towardzero_test_data): Likewise.
27281 (llrint_downward_test_data): Likewise.
27282 (llrint_upward_test_data): Likewise.
27283 (lround_test_data): Likewise.
27284 (llround_test_data): Likewise.
27286 * math/libm-test.inc (NO_TEST_INLINE): New macro.
27287 (ERRNO_UNCHANGED): Update value.
27288 (ERRNO_EDOM): Likewise.
27289 (ERRNO_ERANGE): Likewise.
27290 (NO_TEST_INLINE_FLOAT): New macro.
27291 (NO_TEST_INLINE_DOUBLE): Likewise.
27292 (enable_test): New function.
27293 (RUN_TEST_f_f): Check enable_test before running test.
27294 (RUN_TEST_2_f): Likewise.
27295 (RUN_TEST_fff_f): Likewise.
27296 (RUN_TEST_c_f): Likewise.
27297 (RUN_TEST_f_f1): Likewise.
27298 (RUN_TEST_fF_f1): Likewise.
27299 (RUN_TEST_fI_f1): Likewise.
27300 (RUN_TEST_ffI_f1): Likewise.
27301 (RUN_TEST_c_c): Likewise.
27302 (RUN_TEST_cc_c): Likewise.
27303 (RUN_TEST_f_i): Likewise.
27304 (RUN_TEST_f_i_tg): Likewise.
27305 (RUN_TEST_ff_i_tg): Likewise.
27306 (RUN_TEST_f_b): Likewise.
27307 (RUN_TEST_f_b_tg): Likewise.
27308 (RUN_TEST_f_l): Likewise.
27309 (RUN_TEST_f_L): Likewise.
27310 (RUN_TEST_fFF_11): Likewise.
27311 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27313 (cosh_test_data): Likewise.
27314 (exp_test_data): Likewise.
27315 (expm1_test_data): Likewise.
27316 (hypot_test_data): Likewise.
27317 (pow_test_data): Likewise.
27318 (sinh_test_data): Likewise.
27319 (tanh_test_data): Likewise.
27320 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27323 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27324 tests with quiet NaN input and output.
27325 (acosh_test_data): Likewise.
27326 (asin_test_data): Likewise.
27327 (asinh_test_data): Likewise.
27328 (atan_test_data): Likewise.
27329 (atanh_test_data): Likewise.
27330 (atan2_test_data): Likewise.
27331 (cbrt_test_data): Likewise.
27332 (cos_test_data): Likewise.
27333 (cosh_test_data): Likewise.
27334 (erf_test_data): Likewise.
27335 (erfc_test_data): Likewise.
27336 (exp_test_data): Likewise.
27337 (exp10_test_data): Likewise.
27338 (exp2_test_data): Likewise.
27339 (expm1_test_data): Likewise.
27340 (hypot_test_data): Likewise.
27341 (j0_test_data): Likewise.
27342 (j1_test_data): Likewise.
27343 (jn_test_data): Likewise.
27344 (lgamma_test_data): Likewise.
27345 (log_test_data): Likewise.
27346 (log10_test_data): Likewise.
27347 (log1p_test_data): Likewise.
27348 (log2_test_data): Likewise.
27349 (pow_test_data): Likewise.
27350 (scalb_test_data): Likewise.
27351 (sin_test_data): Likewise.
27352 (sincos_test_data): Likewise.
27353 (sinh_test_data): Likewise.
27354 (tan_test_data): Likewise.
27355 (tanh_test_data): Likewise.
27356 (tgamma_test_data): Likewise.
27357 (y0_test_data): Likewise.
27358 (y1_test_data): Likewise.
27359 (yn_test_data): Likewise.
27362 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27363 argument being NaN and avoid computations with second argument in
27365 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27366 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27367 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27369 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
27371 * locale/iso-639.def: Add Chitwani Tharu (the).
27373 2013-11-14 Andreas Schwab <schwab@suse.de>
27375 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27376 word instead of empty string.
27378 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27381 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27383 (__fe_nomask_env): Likewise.
27385 2013-11-13 Steve Ellcey <sellcey@mips.com>
27387 * benchtests/bench-timing.h: Include time.h.
27389 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
27392 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27394 * sysdeps/unix/sysv/linux/configure: Regenerated.
27396 2013-11-13 Joseph Myers <joseph@codesourcery.com>
27399 * stdlib/strtod_l.c (round_and_return): Do not consider
27400 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27401 exponent one less than half the least subnormal exponent.
27402 * stdlib/test-strtod-round-data: Add more tests.
27403 * stdlib/tst-strtod-round.c (tests): Regenerated.
27405 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27408 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27409 (__fe_mask_env): Likewise.
27410 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27411 libm_hidden_proto and add function prototype.
27412 (__fe_mask_env): Add function prototype.
27413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27414 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27416 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27418 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27420 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27422 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27423 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27425 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27427 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27428 of htab_find_slot().
27430 2013-11-11 David S. Miller <davem@davemloft.net>
27433 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27434 symbol in the non-vis3 case in static builds.
27435 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27436 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27437 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27438 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27440 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
27443 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27446 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27448 * benchtests/Makefile: Add bench-strtod.
27449 * benchtests/bench-strtod.c: New file: strtod benchtest
27451 2013-11-11 Andreas Schwab <schwab@suse.de>
27454 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27455 terminating NUL in key length.
27457 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27459 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27460 Add artificial ODP entry for vDSO symbol for PPC64.
27461 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27462 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27464 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27467 * nss/getent.c (services_keys): Recognize services starting with digit.
27469 2013-11-06 David S. Miller <davem@davemloft.net>
27472 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27473 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27475 2013-11-06 Will Newton <will.newton@linaro.org>
27477 * manual/memory.texi (Malloc Examples): Remove register
27478 keyword from examples.
27480 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
27482 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27484 2013-11-04 Joseph Myers <joseph@codesourcery.com>
27487 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27488 depending on [__GCC_IEC_559 > 0].
27489 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27490 depending on [__GCC_IEC_559_COMPLEX > 0].
27492 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
27494 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27497 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
27499 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27501 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
27504 * malloc/malloc (malloc_info): Do not handle first bin as
27507 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
27509 * locale/iso-639.def: Add Central Nahuatl (nhn).
27511 2013-11-01 Bruno Haible <bruno@clisp.org>
27514 * manual/math.texi (BSD Random): Specify range upper bound as
27517 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
27519 * locale/iso-639.def: Add Meadow Mari (mhr).
27521 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
27523 [BZ #14752], [BZ #15763]
27524 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27526 * rt/tst_shm.c: Add test for escaping directory.
27528 2013-10-31 Andreas Schwab <schwab@suse.de>
27531 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27532 followed by 'x' as part of digit sequence.
27533 * stdio-common/tst-sscanf.c (double_tests2): New tests.
27535 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27538 * configure.ac: allow GNU Make 4.0 and greater.
27539 * configure: Regenerated.
27541 2013-10-30 Will Newton <will.newton@linaro.org>
27544 * malloc/hooks.c (memalign_check): Limit alignment to the
27545 maximum representable power of two.
27546 * malloc/malloc.c (__libc_memalign): Likewise.
27547 * malloc/tst-memalign.c (do_test): Add test for very
27548 large alignment values.
27549 * malloc/tst-posix_memalign.c (do_test): Likewise.
27551 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27554 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27555 (munmap_chunk): Likewise.
27556 (mremap_chunk): Likewise.
27558 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27561 * stdlib/div.c (div): Remove obsolete code.
27562 * stdlib/ldiv.c (ldiv): Likewise.
27563 * stdlib/lldiv.c (lldiv): Likewise.
27565 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27568 * nss/nss_files/files-XXX.c (get_contents_ret): New
27570 (get_contents): New function.
27571 (internal_getent): Use it. Expand size of LINEBUFLEN.
27573 2013-10-30 Mike Frysinger <vapier@gentoo.org>
27575 * configure.in: Moved to ...
27576 * configure.ac: ... here. Change reference to configure.in
27578 * sysdeps/arm/preconfigure.ac: ... here.
27579 configure.in to configure.ac.
27580 * sysdeps/gnu/configure.in: Moved to ...
27581 * sysdeps/gnu/configure.ac: ... here.
27582 * sysdeps/i386/configure.in: Moved to ...
27583 * sysdeps/i386/configure.ac: ... here.
27584 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27585 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27586 * sysdeps/mach/configure.in: Moved to ...
27587 * sysdeps/mach/configure.ac: ... here.
27588 * sysdeps/mach/hurd/configure.in: Moved to ...
27589 * sysdeps/mach/hurd/configure.ac: ... here.
27590 * sysdeps/powerpc/configure.in: Moved to ...
27591 * sysdeps/powerpc/configure.ac: ... here.
27592 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27593 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27594 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27595 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27596 * sysdeps/s390/s390-32/configure.in: Moved to ...
27597 * sysdeps/s390/s390-32/configure.ac: ... here.
27598 * sysdeps/s390/s390-64/configure.in: Moved to ...
27599 * sysdeps/s390/s390-64/configure.ac: ... here.
27600 * sysdeps/sh/configure.in: Moved to ...
27601 * sysdeps/sh/configure.ac: ... here.
27602 * sysdeps/sparc/configure.in: Moved to ...
27603 * sysdeps/sparc/configure.ac: ... here.
27604 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27605 * sysdeps/unix/sysv/linux/configure.ac: ... here.
27606 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27607 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27608 * sysdeps/x86_64/configure.in: Moved to ...
27609 * sysdeps/x86_64/configure.ac: ... here.
27610 * sysdeps/x86_64/preconfigure.in: Moved to ...
27611 * sysdeps/x86_64/preconfigure.ac: ... here.
27612 * aclocal.m4: Change reference to configure.in to configure.ac.
27613 * config.h.in: Likewise.
27614 * manual/install.texi: Likewise.
27615 * manual/maint.texi: Likewise.
27616 * Makefile: Likewise.
27617 * malloc/Makefile: Likewise.
27618 * nscd/Makefile: Likewise.
27619 * Makeconfig: Change reference to configure.in and
27620 preconfigure.in to configure.ac and preconfigure.ac
27622 * INSTALL: Regenerated.
27623 * configure: Likewise.
27624 * sysdeps/gnu/configure: Likewise.
27625 * sysdeps/i386/configure: Likewise.
27626 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27627 * sysdeps/mach/configure: Likewise.
27628 * sysdeps/mach/hurd/configure: Likewise.
27629 * sysdeps/powerpc/configure: Likewise.
27630 * sysdeps/powerpc/powerpc32/configure: Likewise.
27631 * sysdeps/powerpc/powerpc64/configure: Likewise.
27632 * sysdeps/s390/s390-32/configure: Likewise.
27633 * sysdeps/s390/s390-64/configure: Likewise.
27634 * sysdeps/sh/configure: Likewise.
27635 * sysdeps/sparc/configure: Likewise.
27636 * sysdeps/unix/sysv/linux/configure: Likewise.
27637 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27638 * sysdeps/x86_64/configure: Likewise.
27639 * sysdeps/x86_64/preconfigure: Likewise.
27641 2013-10-29 Andreas Schwab <schwab@suse.de>
27643 * stdio-common/Makefile (tst-swscanf-ENV): Define.
27645 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27647 * benchtests/pow-inputs: Add new inputs.
27649 * benchtests/exp-inputs: Add new inputs.
27651 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27652 conditional check for return value.
27653 (__cos32): Likewise.
27655 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27657 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27658 to provide a boost for large inputs with word alignment.
27659 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27660 implementation based on optimized PPC64 strcpy.
27661 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27662 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27663 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27664 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27666 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27669 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27671 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27674 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27675 * time/tst-strptime.c (day_tests): Add testcase.
27677 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27680 * manual/pattern.texi: Acknowledge that fnmatch can fail.
27682 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
27685 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27686 MAP_FAILED on error.
27688 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27691 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27692 heap for large requests.
27694 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
27697 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27698 result if the result has no associated interface.
27699 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27700 interface for all 127.X.Y.Z addresses.
27702 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
27704 * locale/iso-639.def: Add Ligurian (lij)
27706 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
27709 * sunrpc/rpc_main.c: Document rpcgen -5.
27711 2013-10-19 Michael Stahl <mstahl@redhat.com>
27713 * elf/rtld.c (do_preload): Print the reason why preloading failed.
27715 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27718 * posix/glob.c: Match only directories when trailing slash is present.
27719 * posix/tst-gnuglob.c (my_opendir): Do not open files.
27720 (main): Add testcase.
27722 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27725 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27727 2013-10-18 Carlos O'Donell <carlos@redhat.com>
27729 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27730 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27731 AUTH_DES and cindex for FIPS 140-2.
27732 (DES Encryption): Add cindex FIPS 46-3.
27734 * locale/locarchive.h (struct locarhandle): Add fname.
27735 * locale/programs/localedef.c (main): Pass ARGV[remaining]
27736 if an optional argument was specified to --list-archive,
27738 * locale/programs/locarchive.c (show_archive_content): Take new
27739 argument fname and pass it via ah.fname to open_archive.
27740 * locale/programs/localedef.h: Update decl.
27741 (open_archive): If AH->fname is non-null, open that file
27742 rather than the default file name, and don't ignore ENOENT.
27743 (create_archive): Set AH.fname to NULL.
27744 (delete_locales_from_archive): Likewise.
27745 (add_locales_to_archive): Likewise.
27746 * locale/programs/locfile.c (write_all_categories): Likewise.
27748 2013-10-18 Joseph Myers <joseph@codesourcery.com>
27749 Aldy Hernandez <aldyh@redhat.com>
27751 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27752 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27753 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27754 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27755 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27756 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27757 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27758 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27759 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27760 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27761 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27762 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27763 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27764 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27765 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27767 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27769 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27771 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27773 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27774 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27776 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27777 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27778 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27779 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27781 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27782 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27783 * sysdeps/powerpc/preconfigure: Likewise.
27784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27786 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27787 Replace contents of file by #include of <fenv_libc.h>.
27788 * sysdeps/powerpc/soft-fp/sfp-machine.h
27789 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27791 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27792 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27793 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27794 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27795 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27796 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27797 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27798 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27799 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27800 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27801 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27802 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27804 Allow copysignl PLT reference to be missing.
27806 2013-10-18 Richard Sandiford <richard@codesourcery.com>
27807 Joseph Myers <joseph@codesourcery.com
27810 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27812 (add_to_tablewc): Assert sequence of wide characters is nonempty.
27814 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27816 * elf/tst-tls-dlinfo.c: Don't include tls.h.
27817 * elf/tst-tls1.c: Likewise.
27818 * elf/tst-tls10.h: Likewise.
27819 * elf/tst-tls14.c: Likewise.
27820 * elf/tst-tls2.c: Likewise.
27821 * elf/tst-tls3.c: Likewise.
27822 * elf/tst-tls4.c: Likewise.
27823 * elf/tst-tls5.c: Likewise.
27824 * elf/tst-tls6.c: Likewise.
27825 * elf/tst-tls7.c: Likewise.
27826 * elf/tst-tls8.c: Likewise.
27827 * elf/tst-tls9.c: Likewise.
27828 * elf/tst-tlsmod1.c: Likewise.
27829 * elf/tst-tlsmod13.c: Likewise.
27830 * elf/tst-tlsmod13a.c: Likewise.
27831 * elf/tst-tlsmod14a.c: Likewise.
27832 * elf/tst-tlsmod16a.c: Likewise.
27833 * elf/tst-tlsmod16b.c: Likewise.
27834 * elf/tst-tlsmod2.c: Likewise.
27835 * elf/tst-tlsmod3.c: Likewise.
27836 * elf/tst-tlsmod4.c: Likewise.
27837 * elf/tst-tlsmod5.c: Likewise.
27838 * elf/tst-tlsmod6.c: Likewise.
27840 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
27843 * malloc/malloc.c: remove checks for statistics.
27845 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27848 * inet/inet_net.c (inet_network): Detect additional invalid strings.
27849 * inet/tst-network.c: Add testcase.
27851 2013-10-17 Andreas Schwab <schwab@suse.de>
27854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27855 to determine canonical name.
27857 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27859 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27860 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27861 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27862 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27864 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27865 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27866 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27867 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27868 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27869 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27870 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27871 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27872 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27873 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27874 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27875 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27876 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27877 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27878 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27879 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27880 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27881 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27882 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27883 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27884 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27885 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27886 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27887 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27888 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27889 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27890 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27891 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27892 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27893 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27894 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27895 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27896 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27897 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27898 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27899 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27900 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27901 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27902 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27903 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27904 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27905 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27906 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27907 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27908 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27909 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27910 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27911 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27912 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27913 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27914 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27915 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27916 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27918 2013-10-17 Joseph Myers <joseph@codesourcery.com>
27921 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27922 make result into a quiet NaN.
27924 2013-10-16 Joseph Myers <joseph@codesourcery.com>
27926 * soft-fp/adddf3.c: Fix horizontal whitespace.
27927 * soft-fp/addsf3.c: Likewise.
27928 * soft-fp/addtf3.c: Likewise.
27929 * soft-fp/divdf3.c: Likewise.
27930 * soft-fp/divsf3.c: Likewise.
27931 * soft-fp/divtf3.c: Likewise.
27932 * soft-fp/double.h: Likewise.
27933 * soft-fp/eqdf2.c: Likewise.
27934 * soft-fp/eqsf2.c: Likewise.
27935 * soft-fp/eqtf2.c: Likewise.
27936 * soft-fp/extenddftf2.c: Likewise.
27937 * soft-fp/extended.h: Likewise.
27938 * soft-fp/extendsfdf2.c: Likewise.
27939 * soft-fp/extendsftf2.c: Likewise.
27940 * soft-fp/extendxftf2.c: Likewise.
27941 * soft-fp/fixdfdi.c: Likewise.
27942 * soft-fp/fixdfsi.c: Likewise.
27943 * soft-fp/fixdfti.c: Likewise.
27944 * soft-fp/fixsfdi.c: Likewise.
27945 * soft-fp/fixsfsi.c: Likewise.
27946 * soft-fp/fixsfti.c: Likewise.
27947 * soft-fp/fixtfdi.c: Likewise.
27948 * soft-fp/fixtfsi.c: Likewise.
27949 * soft-fp/fixtfti.c: Likewise.
27950 * soft-fp/fixunsdfdi.c: Likewise.
27951 * soft-fp/fixunsdfsi.c: Likewise.
27952 * soft-fp/fixunsdfti.c: Likewise.
27953 * soft-fp/fixunssfdi.c: Likewise.
27954 * soft-fp/fixunssfsi.c: Likewise.
27955 * soft-fp/fixunssfti.c: Likewise.
27956 * soft-fp/fixunstfdi.c: Likewise.
27957 * soft-fp/fixunstfsi.c: Likewise.
27958 * soft-fp/fixunstfti.c: Likewise.
27959 * soft-fp/floatdidf.c: Likewise.
27960 * soft-fp/floatdisf.c: Likewise.
27961 * soft-fp/floatditf.c: Likewise.
27962 * soft-fp/floatsidf.c: Likewise.
27963 * soft-fp/floatsisf.c: Likewise.
27964 * soft-fp/floatsitf.c: Likewise.
27965 * soft-fp/floattidf.c: Likewise.
27966 * soft-fp/floattisf.c: Likewise.
27967 * soft-fp/floattitf.c: Likewise.
27968 * soft-fp/floatundidf.c: Likewise.
27969 * soft-fp/floatundisf.c: Likewise.
27970 * soft-fp/floatunditf.c: Likewise.
27971 * soft-fp/floatunsidf.c: Likewise.
27972 * soft-fp/floatunsisf.c: Likewise.
27973 * soft-fp/floatunsitf.c: Likewise.
27974 * soft-fp/floatuntidf.c: Likewise.
27975 * soft-fp/floatuntisf.c: Likewise.
27976 * soft-fp/floatuntitf.c: Likewise.
27977 * soft-fp/fmadf4.c: Likewise.
27978 * soft-fp/fmasf4.c: Likewise.
27979 * soft-fp/fmatf4.c: Likewise.
27980 * soft-fp/gedf2.c: Likewise.
27981 * soft-fp/gesf2.c: Likewise.
27982 * soft-fp/getf2.c: Likewise.
27983 * soft-fp/ledf2.c: Likewise.
27984 * soft-fp/lesf2.c: Likewise.
27985 * soft-fp/letf2.c: Likewise.
27986 * soft-fp/muldf3.c: Likewise.
27987 * soft-fp/mulsf3.c: Likewise.
27988 * soft-fp/multf3.c: Likewise.
27989 * soft-fp/negdf2.c: Likewise.
27990 * soft-fp/negsf2.c: Likewise.
27991 * soft-fp/negtf2.c: Likewise.
27992 * soft-fp/op-1.h: Likewise.
27993 * soft-fp/op-2.h: Likewise.
27994 * soft-fp/op-4.h: Likewise.
27995 * soft-fp/op-8.h: Likewise.
27996 * soft-fp/op-common.h: Likewise.
27997 * soft-fp/quad.h: Likewise.
27998 * soft-fp/single.h: Likewise.
27999 * soft-fp/soft-fp.h: Likewise.
28000 * soft-fp/sqrtdf2.c: Likewise.
28001 * soft-fp/sqrtsf2.c: Likewise.
28002 * soft-fp/sqrttf2.c: Likewise.
28003 * soft-fp/subdf3.c: Likewise.
28004 * soft-fp/subsf3.c: Likewise.
28005 * soft-fp/subtf3.c: Likewise.
28006 * soft-fp/truncdfsf2.c: Likewise.
28007 * soft-fp/trunctfdf2.c: Likewise.
28008 * soft-fp/trunctfsf2.c: Likewise.
28009 * soft-fp/trunctfxf2.c: Likewise.
28010 * soft-fp/unorddf2.c: Likewise.
28011 * soft-fp/unordsf2.c: Likewise.
28012 * soft-fp/unordtf2.c: Likewise.
28014 2013-10-15 Joseph Myers <joseph@codesourcery.com>
28016 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28017 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28019 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
28021 * elf/dl-libc.c: Clear initfini list after freeing.
28023 2013-10-14 Joseph Myers <joseph@codesourcery.com>
28025 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28026 * soft-fp/addsf3.c: Likewise.
28027 * soft-fp/addtf3.c: Likewise.
28028 * soft-fp/divdf3.c: Likewise.
28029 * soft-fp/divsf3.c: Likewise.
28030 * soft-fp/divtf3.c: Likewise.
28031 * soft-fp/double.h: Likewise.
28032 * soft-fp/eqdf2.c: Likewise.
28033 * soft-fp/eqsf2.c: Likewise.
28034 * soft-fp/eqtf2.c: Likewise.
28035 * soft-fp/extenddftf2.c: Likewise.
28036 * soft-fp/extended.h: Likewise.
28037 * soft-fp/extendsfdf2.c: Likewise.
28038 * soft-fp/extendsftf2.c: Likewise.
28039 * soft-fp/extendxftf2.c: Likewise.
28040 * soft-fp/fixdfdi.c: Likewise.
28041 * soft-fp/fixdfsi.c: Likewise.
28042 * soft-fp/fixdfti.c: Likewise.
28043 * soft-fp/fixsfdi.c: Likewise.
28044 * soft-fp/fixsfsi.c: Likewise.
28045 * soft-fp/fixsfti.c: Likewise.
28046 * soft-fp/fixtfdi.c: Likewise.
28047 * soft-fp/fixtfsi.c: Likewise.
28048 * soft-fp/fixtfti.c: Likewise.
28049 * soft-fp/fixunsdfdi.c: Likewise.
28050 * soft-fp/fixunsdfsi.c: Likewise.
28051 * soft-fp/fixunsdfti.c: Likewise.
28052 * soft-fp/fixunssfdi.c: Likewise.
28053 * soft-fp/fixunssfsi.c: Likewise.
28054 * soft-fp/fixunssfti.c: Likewise.
28055 * soft-fp/fixunstfdi.c: Likewise.
28056 * soft-fp/fixunstfsi.c: Likewise.
28057 * soft-fp/fixunstfti.c: Likewise.
28058 * soft-fp/floatdidf.c: Likewise.
28059 * soft-fp/floatdisf.c: Likewise.
28060 * soft-fp/floatditf.c: Likewise.
28061 * soft-fp/floatsidf.c: Likewise.
28062 * soft-fp/floatsisf.c: Likewise.
28063 * soft-fp/floatsitf.c: Likewise.
28064 * soft-fp/floattidf.c: Likewise.
28065 * soft-fp/floattisf.c: Likewise.
28066 * soft-fp/floattitf.c: Likewise.
28067 * soft-fp/floatundidf.c: Likewise.
28068 * soft-fp/floatundisf.c: Likewise.
28069 * soft-fp/floatunsidf.c: Likewise.
28070 * soft-fp/floatunsisf.c: Likewise.
28071 * soft-fp/floatuntidf.c: Likewise.
28072 * soft-fp/floatuntisf.c: Likewise.
28073 * soft-fp/floatuntitf.c: Likewise.
28074 * soft-fp/fmadf4.c: Likewise.
28075 * soft-fp/fmasf4.c: Likewise.
28076 * soft-fp/fmatf4.c: Likewise.
28077 * soft-fp/gedf2.c: Likewise.
28078 * soft-fp/gesf2.c: Likewise.
28079 * soft-fp/getf2.c: Likewise.
28080 * soft-fp/ledf2.c: Likewise.
28081 * soft-fp/lesf2.c: Likewise.
28082 * soft-fp/letf2.c: Likewise.
28083 * soft-fp/muldf3.c: Likewise.
28084 * soft-fp/mulsf3.c: Likewise.
28085 * soft-fp/multf3.c: Likewise.
28086 * soft-fp/negdf2.c: Likewise.
28087 * soft-fp/negsf2.c: Likewise.
28088 * soft-fp/negtf2.c: Likewise.
28089 * soft-fp/op-1.h: Likewise.
28090 * soft-fp/op-2.h: Likewise.
28091 * soft-fp/op-4.h: Likewise.
28092 * soft-fp/op-8.h: Likewise.
28093 * soft-fp/op-common.h: Likewise.
28094 * soft-fp/quad.h: Likewise.
28095 * soft-fp/single.h: Likewise.
28096 * soft-fp/soft-fp.h: Likewise.
28097 * soft-fp/sqrtdf2.c: Likewise.
28098 * soft-fp/sqrtsf2.c: Likewise.
28099 * soft-fp/sqrttf2.c: Likewise.
28100 * soft-fp/subdf3.c: Likewise.
28101 * soft-fp/subsf3.c: Likewise.
28102 * soft-fp/subtf3.c: Likewise.
28103 * soft-fp/truncdfsf2.c: Likewise.
28104 * soft-fp/trunctfdf2.c: Likewise.
28105 * soft-fp/trunctfsf2.c: Likewise.
28106 * soft-fp/trunctfxf2.c: Likewise.
28107 * soft-fp/unorddf2.c: Likewise.
28108 * soft-fp/unordsf2.c: Likewise.
28109 * soft-fp/unordtf2.c: Likewise.
28111 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
28114 * misc/error.c (error_tail): Fix possible buffer overflow.
28116 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
28119 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28122 2013-10-14 P. J. McDermott <pj@pehjota.net>
28125 * elf/ldd.bash.in (try_trace): New function. Delete previous code
28126 testing pipefail option.
28128 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28130 * soft-fp/double.h: Indent preprocessor directives inside #if.
28131 * soft-fp/extended.h: Likewise.
28132 * soft-fp/op-2.h: Likewise.
28133 * soft-fp/op-4.h: Likewise.
28134 * soft-fp/op-common.h: Likewise.
28135 * soft-fp/quad.h: Likewise.
28136 * soft-fp/single.h: Likewise.
28137 * soft-fp/soft-fp.h: Likewise.
28139 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
28141 * iconv/iconv_prog.c: Fix typos.
28142 * stdio-common/psiginfo-data.h: Likewise.
28144 2013-10-12 Reuben Thomas <rrt@sc3d.org>
28147 * locale/setlocale.c: Fix typo.
28149 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28152 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28153 signaling NaN arguments.
28154 * soft-fp/unordsf2.c (__unordsf2): Likewise.
28155 * soft-fp/unordtf2.c (__unordtf2): Likewise.
28158 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28159 unordered operands.
28160 * soft-fp/gesf2.c (__gesf2): Likewise.
28161 * soft-fp/getf2.c (__getf2): Likewise.
28162 * soft-fp/ledf2.c (__ledf2): Likewise.
28163 * soft-fp/lesf2.c (__lesf2): Likewise.
28164 * soft-fp/letf2.c (__letf2): Likewise.
28166 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28167 * soft-fp/eqsf2.c (__eqsf2): Likewise.
28168 * soft-fp/eqtf2.c (__eqtf2): Likewise.
28169 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28170 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28171 * soft-fp/fixdfti.c (__fixdfti): Likewise.
28172 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28173 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28174 * soft-fp/fixsfti.c (__fixsfti): Likewise.
28175 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28176 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28177 * soft-fp/fixtfti.c (__fixtfti): Likewise.
28178 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28179 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28180 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28181 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28182 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28183 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28184 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28185 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28186 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28187 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28188 * soft-fp/floatdisf.c (__floatdisf): Likewise.
28189 * soft-fp/floatsisf.c (__floatsisf): Likewise.
28190 * soft-fp/floattidf.c (__floattidf): Likewise.
28191 * soft-fp/floattisf.c (__floattisf): Likewise.
28192 * soft-fp/floattitf.c (__floattitf): Likewise.
28193 * soft-fp/floatundidf.c (__floatundidf): Likewise.
28194 * soft-fp/floatundisf.c (__floatundisf): Likewise.
28195 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28196 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28197 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28198 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28199 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28200 * soft-fp/gesf2.c (__gesf2): Likewise.
28201 * soft-fp/getf2.c (__getf2): Likewise.
28202 * soft-fp/ledf2.c (__ledf2): Likewise.
28203 * soft-fp/lesf2.c (__lesf2): Likewise.
28204 * soft-fp/letf2.c (__letf2): Likewise.
28206 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28207 Undefine and redefine.
28208 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28209 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28210 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28211 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28212 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28213 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28214 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28215 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28216 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28217 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28218 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28219 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28220 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28221 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28222 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28225 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28226 without decrementing exponent if mantissa >= that for the
28227 denominator, not >.
28228 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28229 denominator, not >. Decrement exponent in < case instead of
28230 incrementing in >= case.
28231 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28232 without decrementing exponent if mantissa >= that for the
28233 denominator, not >.
28235 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28236 computing saturated result for unsigned overflow.
28238 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28239 Jeff Law <law@redhat.com>
28241 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28242 (atan2Mp): Add systemtap probe marker.
28243 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28244 (__ieee754_log): Add systemtap probe marker.
28245 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28246 (atanMp): Add systemtap probe marker.
28247 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28248 (tanMp): Add systemtap probe marker.
28249 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28250 (__slowexp): Add systemtap probe marker.
28251 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28252 (__slowpow): Add systemtap probe marker.
28253 * manual/probes.texi: Document probes.
28255 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
28258 * libio/fileops.c (_IO_new_file_write): Return count of bytes
28260 (_IO_new_file_xsputn): Don't return EOF if nothing has been
28262 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28263 written to buffer but not flushed.
28264 * libio/iofwrite_u.c: Likewise.
28265 * libio/iopadn.c: Return bytes returned even if EOF was
28267 * libio/iowpadn.c: Likewise.
28268 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28269 if _IO_padn does not write the whole buffer.
28270 [!COMPILE_WPRINTF] (PAD): Likewise.
28272 2013-10-10 David S. Miller <davem@davemloft.net>
28274 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28277 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28279 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
28280 instead of FSF address.
28281 * soft-fp/fixdfti.c: Likewise.
28282 * soft-fp/fixsfti.c: Likewise.
28283 * soft-fp/fixtfti.c: Likewise.
28284 * soft-fp/fixunsdfti.c: Likewise.
28285 * soft-fp/fixunssfti.c: Likewise.
28286 * soft-fp/fixunstfti.c: Likewise.
28287 * soft-fp/floattidf.c: Likewise.
28288 * soft-fp/floattisf.c: Likewise.
28289 * soft-fp/floattitf.c: Likewise.
28290 * soft-fp/floatuntidf.c: Likewise.
28291 * soft-fp/floatuntisf.c: Likewise.
28292 * soft-fp/floatuntitf.c: Likewise.
28293 * soft-fp/trunctfxf2.c: Likewise.
28295 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
28296 * soft-fp/fixdfti.c: Likewise.
28297 * soft-fp/fixsfti.c: Likewise.
28298 * soft-fp/fixtfti.c: Likewise.
28299 * soft-fp/fixunsdfti.c: Likewise.
28300 * soft-fp/fixunssfti.c: Likewise.
28301 * soft-fp/fixunstfti.c: Likewise.
28302 * soft-fp/floattidf.c: Likewise.
28303 * soft-fp/floattisf.c: Likewise.
28304 * soft-fp/floattitf.c: Likewise.
28305 * soft-fp/floatuntidf.c: Likewise.
28306 * soft-fp/floatuntisf.c: Likewise.
28307 * soft-fp/floatuntitf.c: Likewise.
28308 * soft-fp/trunctfxf2.c: Likewise.
28310 2013-10-10 David S. Miller <davem@davemloft.net>
28312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28314 2013-10-10 Joseph Myers <joseph@codsourcery.com>
28316 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28317 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28318 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28319 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28320 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28321 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28322 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28324 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28325 for NaNs before doing comparisons on argument.
28326 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28329 2013-10-10 Will Newton <will.newton@linaro.org>
28331 * malloc/hooks.c (memalign_check): Ensure the value of bytes
28332 passed to _int_memalign does not overflow.
28334 2013-10-10 Torvald Riegel <triegel@redhat.com>
28336 * scripts/bench.pl: Add include-sources directive.
28337 * benchtests/README: Update documentation.
28339 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28341 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28342 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28343 instead of FP_INIT_ROUNDMODE.
28344 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28345 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28348 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
28349 copy class of input value.
28350 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
28351 not handle exceptions.
28352 * soft-fp/negsf2.c (__negsf2): Likewise.
28353 * soft-fp/negtf2.c (__negtf2): Likewise.
28354 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28356 2013-10-09 Joseph Myers <joseph@codesourcery.com>
28358 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28359 semicolon. From Linux kernel.
28361 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
28363 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28365 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
28368 * manual/socket.texi: Added statement about buffer
28369 for gethostbyname2_r.
28371 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
28373 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28374 Use .p2align directive instead, throughout.
28375 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28376 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28377 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28378 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28379 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28380 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28381 * sysdeps/x86_64/strchr.S: Likewise.
28382 * sysdeps/x86_64/strrchr.S: Likewise.
28384 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28386 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28388 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28390 * sysdeps/generic/math_private.h (__mpsin1): Remove
28392 (__mpcos1): Likewise.
28393 (__mpsin): New argument __range_reduce.
28394 (__mpcos): Likewise.
28395 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28396 (slow): Use __mpsin and __mpcos.
28400 (sloww1): Likewise.
28401 (sloww2): Likewise.
28402 (bsloww): Likewise.
28403 (bsloww1): Likewise.
28404 (bsloww2): Likewise.
28405 (cslow2): Likewise.
28406 (csloww): Likewise.
28407 (csloww1): Likewise.
28408 (csloww2): Likewise.
28409 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28410 range_reduce. Merge in __mpsin1.
28411 (__mpcos): Likewise.
28412 (__mpsin1): Remove.
28413 (__mpcos1): Likewise.
28415 2013-10-07 Joseph Myers <joseph@codesourcery.com>
28417 * locale/loadlocale.c (_nl_intern_locale_data): Use
28419 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28420 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28421 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28422 obstack data is appropriately aligned.
28423 (obstack_int32_grow_fast): Likewise.
28424 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28425 * locale/programs/locfile.c (add_locale_uint32): Likewise.
28426 (add_locale_uint32_array): Likewise.
28428 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28430 * benchtests/Makefile: Remove ARGLIST and RET variables.
28431 ($(objpfx)bench-%.c): Pass only function name to the script.
28432 * benchtests/README: Update documentation.
28433 * benchtests/acos-inputs: Add new directives.
28434 * benchtests/acosh-inputs: Likewise.
28435 * benchtests/asin-inputs: Likewise.
28436 * benchtests/asinh-inputs: Likewise.
28437 * benchtests/atan-inputs: Likewise.
28438 * benchtests/atanh-inputs: Likewise.
28439 * benchtests/cos-inputs: Likewise.
28440 * benchtests/cosh-inputs: Likewise.
28441 * benchtests/exp-inputs: Likewise.
28442 * benchtests/log-inputs: Likewise.
28443 * benchtests/pow-inputs: Likewise.
28444 * benchtests/rint-inputs: Likewise.
28445 * benchtests/sin-inputs: Likewise.
28446 * benchtests/sinh-inputs: Likewise.
28447 * benchtests/tan-inputs: Likewise.
28448 * benchtests/tanh-inputs: Likewise.
28449 * scripts/bench.pl: Add support for new directives.
28451 2013-10-07 Alan Modra <amodra@gmail.com>
28453 * README: Fix careless merge.
28455 2013-10-05 Alan Modra <amodra@gmail.com>
28457 * NEWS: Mention powerpc64le support and bugs fixed.
28458 * README: Both big-endian and little-endian powerpc64 supported.
28460 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28462 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28463 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28464 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28465 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28467 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
28469 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28472 2013-10-04 Joseph Myers <joseph@codesourcery.com>
28474 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28475 Move -mhard-float appending from
28476 ports/sysdeps/powerpc/powerpc32/Makefile.
28477 [$(with-fp) = yes] (ASFLAGS): Likewise.
28478 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28479 * sysdeps/powerpc/nofpu: Move directory from
28480 ports/sysdeps/powerpc/nofpu.
28481 * sysdeps/powerpc/soft-fp: Move directory from
28482 ports/sysdeps/powerpc/soft-fp.
28483 * sysdeps/powerpc/powerpc32/405: Move directory from
28484 ports/sysdeps/powerpc/powerpc32/405.
28485 * sysdeps/powerpc/powerpc32/440: Move directory from
28486 ports/sysdeps/powerpc/powerpc32/440.
28487 * sysdeps/powerpc/powerpc32/464: Move directory from
28488 ports/sysdeps/powerpc/powerpc32/464.
28489 * sysdeps/powerpc/powerpc32/476: Move directory from
28490 ports/sysdeps/powerpc/powerpc32/476.
28491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28492 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28494 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28496 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28498 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28500 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28501 * README: Update for powerpc-*-linux-gnu software floating point
28504 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28505 case to powerpc/powerpc32*.
28506 * sysdeps/unix/sysv/linux/configure: Regenerated.
28508 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28509 (_FPU_MASK_OM): Define as 0x04.
28510 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28511 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28515 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28518 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28521 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28524 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28525 and setcontext_e500.
28527 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
28529 * locale/iso-3166.def: Update iso-1366.def and related occurrences
28531 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28533 * manual/threads.texi (Default Thread Attributes): Fix typo.
28535 2013-10-04 Will Newton <will.newton@linaro.org>
28537 * malloc/Makefile: Add tst-memalign.
28538 * malloc/tst-memalign.c: New file.
28540 * malloc/tst-posix_memalign.c: Add comments.
28541 (do_test): Add comments and call free on all potentially
28542 allocated pointers. Add space after cast.
28544 * malloc/tst-pvalloc.c: Add comments.
28545 (do_test): Add comments and call free on all potentially
28546 allocated pointers. Remove duplicate check for NULL pointer.
28547 Add space after cast.
28549 * malloc/tst-valloc.c: Add comments.
28550 (do_test): Add comments and call free on all potentially
28551 allocated pointers. Remove duplicate check for NULL pointer.
28552 Add space after cast.
28554 2013-10-04 Alan Modra <amodra@gmail.com>
28556 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28557 Use stdint types in rather than __attribute__((mode())).
28558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28560 2013-10-04 Alan Modra <amodra@gmail.com>
28562 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28563 Correct handling of unaligned relocs for little-endian.
28564 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28566 2013-10-04 Alan Modra <amodra@gmail.com>
28568 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28569 * configure: Regenerate.
28570 * nptl/shlib-versions: Powerpc*le starts at 2.18.
28571 * shlib-versions: Likewise.
28573 2013-10-04 Alan Modra <amodra@gmail.com>
28575 * string/tester.c (test_memrchr): Increment reported test cycle.
28577 2013-10-04 Alan Modra <amodra@gmail.com>
28579 * string/test-memcpy.c (do_one_test): When reporting errors, print
28580 string address and don't overrun end of string.
28582 2013-10-04 Alan Modra <amodra@gmail.com>
28584 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28585 insrdi. Make better use of reg selection to speed exit slightly.
28586 Schedule entry path a little better. Remove useless "are we done"
28587 checks on entry to main loop. Handle wrapping around zero address.
28588 Correct main loop count. Handle single left-over word from main
28589 loop inline rather than by using loop_small. Remove extra word
28590 case in loop_small caused by wrong loop count. Add little-endian
28592 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28593 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
28595 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28596 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28597 support. Avoid rlwimi.
28598 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28600 2013-10-04 Alan Modra <amodra@gmail.com>
28602 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28603 insrdi. Formatting.
28604 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28605 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28606 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28607 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28608 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28609 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28611 2013-10-04 Alan Modra <amodra@gmail.com>
28613 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28614 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28615 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28616 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28617 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28618 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28619 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28620 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28621 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
28622 use of regs. Use power7 mtocrf. Tidy function tails.
28624 2013-10-04 Alan Modra <amodra@gmail.com>
28626 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28627 Formatting. Consistently use rXXX register defines or rN defines.
28628 Use early exit labels that avoid restoring unused non-volatile regs.
28629 Make cr field use more consistent with rWORDn compares. Rename
28630 regs used as shift registers for unaligned loop, using rN defines
28631 for short lifetime/multiple use regs.
28632 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28633 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
28634 addi 1,1,64 to pop stack frame. Simplify return value code.
28635 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28637 2013-10-04 Alan Modra <amodra@gmail.com>
28639 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28640 support. Correct typos, formatting. Optimize tail. Use insrdi
28641 rather than rlwimi.
28642 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28643 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28644 little-endian support. Correct typos.
28645 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
28646 rather than rlwimi.
28647 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
28648 in loop and entry code to keep "and." results.
28649 (strchr): Add little-endian support. Comment. Move cntlzd
28651 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28653 2013-10-04 Alan Modra <amodra@gmail.com>
28655 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28656 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28657 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28658 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28660 2013-10-04 Alan Modra <amodra@gmail.com>
28662 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28663 (rTMP): Define as r11.
28664 (strcmp): Add little-endian support. Optimise tail.
28665 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28666 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28667 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28668 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28669 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28670 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28671 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28673 2013-10-04 Alan Modra <amodra@gmail.com>
28675 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28676 little-endian support. Remove unnecessary "are we done" tests.
28677 Handle "s" wrapping around zero and extremely large "size".
28678 Correct main loop count. Handle single left-over word from main
28679 loop inline rather than by using small_loop. Correct comments.
28680 Delete "zero" tail, use "end_max" instead.
28681 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28683 2013-10-04 Alan Modra <amodra@gmail.com>
28685 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28686 support. Don't branch over align.
28687 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28688 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28689 support. Rearrange tmp reg use to suit. Comment.
28690 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28692 2013-10-04 Alan Modra <amodra@gmail.com>
28694 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28696 2013-10-04 Alan Modra <amodra@gmail.com>
28698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28699 conditional form of branch and link when obtaining pc.
28700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28702 2013-10-04 Alan Modra <amodra@gmail.com>
28704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28709 2013-10-04 Alan Modra <amodra@gmail.com>
28711 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28712 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28713 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28714 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28715 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28716 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28717 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28718 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28719 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28720 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28722 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28723 Alistair Popple <alistair@ozlabs.au.ibm.com>
28724 Alan Modra <amodra@gmail.com>
28727 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28728 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28729 _dl_hwcap access for little-endian.
28730 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
28731 destroy vmx regs when saving unaligned.
28732 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28733 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
28734 destroy vmx regs when saving unaligned.
28736 2013-10-04 Alan Modra <amodra@gmail.com>
28738 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28739 Don't use a union to pack hi/low value.
28741 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28743 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28745 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28746 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28747 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28748 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28749 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28751 2013-10-04 Alan Modra <amodra@gmail.com>
28753 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28754 constants to usual value for .cst8 section, and remove redundant
28756 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28757 constant for 0x1p52. Load little-endian words of double from
28758 correct stack offsets.
28760 2013-10-04 Alan Modra <amodra@gmail.com>
28762 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28763 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28764 words of double from correct stack offsets.
28765 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28766 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28767 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28768 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28769 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28770 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28771 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28772 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28773 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28774 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28775 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28776 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28777 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28778 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28779 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28780 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28781 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28783 2013-10-04 Alan Modra <amodra@gmail.com>
28785 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28786 64-bit int/double union.
28787 (_FPU_SETCW): Likewise.
28788 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28789 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28791 2013-10-04 Alan Modra <amodra@gmail.com>
28793 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28794 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28796 2013-10-04 Alan Modra <amodra@gmail.com>
28798 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28799 use vector int constants.
28800 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28802 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28804 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28805 array with long long.
28806 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28807 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28808 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28809 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28810 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28811 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28812 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28813 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28814 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28815 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28816 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28817 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28818 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28820 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28822 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28823 (__signbit): Likewise. Correct for little-endian.
28824 (__signbitl): Call __signbit.
28825 (lrint): Correct for little-endian.
28826 (lrintf): Call lrint.
28828 2013-10-04 Alan Modra <amodra@gmail.com>
28830 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28831 union 32-bit int array member with 64-bit int array.
28832 (t515, tm256): Double rather than long double.
28833 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28835 2013-10-04 Alan Modra <amodra@gmail.com>
28837 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28839 (IEEE854_LONG_DOUBLE_BIAS): Delete.
28840 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28841 version of math_ldbl.h.
28843 2013-10-04 Alan Modra <amodra@gmail.com>
28845 [BZ #15734], [BZ #15735]
28846 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28847 all uses of ieee875 long double macros and unions. Simplify test
28848 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
28849 ldbl_extract_mantissa value for ix,iy exponents. Properly
28850 normalize after ldbl_extract_mantissa, and don't add hidden bit
28851 already handled. Don't treat low word of ieee854 mantissa like
28852 low word of IBM long double and mask off bit when testing for
28854 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28855 all uses of ieee875 long double macros and unions. Simplify tests
28856 for 0.0L and inf. Correct double adjustment of k. Delete dead code
28857 adjusting ha,hb. Simplify code setting kld. Delete two600 and
28858 two1022, instead use their values. Recognise that tests for large
28859 "a" and small "b" are mutually exclusive. Rename vars. Comment.
28860 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28861 Rewrite all uses of ieee875 long double macros and unions. Simplify
28862 test for 0.0L and nan. Correct negation.
28863 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28864 ieee875 long double macros and unions. Correct output for large
28865 magnitude x. Correct absolute value calculation.
28866 (__erfcl): Likewise.
28867 * math/libm-test.inc: Add tests for errors discovered in IBM long
28868 double versions of fmodl, remainderl, erfl and erfcl.
28870 2013-10-04 Alan Modra <amodra@gmail.com>
28872 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28873 all uses of ieee854 long double macros and unions. Simplify tests
28874 for long doubles that are fully specified by the high double.
28875 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28877 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28878 Remove dead code too.
28879 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28880 (__ieee754_ynl): Likewise.
28881 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28882 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28883 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28884 Remove dead code too.
28885 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28886 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28887 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28888 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28890 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28892 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28893 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28894 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28895 Comment on variable precision.
28896 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28897 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28899 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28900 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28901 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28902 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28903 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28905 2013-10-04 Alan Modra <amodra@gmail.com>
28907 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28908 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28909 all uses of ieee854 long double macros and unions.
28910 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28911 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28912 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28913 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28914 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28915 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28917 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28918 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28919 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28920 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28921 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28922 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28923 Simplify sign and nan test too.
28924 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28925 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28926 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28927 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28929 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28930 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28932 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28933 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28934 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28935 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28936 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28937 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28939 2013-10-04 Alan Modra <amodra@gmail.com>
28941 * stdio-common/printf_size.c (__printf_size): Don't use
28942 union ieee854_long_double in fpnum union.
28943 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
28944 signbit macro to retrieve sign from long double.
28945 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28946 retrieve sign from long double.
28947 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28948 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28949 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28950 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28951 * math/test-misc.c (main): Don't use union ieee854_long_double.
28953 2013-10-04 Alan Modra <amodra@gmail.com>
28956 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28957 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28958 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28959 calculation. Remove unnecessary test for denormal exponent.
28960 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28961 Correct handling of denormals. Avoid undefined shift behaviour.
28962 Correct normalisation of low mantissa when low double is denormal.
28963 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28964 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
28965 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28966 Correct normalisation of low mantissa. Test for overflow of high
28967 mantissa and normalise.
28968 (ldbl_nearbyint): Use more readable constant for two52.
28969 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28970 (__mpn_construct_long_double): Fix test for overflow of high
28971 mantissa and correct normalisation. Avoid undefined shift.
28973 2013-10-04 Alan Modra <amodra@gmail.com>
28975 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28976 (union ibm_extended_long_double): Define as an array of ieee754_double.
28977 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28978 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28979 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28980 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28981 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28982 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28983 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28984 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28985 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28986 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28987 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28989 2013-10-03 Joseph Myers <joseph@codesourcery.com>
28991 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28992 page size instead of calling getpagesize.
28994 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28995 (LOCFILE_ALIGN_MASK): Likewise.
28996 (LOCFILE_ALIGN_UP): Likewise.
28997 (LOCFILE_ALIGNED_P): Likewise.
28998 * locale/programs/ld-collate.c (collate_output): Use the new
28999 macros instead of __alignof__ (int32_t).
29000 * locale/weight.h (findidx): Likewise.
29002 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
29005 * manual/string.texi: Fix strncat and wcsncat.
29007 2013-10-03 Brooks Moses <bmoses@google.com>
29010 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29011 * Makerules: ...here, and adjust associated comments.
29013 2013-10-02 Will Newton <will.newton@linaro.org>
29015 * malloc/Makefile: Add tst-pvalloc.
29016 * malloc/tst-pvalloc.c: New file.
29018 2013-10-02 Will Newton <will.newton@linaro.org>
29020 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29021 improve test coverage.
29023 2013-10-02 Will Newton <will.newton@linaro.org>
29025 * malloc/Makefile: Add tst-posix_memalign.
29026 * malloc/tst-posix_memalign.c: New file.
29028 2013-10-01 Eric Blake <eblake@redhat.com>
29030 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29031 Use __THROWNL rather than __THROW on static functions.
29033 2013-09-30 Petr Machata <pmachata@redhat.com>
29035 * elf/elf.h (R_AARCH64_ABS16): New macro.
29036 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29037 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29038 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29039 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29040 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29041 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29042 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29043 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29044 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29045 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29046 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29047 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29048 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29049 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29050 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29051 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29052 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29053 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29054 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29055 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29056 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29057 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29058 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29059 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29060 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29061 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29062 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29063 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29064 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29065 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29066 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29067 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29068 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29069 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29070 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29071 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29072 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29073 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29074 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29075 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29076 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29077 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29078 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29079 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29080 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29081 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29082 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29083 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29084 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29085 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29086 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29087 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29088 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29089 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29090 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29091 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29092 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29093 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29094 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29095 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29096 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29097 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29098 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29099 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29100 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29101 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29102 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29103 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29104 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29105 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29106 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29107 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29108 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29109 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29110 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29111 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29112 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29113 (R_AARCH64_TLSDESC_LDR): Likewise.
29114 (R_AARCH64_TLSDESC_ADD): Likewise.
29115 (R_AARCH64_TLSDESC_CALL): Likewise.
29117 2013-09-30 Andreas Schwab <schwab@suse.de>
29120 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29121 the nss database lookup.
29122 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29125 2013-09-28 Mike Frysinger <vapier@gentoo.org>
29127 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29129 2013-09-28 P. J. McDermott <pj@pehjota.net>
29131 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29132 ${Bash-specific parameter/pattern/string} parameter expansion.
29133 * sysdeps/unix/make-syscalls.sh: Likewise.
29135 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29137 * sysdeps/sh/stackguard-macros.h: New file.
29139 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
29141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29142 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29143 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29144 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29145 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29146 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29148 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29150 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29151 Fix thread ID register.
29153 2013-09-25 Joseph Myers <joseph@codesourcery.com>
29155 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29156 [POSIX || UNIX98]: Require rather than permitting all symbols from
29158 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29159 element of struct sched_param.
29160 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29161 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29162 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29163 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29166 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
29168 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29169 argument calculation.
29171 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29173 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29175 [POSIX] (pthread_attr_t): Do not require type.
29176 [POSIX] (pthread_cond_t): Likewise.
29177 [POSIX] (pthread_condattr_t): Likewise.
29178 [POSIX] (pthread_key_t): Likewise.
29179 [POSIX] (pthread_mutex_t): Likewise.
29180 [POSIX] (pthread_mutexattr_t): Likewise.
29181 [POSIX] (pthread_once_t): Likewise.
29182 [POSIX] (pthread_t): Likewise.
29183 [POSIX-based standards] (pthread_atfork): Expect function.
29185 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29186 Richard Sandiford <richard@codesourcery.com>
29188 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29189 (swap_endianness_p): New extern variable.
29190 (set_big_endian): New inline function.
29191 (maybe_swap_uint32): Likewise.
29192 (maybe_swap_uint32_array): Likewise.
29193 (maybe_swap_uint32_obstack): Likewise.
29194 * locale/programs/locfile.c: Include <stdbool.h>.
29195 (swap_endianness_p): New variable.
29196 (add_locale_uint32): Call maybe_swap_uint32.
29197 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29198 (write_locale_data): Call maybe_swap_uint32_array.
29199 * locale/programs/ld-collate.c (obstack_int32_grow): Call
29201 (obstack_int32_grow_fast): Likewise.
29202 (output_weightwc): Call maybe_swap_uint32_obstack.
29203 (collate_output): Likewise.
29204 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29205 (OPT_LITTLE_ENDIAN): Likewise.
29206 (options): Add --little-endian and --big-endian options.
29207 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29208 * locale/programs/locarchive.c: Include "locfile.h".
29212 (create_archive): Use the new macros to access fields of
29213 structures directly mapped from or written to locale archives.
29214 (oldlocrecentcmp): Likewise.
29215 (enlarge_archive): Likewise.
29216 (insert_name): Likewise.
29217 (add_alias): Likewise.
29218 (add_locale): Likewise.
29219 (delete_locales_from_archive): Likewise.
29220 (show_archive_content): Likewise.
29221 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
29224 2013-09-24 Roland McGrath <roland@hack.frob.com>
29226 * manual/freemanuals.texi: Updated from (newly) canonical copy at
29227 http://www.gnu.org/doc/freemanuals.texi.
29228 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29230 2013-09-24 Will Newton <will.newton@linaro.org>
29232 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29235 2013-09-23 Joseph Myers <joseph@codesourcery.com>
29237 * locale/hashval.h (compute_hashval): Interpret bytes of key as
29240 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
29242 * manual/threads.texi (POSIX Threads): Fix a typo.
29244 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29247 * string/tst-strcoll-overflow.c: New test case.
29248 * string/Makefile (xtests): Add tst-strcoll-overflow.
29249 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29250 cache if string sizes may cause integer overflow.
29253 * string/strcoll_l.c (coll_seq): New members rule, idx,
29254 save_idx and back_us.
29255 (get_next_seq_nocache): New function.
29256 (do_compare_nocache): New function.
29257 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29260 2013-09-23 Carlos O'Donell <carlos@redhat.com>
29263 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29264 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29265 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29268 * elf/Makefile (tests): Add tst-ptrguard1.
29269 (tests-static): Add tst-ptrguard1-static.
29270 (tst-ptrguard1-ARGS): Define.
29271 (tst-ptrguard1-static-ARGS): Define.
29272 * elf/tst-ptrguard1.c: New file.
29273 * elf/tst-ptrguard1-static.c: New file.
29274 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29275 * sysdeps/i386/stackguard-macros.h: Likewise.
29276 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29277 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29278 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29279 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29280 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29281 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29283 2013-09-23 Hector Marco <hecmargi@upv.es>
29284 Ismael Ripoll <iripoll@disca.upv.es>
29285 Carlos O'Donell <carlos@redhat.com>
29288 * sysdeps/generic/stackguard-macros.h: Define
29289 __pointer_chk_guard_local and POINTER_CHK_GUARD.
29290 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29291 Define __pointer_chk_guard_local.
29292 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29293 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29295 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
29298 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29300 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
29302 * include/string.h (__ffs): Declare as hidden.
29303 * string/ffs.c (__ffs): Define as hidden.
29304 * sysdeps/i386/ffs.c (__ffs): Likewise.
29305 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29306 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29307 * sysdeps/s390/ffs.c (__ffs): Likewise.
29308 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29310 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
29312 * NEWS: Mention malloc probes.
29314 * malloc/arena.c (new_heap): New memory_heap_new probe.
29315 (grow_heap): New memory_heap_more probe.
29316 (shrink_heap): New memory_heap_less probe.
29317 (heap_trim): New memory_heap_free probe.
29318 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29319 (systrim): New memory_sbrk_less probe.
29320 * manual/probes.texi: Document them.
29322 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29323 * manual/probes.texi: Document it.
29325 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29326 (__libc_realloc): Add memory_realloc_retry probe.
29327 (__libc_memalign): Add memory_memalign_retry probe.
29328 (__libc_valloc): Add memory_valloc_retry probe.
29329 (__libc_pvalloc): Add memory_pvalloc_retry probe.
29330 (__libc_calloc): Add memory_calloc_retry probe.
29331 * manual/probes.texi: Document them.
29333 * malloc/arena.c (get_free_list): Add probe
29334 memory_arena_reuse_free_list.
29335 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29336 and memory_arena_reuse.
29337 (arena_get2) [!PER_THREAD]: Likewise.
29338 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29339 memory_arena_reuse_realloc.
29340 * manual/probes.texi: Document them.
29342 * malloc/malloc.c (__libc_free): Add
29343 memory_mallopt_free_dyn_thresholds probe.
29344 (__libc_mallopt): Add multiple memory_mallopt probes.
29345 * manual/probes.texi: Document them.
29347 * malloc/malloc.c: Include stap-probe.h.
29348 (__libc_mallopt): Add memory_mallopt probe.
29349 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29350 * manual/probes.texi: New.
29351 * manual/Makefile (chapters): Add probes.
29352 * manual/threads.texi: Set next node.
29354 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
29356 [BZ #15963, #13985]
29357 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29358 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29359 Add `Chinese' to `nan' entry name.
29361 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29363 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29364 (POLYNOMIAL): Likewise.
29365 (TAYLOR_SINCOS): Likewise.
29366 (TAYLOR_SLOW): Likewise.
29367 (__sin): Use TAYLOR_SINCOS.
29369 (slow): Use TAYLOR_SLOW.
29371 (bsloww): Likewise.
29372 (csloww): Likewise.
29374 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29376 * stdlib/strtod_l.c: Fix buffer overrun.
29378 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29380 * benchtests/Makefile (bench): Add sincos.
29381 * benchtests/bench-sincos.c: New file.
29383 * math/libm-test.inc (cos_test_data): New test inputs.
29384 (sin_test_data): Likewise.
29386 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29392 (sloww1): Likewise.
29393 (sloww2): Likewise.
29394 (bsloww1): Likewise.
29395 (bsloww2): Likewise.
29396 (cslow2): Likewise.
29397 (csloww1): Likewise.
29398 (csloww2): Likewise.
29400 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29405 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29409 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
29411 * config.h.in (HAVE_MIPS_NAN2008): New macro.
29412 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29413 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29414 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29415 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29416 * elf/cache.c (print_entry): Handle the new cache flags.
29418 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29419 Aldy Hernandez <aldyh@redhat.com>
29421 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29422 Change condition to [_SOFT_FLOAT].
29423 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29427 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29429 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29432 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29435 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29437 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29438 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29441 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29443 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29444 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29445 (__longjmp): Use LOAD_GP to load saved GPRs.
29446 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29447 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29448 (__sigsetjmp): Use SAVE_GP to save GPRs.
29450 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29451 Do not append -msoft-float.
29452 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29454 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29456 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29458 2013-09-17 Joseph Myers <joseph@codesourcery.com>
29461 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29462 (_FPU_GETCW): Use initial "__" on variable and field names but not
29463 on macro parameter name.
29464 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
29465 parentheses around reference to macro parameter.
29467 2013-09-13 Richard Sandiford <richard@codesourcery.com>
29469 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29471 (ctype_startup): Use uint32_t in cast and sizeof for
29474 2013-09-11 Jia Liu <proljc@gmail.com>
29476 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29478 [__FreeBSD__]: Likewise.
29480 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
29482 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29483 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29484 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29485 (strchr): Remove __strchr_sse42 ifunc selection.
29486 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29487 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29489 2013-09-11 Will Newton <will.newton@linaro.org>
29491 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29492 parameter to RES. Remove hardcoded 1000 value.
29493 * benchtests/bench-skeleton.c (main): Pass RES parameter
29494 to TIMING_INIT and multiply result by 1000.
29496 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29500 2013-09-11 Andreas Schwab <schwab@suse.de>
29502 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29504 (O_TMPFILE) [__USE_GNU]: Define.
29505 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29508 2013-09-11 Will Newton <will.newton@linaro.org>
29511 * malloc/malloc.c (__libc_memalign): Check the value of bytes
29514 2013-09-11 Will Newton <will.newton@linaro.org>
29517 * malloc/malloc.c (__libc_valloc): Check the value of bytes
29520 2013-09-11 Will Newton <will.newton@linaro.org>
29523 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29526 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
29528 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29529 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29530 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29531 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29532 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29534 2013-09-10 Allan McRae <allan@archlinux.org>
29537 * manual/arith.texi (Parsing of Floats): Clarify
29541 * manual/install.texi (Running make install): Mention
29543 * INSTALL: Regenerated.
29545 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
29547 * csu/init-first.c (_init): Remove the !SHARED condition around
29548 FPU control word initialization.
29549 * elf/dl-support.c (_dl_fpu_control): New variable.
29550 (_dl_aux_init) <AT_FPUCW>: Initialize it.
29551 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29552 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29553 * math/test-fpucw-static.c: New file.
29554 * math/test-fpucw-ieee.c: New file.
29555 * math/test-fpucw-ieee-static.c: New file.
29556 * math/Makefile (tests): Add `test-fpucw-ieee' and
29558 (tests-static): New variable.
29559 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29561 [($(build-shared),yes)]
29562 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29564 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29567 2013-09-09 Allan McRae <allan@archlinux.org>
29570 * manual/string.texi (Collation Functions): Fix typo in
29572 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29575 * stdlib/isomac.c (get_null_defines): Fix memory leak.
29578 * libio/memstream.c (open_memstream): Fix memory leak.
29579 * libio/wmemstream.c (open_wmemstream): Likewise.
29582 * nscd/netgroupcache.c: Fix nesting of ifdefs.
29584 2013-09-09 Will Newton <will.newton@linaro.org>
29586 * malloc/Makefile: Add tst-realloc to tests.
29587 * malloc/tst-realloc.c: New file.
29589 2013-09-09 Allan McRae <allan@archlinux.org>
29592 * COPYING: Update from GNU website to fix FSF address.
29593 * COPYING.LIB: Likewise.
29595 2013-09-06 David S. Miller <davem@davemloft.net>
29597 * po/zh_TW.po: Update Chinese (traditional) translation from
29598 translation project.
29600 2013-09-06 Richard Sandiford <richard@codesourcery.com>
29601 Joseph Myers <joseph@codesourcery.com>
29603 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29605 (obstack_chunk_alloc): New macro.
29606 (obstack_chunk_free): Likewise.
29607 (record_offset): New function.
29608 (init_locale_data): Likewise.
29609 (align_locale_data): Likewise.
29610 (add_locale_empty): Likewise.
29611 (add_locale_raw_data): Likewise.
29612 (add_locale_raw_obstack): Likewise.
29613 (add_locale_string): Likewise.
29614 (add_locale_wstring): Likewise.
29615 (add_locale_uint32): Likewise.
29616 (add_locale_uint32_array): Likewise.
29617 (add_locale_char): Likewise.
29618 (start_locale_structure): Likewise.
29619 (end_locale_structure): Likewise.
29620 (start_locale_prelude): Likewise.
29621 (end_locale_prelude): Likewise.
29622 (write_locale_data): Take locale_file structure rather than an
29624 * locale/programs/locfile.h: Include "obstack.h".
29625 (struct locale_file): Change to store locale file contents instead
29627 (init_locale_data): New prototype.
29628 (align_locale_data): Likewise.
29629 (add_locale_empty): Likewise.
29630 (add_locale_raw_data): Likewise.
29631 (add_locale_raw_obstack): Likewise.
29632 (add_locale_string): Likewise.
29633 (add_locale_wstring): Likewise.
29634 (add_locale_uint32): Likewise.
29635 (add_locale_uint32_array): Likewise.
29636 (add_locale_char): Likewise.
29637 (start_locale_structure): Likewise.
29638 (end_locale_structure): Likewise.
29639 (start_locale_prelude): Likewise.
29640 (end_locale_prelude): Likewise.
29641 (write_locale_data): Update prototype.
29642 * locale/programs/3level.h (struct TABLE): Remove result field.
29643 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29644 Use new locale_file interface.
29645 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29646 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29647 * locale/programs/ld-address.c (address_output): Use new
29648 locale_file interface.
29649 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29651 (collate_finish): Don't call collseq_table_finalize.
29652 (collate_output): Use new locale_file interface.
29653 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29655 (NO_FINALIZE): Change to NO_ADD_LOCALE.
29656 (TABLE): Move defines earlier in file.
29657 (ELEMENT): Likewise.
29658 (DEFAULT): Likewise.
29659 (wctrans_table_add): Move macro and inline function earlier in
29661 (struct wctype_table): Move type earlier in file.
29662 (add_locale_wctype_table): New static prototype.
29663 (struct locale_ctype_t): Use logical types instead of struct iovec
29664 pointers for members.
29665 (ctype_output): Use new locale_file interface.
29666 (wctype_table_finalize): Change to add_locale_wctype_table. Use
29667 new locale_file interface.
29668 (allocate_arrays): Update for use of new locale_file interface.
29669 * locale/programs/ld-identification.c (identification_output): Use
29670 new locale_file interface.
29671 * locale/programs/ld-measurement.c (measurement_output): Likewise.
29672 * locale/programs/ld-messages.c (messages_output): Likewise.
29673 * locale/programs/ld-monetary.c (monetary_output): Likewise.
29674 * locale/programs/ld-name.c (name_output): Likewise.
29675 * locale/programs/ld-numeric.c (numeric_output): Likewise.
29676 * locale/programs/ld-paper.c (paper_output): Likewise.
29677 * locale/programs/ld-telephone.c (telephone_output): Likewise.
29678 * locale/programs/ld-time.c (time_output): Likewise.
29680 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29682 * benchtests/Makefile: Add memrchr benchmark.
29683 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29684 benchmark as memrchr.
29685 * benchtests/bench-memrchr-ifunc.c: New file.
29686 * benchtests/bench-memrchr.c: New file.
29688 2013-09-06 Will Newton <will.newton@linaro.org>
29690 * benchtests/Makefile (string-bench): Add memcpy.
29692 2013-09-05 Carlos O'Donell <carlos@redhat.com>
29693 Cong Wang <amwang@redhat.com>
29696 * sysdeps/unix/sysv/linux/bits/in.h
29697 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29698 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29699 before __USE_KERNEL_IPV6_DEFS uses.
29700 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29702 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29703 sockaddr_in6, or ipv6_mreq.
29705 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29707 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29708 memory access for final bytes in some large inputs.
29709 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29711 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29713 * string/test-memrchr.c: New file.
29714 * string/test-memrchr-ifunc.c: New file.
29715 * string/Makefile: Add new memrchr testcase.
29717 2013-09-05 Mike Frysinger <vapier@gentoo.org>
29719 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29720 fanotify_init returns EPERM.
29722 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29724 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29726 (top level): Treat second token from macro or constant entries for
29727 allowed headers as allowed.
29728 * include/complex.h: Condition internal declarations on
29730 * include/fenv.h: Condition include of <stdbool.h> and internal
29731 declarations on [!_ISOMAC].
29733 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
29736 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29738 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29740 * configure.in (--enable-versioning): Remove configure option.
29741 (libc_cv_asm_symver_directive): Remove configure test.
29742 (libc_cv_ld_version_script_option): Likewise.
29743 (VERSIONING): Remove variable and AC_SUBST.
29744 (DO_VERSIONING): Remove AC_DEFINE.
29745 * configure: Regenerated.
29746 * config.h.in (DO_VERSIONING): Remove macro.
29747 * Makerules [$(versioning) = yes]: Change conditionals to
29748 [$(build-shared) = yes].
29749 * config.make.in (versioning): Remove variable.
29750 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29751 [$(build-shared) = yes].
29752 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29753 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29754 * elf/Makefile [$(versioning) = yes]: Change conditionals to
29755 [$(build-shared) = yes].
29756 * extra-lib.mk [$(versioning) = yes]: Likewise.
29757 * hurd/Makefile [$(versioning) = yes]: Likewise.
29758 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29760 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29762 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29763 [SHARED && !NO_HIDDEN].
29764 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29766 [SHARED && DO_VERSIONING]: Likewise..
29767 * libio/Makefile [$(versioning) = yes]: Change conditionals to
29768 [$(build-shared) = yes].
29769 * manual/install.texi (--disable-versioning): Remove
29771 * INSTALL: Regenerated.
29772 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29774 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29775 [$(build-shared) = yes].
29776 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29777 * sysdeps/i386/i686/multiarch/strstr-c.c
29778 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29779 [SHARED && !NO_HIDDEN].
29780 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29781 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29782 * sysdeps/powerpc/powerpc32/dl-machine.c
29783 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29784 * sysdeps/powerpc/powerpc32/sysdep.h
29785 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29786 to [SHARED && PIC && !NO_HIDDEN].
29787 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29788 conditional to [SHARED].
29790 2013-09-04 Will Newton <will.newton@linaro.org>
29792 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29793 * benchtests/bench-string.h: Include bench-timing.h instead
29794 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29795 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29796 call to HP_TIMING_DIFF_INIT.
29797 * benchtests/bench-memccpy.c: Use bench-timing.h macros
29798 instead of hp-timing.h macros.
29799 * benchtests/bench-memchr.c: Likewise.
29800 * benchtests/bench-memcmp.c: Likewise.
29801 * benchtests/bench-memcpy.c: Likewise.
29802 * benchtests/bench-memmem.c: Likewise.
29803 * benchtests/bench-memmove.c: Likewise.
29804 * benchtests/bench-memset.c: Likewise.
29805 * benchtests/bench-rawmemchr.c: Likewise.
29806 * benchtests/bench-strcasecmp.c: Likewise.
29807 * benchtests/bench-strcasestr.c: Likewise.
29808 * benchtests/bench-strcat.c: Likewise.
29809 * benchtests/bench-strchr.c: Likewise.
29810 * benchtests/bench-strcmp.c: Likewise.
29811 * benchtests/bench-strcpy.c: Likewise.
29812 * benchtests/bench-strcpy_chk.c: Likewise.
29813 * benchtests/bench-strlen.c: Likewise.
29814 * benchtests/bench-strncasecmp.c: Likewise.
29815 * benchtests/bench-strncat.c: Likewise.
29816 * benchtests/bench-strncmp.c: Likewise.
29817 * benchtests/bench-strncpy.c: Likewise.
29818 * benchtests/bench-strnlen.c: Likewise.
29819 * benchtests/bench-strpbrk.c: Likewise.
29820 * benchtests/bench-strrchr.c: Likewise.
29821 * benchtests/bench-strspn.c: Likewise.
29822 * benchtests/bench-strstr.c: Likewise.
29824 2013-09-04 Will Newton <will.newton@linaro.org>
29826 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29828 2013-09-03 Joseph Myers <joseph@codesourcery.com>
29831 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29832 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29833 * math/libm-test.inc (lgamma_test_data): Add more tests.
29834 * sysdeps/i386/fpu/libm-test-ulps: Update.
29835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29837 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
29839 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29840 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29843 Add strcmp-sse2-unaligned
29844 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29846 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29848 * Versions.def (libc): Add GLIBC_2.19.
29850 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29852 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29853 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29855 2013-09-02 Joseph Myers <joseph@codesourcery.com>
29858 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29859 intermediate calculations in recurrence.
29860 (__ieee754_ynf): Likewise.
29861 * math/libm-test.inc (jn_test_data): Do not allow spurious
29862 underflow exception. Add more tests.
29863 (yn_test_data): Add more tests.
29864 * sysdeps/i386/fpu/libm-test-ulps: Update.
29865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29867 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
29869 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29871 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29873 * csu/init-first.c: Fix then/than typos.
29874 * locale/programs/ld-collate.c: Likewise.
29875 * locale/programs/linereader.h: Likewise.
29876 * manual/charset.texi: Likewise.
29877 * manual/filesys.texi: Likewise.
29878 * manual/stdio.texi: Likewise.
29879 * manual/string.texi: Likewise.
29880 * stdlib/fmtmsg.c: Likewise.
29881 * sysdeps/i386/stpncpy.S: Likewise.
29882 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29883 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29884 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29885 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29887 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29889 * elf/dl-open.c: Fix typos.
29890 * iconvdata/gbbig5.c: Likewise.
29891 * iconvdata/iso-2022-jp.c: Likewise.
29892 * iconv/gconv_int.h: Likewise.
29893 * iconv/loop.c: Likewise.
29894 * nis/rpcsvc/nis.h: Likewise.
29895 * resolv/ns_name.c: Likewise.
29896 * stdio-common/vfscanf.c: Likewise.
29897 * streams/stropts.h: Likewise.
29898 * sunrpc/rpc_thread.c: Likewise.
29899 * sysdeps/i386/strpbrk.S: Likewise.
29900 * sysdeps/ieee754/k_standard.c: Likewise.
29901 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29902 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29903 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29904 * sysdeps/mach/hurd/profil.c: Likewise.
29905 * sysdeps/s390/dl-procinfo.h: Likewise.
29906 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29907 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29908 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29909 * sysdeps/x86_64/dl-trampoline.S: Likewise.
29910 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29912 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29914 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29915 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29917 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29919 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29920 aix specific files.
29921 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29922 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29923 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29924 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29925 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29926 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29927 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29928 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29930 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29931 Roland McGrath <roland@hack.frob.com>
29933 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29934 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29936 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
29938 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29939 __executable_start symbol instead of _start.
29941 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29943 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29944 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29946 * sysdeps/gnu/ldsodefs.h: ... this new file.
29948 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29949 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29950 instead of ELFOSABI_LINUX.
29952 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29953 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29954 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29955 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29957 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29958 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29959 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29961 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29962 (ibm_extended_long_double): Add ieee_nan member.
29963 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29964 (do_test): New function.
29966 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29968 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29969 functions, renamed from truncdfsf_test, trunctfsf_test,
29971 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29973 (do_test): Run all these.
29975 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29977 * argp/argp-help.c: Fix typos.
29978 * argp/argp-parse.c: Likewise.
29979 * debug/backtracesyms.c: Likewise.
29980 * elf/elf.h: Likewise.
29981 * malloc/malloc.c: Likewise.
29982 * nis/nis_print.c: Likewise.
29983 * resolv/res_comp.c: Likewise.
29984 * stdlib/stdlib.h: Likewise.
29985 * sunrpc/clnt_tcp.c: Likewise.
29986 * sunrpc/clnt_udp.c: Likewise.
29987 * sunrpc/clnt_unix.c: Likewise.
29988 * sysdeps/unix/bsd/ptsname.c: Likewise.
29989 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29990 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29997 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29999 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30001 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30004 2013-08-27 Mike Frysinger <vapier@gentoo.org>
30007 * dlfcn/Makefile (tests): Add bug-dl-leaf.
30008 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30009 ($(objpfx)bug-dl-leaf): New rule.
30010 ($(objpfx)bug-dl-leaf.so): Likewise.
30011 ($(objpfx)bug-dl-leaf.out): Likewise.
30012 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30013 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30014 * dlfcn/bug-dl-leaf.c: New test.
30015 * dlfcn/bug-dl-leaf-lib.c: Likewise.
30016 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30017 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30018 (dlclose): Likewise.
30019 (dlmopen): Likewise.
30021 2013-08-27 Roland McGrath <roland@hack.frob.com>
30023 * include/netdb.h [!_ISOMAC]:
30024 Don't include <tls.h>.
30025 (h_errno, __libc_h_errno): Move declaration and macros out of
30028 * include/resolv.h [_RESOLV_H_]:
30029 Don't include <tls.h>.
30030 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30031 * resolv/res_libc.c: Don't include <tls.h>.
30032 (_res): Use __attribute__ ((nocommon)) in place of
30033 __attribute__ ((section (".bss"))).
30035 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30036 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30038 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30040 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30041 only under [SIOCGIFCONF && SIOCGIFNETMASK].
30043 * resolv/res_mkquery.c: Include <sys/time.h>.
30045 * inet/ifreq.c: Moved to ...
30046 * sysdeps/unix/ifreq.c: ... here.
30047 * inet/ifreq.c: New file, true stub version.
30049 * socket/sa_len.c: New file.
30050 * socket/Makefile (aux): Add it.
30051 * sysdeps/unix/sysv/linux/Makefile
30052 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30053 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30054 and #include <socket/sa_len.c>.
30055 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30056 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30058 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30059 * bits/socket.h: ... here.
30061 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30062 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30063 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30065 2013-08-27 Andreas Schwab <schwab@suse.de>
30068 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30069 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30070 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30071 * string/test-strcasecmp.c (test_main): Run tests in several
30073 * string/test-strncasecmp.c (test_main): Likewise.
30075 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30076 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30077 to __strcasecmp_nonascii and __strncasecmp_nonascii.
30078 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30079 (__strncasecmp_ssse3) [PIC]: Likewise.
30081 2013-08-26 Roland McGrath <roland@hack.frob.com>
30083 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30085 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30086 instead of explicitly declaring xdecrypt.
30087 * nis/nss_nis/nis-publickey.c: Likewise.
30089 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30092 * nscd/aicache.c: Include res_hconf.h.
30093 (addhstaiX): Initialize res_hconf.
30095 2013-08-26 Andreas Schwab <schwab@suse.de>
30097 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30098 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30100 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30102 * nscd/aicache.c (addhstaiX): Fix indentation.
30104 2013-08-25 Mike Frysinger <vapier@gentoo.org>
30106 * configure.ac: Quote $build_pt_chown test.
30107 * configure: Regenerated.
30109 2013-08-23 Joseph Myers <joseph@codesourcery.com>
30112 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30113 * math/s_cexpf.c (__cexpf): Likewise.
30114 * math/s_cexpl.c (__cexpl): Likewise.
30115 * math/libm-test.inc (cexp_test_data): Correct expected return
30116 value for NaN + i0. Add another test.
30118 2013-08-22 David S. Miller <davem@davemloft.net>
30120 * po/ca.po: Update Catalan translation from translation project.
30121 * po/uk.po: Add Ukrainian translations from translation project.
30123 2013-08-21 Joseph Myers <joseph@codesourcery.com>
30126 * math/s_fdim.c (__fdim): Check for infinite arguments if result
30127 is infinite, not alongside NaN test.
30128 * math/s_fdimf.c (__fdimf): Likewise.
30129 * math/s_fdiml.c (__fdiml): Likewise.
30130 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
30131 errno is unchanged.
30133 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
30135 * argp/argp-help.c: Fix typos.
30136 * crypt/speeds.c: Likewise.
30137 * csu/check_fds.c: Likewise.
30138 * elf/dl-load.c: Likewise.
30139 * elf/dl-open.c: Likewise.
30140 * elf/reldep3.c: Likewise.
30141 * elf/reldep.c: Likewise.
30142 * elf/sprof.c: Likewise.
30143 * iconv/iconv_charmap.c: Likewise.
30144 * iconv/skeleton.c: Likewise.
30145 * iconv/strtab.c: Likewise.
30146 * io/lockf64.c: Likewise.
30147 * libio/libioP.h: Likewise.
30148 * resolv/gai_notify.c: Likewise.
30149 * resolv/ns_name.c: Likewise.
30150 * resolv/ns_samedomain.c: Likewise.
30151 * resolv/res_send.c: Likewise.
30152 * stdlib/random.c: Likewise.
30153 * sunrpc/rpc/xdr.h: Likewise.
30154 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30155 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30156 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30157 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30158 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30159 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30161 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30162 * sysdeps/mach/hurd/check_fds.c: Likewise.
30163 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30164 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30165 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30166 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30167 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30168 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30169 * sysdeps/pthread/aio_notify.c: Likewise.
30170 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30171 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30172 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30173 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30174 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30176 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30178 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30179 version if bit_Slow_SSE4_2 is set.
30180 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30181 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30183 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30186 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30187 trampoline stack frame information.
30188 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30189 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30190 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30191 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30192 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30193 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30194 (_libc_vdso_platform_setup): Initialize the signal trampolines.
30195 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30197 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30198 interrupting a syscall and set with option SA_SIGINFO.
30200 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30203 * math/s_cproj.c (__cproj): Only return an infinity if one part of
30204 argument is infinite.
30205 * math/s_cprojf.c (__cprojf): Likewise.
30206 * math/s_cprojl.c (__cprojl): Likewise.
30207 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30208 * math/libm-test.inc (cproj_test_data): Add more tests.
30210 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30212 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30213 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30214 size. Use __ffs to determine corresponding shift.
30216 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30217 Roland McGrath <roland@hack.frob.com>
30219 * Makefile (INSTALL): Remove trailing blank lines from output of
30222 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30224 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30225 Align 32 bit compat elf_greg to 8 bytes.
30227 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
30229 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30231 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30233 * string/strcoll_l.c (coll_seq): New structure.
30234 (get_next_seq_cached): New function.
30235 (get_next_seq): New function.
30236 (do_compare): New function.
30237 (STRCOLL): Use GNU style definition. Simplify implementation
30238 by using get_next_seq, get_next_seq_cached and do_compare.
30240 2013-08-16 Florian Weimer <fweimer@redhat.com>
30244 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30246 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30248 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30249 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30250 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
30252 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30253 GETDENTS_64BIT_ALIGNED.
30254 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30255 * manual/filesys.texi (Reading/Closing Directory): Document
30256 ENAMETOOLONG return value of readdir_r. Recommend readdir more
30258 * manual/conf.texi (Limits for Files): Add portability note to
30259 NAME_MAX, PATH_MAX.
30260 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30262 2013-08-13 Andreas Schwab <schwab@suse.de>
30265 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30267 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30268 LDBL_MAX_EXP >= 16384]: Add tests for it.
30270 2013-08-12 David S. Miller <davem@davemloft.net>
30272 * version.h (RELEASE): Set to "development".
30273 (VERSION): Set to "2.18.90".
30274 * NEWS: Add 2.19 section.
30276 2013-08-03 David S. Miller <davem@davemloft.net>
30278 * po/ko.po: Update Korean translation from translation project.
30280 2013-08-01 David S. Miller <davem@davemloft.net>
30282 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
30283 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30286 2013-07-30 David S. Miller <davem@davemloft.net>
30288 * po/fr.po: Update French translation from translation project.
30290 2013-07-28 David S. Miller <davem@davemloft.net>
30292 * po/cs.po: Update Czech translation from translation project.
30294 * po/sv.po: Update Swedish translation from translation project.
30296 2013-07-27 David S. Miller <davem@davemloft.net>
30298 * po/eo.po: Update Esperanto translation from translation project.
30300 * po/vi.po: Update Vietnamese translation from translation project.
30302 * po/de.po: Update German translation from translation project.
30304 2013-07-26 David S. Miller <davem@davemloft.net>
30306 * po/bg.po: Update Bulgarian translation from translation project.
30308 * po/nl.po: Update Dutch translation from translation project.
30309 * po/pl.po: Update Polish translation from translation project.
30310 * po/ru.po: Update Russian translation from translation project.
30312 2013-07-24 David S. Miller <davem@davemloft.net>
30314 * po/libc.pot: Update.
30316 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30318 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30319 variable page size.
30320 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30321 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30322 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30324 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30326 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30328 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30329 Andreas Schwab <schwab@suse.de>
30330 Roland McGrath <roland@hack.frob.com>
30331 Joseph Myers <joseph@codesourcery.com>
30332 Carlos O'Donell <carlos@redhat.com>
30335 * config.h.in: Define HAVE_PT_CHOWN.
30336 * config.make.in (build-pt-chown): New variable.
30337 * configure.in (--enable-pt_chown): New configure option.
30338 * configure: Regenerate.
30339 * login/Makefile: Include Makeconfig. Build pt_chown only if
30340 build-pt-chown is enabled.
30341 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30342 pt_chown to fix pty ownership.
30343 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30345 * manual/install.texi (Configuring and compiling): Mention
30346 --enable-pt_chown. Add @findex for grantpt.
30347 * INSTALL: Regenerate.
30349 2013-07-20 David S. Miller <davem@davemloft.net>
30351 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30352 difference between 32-bit and 64-bit.
30354 2013-07-15 Carlos O'Donell <carlos@redhat.com>
30357 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30358 Avoid system header dependency with -ffreestanding.
30359 ($(objpfx)bits/syscall%d): Likewise.
30361 2013-07-13 David S. Miller <davem@davemloft.net>
30363 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30364 underflows from atanl/atan2l due to bug 15319.
30365 (casinh_test_data): Likewise.
30367 2013-07-07 David S. Miller <davem@davemloft.net>
30369 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30371 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
30373 * sysdeps/i386/fpu/libm-test-ulps: Update.
30374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30376 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30378 * configure.in (--enable-lock-elision): Fix message text.
30379 * INSTALL: Regenerate.
30380 * configure: Regenerate.
30382 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30386 2013-07-03 Andreas Jaeger <aj@suse.de>
30388 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30390 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30391 (ptrace_peeksiginfo_args): Add.
30392 (__ptrace_peeksiginfo_flags): Add.
30393 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30394 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30395 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30397 2013-07-03 Allan McRae <allan@archlinux.org>
30399 * sysdeps/i386/fpu/libm-test-ulps: Update.
30401 2013-07-02 David S. Miller <davem@davemloft.net>
30403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30405 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
30407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30409 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30411 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30414 2013-07-02 Andi Kleen <ak@linux.intel.com>
30416 * config.h.in (ENABLE_LOCK_ELISION): Add.
30417 * configure.in (--enable-lock-elision): Add option.
30418 * manual/install.texi: Document --enable lock elision.
30419 * configure: Regenerate
30420 * INSTALL: Regenerate.
30422 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
30424 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30425 SSE4.2 strcasecmp for libc.a.
30426 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30428 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30431 * soft-fp/op-common.h (_FP_FMA): New macro.
30432 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30433 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
30434 (_FP_MUL_MEAT_1_imm): ... here.
30435 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
30436 (_FP_MUL_MEAT_1_wide): ... here.
30437 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
30438 (_FP_MUL_MEAT_1_hard): ... here.
30439 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30440 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
30441 (_FP_MUL_MEAT_2_wide): ... here.
30442 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
30443 (_FP_MUL_MEAT_2_wide_3mul): ... here.
30444 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
30445 (_FP_MUL_MEAT_2_gmp): ... here.
30446 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30447 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
30448 (_FP_MUL_MEAT_4_wide): ... here.
30449 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
30450 (_FP_MUL_MEAT_4_gmp): ... here.
30451 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30452 (_FP_WFRACBITS_DW_S): Likewise.
30453 (_FP_WFRACXBITS_DW_S): Likewise.
30454 (_FP_HIGHBIT_DW_S): Likewise.
30455 (FP_FMA_S): Likewise.
30456 (_FP_FRAC_HIGH_DW_S): Likewise.
30457 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30458 (_FP_WFRACBITS_DW_D): Likewise.
30459 (_FP_WFRACXBITS_DW_D): Likewise.
30460 (_FP_HIGHBIT_DW_D): Likewise.
30461 (FP_FMA_D): Likewise.
30462 (_FP_FRAC_HIGH_DW_D): Likewise.
30463 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30464 (_FP_WFRACBITS_DW_E): Likewise.
30465 (_FP_WFRACXBITS_DW_E): Likewise.
30466 (_FP_HIGHBIT_DW_E): Likewise.
30467 (FP_FMA_E): Likewise.
30468 (_FP_FRAC_HIGH_DW_E): Likewise.
30469 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30470 (_FP_WFRACBITS_DW_Q): Likewise.
30471 (_FP_WFRACXBITS_DW_Q): Likewise.
30472 (_FP_HIGHBIT_DW_Q): Likewise.
30473 (FP_FMA_Q): Likewise.
30474 (_FP_FRAC_HIGH_DW_Q): Likewise.
30475 * soft-fp/fmasf4.c: New file.
30476 * soft-fp/fmadf4.c: Likewise.
30477 * soft-fp/fmatf4.c: Likewise.
30479 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30482 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30484 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30486 (index_Slow_SSE4_2): Likewise.
30487 (index_Prefer_PMINUB_for_stringop): Likewise.
30488 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30489 bit_Slow_SSE4_2 is set.
30490 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30491 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30493 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30495 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30496 rtld_global._dl_hwcap2.
30497 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30499 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30500 POWER8 feature descriptions defined in _dl_hwcap2.
30501 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30502 string handling for POWER8 feature bits.
30503 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30504 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30505 _dl_powerpc_cap_flags.
30506 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30507 * sysdeps/powerpc/rtld-global-offsets.sym
30508 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30509 _dl_hwcap2 in the rtld_global_ro structure.
30511 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30513 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30514 hardware capabilities in support of AT_HWCAP2.
30515 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30516 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30518 (_dl_show_auxv): Add support for calling _dl_procinfo to display
30519 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
30520 explicitly the unknown a_type display mechanism is used.
30521 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30522 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30524 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30525 to macro prototype for AT_HWCAP2 support.
30526 * sysdeps/i386/dl-procinfo.h: Likewise.
30527 * sysdeps/s390/dl-procinfo.h: Likewise.
30528 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30529 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
30530 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
30531 return -1 for unknown a_type display fallback.
30532 * sysdeps/sparc/dl-procinfo.h: Likewise.
30533 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30534 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30536 2013-06-28 Joseph Myers <joseph@codesourcery.com>
30538 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30539 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30541 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
30544 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30545 mprotect making __stack_prot writable.
30547 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
30548 Joseph Myers <joseph@codesourcery.com>
30550 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30551 as being properly aligned.
30553 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
30555 * dlfcn/modstatic5.c: New file.
30556 * dlfcn/tststatic5.c: New file.
30557 * dlfcn/Makefile (tests): Add tststatic5.
30558 (tests-static): Likewise.
30559 (modules-names): Add modstatic5.
30560 (tststatic5-ENV): New variable.
30561 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30564 * elf/dl-support.c (_dl_main_map): New variable.
30565 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30566 (_dl_nns, _dl_load_adds): Set to 1.
30567 (_dl_initial_searchlist): Refer to _dl_main_map.
30568 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30569 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30570 call to _dl_get_origin.
30571 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30573 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30574 * dlfcn/modstatic3.c: New file.
30575 * dlfcn/tststatic3.c: New file.
30576 * dlfcn/tststatic4.c: New file.
30577 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30578 (tests-static): Likewise.
30579 (modules-names): Add modstatic3.
30580 (tststatic3-ENV, tststatic4-ENV): New variables.
30581 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30582 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30584 2013-06-26 Joseph Myers <joseph@codesourcery.com>
30586 * configure.in (CC): Require GCC version 4.4 or later.
30587 * configure: Regenerated.
30588 * manual/install.texi (Tools for Compilation): Update GCC version
30590 * INSTALL: Regenerated.
30592 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30595 * string/test-memcmp.c (check2): New.
30596 (main): Call check2.
30598 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30600 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
30603 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30605 (dl_open_worker) [!SHARED]: ... here.
30607 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30609 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30611 2013-06-25 Richard Henderson <rth@redhat.com>
30613 * locale/programs/locarchive.c: Include <libc-internal.h>
30615 2013-06-25 Joseph Myers <joseph@codesourcery.com>
30617 * manual/texinfo.tex: Update to version 2013-06-21.17, with
30618 trailing whitespace removed.
30620 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30623 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30624 * locale/programs/locarchive.c: Include libc-mmap.h.
30625 (prepare_address_space): Take two new outputs (the mmap base and len).
30626 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
30628 (create_archive): Declare new mmap base and len values for
30629 prepare_address_space, and store the result in ah.
30630 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30631 (enlarge_archive): If ah->mmap_base is not NULL, use that and
30632 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30633 Declare new mmap base and len values for
30634 prepare_address_space, and store the result in new_ah.
30635 (open_archive): Declare new mmap base and len values for
30636 prepare_address_space, and store the result in ah.
30637 (close_archive): If ah->mmap_base is not NULL, use that and
30638 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30639 * sysdeps/generic/libc-mmap.h: New file.
30641 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30643 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30644 (ALIGN_UP): Likewise.
30645 (PTR_ALIGN_DOWN): Likewise.
30646 (PTR_ALIGN_UP): Likewise.
30648 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30650 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30651 entry mapped to PPC_PLATFORM_POWER8.
30652 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30654 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30655 (_dl_string_platform): Add case for exporting platform position for
30657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30658 search path to sysdeps/powerpc/powerpc32/power8 directory.
30659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30660 search path to sysdeps/powerpc/powerpc64/power8 directory.
30661 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30662 power7 directories.
30663 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30664 power7 directories.
30666 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30668 * INSTALL: Regenerate.
30670 * nscd/connections.c (nscd_init): Fix comment.
30672 2013-06-22 Joseph Myers <joseph@codesourcery.com>
30674 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30677 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30678 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30680 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30682 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30684 (DL_DST_REQ_STATIC): Remove macro.
30686 2013-06-21 Joseph Myers <joseph@codesourcery.com>
30689 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30690 with a shift of 0 bits.
30692 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30694 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30697 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30700 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30702 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30704 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30705 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30706 accepts -fno-tree-loop-distribute-patterns.
30707 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30708 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30710 * string/memset.c (memset): Likewise.
30711 * string/test-memmove.c (simple_memmove): Disable loop transformation
30713 * string/test-memset.c (simple_memset): Likewise.
30714 * benchtests/bench-memmove.c (simple_memmove): Likewise.
30715 * benchtests/bench-memset.c (simple_memset): Likewise.
30716 * configure: Regenerated.
30718 2013-06-20 Joseph Myers <joseph@codesourcery.com>
30720 * math/test-misc.c (main): Ignore fesetround failure when failures
30721 of subsequent rounding tests would be ignored.
30724 * math/fedisblxcpt.c (fedisableexcept): Return 0.
30725 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30726 * math/fegetenv.c (__fegetenv): Return 0.
30727 * math/fegetexcept.c (fegetexcept): Return 0.
30728 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30730 * math/feholdexcpt.c (feholdexcept): Return 0.
30731 * math/fesetenv.c (__fesetenv): Return 0.
30732 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30733 argument FE_TONEAREST.
30734 * math/feupdateenv.c (__feupdateenv): Return 0.
30735 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30737 2013-06-18 Roland McGrath <roland@hack.frob.com>
30739 * elf/rtld-Rules (rtld-compile-command.S): New variable.
30740 (rtld-compile-command.s, rtld-compile-command.c): New variables.
30741 ($(objpfx)rtld-%.os rules): Use them.
30743 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30745 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30748 2013-06-17 Roland McGrath <roland@hack.frob.com>
30750 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30751 length of target pattern, then descending length of dependency pattern.
30752 * configure.in (AWK): Require gawk 3.1.2 or newer.
30753 * manual/install.texi (Tools for Compilation): Say that we do.
30754 * configure: Regenerated.
30756 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30757 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30758 * scripts/sysd-rules.awk: ... this new script.
30759 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30760 than a glob-style pattern.
30762 2013-06-17 Joseph Myers <joseph@codesourcery.com>
30764 * math/test-misc.c (main): Do not treat incorrectly rounded
30765 conversions as failure unless ROUNDING_TESTS passes.
30767 2013-06-15 Joseph Myers <joseph@codesourcery.com>
30770 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30771 restore exception state around main square root computation, then
30772 check for inexactness explicitly.
30774 * math/libm-test.inc (fma_test_data): Add another test.
30776 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30778 * manual/threads.texi (Non-POSIX Extensions): New document
30779 node. Document pthread_getattr_default_np and
30780 pthread_setattr_default_np.
30782 * Versions.def (libpthread): Add GLIBC_2.18.
30783 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30792 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30803 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30806 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30808 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30809 H.J. Lu <hjl.tools@gmail.com>
30812 * sysdeps/x86_64/rtld-memset.c: Remove file.
30813 * sysdeps/x86_64/rtld-memset.S: New file.
30815 2013-06-14 Joseph Myers <joseph@codesourcery.com>
30817 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30818 (test_in_one_mode): Take arguments for whether the rounding mode
30819 is supported for each floating-point type.
30820 (do_test): Pass new arguments to test_in_one_mode using
30823 2013-06-13 Roland McGrath <roland@hack.frob.com>
30825 * posix/tst-waitid.c (do_test): Distinguish different instances of
30826 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
30827 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30828 before entering the kernel for waitpid.
30830 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30832 * NEWS: Fix note on clock function precision. Text by Roland
30835 2013-06-13 Roland McGrath <roland@hack.frob.com>
30837 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30838 it into place only when and if the sanity check passes.
30840 2013-06-13 Joseph Myers <joseph@codesourcery.com>
30842 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30843 output for whether conversion result is exact. Take argument
30844 indicating whether type is IBM long double.
30845 (round_for_all): Change need_exact field to ibm_ld.
30846 * stdlib/tst-strtod-round.c (struct exactness): New type.
30847 (struct test): Change bool ld_ok field to struct exactness exact.
30848 (TEST): Update all definitions for change to field.
30849 (tests): Regenerate array contents.
30850 (test_in_one_mode): Take pointer to new field instead of old ld_ok
30851 field value. Check for IBM long double here.
30852 (do_test): Update calls to test_in_one_mode.
30854 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30857 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30858 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30860 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30863 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30864 generated by the compiler on loop optimizations.
30865 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30866 general definitions.
30868 2013-06-12 Joseph Myers <joseph@codesourcery.com>
30870 * math/bug-nextafter.c: Include <math-tests.h>.
30871 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30873 * math/bug-nexttoward.c: Include <math-tests.h>.
30874 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30876 * math/test-misc.c: Include <math-tests.h>.
30877 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30880 2013-06-12 Andreas Jaeger <aj@suse.de>
30882 * po/ia.po: Update Interlingua translation from translation
30885 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30887 * include/fenv.h: Include stdbool.h.
30888 (struct rm_ctx): New structure.
30889 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30891 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30892 (SET_RESTORE_ROUNDF): Likewise.
30893 (SET_RESTORE_ROUNDL): Likewise.
30894 (SET_RESTORE_ROUND_NOEX): Likewise.
30895 (SET_RESTORE_ROUND_NOEXF): Likewise.
30896 (SET_RESTORE_ROUND_NOEXL): Likewise.
30897 (SET_RESTORE_ROUND_53BIT): Likewise.
30898 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30899 (libc_feresetround_noexf_ctx): Likewise.
30900 (libc_feresetround_noexl_ctx): Likewise.
30901 (libc_feholdsetround_53bit_ctx): Likewise.
30902 (libc_feresetround_53bit_ctx): Likewise.
30903 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30904 (libc_feholdexcept_setround_sse_ctx): New function.
30905 (libc_fesetenv_sse_ctx): Likewise.
30906 (libc_feupdateenv_sse_ctx): Likewise.
30907 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30908 (libc_feholdexcept_setround_387_ctx): Likewise.
30909 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30910 (libc_feholdsetround_387_prec_ctx): Likewise.
30911 (libc_feholdsetround_387_ctx): Likewise.
30912 (libc_feholdsetround_387_53bit_ctx): Likewise.
30913 (libc_feholdsetround_sse_ctx): Likewise.
30914 (libc_feresetround_sse_ctx): Likewise.
30915 (libc_feresetround_387_ctx): Likewise.
30916 (libc_feupdateenv_387_ctx): Likewise.
30917 (libc_feholdexcept_setroundf_ctx): Define macro.
30918 (libc_fesetenvf_ctx): Likewise.
30919 (libc_feupdateenvf_ctx): Likewise.
30920 (libc_feholdsetroundf_ctx): Likewise.
30921 (libc_feresetroundf_ctx): Likewise.
30922 (libc_feholdexcept_setround_ctx): Likewise.
30923 (libc_fesetenv_ctx): Likewise.
30924 (libc_feupdateenv_ctx): Likewise.
30925 (libc_feholdsetround_ctx): Likewise.
30926 (libc_feresetround_ctx): Likewise.
30927 (libc_feholdexcept_setroundl_ctx): Likewise.
30928 (libc_feupdateenvl_ctx): Likewise.
30929 (libc_feholdsetroundl_ctx): Likewise.
30930 (libc_feresetroundl_ctx): Likewise.
30931 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30932 (libc_feresetround_53bit_ctx): Likewise.
30934 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30936 * locale/iso-639.def: Convert to UTF-8.
30938 2013-06-11 Joseph Myers <joseph@codesourcery.com>
30940 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30941 (EXCEPTION_TESTS_double): Likewise.
30942 (EXCEPTION_TESTS_long_double): Likewise.
30943 (EXCEPTION_TESTS): Likewise.
30944 * math/libm-test.inc (test_exceptions): Only test exceptions if
30945 EXCEPTION_TESTS (FLOAT).
30947 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30949 * benchtests/Makefile (string-bench): Add strcpy_chk and
30951 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30952 * benchtests/bench-stpcpy_chk.c: New file.
30953 * benchtests/bench-strcpy_chk-ifunc.c: New file.
30954 * benchtests/bench-strcpy_chk.c: New file.
30955 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30957 (do_test): Likewise.
30959 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30961 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30962 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30963 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30964 with tabs where appropriate.
30965 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30967 [PPC_PLATFORM_PPC440]: Likewise.
30968 [PPC_PLATFORM_PPC464]: Likewise.
30969 [PPC_PLATFORM_PPC476]: Likewise.
30970 (_dl_string_platform): Add support for detecting ppc405, ppc440,
30971 ppc464, and ppc476 platform strings merging from ports/
30974 2013-06-11 Andreas Schwab <schwab@suse.de>
30977 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30978 (from_ucs4_idx): Regenerate.
30979 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30980 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30981 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30982 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30983 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30984 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30985 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30986 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30987 from FROM_LOOP and TO_LOOP specific macros.
30988 (BODY): Handle combining characters.
30989 * iconvdata/BIG5HKSCS.irreversible: Update.
30990 * iconvdata/BIG5HKSCS.precomposed: New file.
30991 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30993 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30995 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30997 * include/sys/time.h: Fix indentation and add copyright header.
30999 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31000 (do_test): Likewise.
31001 * string/test-memchr.c (do_one_test): Likewise.
31002 (do_test): Likewise.
31003 * string/test-memcmp.c (do_one_test): Likewise.
31004 (do_test): Likewise.
31005 * string/test-memcpy.c (do_one_test): Likewise.
31006 (do_test): Likewise.
31007 * string/test-memmem.c (do_one_test): Likewise.
31008 (do_test): Likewise.
31009 (do_random_tests): Likewise.
31010 * string/test-memmove.c (do_one_test): Likewise.
31011 (do_test): Likewise.
31012 * string/test-memset.c (do_one_test): Likewise.
31013 (do_test): Likewise.
31014 * string/test-rawmemchr.c (do_one_test): Likewise.
31015 (do_test): Likewise.
31016 * string/test-strcasecmp.c (do_one_test): Likewise.
31017 (do_test): Likewise.
31018 * string/test-strcasestr.c (do_one_test): Likewise.
31019 (do_test): Likewise.
31020 * string/test-strcat.c (do_one_test): Likewise.
31021 (do_test): Likewise.
31022 * string/test-strchr.c (do_one_test): Likewise.
31023 (do_test): Likewise.
31024 * string/test-strcmp.c (do_one_test): Likewise.
31025 (do_test): Likewise.
31026 * string/test-strcpy.c (do_one_test): Likewise.
31027 (do_test): Likewise.
31028 * string/test-string.h: Likewise.
31029 (test_init): Likewise.
31030 * string/test-strlen.c (do_one_test): Likewise.
31031 (do_test): Likewise.
31032 * string/test-strncasecmp.c (do_one_test): Likewise.
31033 (do_test): Likewise.
31034 * string/test-strncat.c (do_one_test): Likewise.
31035 (do_test): Likewise.
31036 * string/test-strncmp.c (do_one_test): Likewise.
31037 (do_test_limit): Likewise.
31038 (do_test): Likewise.
31039 * string/test-strncpy.c (do_one_test): Likewise.
31040 (do_test): Likewise.
31041 * string/test-strnlen.c (do_one_test): Likewise.
31042 (do_test): Likewise.
31043 * string/test-strpbrk.c (do_one_test): Likewise.
31044 (do_test): Likewise.
31045 * string/test-strrchr.c (do_one_test): Likewise.
31046 (do_test): Likewise.
31047 * string/test-strspn.c (do_one_test): Likewise.
31048 (do_test): Likewise.
31049 * string/test-strstr.c (do_one_test): Likewise.
31050 (do_test): Likewise.
31052 * benchtests/Makefile (string-bench): Add string benchmarks.
31053 * benchtests/bench-bcopy-ifunc.c: New file.
31054 * benchtests/bench-bcopy.c: New file.
31055 * benchtests/bench-bzero-ifunc.c: New file.
31056 * benchtests/bench-bzero.c: New file.
31057 * benchtests/bench-memccpy-ifunc.c: New file.
31058 * benchtests/bench-memccpy.c: New file.
31059 * benchtests/bench-memchr-ifunc.c: New file.
31060 * benchtests/bench-memchr.c: New file.
31061 * benchtests/bench-memcmp-ifunc.c: New file.
31062 * benchtests/bench-memcmp.c: New file.
31063 * benchtests/bench-memmem-ifunc.c: New file.
31064 * benchtests/bench-memmem.c: New file.
31065 * benchtests/bench-memmove-ifunc.c: New file.
31066 * benchtests/bench-memmove.c: New file.
31067 * benchtests/bench-mempcpy-ifunc.c: New file.
31068 * benchtests/bench-mempcpy.c: New file.
31069 * benchtests/bench-memset-ifunc.c: New file.
31070 * benchtests/bench-memset.c: New file.
31071 * benchtests/bench-rawmemchr-ifunc.c: New file.
31072 * benchtests/bench-rawmemchr.c: New file.
31073 * benchtests/bench-stpcpy-ifunc.c: New file.
31074 * benchtests/bench-stpcpy.c: New file.
31075 * benchtests/bench-stpncpy-ifunc.c: New file.
31076 * benchtests/bench-stpncpy.c: New file.
31077 * benchtests/bench-strcasecmp-ifunc.c: New file.
31078 * benchtests/bench-strcasecmp.c: New file.
31079 * benchtests/bench-strcasestr-ifunc.c: New file.
31080 * benchtests/bench-strcasestr.c: New file.
31081 * benchtests/bench-strcat-ifunc.c: New file.
31082 * benchtests/bench-strcat.c: New file.
31083 * benchtests/bench-strchr-ifunc.c: New file.
31084 * benchtests/bench-strchr.c: New file.
31085 * benchtests/bench-strchrnul-ifunc.c: New file.
31086 * benchtests/bench-strchrnul.c: New file.
31087 * benchtests/bench-strcmp-ifunc.c: New file.
31088 * benchtests/bench-strcmp.c: New file.
31089 * benchtests/bench-strcpy-ifunc.c: New file.
31090 * benchtests/bench-strcpy.c: New file.
31091 * benchtests/bench-strcspn-ifunc.c: New file.
31092 * benchtests/bench-strcspn.c: New file.
31093 * benchtests/bench-strlen-ifunc.c: New file.
31094 * benchtests/bench-strlen.c: New file.
31095 * benchtests/bench-strncasecmp-ifunc.c: New file.
31096 * benchtests/bench-strncasecmp.c: New file.
31097 * benchtests/bench-strncat-ifunc.c: New file.
31098 * benchtests/bench-strncat.c: New file.
31099 * benchtests/bench-strncmp-ifunc.c: New file.
31100 * benchtests/bench-strncmp.c: New file.
31101 * benchtests/bench-strncpy-ifunc.c: New file.
31102 * benchtests/bench-strncpy.c: New file.
31103 * benchtests/bench-strnlen-ifunc.c: New file.
31104 * benchtests/bench-strnlen.c: New file.
31105 * benchtests/bench-strpbrk-ifunc.c: New file.
31106 * benchtests/bench-strpbrk.c: New file.
31107 * benchtests/bench-strrchr-ifunc.c: New file.
31108 * benchtests/bench-strrchr.c: New file.
31109 * benchtests/bench-strspn-ifunc.c: New file.
31110 * benchtests/bench-strspn.c: New file.
31111 * benchtests/bench-strstr-ifunc.c: New file.
31112 * benchtests/bench-strstr.c: New file.
31114 * benchtests/Makefile: Disable parallel execution of targets.
31115 (string-bench): Add memcpy.
31116 (benchset): New variable to store a list of benchmark sets.
31117 (bench-func): Renamed from bench.
31118 (bench-set): New target.
31119 (bench): Depend on bench-func and bench-set.
31120 * benchtests/README: Add section on benchmark sets.
31121 * benchtests/bench-memcpy-ifunc.c: New file.
31122 * benchtests/bench-memcpy.c: New file.
31123 * benchtests/bench-string.h: New file.
31125 2013-06-11 Andreas Schwab <schwab@suse.de>
31128 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31129 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31130 values in the triple.
31131 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31132 terminator in the group key.
31134 2013-06-11 Andreas Jaeger <aj@suse.de>
31136 * po/zh_TW.po: Update Chinese (traditional) translation from
31137 translation project.
31139 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31141 * include/time.h (__clock_gettime): Add libc_hidden_proto.
31142 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31143 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
31144 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31145 (clock_getcpuclockid): Likewise.
31146 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31147 Add weak_alias and libc_hidden_def.
31148 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31149 * rt/clock_gettime.c (clock_gettime): Rename to
31150 __clock_gettime. Add weak_alias and libc_hidden_def.
31151 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31152 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31153 __clock_nanosleep. Add weak_alias and libc_hidden_def.
31154 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31155 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31157 * rt/clock_settime.c (clock_settime): Rename to
31158 __clock_settime. Add weak_alias and libc_hidden_def.
31159 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31161 2013-06-10 Joseph Myers <joseph@codesourcery.com>
31163 * mach/err_boot.sub: Remove trailing whitespace.
31164 * mach/err_ipc.sub: Likewise.
31165 * mach/err_mach.sub: Likewise.
31167 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31168 (ROUNDING_TESTS_double): Likewise.
31169 (ROUNDING_TESTS_long_double): Likewise.
31170 (ROUNDING_TESTS): Likewise.
31171 * math/libm-test.inc: Include <math-tests.h>.
31172 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31173 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31174 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31175 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31177 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31179 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31182 2013-06-08 Joseph Myers <joseph@codesourcery.com>
31184 * sysdeps/gnu/errlist.awk: Do not generate space at end of
31185 otherwise empty TRANS lines.
31186 * sysdeps/gnu/errlist.c: Regenerated.
31188 * catgets/gencat.c (error_print): Use (void) in function
31190 * crypt/crypt_util.c (__init_des): Likewise.
31191 * crypt/speeds.c (Stop): Likewise.
31193 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31194 * inet/ruserpass.c (token): Likewise.
31195 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31196 * intl/localealias.c (extend_alias_table): Likewise.
31197 * intl/plural-exp.c (init_germanic_plural): Likewise.
31198 * libio/fcloseall.c (__fcloseall): Likewise.
31199 * libio/genops.c (_IO_flush_all): Likewise.
31200 (_IO_flush_all_linebuffered): Likewise.
31201 (_IO_cleanup): Likewise.
31202 (_IO_iter_begin): Likewise.
31203 (_IO_iter_end): Likewise.
31204 (_IO_list_lock): Likewise.
31205 (_IO_list_unlock): Likewise.
31206 (_IO_list_resetlock): Likewise.
31207 * libio/getchar.c (getchar): Likewise.
31208 * libio/getchar_u.c (getchar_unlocked): Likewise.
31209 * libio/getwchar.c (getwchar): Likewise.
31210 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31211 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31212 * login/getpt.c (__getpt): Likewise.
31213 * login/tst-utmp.c (main): Likewise.
31214 * malloc/hooks.c (__malloc_check_init): Likewise.
31215 * malloc/malloc.c (__malloc_stats): Likewise.
31216 * malloc/mtrace.c (tr_break): Likewise.
31217 (mtrace): Likewise.
31218 (muntrace): Likewise.
31219 * misc/fstab.c (endfsent): Likewise.
31220 * misc/getclktck.c (__getclktck): Likewise.
31221 * misc/getdtsz.c (__getdtablesize): Likewise.
31222 * misc/gethostid.c (gethostid): Likewise.
31223 * misc/getpagesize.c (__getpagesize): Likewise.
31224 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31225 (__get_nprocs): Likewise.
31226 (__get_phys_pages): Likewise.
31227 (__get_avphys_pages): Likewise.
31228 * misc/getttyent.c (getttyent): Likewise.
31229 (setttyent): Likewise.
31230 (endttyent): Likewise.
31231 * misc/getusershell.c (getusershell): Likewise.
31232 (endusershell): Likewise.
31233 (setusershell): Likewise.
31234 (initshells): Likewise.
31235 * misc/hsearch.c (__hdestroy): Likewise.
31236 * misc/sync.c (sync): Likewise.
31237 * misc/syslog.c (closelog_internal): Likewise.
31238 (closelog): Likewise.
31239 * misc/ttyslot.c (ttyslot): Likewise.
31240 * misc/vhangup.c (vhangup): Likewise.
31241 * posix/fork.c (__fork): Likewise.
31242 * posix/getegid.c (__getegid): Likewise.
31243 * posix/geteuid.c (__geteuid): Likewise.
31244 * posix/getgid.c (__getgid): Likewise.
31245 * posix/getpid.c (__getpid): Likewise.
31246 * posix/getppid.c (__getppid): Likewise.
31247 * posix/getuid.c (__getuid): Likewise.
31248 * posix/pause.c (pause): Likewise.
31249 * posix/setpgrp.c (setpgrp): Likewise.
31250 * posix/setsid.c (__setsid): Likewise.
31251 * posix/test-vfork.c (noop): Likewise.
31252 * resolv/gethnamaddr.c (_endhtent): Likewise.
31253 (_gethtent): Likewise.
31254 (ht_endhostent): Likewise.
31255 (gethostent): Likewise.
31256 (dns_service): Likewise.
31257 * stdlib/drand48.c (drand48): Likewise.
31258 * stdlib/lrand48.c (lrand48): Likewise.
31259 * stdlib/mrand48.c (mrand48): Likewise.
31260 * stdlib/rand.c (rand): Likewise.
31261 * stdlib/random.c (__random): Likewise.
31262 * stdlib/setenv.c (clearenv): Likewise.
31263 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31264 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31265 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31266 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31267 (__get_nprocs): Likewise.
31268 (__get_phys_pages): Likewise.
31269 (__get_avphys_pages): Likewise.
31270 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31271 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31272 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31273 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31274 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31275 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31276 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31277 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31278 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31279 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31280 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31281 * sysdeps/mach/hurd/sync.c (sync): Likewise.
31282 * sysdeps/posix/clock.c (clock): Likewise.
31283 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31284 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31285 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31286 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31287 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31288 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31289 (__get_nprocs_conf): Likewise.
31290 (__get_phys_pages): Likewise.
31291 (__get_avphys_pages): Likewise.
31292 * time/clock.c (clock): Likewise.
31293 * time/tzset.c (__tzname_max): Likewise.
31295 2013-06-07 Joseph Myers <joseph@codesourcery.com>
31297 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31298 (__bswap_32): Do not use "register".
31299 * crypt/crypt.c (_ufc_doit_r): Likewise.
31300 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31301 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31302 * gmon/gmon.c (__monstartup): Likewise.
31303 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31304 * hurd/hurdmalloc.c (more_memory): Likewise.
31305 (malloc): Likewise.
31307 (realloc): Likewise.
31308 (malloc_fork_prepare): Likewise.
31309 (malloc_fork_parent): Likewise.
31310 (malloc_fork_child): Likewise.
31311 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31312 (_svcauth_des): Likewise.
31313 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31314 * inet/inet_net.c (inet_network): Likewise.
31315 * inet/inet_netof.c (inet_netof): Likewise.
31316 * inet/rcmd.c (__validuser2_sa): Likewise.
31317 * io/fts.c (fts_open): Likewise.
31318 (fts_load): Likewise.
31319 (fts_close): Likewise.
31320 (fts_read): Likewise.
31321 (fts_children): Likewise.
31322 (fts_build): Likewise.
31323 (fts_stat): Likewise.
31324 (fts_sort): Likewise.
31325 (fts_alloc): Likewise.
31326 (fts_lfree): Likewise.
31327 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31328 (_IO_file_xsgetn): Likewise.
31329 (_IO_file_xsgetn_mmap): Likewise.
31330 * libio/iofopncook.c (_IO_cookie_read): Likewise.
31331 (_IO_cookie_write): Likewise.
31332 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31333 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31334 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31335 * malloc/obstack.c (_obstack_begin): Likewise.
31336 (_obstack_begin_1): Likewise.
31337 (_obstack_newchunk): Likewise.
31338 (_obstack_allocated_p): Likewise.
31339 (obstack_free): Likewise.
31340 (_obstack_memory_used): Likewise.
31341 * misc/getttyent.c (getttynam): Likewise.
31342 (getttyent): Likewise.
31345 * misc/getusershell.c (initshells): Likewise.
31346 * misc/syslog.c (__vsyslog_chk): Likewise.
31347 * misc/ttyslot.c (ttyslot): Likewise.
31348 * nis/nis_hash.c (__nis_hash): Likewise.
31349 * posix/fnmatch_loop.c (FCT): Likewise.
31350 * posix/getconf.c (print_all): Likewise.
31352 * posix/getopt.c (exchange): Likewise.
31353 * posix/glob.c (globfree): Likewise.
31354 (prefix_array): Likewise.
31355 (__glob_pattern_type): Likewise.
31356 * resolv/arpa/nameser.h (NS_GET16): Likewise.
31357 (NS_GET32): Likewise.
31358 (NS_PUT16): Likewise.
31359 (NS_PUT32): Likewise.
31360 * resolv/gethnamaddr.c (getanswer): Likewise.
31361 (gethostbyname2): Likewise.
31362 (gethostbyaddr): Likewise.
31363 (_gethtent): Likewise.
31364 (_gethtbyname2): Likewise.
31365 (_gethtbyaddr): Likewise.
31366 * resolv/ns_print.c (dst_s_get_int16): Likewise.
31367 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31368 * resolv/res_init.c (__res_vinit): Likewise.
31369 (net_mask): Likewise.
31370 * resolv/res_mkquery.c (outchar): Likewise.
31372 * stdio-common/printf_fp.c (outchar): Likewise.
31374 * stdio-common/printf_fphex.c (outchar): Likewise.
31376 * stdio-common/printf_size.c (outchar): Likewise.
31378 * stdio-common/test_rdwr.c (main): Likewise.
31379 * stdio-common/tfformat.c (matches): Likewise.
31380 * stdio-common/vfprintf.c (outchar): Likewise.
31381 (printf_unknown): Likewise.
31382 (buffered_vfprintf): Likewise.
31383 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31384 * stdio-common/xbug.c (AppendToBuffer): Likewise.
31385 (ReadFile): Likewise.
31386 * stdlib/qsort.c (SWAP): Likewise.
31387 (_quicksort): Likewise.
31388 * stdlib/setenv.c (__add_to_environ): Likewise.
31389 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31390 * stdlib/strtol_l.c (__strtol_l): Likewise.
31391 * stdlib/tst-strtod.c (main): Likewise.
31392 * stdlib/tst-strtol.c (main): Likewise.
31393 * stdlib/tst-strtoll.c (main): Likewise.
31394 * string/bits/string2.h (__strcmp_cc): Likewise.
31395 (__strcmp_cg): Likewise.
31396 (__strcspn_c1): Likewise.
31397 (__strcspn_c2): Likewise.
31398 (__strcspn_c3): Likewise.
31399 (__strspn_c1): Likewise.
31400 (__strspn_c2): Likewise.
31401 (__strspn_c3): Likewise.
31402 (__strsep_1c): Likewise.
31403 (__strsep_2c): Likewise.
31404 (__strsep_3c): Likewise.
31405 * string/memccpy.c (__memccpy): Likewise.
31406 * string/stpcpy.c (__stpcpy): Likewise.
31407 * string/strcmp.c (strcmp): Likewise.
31408 * string/strrchr.c (strrchr): Likewise.
31409 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31411 * sysdeps/mach/hurd/getcwd.c
31412 (_hurd_canonicalize_directory_name_internal): Likewise.
31413 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31414 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31415 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31416 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31417 Likewise, in both definitions.
31418 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31420 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31421 64] (__bswap_64): Likewise.
31422 * time/test_time.c (main): Likewise.
31423 * time/tzfile.c (__tzfile_read): Likewise.
31424 (__tzfile_compute): Likewise.
31425 * time/tzset.c (__tzset_parse_tz): Likewise.
31426 (tzset_internal): Likewise.
31427 (compute_change): Likewise.
31428 * wcsmbs/wcscat.c (__wcscat): Likewise.
31429 * wcsmbs/wcschr.c (wcschr): Likewise.
31430 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31431 * wcsmbs/wcscspn.c (wcscspn): Likewise.
31432 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31433 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31434 * wcsmbs/wcsspn.c (wcsspn): Likewise.
31435 * wcsmbs/wcsstr.c (wcsstr): Likewise.
31436 * wcsmbs/wmemchr.c (wmemchr): Likewise.
31437 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31438 * wcsmbs/wmemset.c (wmemset): Likewise.
31440 2013-06-06 Joseph Myers <joseph@codesourcery.com>
31442 * scripts/config.guess: Update to version 2013-05-16.
31443 * scripts/config.sub: Update to version 2013-04-24.
31444 * scripts/install-sh: Update to version 2011-11-20.07.
31445 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31446 * scripts/move-if-change: Update to version 2012-01-06 07:23.
31448 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
31450 * debug/fgetws_u_chk.c: Fix leading whitespaces.
31451 * elf/sln.c: Likewise.
31452 * hurd/hurd/ioctl.h: Likewise.
31453 * hurd/hurdmalloc.c: Likewise.
31454 * hurd/xattr.c: Likewise.
31455 * include/shlib-compat.h: Likewise.
31456 * inet/ruserpass.c: Likewise.
31457 * libio/iofgets_u.c: Likewise.
31458 * libio/iofgetws_u.c: Likewise.
31459 * locale/programs/ld-identification.c: Likewise.
31460 * locale/programs/ld-time.c: Likewise.
31461 * mach/msg-destroy.c: Likewise.
31462 * nss/nss_files/files-netgrp.c: Likewise.
31463 * resolv/res_data.c: Likewise.
31464 * soft-fp/op-1.h: Likewise.
31465 * soft-fp/op-2.h: Likewise.
31466 * soft-fp/op-4.h: Likewise.
31467 * soft-fp/op-common.h: Likewise.
31468 * stdio-common/printf_fphex.c: Likewise.
31469 * stdlib/strtod_l.c: Likewise.
31470 * sunrpc/rpc/clnt.h: Likewise.
31471 * sysdeps/generic/framestate.c: Likewise.
31472 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31473 * sysdeps/i386/bsd-setjmp.S: Likewise.
31474 * sysdeps/i386/__longjmp.S: Likewise.
31475 * sysdeps/i386/setjmp.S: Likewise.
31476 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31477 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31478 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31479 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31480 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31481 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31482 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31483 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31484 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31485 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31486 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31487 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31488 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31489 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31490 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31491 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31492 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31493 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31494 * sysdeps/ieee754/support.c: Likewise.
31495 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31496 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31497 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31498 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31499 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31500 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31501 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31502 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31503 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31504 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31505 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31506 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31507 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31508 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31509 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31510 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31511 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31514 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
31516 * posix/transbug.c: Remove executable mode.
31518 2013-06-05 Joseph Myers <joseph@codesourcery.com>
31520 * crypt/speeds.c: Remove trailing whitespace.
31521 * dlfcn/default.c: Likewise.
31522 * elf/ifuncdep2.c: Likewise.
31523 * elf/ifuncmain1.c: Likewise.
31524 * elf/ifuncmain1vis.c: Likewise.
31525 * elf/testobj.h: Likewise.
31526 * elf/tst-stackguard1.c: Likewise.
31527 * gmon/sys/gmon.h: Likewise.
31528 * hurd/hurdmsg.c: Likewise.
31529 * hurd/new-fd.c: Likewise.
31530 * hurd/ports-get.c: Likewise.
31531 * iconvdata/ibm1008_420.c: Likewise.
31532 * inet/tst-getni1.c: Likewise.
31533 * inet/tst-getni2.c: Likewise.
31534 * libio/ioungetc.c: Likewise.
31535 * libio/wfiledoalloc.c: Likewise.
31536 * manual/libm-err-tab.pl: Likewise.
31537 * math/w_dremf.c: Likewise.
31538 * misc/ftruncate.c: Likewise.
31539 * posix/bug-glob2.c: Likewise.
31540 * posix/tst-pcre.c: Likewise.
31541 * posix/wait4.c: Likewise.
31542 * resolv/README: Likewise.
31543 * resolv/res_debug.h: Likewise.
31544 * resolv/tst-inet_ntop.c: Likewise.
31545 * setjmp/bug269-setjmp.c: Likewise.
31546 * soft-fp/extended.h: Likewise.
31547 * soft-fp/op-1.h: Likewise.
31548 * soft-fp/op-2.h: Likewise.
31549 * soft-fp/op-4.h: Likewise.
31550 * soft-fp/op-8.h: Likewise.
31551 * soft-fp/testit.c: Likewise.
31552 * stdio-common/bug16.c: Likewise.
31553 * stdlib/random.c: Likewise.
31554 * sunrpc/rpcsvc/rquota.x: Likewise.
31555 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31556 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31557 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31558 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31559 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31560 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31561 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31562 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31563 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31564 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31565 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31566 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31567 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31568 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31569 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31570 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31571 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31572 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31573 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31574 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31575 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31576 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31577 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31578 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31579 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31580 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31581 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31582 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31583 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31584 * sysdeps/ieee754/s_lib_version.c: Likewise.
31585 * sysdeps/mach/hurd/check_fds.c: Likewise.
31586 * sysdeps/mach/hurd/getsockname.c: Likewise.
31587 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31588 * sysdeps/mach/hurd/recvfrom.c: Likewise.
31589 * sysdeps/powerpc/bits/link.h: Likewise.
31590 * sysdeps/powerpc/dl-procinfo.c: Likewise.
31591 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31592 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31593 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31594 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31595 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31596 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31597 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31598 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31599 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31600 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31601 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31602 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31603 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31604 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31605 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31606 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31607 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31608 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31609 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31610 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31611 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31612 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31613 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31614 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31615 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31616 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31617 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31618 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31619 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31620 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31621 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31622 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31623 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31624 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31625 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31626 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31627 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31628 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31629 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31630 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31631 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31632 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31633 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31634 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31635 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31636 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31637 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31638 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31639 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31640 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31642 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31643 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31644 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31645 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31646 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31647 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31648 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31649 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31650 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31651 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31652 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31653 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31654 * sysdeps/powerpc/sysdep.h: Likewise.
31655 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31656 * sysdeps/s390/s390-64/sub_n.S: Likewise.
31657 * sysdeps/sh/dl-trampoline.S: Likewise.
31658 * sysdeps/sh/memset.S: Likewise.
31659 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31660 * sysdeps/sh/strlen.S: Likewise.
31661 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31662 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31663 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31664 * sysdeps/sparc/sparc32/rem.S: Likewise.
31665 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31666 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31667 * sysdeps/sparc/sparc32/strchr.S: Likewise.
31668 * sysdeps/sparc/sparc32/udiv.S: Likewise.
31669 * sysdeps/sparc/sparc32/urem.S: Likewise.
31670 * sysdeps/sparc/sparc64/add_n.S: Likewise.
31671 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31672 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31673 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31674 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31675 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31676 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31677 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31678 * sysdeps/unix/bsd/times.c: Likewise.
31679 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31680 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31684 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31685 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31686 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31687 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31688 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31689 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31690 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31691 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31692 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31693 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31694 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31695 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31696 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31697 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31698 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31699 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31700 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31701 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31702 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31703 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31704 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31705 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31706 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31707 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31708 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31709 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31710 * sysdeps/x86_64/strcspn.S: Likewise.
31712 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31714 * locale/C-translit.h: Revert #include <stdint.h> because this is a
31715 generated file. Regenerate properly from gen-translit.pl.
31716 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
31717 locale/C-translit.h.
31719 2013-06-05 Andreas Schwab <schwab@suse.de>
31722 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31723 week as 6 instead of -1.
31724 * time/tst-strptime.c (day_tests): Add test case.
31726 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31728 * sysdeps/generic/math_private.h
31729 (libc_feholdexcept_setround_53bit): Replace with
31730 libc_feholdsetround_53bit.
31731 (libc_feupdateenv_53bit): Replace with
31732 libc_feresetround_53bit.
31733 (SET_RESTORE_ROUND_53BIT): Adjust.
31735 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31737 * string/test-strchrnul.c: Add copyright header.
31739 * posix/tst-getaddrinfo4.c: Increase test timeout.
31741 2013-06-03 Carlos O'Donell <carlos@redhat.com>
31744 * math/libm-test.inc (MAX_EXP): Remove
31746 (ulp): Use MIN_EXP - MANT_DIG.
31747 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31749 2013-05-31 Carlos O'Donell <carlos@redhat.com>
31751 * po/be.po: Revert last change.
31752 * po/zh_CN.po: Likewise.
31753 * po/header.pot: Likewise.
31755 2013-05-31 Joseph Myers <joseph@codesourcery.com>
31757 * Makefile ($(common-objpfx)linkobj/libc.so): Define
31758 link-libc-deps to empty as target-specific variable.
31759 * Makerules (link-libc-args): New variable.
31760 (libc-for-link): Likewise.
31761 (link-libc-deps): Likewise.
31762 (lib%.so): Depend on $(link-libc-deps). Link with
31764 (build-module): Link with $(link-libc-args).
31765 (build-module-asneeded): Likewise.
31766 (build-module-helper-objlist): Filter out $(link-libc-deps) from
31768 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31769 target-specific variable.
31770 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31771 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31772 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31774 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31776 ($(objpfx)libpcprofile.so): Likewise.
31777 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31779 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31780 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31781 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31783 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31784 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31785 * login/Makefile ($(objpfx)libutil.so): Likewise.
31786 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31787 * math/Makefile ($(objpfx)libm.so): Likewise.
31788 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31789 $(objpfx)libnsl.so): Define libc-for-link as target-specific
31790 variable instead of depending directly on libc.
31791 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31792 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31794 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31796 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31797 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31798 ($(objpfx)libanl.so): Likewise.
31799 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31801 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31803 * sysdeps/i386/fpu/Makefile: Remove file.
31804 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31805 ($(objpfx)libm.so): Remove dependency on ld.so.
31807 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
31810 * nis/yp_xdr.c (XDRMAXNAME): Define.
31811 (XDRMAXRECORD): Define.
31812 (xdr_domainname): Use XDRMAXNAME.
31813 (xdr_mapname): Likewise.
31814 (xdr_peername): Likewise.
31815 (xdr_keydat): Use XDRMAXRECORD.
31816 (xdr_valdat): Likewise.
31818 2013-05-30 Jeff Law <law@redhat.com>
31821 * manual/errno.texi (ESTALE): Update to account for more than
31822 just NFS file systems.
31823 * sysdeps/gnu/errlist.c: Regenerated.
31825 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31828 * elf/Makefile (tests): Add tst-null-argv.
31829 (modules-names): Add tst-null-argv-lib.
31830 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31831 (tst-null-argv-ENV): Set environment for tst-null-argv.
31832 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31833 (RTLD_PROGNAME): New macro.
31834 * elf/tst-null-argv.c: New test case.
31835 * elf/tst-null-argv-lib.c: Library for test case.
31836 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31837 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31838 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31839 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31840 * elf/dl-init.c (call_init): Likewise.
31841 (_dl_init): Likewise.
31842 * elf/dl-load.c (print_search_path): Likewise.
31843 (_dl_map_object): Likewise.
31844 * elf/dl-lookup.c (do_lookup_x): Likewise.
31845 (add_dependency): Likewise.
31846 (_dl_lookup_symbol_x): Likewise.
31847 (_dl_debug_bindings): Likewise.
31848 * elf/dl-open.c (_dl_show_scope): Likewise.
31849 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31850 * elf/dl-version.c (match_symbol): Likewise.
31851 (_dl_check_map_versions): Likewise.
31852 * elf/rtld.c (dl_main): Likewise.
31853 (print_unresolved): Use RTLD_PROGNAME.
31854 (print_missing_version): Likewise.
31855 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31856 (elf_machine_rela): Likewise.
31857 * sysdeps/powerpc/powerpc32/dl-machine.c
31858 (__process_machine_rela): Likewise.
31859 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31861 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31863 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31865 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31866 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31868 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31870 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31872 2013-05-28 Carlos O'Donell <carlos@redhat.com>
31874 * po/be.po: Add descriptive title.
31875 * po/zh_CN.po: Likewise.
31876 * po/header.pot: Likewise.
31878 2013-05-28 Mike Frysinger <vapier@gentoo.org>
31880 * locale/programs/locarchive.c (create_archive): Inlucde fname in
31882 (enlarge_archive): Likewise.
31884 2013-05-28 Ben North <ben@redfrontdoor.org>
31886 * manual/arith.texi (frexp): It is the magnitude of the return
31887 value which lies in [0.5, 1), not the return value itself.
31889 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31893 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
31895 * stdio-common/bug26.c (main): Correct fscanf template.
31897 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31898 declare _dl_skip_args.
31900 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31903 * manual/platform.texi: Add missing @end deftypefun.
31905 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31908 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31909 bit of mantissa of 2^16382.
31910 * math/libm-test.inc (hypot_test_data): Add more tests.
31912 * math/libm-test.inc: Add drem and pow10 to list of tested
31914 (pow10_test): New function.
31915 (drem_test): Likewise.
31916 (drem_test_tonearest): Likewise.
31917 (drem_test_towardzero): Likewise.
31918 (drem_test_downward): Likewise.
31919 (drem_test_upward): Likewise.
31920 (main): Call the new functions.
31922 * math/libm-test.inc (finite_test_data): Remove.
31923 (finite_test): Run tests from isfinite_test_data.
31924 (gamma_test_data): Remove.
31925 (gamma_test): Run tests from lgamma_test_data.
31926 * sysdeps/i386/fpu/libm-test-ulps: Update.
31927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31929 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31931 * manual/platform.texi: Add PowerPC PPR function set documentation.
31932 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31935 2013-05-24 Carlos O'Donell <carlos@redhat.com>
31937 * math/libm-test.inc (MAX_EXP): Define.
31939 (ulp): New function.
31940 (check_float_internal): Use ULPDIFF.
31941 (cpow_test): Disable failing test.
31942 (check_ulp): Test ulp() implemetnation.
31943 (main): Call check_ulp before starting tests.
31945 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31947 * math/gen-libm-test.pl (generate_testfile): Do not handle
31948 START_DATA and END_DATA.
31949 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31951 (acos_tonearest_test_data): Likewise.
31952 (acos_towardzero_test_data): Likewise.
31953 (acos_downward_test_data): Likewise.
31954 (acos_upward_test_data): Likewise.
31955 (acosh_test_data): Likewise.
31956 (asin_test_data): Likewise.
31957 (asin_tonearest_test_data): Likewise.
31958 (asin_towardzero_test_data): Likewise.
31959 (asin_downward_test_data): Likewise.
31960 (asin_upward_test_data): Likewise.
31961 (asinh_test_data): Likewise.
31962 (atan_test_data): Likewise.
31963 (atanh_test_data): Likewise.
31964 (atan2_test_data): Likewise.
31965 (cabs_test_data): Likewise.
31966 (cacos_test_data): Likewise.
31967 (cacosh_test_data): Likewise.
31968 (carg_test_data): Likewise.
31969 (casin_test_data): Likewise.
31970 (casinh_test_data): Likewise.
31971 (catan_test_data): Likewise.
31972 (catanh_test_data): Likewise.
31973 (cbrt_test_data): Likewise.
31974 (ccos_test_data): Likewise.
31975 (ccosh_test_data): Likewise.
31976 (ceil_test_data): Likewise.
31977 (cexp_test_data): Likewise.
31978 (cimag_test_data): Likewise.
31979 (clog_test_data): Likewise.
31980 (clog10_test_data): Likewise.
31981 (conj_test_data): Likewise.
31982 (copysign_test_data): Likewise.
31983 (cos_test_data): Likewise.
31984 (cos_tonearest_test_data): Likewise.
31985 (cos_towardzero_test_data): Likewise.
31986 (cos_downward_test_data): Likewise.
31987 (cos_upward_test_data): Likewise.
31988 (cosh_test_data): Likewise.
31989 (cosh_tonearest_test_data): Likewise.
31990 (cosh_towardzero_test_data): Likewise.
31991 (cosh_downward_test_data): Likewise.
31992 (cosh_upward_test_data): Likewise.
31993 (cpow_test_data): Likewise.
31994 (cproj_test_data): Likewise.
31995 (creal_test_data): Likewise.
31996 (csin_test_data): Likewise.
31997 (csinh_test_data): Likewise.
31998 (csqrt_test_data): Likewise.
31999 (ctan_test_data): Likewise.
32000 (ctan_tonearest_test_data): Likewise.
32001 (ctan_towardzero_test_data): Likewise.
32002 (ctan_downward_test_data): Likewise.
32003 (ctan_upward_test_data): Likewise.
32004 (ctanh_test_data): Likewise.
32005 (ctanh_tonearest_test_data): Likewise.
32006 (ctanh_towardzero_test_data): Likewise.
32007 (ctanh_downward_test_data): Likewise.
32008 (ctanh_upward_test_data): Likewise.
32009 (erf_test_data): Likewise.
32010 (erfc_test_data): Likewise.
32011 (exp_test_data): Likewise.
32012 (exp_tonearest_test_data): Likewise.
32013 (exp_towardzero_test_data): Likewise.
32014 (exp_downward_test_data): Likewise.
32015 (exp_upward_test_data): Likewise.
32016 (exp10_test_data): Likewise.
32017 (exp2_test_data): Likewise.
32018 (expm1_test_data): Likewise.
32019 (fabs_test_data): Likewise.
32020 (fdim_test_data): Likewise.
32021 (finite_test_data): Likewise.
32022 (floor_test_data): Likewise.
32023 (fma_test_data): Likewise.
32024 (fma_towardzero_test_data): Likewise.
32025 (fma_downward_test_data): Likewise.
32026 (fma_upward_test_data): Likewise.
32027 (fmax_test_data): Likewise.
32028 (fmin_test_data): Likewise.
32029 (fmod_test_data): Likewise.
32030 (fpclassify_test_data): Likewise.
32031 (frexp_test_data): Likewise.
32032 (gamma_test_data): Likewise.
32033 (hypot_test_data): Likewise.
32034 (ilogb_test_data): Likewise.
32035 (isfinite_test_data): Likewise.
32036 (isgreater_test_data): Likewise.
32037 (isgreaterequal_test_data): Likewise.
32038 (isinf_test_data): Likewise.
32039 (isless_test_data): Likewise.
32040 (islessequal_test_data): Likewise.
32041 (islessgreater_test_data): Likewise.
32042 (isnan_test_data): Likewise.
32043 (isnormal_test_data): Likewise.
32044 (issignaling_test_data): Likewise.
32045 (isunordered_test_data): Likewise.
32046 (j0_test_data): Likewise.
32047 (j1_test_data): Likewise.
32048 (jn_test_data): Likewise.
32049 (ldexp_test_data): Likewise.
32050 (lgamma_test_data): Likewise.
32051 (lrint_test_data): Likewise.
32052 (lrint_tonearest_test_data): Likewise.
32053 (lrint_towardzero_test_data): Likewise.
32054 (lrint_downward_test_data): Likewise.
32055 (lrint_upward_test_data): Likewise.
32056 (llrint_test_data): Likewise.
32057 (llrint_tonearest_test_data): Likewise.
32058 (llrint_towardzero_test_data): Likewise.
32059 (llrint_downward_test_data): Likewise.
32060 (llrint_upward_test_data): Likewise.
32061 (log_test_data): Likewise.
32062 (log10_test_data): Likewise.
32063 (log1p_test_data): Likewise.
32064 (log2_test_data): Likewise.
32065 (logb_test_data): Likewise.
32066 (logb_downward_test_data): Likewise.
32067 (lround_test_data): Likewise.
32068 (llround_test_data): Likewise.
32069 (modf_test_data): Likewise.
32070 (nearbyint_test_data): Likewise.
32071 (nextafter_test_data): Likewise.
32072 (nexttoward_test_data): Likewise.
32073 (pow_test_data): Likewise.
32074 (pow_tonearest_test_data): Likewise.
32075 (pow_towardzero_test_data): Likewise.
32076 (pow_downward_test_data): Likewise.
32077 (pow_upward_test_data): Likewise.
32078 (remainder_test_data): Likewise.
32079 (remainder_tonearest_test_data): Likewise.
32080 (remainder_towardzero_test_data): Likewise.
32081 (remainder_downward_test_data): Likewise.
32082 (remainder_upward_test_data): Likewise.
32083 (remquo_test_data): Likewise.
32084 (rint_test_data): Likewise.
32085 (rint_tonearest_test_data): Likewise.
32086 (rint_towardzero_test_data): Likewise.
32087 (rint_downward_test_data): Likewise.
32088 (rint_upward_test_data): Likewise.
32089 (round_test_data): Likewise.
32090 (scalb_test_data): Likewise.
32091 (scalbn_test_data): Likewise.
32092 (scalbln_test_data): Likewise.
32093 (signbit_test_data): Likewise.
32094 (sin_test_data): Likewise.
32095 (sin_tonearest_test_data): Likewise.
32096 (sin_towardzero_test_data): Likewise.
32097 (sin_downward_test_data): Likewise.
32098 (sin_upward_test_data): Likewise.
32099 (sincos_test_data): Likewise.
32100 (sinh_test_data): Likewise.
32101 (sinh_tonearest_test_data): Likewise.
32102 (sinh_towardzero_test_data): Likewise.
32103 (sinh_downward_test_data): Likewise.
32104 (sinh_upward_test_data): Likewise.
32105 (sqrt_test_data): Likewise.
32106 (tan_test_data): Likewise.
32107 (tan_tonearest_test_data): Likewise.
32108 (tan_towardzero_test_data): Likewise.
32109 (tan_downward_test_data): Likewise.
32110 (tan_upward_test_data): Likewise.
32111 (tanh_test_data): Likewise.
32112 (tgamma_test_data): Likewise.
32113 (trunc_test_data): Likewise.
32114 (y0_test_data): Likewise.
32115 (y1_test_data): Likewise.
32116 (yn_test_data): Likewise.
32117 (significand_test_data): Likewise.
32119 * math/gen-libm-test.pl (@functions): Remove variable.
32120 (generate_testfile): Don't handle START and END lines.
32121 * math/libm-test.inc (START): New macro.
32123 (END_COMPLEX): Likewise.
32124 (acos_test): Use END macro without arguments.
32125 (acos_test_tonearest): Likewise.
32126 (acos_test_towardzero): Likewise.
32127 (acos_test_downward): Likewise.
32128 (acos_test_upward): Likewise.
32129 (acosh_test): Likewise.
32130 (asin_test): Likewise.
32131 (asin_test_tonearest): Likewise.
32132 (asin_test_towardzero): Likewise.
32133 (asin_test_downward): Likewise.
32134 (asin_test_upward): Likewise.
32135 (asinh_test): Likewise.
32136 (atan_test): Likewise.
32137 (atanh_test): Likewise.
32138 (atan2_test): Likewise.
32139 (cabs_test): Likewise.
32140 (cacos_test): Use END_COMPLEX macro without arguments.
32141 (cacosh_test): Likewise.
32142 (carg_test): Use END macro without arguments.
32143 (casin_test): Use END_COMPLEX macro without arguments.
32144 (casinh_test): Likewise.
32145 (catan_test): Likewise.
32146 (catanh_test): Likewise.
32147 (cbrt_test): Use END macro without arguments.
32148 (ccos_test): Use END_COMPLEX macro without arguments.
32149 (ccosh_test): Likewise.
32150 (ceil_test): Use END macro without arguments.
32151 (cexp_test): Use END_COMPLEX macro without arguments.
32152 (cimag_test): Use END macro without arguments.
32153 (clog_test): Use END_COMPLEX macro without arguments.
32154 (clog10_test): Likewise.
32155 (conj_test): Likewise.
32156 (copysign_test): Use END macro without arguments.
32157 (cos_test): Likewise.
32158 (cos_test_tonearest): Likewise.
32159 (cos_test_towardzero): Likewise.
32160 (cos_test_downward): Likewise.
32161 (cos_test_upward): Likewise.
32162 (cosh_test): Likewise.
32163 (cosh_test_tonearest): Likewise.
32164 (cosh_test_towardzero): Likewise.
32165 (cosh_test_downward): Likewise.
32166 (cosh_test_upward): Likewise.
32167 (cpow_test): Use END_COMPLEX macro without arguments.
32168 (cproj_test): Likewise.
32169 (creal_test): Use END macro without arguments.
32170 (csin_test): Use END_COMPLEX macro without arguments.
32171 (csinh_test): Likewise.
32172 (csqrt_test): Likewise.
32173 (ctan_test): Likewise.
32174 (ctan_test_tonearest): Likewise.
32175 (ctan_test_towardzero): Likewise.
32176 (ctan_test_downward): Likewise.
32177 (ctan_test_upward): Likewise.
32178 (ctanh_test): Likewise.
32179 (ctanh_test_tonearest): Likewise.
32180 (ctanh_test_towardzero): Likewise.
32181 (ctanh_test_downward): Likewise.
32182 (ctanh_test_upward): Likewise.
32183 (erf_test): Use END macro without arguments.
32184 (erfc_test): Likewise.
32185 (exp_test): Likewise.
32186 (exp_test_tonearest): Likewise.
32187 (exp_test_towardzero): Likewise.
32188 (exp_test_downward): Likewise.
32189 (exp_test_upward): Likewise.
32190 (exp10_test): Likewise.
32191 (exp2_test): Likewise.
32192 (expm1_test): Likewise.
32193 (fabs_test): Likewise.
32194 (fdim_test): Likewise.
32195 (finite_test): Likewise.
32196 (floor_test): Likewise.
32197 (fma_test): Likewise.
32198 (fma_test_towardzero): Likewise.
32199 (fma_test_downward): Likewise.
32200 (fma_test_upward): Likewise.
32201 (fmax_test): Likewise.
32202 (fmin_test): Likewise.
32203 (fmod_test): Likewise.
32204 (fpclassify_test): Likewise.
32205 (frexp_test): Likewise.
32206 (gamma_test): Likewise.
32207 (hypot_test): Likewise.
32208 (ilogb_test): Likewise.
32209 (isfinite_test): Likewise.
32210 (isgreater_test): Likewise.
32211 (isgreaterequal_test): Likewise.
32212 (isinf_test): Likewise.
32213 (isless_test): Likewise.
32214 (islessequal_test): Likewise.
32215 (islessgreater_test): Likewise.
32216 (isnan_test): Likewise.
32217 (isnormal_test): Likewise.
32218 (issignaling_test): Likewise.
32219 (isunordered_test): Likewise.
32220 (j0_test): Likewise.
32221 (j1_test): Likewise.
32222 (jn_test): Likewise.
32223 (ldexp_test): Likewise.
32224 (lgamma_test): Likewise.
32225 (lrint_test): Likewise.
32226 (lrint_test_tonearest): Likewise.
32227 (lrint_test_towardzero): Likewise.
32228 (lrint_test_downward): Likewise.
32229 (lrint_test_upward): Likewise.
32230 (llrint_test): Likewise.
32231 (llrint_test_tonearest): Likewise.
32232 (llrint_test_towardzero): Likewise.
32233 (llrint_test_downward): Likewise.
32234 (llrint_test_upward): Likewise.
32235 (log_test): Likewise.
32236 (log10_test): Likewise.
32237 (log1p_test): Likewise.
32238 (log2_test): Likewise.
32239 (logb_test): Likewise.
32240 (logb_test_downward): Likewise.
32241 (lround_test): Likewise.
32242 (llround_test): Likewise.
32243 (modf_test): Likewise.
32244 (nearbyint_test): Likewise.
32245 (nextafter_test): Likewise.
32246 (nexttoward_test): Likewise.
32247 (pow_test): Likewise.
32248 (pow_test_tonearest): Likewise.
32249 (pow_test_towardzero): Likewise.
32250 (pow_test_downward): Likewise.
32251 (pow_test_upward): Likewise.
32252 (remainder_test): Likewise.
32253 (remainder_test_tonearest): Likewise.
32254 (remainder_test_towardzero): Likewise.
32255 (remainder_test_downward): Likewise.
32256 (remainder_test_upward): Likewise.
32257 (remquo_test): Likewise.
32258 (rint_test): Likewise.
32259 (rint_test_tonearest): Likewise.
32260 (rint_test_towardzero): Likewise.
32261 (rint_test_downward): Likewise.
32262 (rint_test_upward): Likewise.
32263 (round_test): Likewise.
32264 (scalb_test): Likewise.
32265 (scalbn_test): Likewise.
32266 (scalbln_test): Likewise.
32267 (signbit_test): Likewise.
32268 (sin_test): Likewise.
32269 (sin_test_tonearest): Likewise.
32270 (sin_test_towardzero): Likewise.
32271 (sin_test_downward): Likewise.
32272 (sin_test_upward): Likewise.
32273 (sincos_test): Likewise.
32274 (sinh_test): Likewise.
32275 (sinh_test_tonearest): Likewise.
32276 (sinh_test_towardzero): Likewise.
32277 (sinh_test_downward): Likewise.
32278 (sinh_test_upward): Likewise.
32279 (sqrt_test): Likewise.
32280 (tan_test): Likewise.
32281 (tan_test_tonearest): Likewise.
32282 (tan_test_towardzero): Likewise.
32283 (tan_test_downward): Likewise.
32284 (tan_test_upward): Likewise.
32285 (tanh_test): Likewise.
32286 (tgamma_test): Likewise.
32287 (trunc_test): Likewise.
32288 (y0_test): Likewise.
32289 (y1_test): Likewise.
32290 (yn_test): Likewise.
32291 (significand_test): Likewise.
32293 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
32296 * libio/genops.c (_IO_no_init): Initialize wide struct info.
32298 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
32301 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32302 __ppc_mdoio and __ppc_mdoom.
32303 * manual/platform.texi: Document new functions __ppc_yield,
32304 __ppc_mdoio and __ppc_mdoom.
32306 2013-05-22 Carlos O'Donell <carlos@redhat.com>
32308 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32309 (main): Mention "tls" pseudo-hwcap is legacy.
32310 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32312 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32314 * math/gen-libm-test.pl (parse_args): Output only string of
32315 arguments as text for test name, not full call or descriptions of
32316 tests for extra outputs.
32317 (generate_testfile): Do not pass function name to parse_args.
32318 Generate this_func variable from START.
32319 * math/libm-test.inc (struct test_f_f_data): Rename test_name
32321 (struct test_ff_f_data): Likewise.
32322 (test_ff_f_data_nexttoward): Likewise.
32323 (struct test_fi_f_data): Likewise.
32324 (struct test_fl_f_data): Likewise.
32325 (struct test_if_f_data): Likewise.
32326 (struct test_fff_f_data): Likewise.
32327 (struct test_c_f_data): Likewise.
32328 (struct test_f_f1_data): Likewise. Remove field extra_name.
32329 (struct test_fF_f1_data): Likewise.
32330 (struct test_ffI_f1_data): Likewise.
32331 (struct test_c_c_data): Rename test_name field to arg_str.
32332 (struct test_cc_c_data): Likewise.
32333 (struct test_f_i_data): Likewise.
32334 (struct test_ff_i_data): Likewise.
32335 (struct test_f_l_data): Likewise.
32336 (struct test_f_L_data): Likewise.
32337 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
32339 (COMMON_TEST_SETUP): New macro.
32340 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32341 (COMMON_TEST_CLEANUP): Likewise.
32342 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32343 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
32345 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32346 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
32348 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32349 (RUN_TEST_fff_f): Take argument string. Call new setup and
32351 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32352 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
32354 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32355 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
32357 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32358 (RUN_TEST_fF_f1): Take argument string. Call new setup and
32360 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32361 (RUN_TEST_fI_f1): Take argument string. Call new setup and
32363 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32364 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
32366 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32367 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
32369 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32370 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
32372 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32373 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
32375 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32376 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
32378 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32379 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
32381 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32382 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
32384 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32385 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
32387 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32388 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
32390 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32391 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
32393 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32394 (RUN_TEST_fFF_11): Take argument string. Call new setup and
32396 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32398 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
32400 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32401 to _sifields.sigfault.
32402 (si_addr_lsb): Define new macro.
32403 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32404 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32405 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32407 2013-05-03 Carlos O'Donell <carlos at redhat.com>
32410 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32412 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32414 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32415 loading the domain.
32417 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32419 * math/gen-libm-test.pl (parse_args): Do not include expected
32420 result in test name.
32421 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32422 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32423 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32424 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32425 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32428 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32430 * benchtests/Makefile: Sort function entries.
32432 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32433 tanh, asinh, acosh, atanh.
32434 * benchtests/acos-inputs: New file.
32435 * benchtests/acosh-inputs: New file.
32436 * benchtests/asin-inputs: New file.
32437 * benchtests/asinh-inputs: New file.
32438 * benchtests/atanh-inputs: New file.
32439 * benchtests/cosh-inputs: New file.
32440 * benchtests/log-inputs: New file.
32441 * benchtests/sinh-inputs: New file.
32442 * benchtests/tanh-inputs: New file.
32444 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
32447 * posix/tst-getaddrinfo4.c: New test.
32448 * posix/Makefile (tests): Add it.
32450 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32453 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32454 when no services were used.
32455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32456 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32458 2013-05-21 Andreas Schwab <schwab@suse.de>
32461 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32462 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32464 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32465 redundant variable declarations and reallocation of buffer when
32466 parsing as IPv6 address. Always set NSS status when called from
32467 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
32468 buffer too small. Correct computation of needed size.
32469 * nss/Makefile (tests): Add test-digits-dots.
32470 * nss/test-digits-dots.c: New test.
32472 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32474 * benchtests/Makefile: Remove instructions for adding
32476 * benchtests/README: New file to explain how to execute and
32477 enhance the benchmark tests.
32479 2013-05-21 Andreas Schwab <schwab@suse.de>
32482 * setjmp/Makefile (tests): Add tst-sigsetjmp.
32483 * setjmp/tst-sigsetjmp.c: New test.
32485 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32487 * sysdeps/x86_64/memset.S (memset): New implementation.
32488 (__bzero): Likewise.
32489 (__memset_tail): New function.
32491 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32493 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32494 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32495 __memcpy_sse2_unaligned ifunc selection.
32496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32497 Add memcpy-sse2-unaligned.S.
32498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32499 Add: __memcpy_sse2_unaligned.
32501 2013-05-19 Joseph Myers <joseph@codesourcery.com>
32504 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32505 math_force_eval before restoring floating-point envrionment.
32506 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32507 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32509 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32511 (__nearbyintl): Use math_force_eval before restoring
32512 floating-point environment.
32513 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32515 * math/gen-libm-test.pl (special_functions): Remove.
32516 (parse_args): Don't handle TEST_extra. Handle functions with no
32518 * math/libm-test.inc (struct test_sincos_data): Replace with
32519 struct test_fFF_11_data.
32520 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32521 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32522 (sincos_test_data): Change element type to struct
32523 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
32524 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32525 RUN_TEST_LOOP_sincos.
32526 * math/README.libm-test: Don't mention special handling of
32527 individual functions.
32528 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32529 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32530 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32531 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32532 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32535 * math/gen-libm-test.pl (get_variable): Remove function.
32536 (parse_args): Don't show pointer parameters to call in test
32537 names. Use "extra output N" in test names for extra outputs
32538 rather than naming variables.
32540 2013-05-18 Joseph Myers <joseph@codesourcery.com>
32543 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32544 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32545 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32547 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32549 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32552 * math/gen-libm-test.pl (@tests): Remove variable.
32553 ($count): Likewise.
32554 (new_test): Remove function.
32555 (show_exceptions): New function.
32556 (special_functions): Use show_exceptions instead of new_test.
32557 (parse_args): Likewise.
32558 (generate_testfile): Pass only function name in generated call to
32559 print_max_error or print_complex_max_error.
32560 (get_ulps): Do not handle complex tests specially.
32561 (output_test): Rename to ...
32562 (get_all_ulps_for_test): ... this. Return a string rather than
32563 printing to a file. Require ulps to be present.
32564 (output_ulps): Generate arrays rather than #defines.
32565 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32566 (struct ulp_data): New type.
32567 (BUILD_COMPLEX_ULP): Remove macro.
32568 (compare_ulp_data): New function.
32569 (find_ulps): Likewise.
32570 (find_test_ulps): Likewise.
32571 (find_function_ulps): Likewise.
32572 (find_complex_function_ulps): Likewise.
32573 (print_max_error): Determine allowed ulps using
32574 find_function_ulps.
32575 (print_complex_max_error): Determine allowed ulps using
32576 find_complex_function_ulps.
32577 (check_float_internal): Determine max ulps using find_test_ulps.
32578 (check_float): Do not take max_ulp parameter. Update call to
32579 check_float_internal.
32580 (check_complex): Likewise.
32581 (check_int): Do not take max_ulp parameter.
32582 (check_long): Likewise.
32583 (check_bool): Likewise.
32584 (check_longlong): Likewise.
32585 (struct test_f_f_data): Remove max_ulp field.
32586 (struct test_ff_f_data): Likewise.
32587 (struct test_ff_f_data_nexttoward): Likewise.
32588 (struct test_fi_f_data): Likewise.
32589 (struct test_fl_f_data): Likewise.
32590 (struct test_if_f_data): Likewise.
32591 (struct test_fff_f_data): Likewise.
32592 (struct test_c_f_data): Likewise.
32593 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32594 (struct test_fF_f1_data): Likewise.
32595 (struct test_ffI_f1_data): Likewise.
32596 (struct test_c_c_data): Remove max_ulp field.
32597 (struct test_cc_c_data): Likewise.
32598 (struct test_f_i_data): Likewise.
32599 (struct test_ff_i_data): Likewise.
32600 (struct test_f_l_data): Likewise.
32601 (struct test_f_L_data): Likewise.
32602 (struct test_sincos_data): Likewise.
32603 (RUN_TEST_f_f): Do not handle ulps.
32604 (RUN_TEST_LOOP_f_f): Likewise.
32605 (RUN_TEST_2_f): Likewise.
32606 (RUN_TEST_LOOP_2_f): Likewise.
32607 (RUN_TEST_fff_f): Likewise.
32608 (RUN_TEST_LOOP_fff_f): Likewise.
32609 (RUN_TEST_c_f): Likewise.
32610 (RUN_TEST_LOOP_c_f): Likewise.
32611 (RUN_TEST_f_f1): Likewise.
32612 (RUN_TEST_LOOP_f_f1): Likewise.
32613 (RUN_TEST_fF_f1): Likewise.
32614 (RUN_TEST_LOOP_fF_f1): Likewise.
32615 (RUN_TEST_fI_f1): Likewise.
32616 (RUN_TEST_LOOP_fI_f1): Likewise.
32617 (RUN_TEST_ffI_f1): Likewise.
32618 (RUN_TEST_LOOP_ffI_f1): Likewise.
32619 (RUN_TEST_c_c): Likewise.
32620 (RUN_TEST_LOOP_c_c): Likewise.
32621 (RUN_TEST_cc_c): Likewise.
32622 (RUN_TEST_LOOP_cc_c): Likewise.
32623 (RUN_TEST_f_i): Likewise.
32624 (RUN_TEST_LOOP_f_i): Likewise.
32625 (RUN_TEST_f_i_tg): Likewise.
32626 (RUN_TEST_LOOP_f_i_tg): Likewise.
32627 (RUN_TEST_ff_i_tg): Likewise.
32628 (RUN_TEST_LOOP_ff_i_tg): Likewise.
32629 (RUN_TEST_f_b): Likewise.
32630 (RUN_TEST_LOOP_f_b): Likewise.
32631 (RUN_TEST_f_b_tg): Likewise.
32632 (RUN_TEST_LOOP_f_b_tg): Likewise.
32633 (RUN_TEST_f_l): Likewise.
32634 (RUN_TEST_LOOP_f_l): Likewise.
32635 (RUN_TEST_f_L): Likewise.
32636 (RUN_TEST_LOOP_f_L): Likewise.
32637 (RUN_TEST_sincos): Likewise.
32638 (RUN_TEST_LOOP_sincos): Likewise.
32640 2013-05-17 Joseph Myers <joseph@codesourcery.com>
32644 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32645 main case of finite arguments, set rounding mode to FE_TONEAREST
32646 and discard exceptions.
32647 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32649 (remainder_tonearest_test_data): New variable.
32650 (remainder_test_tonearest): New function.
32651 (remainder_towardzero_test_data): New variable.
32652 (remainder_test_towardzero): New function.
32653 (remainder_downward_test_data): New variable.
32654 (remainder_test_downward): New function.
32655 (remainder_upward_test_data): New variable.
32656 (remainder_test_upward): New function.
32657 (main): Call the new test functions.
32659 * math/libm-test.inc (struct test_f_f1_data): Remove field
32661 (struct test_fF_f1_data): Likewise.
32662 (struct test_ffI_f1_data): Likewise.
32663 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
32664 based on value of EXTRA_EXPECTED.
32665 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32666 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
32667 EXTRA_VAR based on value of EXTRA_EXPECTED.
32668 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32669 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
32670 EXTRA_VAR based on value of EXTRA_EXPECTED.
32671 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32672 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
32673 EXTRA_VAR based on value of EXTRA_EXPECTED.
32674 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32675 * math/gen-libm-test.pl (parse_args): Don't output initializers
32676 for extra output values.
32678 * math/libm-test.inc (check_int): Expect result to be exactly
32679 equal to expected value and do not handle ulps.
32680 (check_long): Likewise.
32681 (check_longlong): Likewise.
32683 * math/libm-test.inc (ceil_test_data): Test for "inexact"
32685 (cimag_test_data): Likewise.
32686 (conj_test_data): Likewise.
32687 (copysign_test_data): Likewise.
32688 (cproj_test_data): Likewise.
32689 (creal_test_data): Likewise.
32690 (fabs_test_data): Likewise.
32691 (fdim_test_data): Likewise.
32692 (finite_test_data): Likewise.
32693 (floor_test_data): Likewise.
32694 (fmax_test_data): Likewise.
32695 (fmin_test_data): Likewise.
32696 (fmod_test_data): Likewise.
32697 (fpclassify_test_data): Likewise.
32698 (frexp_test_data): Likewise.
32699 (ilogb_test_data): Likewise.
32700 (isfinite_test_data): Likewise.
32701 (isgreater_test_data): Likewise.
32702 (isgreaterequal_test_data): Likewise.
32703 (isinf_test_data): Likewise.
32704 (isless_test_data): Likewise.
32705 (islessequal_test_data): Likewise.
32706 (islessgreater_test_data): Likewise.
32707 (isnan_test_data): Likewise.
32708 (isnormal_test_data): Likewise.
32709 (issignaling_test_data): Likewise.
32710 (isunordered_test_data): Likewise.
32711 (ldexp_test_data): Likewise.
32712 (lrint_test_data): Likewise.
32713 (lrint_test_data) [TEST_FLOAT]: Disable one test.
32714 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32715 (lrint_tonearest_test_data): Test for "inexact" exceptions.
32716 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32717 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32718 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32720 (lrint_towardzero_test_data): Test for "inexact" exceptions.
32721 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32722 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32723 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32725 (lrint_downward_test_data): Test for "inexact" exceptions.
32726 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32727 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32728 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32730 (lrint_upward_test_data): Test for "inexact" exceptions.
32731 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32733 (llrint_test_data): Test for "inexact" exceptions.
32734 (llrint_test_data) [TEST_FLOAT]: Disable one test.
32735 (llrint_tonearest_test_data): Test for "inexact" exceptions.
32736 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32737 (llrint_towardzero_test_data): Test for "inexact" exceptions.
32738 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32739 (llrint_downward_test_data): Test for "inexact" exceptions.
32740 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32741 (llrint_upward_test_data): Test for "inexact" exceptions.
32742 (logb_test_data): Likewise.
32743 (logb_downward_test_data): Likewise.
32744 (nextafter_test_data): Likewise.
32745 (nexttoward_test_data): Likewise.
32746 (remainder_test_data): Likewise.
32747 (remquo_test_data): Likewise.
32748 (scalbn_test_data): Likewise.
32749 (scalbln_test_data): Likewise.
32750 (signbit_test_data): Likewise.
32751 (sqrt_test_data): Likewise.
32752 (significand_test_data): Likewise.
32754 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32757 * benchtests/bench-modf.c (struct args): Mark arg0 as
32759 * scripts/bench.pl: Mark members of struct args as volatile.
32761 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32764 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32765 negative infinity on POWER6 or lower.
32766 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32768 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32771 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32772 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32773 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32774 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32775 (_FP_SETQNAN): New macro.
32776 (_FP_SETQNAN_SEMIRAW): Likewise.
32777 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32778 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32779 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32780 (FP_EXTEND): Use _FP_FRAC_SNANP.
32781 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32782 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32784 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32786 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32789 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32791 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32792 with DIVIDE_BY_ZERO_EXCEPTION.
32793 (gamma_test_data): Likewise.
32794 (lgamma_test_data): Likewise.
32795 (log_test_data): Likewise.
32796 (log10_test_data): Likewise.
32797 (log2_test_data): Likewise.
32798 (tgamma_test_data): Likewise.
32800 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32801 (acos_test_tonearest): Likewise.
32802 (acos_test_towardzero): Likewise.
32803 (acos_test_downward): Likewise.
32804 (acos_test_upward): Likewise.
32805 (acosh_test): Likewise.
32806 (asin_test): Likewise.
32807 (asin_test_tonearest): Likewise.
32808 (asin_test_towardzero): Likewise.
32809 (asin_test_downward): Likewise.
32810 (asin_test_upward): Likewise.
32811 (asinh_test): Likewise.
32812 (atan_test): Likewise.
32813 (atanh_test): Likewise.
32814 (atan2_test): Likewise.
32815 (cabs_test): Likewise.
32816 (cacos_test): Likewise.
32817 (cacosh_test): Likewise.
32818 (casin_test): Likewise.
32819 (casinh_test): Likewise.
32820 (catan_test): Likewise.
32821 (catanh_test): Likewise.
32822 (cbrt_test): Likewise.
32823 (ccos_test): Likewise.
32824 (ccosh_test): Likewise.
32825 (cexp_test): Likewise.
32826 (clog_test): Likewise.
32827 (clog10_test): Likewise.
32828 (cos_test): Likewise.
32829 (cos_test_tonearest): Likewise.
32830 (cos_test_towardzero): Likewise.
32831 (cos_test_downward): Likewise.
32832 (cos_test_upward): Likewise.
32833 (cosh_test): Likewise.
32834 (cosh_test_tonearest): Likewise.
32835 (cosh_test_towardzero): Likewise.
32836 (cosh_test_downward): Likewise.
32837 (cosh_test_upward): Likewise.
32838 (cpow_test): Likewise.
32839 (csin_test): Likewise.
32840 (csinh_test): Likewise.
32841 (csqrt_test): Likewise.
32842 (ctan_test): Likewise.
32843 (ctan_test_tonearest): Likewise.
32844 (ctan_test_towardzero): Likewise.
32845 (ctan_test_downward): Likewise.
32846 (ctan_test_upward): Likewise.
32847 (ctanh_test): Likewise.
32848 (ctanh_test_tonearest): Likewise.
32849 (ctanh_test_towardzero): Likewise.
32850 (ctanh_test_downward): Likewise.
32851 (ctanh_test_upward): Likewise.
32852 (erf_test): Likewise.
32853 (erfc_test): Likewise.
32854 (exp_test): Likewise.
32855 (exp_test_tonearest): Likewise.
32856 (exp_test_towardzero): Likewise.
32857 (exp_test_downward): Likewise.
32858 (exp_test_upward): Likewise.
32859 (exp10_test): Likewise.
32860 (exp2_test): Likewise.
32861 (expm1_test): Likewise.
32862 (fmod_test): Likewise.
32863 (gamma_test): Likewise.
32864 (hypot_test): Likewise.
32865 (j0_test): Likewise.
32866 (j1_test): Likewise.
32867 (jn_test): Likewise.
32868 (lgamma_test): Likewise.
32869 (log_test): Likewise.
32870 (log10_test): Likewise.
32871 (log1p_test): Likewise.
32872 (log2_test): Likewise.
32873 (logb_test_downward): Likewise.
32874 (pow_test): Likewise.
32875 (pow_test_tonearest): Likewise.
32876 (pow_test_towardzero): Likewise.
32877 (pow_test_downward): Likewise.
32878 (pow_test_upward): Likewise.
32879 (remainder_test): Likewise.
32880 (remquo_test): Likewise.
32881 (sin_test): Likewise.
32882 (sin_test_tonearest): Likewise.
32883 (sin_test_towardzero): Likewise.
32884 (sin_test_downward): Likewise.
32885 (sin_test_upward): Likewise.
32886 (sincos_test): Likewise.
32887 (sinh_test): Likewise.
32888 (sinh_test_tonearest): Likewise.
32889 (sinh_test_towardzero): Likewise.
32890 (sinh_test_downward): Likewise.
32891 (sinh_test_upward): Likewise.
32892 (sqrt_test): Likewise.
32893 (tan_test): Likewise.
32894 (tan_test_tonearest): Likewise.
32895 (tan_test_towardzero): Likewise.
32896 (tan_test_downward): Likewise.
32897 (tan_test_upward): Likewise.
32898 (tanh_test): Likewise.
32899 (tgamma_test): Likewise.
32900 (y0_test): Likewise.
32901 (y1_test): Likewise.
32902 (yn_test): Likewise.
32904 * math/gen-libm-test.pl (adjust_arg): Remove function.
32905 (special_function): Remove argument $in_func. Only handle
32906 generating output for tables of tests, not inside functions.
32907 (parse_args): Likewise.
32908 (generate_testfile): Remove variable $in_func. Update call to
32910 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32911 (MINUS_ZERO_INIT): Rename macro to minus_zero.
32912 (PLUS_INFTY_INIT): Rename macro to plus_infty.
32913 (MINUS_INFTY_INIT): Rename macro to minus_infty.
32914 (QNAN_VALUE_INIT): Rename macro to qnan_value.
32915 (MAX_VALUE_INIT): Rename macro to max_value.
32916 (MIN_VALUE_INIT): Rename macro to min_value.
32917 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32918 (plus_zero): Remove variable.
32919 (minus_zero): Likewise.
32920 (plus_infty): Likewise.
32921 (minus_infty): Likewise.
32922 (qnan_value): Likewise.
32923 (max_value): Likewise.
32924 (min_value): Likewise.
32925 (min_subnorm_value): Likewise.
32927 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32929 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32930 uint64_t or uint32_t usage.
32931 * crypt/sha256-block.c: Likewise.
32932 * crypt/sha256-crypt.c: Likewise.
32933 * crypt/sha256.c: Likewise.
32934 * crypt/sha512-block.c: Likewise.
32935 * crypt/sha512-crypt.c: Likewise.
32936 * crypt/sha512.c: Likewise.
32937 * debug/backtrace-tst.c: Likewise.
32938 * debug/pcprofiledump.c: Likewise.
32939 * elf/cache.c: Likewise.
32940 * elf/dl-cache.c: Likewise.
32941 * elf/dl-misc.c: Likewise.
32942 * elf/dl-profile.c: Likewise.
32943 * elf/dl-support.c: Likewise.
32944 * elf/ldconfig.c: Likewise.
32945 * elf/sprof.c: Likewise.
32946 * iconv/dummy-repertoire.c: Likewise.
32947 * iconv/iconv_charmap.c: Likewise.
32948 * iconv/skeleton.c: Likewise.
32949 * iconvdata/8bit-generic.c: Likewise.
32950 * iconvdata/cp737.h: Likewise.
32951 * iconvdata/cp775.h: Likewise.
32952 * iconvdata/ibm1008.h: Likewise.
32953 * iconvdata/ibm1025.h: Likewise.
32954 * iconvdata/ibm1046.h: Likewise.
32955 * iconvdata/ibm1097.h: Likewise.
32956 * iconvdata/ibm1112.h: Likewise.
32957 * iconvdata/ibm1122.h: Likewise.
32958 * iconvdata/ibm1123.h: Likewise.
32959 * iconvdata/ibm1124.h: Likewise.
32960 * iconvdata/ibm1129.h: Likewise.
32961 * iconvdata/ibm1130.h: Likewise.
32962 * iconvdata/ibm1132.h: Likewise.
32963 * iconvdata/ibm1133.h: Likewise.
32964 * iconvdata/ibm1137.h: Likewise.
32965 * iconvdata/ibm1140.h: Likewise.
32966 * iconvdata/ibm1141.h: Likewise.
32967 * iconvdata/ibm1142.h: Likewise.
32968 * iconvdata/ibm1143.h: Likewise.
32969 * iconvdata/ibm1144.h: Likewise.
32970 * iconvdata/ibm1145.h: Likewise.
32971 * iconvdata/ibm1146.h: Likewise.
32972 * iconvdata/ibm1147.h: Likewise.
32973 * iconvdata/ibm1148.h: Likewise.
32974 * iconvdata/ibm1149.h: Likewise.
32975 * iconvdata/ibm1153.h: Likewise.
32976 * iconvdata/ibm1154.h: Likewise.
32977 * iconvdata/ibm1155.h: Likewise.
32978 * iconvdata/ibm1156.h: Likewise.
32979 * iconvdata/ibm1157.h: Likewise.
32980 * iconvdata/ibm1158.h: Likewise.
32981 * iconvdata/ibm1160.h: Likewise.
32982 * iconvdata/ibm1161.h: Likewise.
32983 * iconvdata/ibm1162.h: Likewise.
32984 * iconvdata/ibm1163.h: Likewise.
32985 * iconvdata/ibm1164.h: Likewise.
32986 * iconvdata/ibm1166.h: Likewise.
32987 * iconvdata/ibm1167.h: Likewise.
32988 * iconvdata/ibm12712.h: Likewise.
32989 * iconvdata/ibm1390.h: Likewise.
32990 * iconvdata/ibm1399.h: Likewise.
32991 * iconvdata/ibm16804.h: Likewise.
32992 * iconvdata/ibm4517.h: Likewise.
32993 * iconvdata/ibm4899.h: Likewise.
32994 * iconvdata/ibm4909.h: Likewise.
32995 * iconvdata/ibm4971.h: Likewise.
32996 * iconvdata/ibm5347.h: Likewise.
32997 * iconvdata/ibm803.h: Likewise.
32998 * iconvdata/ibm856.h: Likewise.
32999 * iconvdata/ibm901.h: Likewise.
33000 * iconvdata/ibm902.h: Likewise.
33001 * iconvdata/ibm9030.h: Likewise.
33002 * iconvdata/ibm9066.h: Likewise.
33003 * iconvdata/ibm921.h: Likewise.
33004 * iconvdata/ibm922.h: Likewise.
33005 * iconvdata/ibm9448.h: Likewise.
33006 * iconvdata/isiri-3342.h: Likewise.
33007 * iconvdata/jis0201.h: Likewise.
33008 * include/link.h: Likewise.
33009 * include/netdb.h: Likewise.
33010 * inet/check_native.c: Likewise.
33011 * inet/check_pf.c: Likewise.
33012 * inet/getipv4sourcefilter.c: Likewise.
33013 * inet/getnameinfo.c: Likewise.
33014 * inet/getsourcefilter.c: Likewise.
33015 * inet/htonl.c: Likewise.
33016 * inet/setipv4sourcefilter.c: Likewise.
33017 * inet/setsourcefilter.c: Likewise.
33018 * inet/test-inet6_opt.c: Likewise.
33019 * inet/tst-network.c: Likewise.
33020 * locale/C-collate.c: Likewise.
33021 * locale/C-ctype.c: Likewise.
33022 * locale/C-time.c: Likewise.
33023 * locale/C-translit.h: Likewise.
33024 * locale/loadarchive.c: Likewise.
33025 * locale/programs/3level.h: Likewise.
33026 * locale/programs/charmap.c: Likewise.
33027 * locale/programs/charmap.h: Likewise.
33028 * locale/programs/ld-address.c: Likewise.
33029 * locale/programs/ld-collate.c: Likewise.
33030 * locale/programs/ld-ctype.c: Likewise.
33031 * locale/programs/ld-identification.c: Likewise.
33032 * locale/programs/ld-measurement.c: Likewise.
33033 * locale/programs/ld-messages.c: Likewise.
33034 * locale/programs/ld-monetary.c: Likewise.
33035 * locale/programs/ld-name.c: Likewise.
33036 * locale/programs/ld-numeric.c: Likewise.
33037 * locale/programs/ld-paper.c: Likewise.
33038 * locale/programs/ld-telephone.c: Likewise.
33039 * locale/programs/ld-time.c: Likewise.
33040 * locale/programs/linereader.c: Likewise.
33041 * locale/programs/locale.c: Likewise.
33042 * locale/programs/locarchive.c: Likewise.
33043 * locale/programs/locfile.h: Likewise.
33044 * locale/programs/repertoire.c: Likewise.
33045 * locale/programs/simple-hash.c: Likewise.
33046 * locale/programs/simple-hash.h: Likewise.
33047 * malloc/memusage.c: Likewise.
33048 * malloc/memusagestat.c: Likewise.
33049 * nis/nis_defaults.c: Likewise.
33050 * nis/nis_hash.c: Likewise.
33051 * nis/nis_print.c: Likewise.
33052 * nis/nis_xdr.c: Likewise.
33053 * nscd/connections.c: Likewise.
33054 * nscd/hstcache.c: Likewise.
33055 * nscd/nscd_gethst_r.c: Likewise.
33056 * nscd/nscd_getserv_r.c: Likewise.
33057 * nscd/nscd_helper.c: Likewise.
33058 * nscd/servicescache.c: Likewise.
33059 * nss/makedb.c: Likewise.
33060 * nss/nss_db/db-XXX.c: Likewise.
33061 * nss/nss_db/db-initgroups.c: Likewise.
33062 * nss/nss_db/db-netgrp.c: Likewise.
33063 * nss/nss_files/files-network.c: Likewise.
33064 * nss/nss_files/files-parse.c: Likewise.
33065 * posix/bug-regex5.c: Likewise.
33066 * posix/fnmatch_loop.c: Likewise.
33067 * posix/regcomp.c: Likewise.
33068 * posix/regexec.c: Likewise.
33069 * posix/tst-rfc3484-2.c: Likewise.
33070 * posix/tst-rfc3484-3.c: Likewise.
33071 * posix/tst-rfc3484.c: Likewise.
33072 * resolv/nss_dns/dns-canon.c: Likewise.
33073 * resolv/nss_dns/dns-network.c: Likewise.
33074 * resolv/res_init.c: Likewise.
33075 * resolv/res_mkquery.c: Likewise.
33076 * resolv/tst-aton.c: Likewise.
33077 * stdlib/cxa_atexit.c: Likewise.
33078 * stdlib/cxa_finalize.c: Likewise.
33079 * stdlib/gen-fpioconst.c: Likewise.
33080 * stdlib/strtol_l.c: Likewise.
33081 * string/tst-endian.c: Likewise.
33082 * sunrpc/auth_des.c: Likewise.
33083 * sunrpc/clnt_udp.c: Likewise.
33084 * sunrpc/rtime.c: Likewise.
33085 * sunrpc/svcauth_des.c: Likewise.
33086 * sunrpc/xdr.c: Likewise.
33087 * sunrpc/xdr_intXX_t.c: Likewise.
33088 * sunrpc/xdr_rec.c: Likewise.
33089 * sysdeps/generic/ldconfig.h: Likewise.
33090 * sysdeps/generic/ldsodefs.h: Likewise.
33091 * sysdeps/generic/memusage.h: Likewise.
33092 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33093 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33094 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33095 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33096 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33097 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33098 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33099 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33100 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33101 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33102 * sysdeps/posix/getaddrinfo.c: Likewise.
33103 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33104 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33105 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33106 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33107 * sysdeps/powerpc/test-gettimebase.c: Likewise.
33108 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33109 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33110 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33111 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33112 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33113 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33114 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33115 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33116 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33117 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33118 * sysdeps/x86_64/dl-tls.h: Likewise.
33119 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33120 * time/alt_digit.c: Likewise.
33121 * time/era.c: Likewise.
33122 * wcsmbs/tst-c16c32-1.c: Likewise.
33124 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33126 * math/libm-test.inc (struct test_sincos_data): New type.
33127 (RUN_TEST_LOOP_sincos): New macro.
33128 (sincos_test_data): New variable.
33129 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33131 2013-05-16 Richard Henderson <rth@redhat.com>
33133 * math/atest-exp2.c (LIMB64): New macro.
33134 (CONSTSZ): New macro.
33135 (mp_exp1, mp_exp_m1, mp_log2): New variables.
33137 (print_mpn_fp): ... to function scope.
33138 (read_mpn_hex): Remove.
33139 (get_log2): Remove.
33140 (exp2_mpn): Use mp_log2.
33141 (main): Use mp_exp1.
33143 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33145 * math/libm-test.inc: Remove comment about not testing "inexact"
33147 (INEXACT_EXCEPTION): New macro.
33148 (NO_INEXACT_EXCEPTION): Likewise.
33149 (INVALID_EXCEPTION_OK): Update value.
33150 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33151 (OVERFLOW_EXCEPTION_OK): Likewise.
33152 (UNDERFLOW_EXCEPTION_OK): Likewise.
33153 (IGNORE_ZERO_INF_SIGN): Likewise.
33154 (ERRNO_UNCHANGED): Likewise.
33155 (ERRNO_EDOM): Likewise.
33156 (ERRNO_ERANGE): Likewise.
33157 (test_exceptions): Handle testing "inexact" exceptions.
33158 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33159 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33160 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33161 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33163 (rint_towardzero_test_data): Likewise.
33164 (rint_downward_test_data): Likewise.
33165 (rint_upward_test_data): Likewise.
33167 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33168 with OVERFLOW_EXCEPTION.
33169 (exp10_test_data): Likewise.
33170 (exp2_test_data): Likewise.
33171 (expm1_test_data): Likewise.
33172 (lgamma_test_data): Likewise.
33173 (pow_test_data): Likewise.
33174 (tgamma_test_data): Likewise.
33175 (yn_test_data): Remove duplicate test of overflow.
33177 * math/libm-test.inc (struct test_cc_c_data): New type.
33178 (RUN_TEST_LOOP_cc_c): New macro.
33179 (cpow_test_data): New variable.
33180 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33182 * math/libm-test.inc (struct test_f_L_data): New type.
33183 (RUN_TEST_LOOP_f_L): New macro.
33184 (llrint_test_data): New variable.
33185 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33186 (llrint_tonearest_test_data): New variable.
33187 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33188 (llrint_towardzero_test_data): New variable.
33189 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33190 (llrint_downward_test_data): New variable.
33191 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33192 (llrint_upward_test_data): New variable.
33193 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33194 (llround_test_data): New variable.
33195 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33197 2013-05-13 Peter Collingbourne <pcc@google.com>
33199 * math/atest-exp2.c (get_log2): Remove const attribute.
33201 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33203 * math/libm-test.inc (struct test_f_l_data): New type.
33204 (RUN_TEST_LOOP_f_l): New macro.
33205 (lrint_test_data): New variable.
33206 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33207 (lrint_tonearest_test_data): New variable.
33208 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33209 (lrint_towardzero_test_data): New variable.
33210 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33211 (lrint_downward_test_data): New variable.
33212 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33213 (lrint_upward_test_data): New variable.
33214 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33215 (lround_test_data): New variable.
33216 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33218 2013-05-15 Peter Collingbourne <pcc@google.com>
33220 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33221 (EXTRACT_WORDS64) Use where appropriate.
33222 (INSERT_WORDS64) Likewise.
33224 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33225 constraints with x constraints.
33226 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33228 * malloc/obstack.c (_obstack_compat): Add initializer.
33230 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
33232 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33233 si_trapno and add si_addr_lsb to _sifields.sigfault.
33234 (si_trapno): Remove macro.
33235 (si_addr_lsb): Define new macro.
33236 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33238 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33240 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33241 instead of TEST_f_l.
33242 (llrint_test_tonearest): Likewise.
33243 (llrint_test_towardzero): Likewise.
33244 (llrint_test_downward): Likewise.
33245 (llrint_test_upward): Likewise.
33246 (llround_test): Likewise.
33248 * math/libm-test.inc (struct test_f_i_data): Add comment.
33249 (RUN_TEST_LOOP_f_b): New macro.
33250 (RUN_TEST_LOOP_f_b_tg): Likewise.
33251 (finite_test_data): New variable.
33252 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33253 (isfinite_test_data): New variable.
33254 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33255 (isinf_test_data): New variable.
33256 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33257 (isnan_test_data): New variable.
33258 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33259 (isnormal_test_data): New variable.
33260 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33261 (issignaling_test_data): New variable.
33262 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33263 (signbit_test_data): New variable.
33264 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33266 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33267 with INVALID_EXCEPTION.
33268 (acosh_test_data): Likewise.
33269 (asin_test_data): Likewise.
33270 (atanh_test_data): Likewise.
33271 (fmod_test_data): Likewise.
33272 (log_test_data): Likewise.
33273 (log10_test_data): Likewise.
33274 (log2_test_data): Likewise.
33275 (pow_test_data): Likewise.
33276 (sqrt_test_data): Likewise.
33277 (y0_test_data): Likewise.
33278 (y1_test_data): Likewise.
33279 (yn_test_data): Likewise.
33281 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33284 * math/libm-test.inc (struct test_ff_i_data): New type.
33285 (RUN_TEST_LOOP_ff_i_tg): New macro.
33286 (isgreater_test_data): New variable.
33287 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33288 (isgreaterequal_test_data): New variable.
33289 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33290 (isless_test_data): New variable.
33291 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33292 (islessequal_test_data): New variable.
33293 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33294 (islessgreater_test_data): New variable.
33295 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33296 (isunordered_test_data): New variable.
33297 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33299 2013-05-14 David S. Miller <davem@davemloft.net>
33301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33303 2013-05-14 Joseph Myers <joseph@codesourcery.com>
33305 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33307 * math/libm-test.inc (struct test_fF_f1_data): Change type of
33309 (struct test_f_i_data): Change type of max_ulp to int.
33311 * math/libm-test.inc (test_ffI_f1_data): New type.
33312 (RUN_TEST_LOOP_ffI_f1): New macro.
33313 (remquo_test_data): New variable.
33314 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33316 * setjmp/tst-setjmp-fp.c: New file.
33317 * setjmp/Makefile (tests): Add tst-setjmp-fp.
33318 (link-libm): New variable.
33319 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33321 * math/libm-test.inc (struct test_f_i_data): New type.
33322 (RUN_TEST_LOOP_f_i): New macro.
33323 (RUN_TEST_LOOP_f_i_tg): Likewise.
33324 (fpclassify_test_data): New variable.
33325 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33326 (ilogb_test_data): New variable.
33327 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33329 * math/libm-test.inc (scalbln_test): Correct function name in END
33332 * math/libm-test.inc (struct test_f_f1_data): Add comment.
33333 (RUN_TEST_LOOP_fI_f1): New macro.
33334 (frexp_test_data): New variable.
33335 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33337 * math/libm-test.inc (struct test_fF_f1_data): New type.
33338 (RUN_TEST_LOOP_fF_f1): New macro.
33339 (modf_test_data): New variable.
33340 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33342 * math/libm-test.inc (struct test_f_f1_data): New type.
33343 (RUN_TEST_LOOP_f_f1): New macro.
33344 (gamma_test_data): New variable.
33345 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33346 (lgamma_test_data): New variable.
33347 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33349 2013-05-13 Carlos O'Donell <carlos@redhat.com>
33351 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33352 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33353 (main): Comment "tls" pseudo-hwcap.
33355 2013-05-13 Joseph Myers <joseph@codesourcery.com>
33357 * math/libm-test.inc (struct test_fl_f_data): New type.
33358 (RUN_TEST_LOOP_fl_f): New variable.
33359 (scalbln_test_data): New variable.
33360 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33362 * math/libm-test.inc (struct test_fi_f_data): New type.
33363 (RUN_TEST_LOOP_fi_f): New macro.
33364 (ldexp_test_data): New variable.
33365 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33366 (scalbn_test_data): New variable.
33367 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33369 * math/libm-test.inc (struct test_c_f_data): New type.
33370 (RUN_TEST_LOOP_c_f): New macro.
33371 (cabs_test_data): New variable.
33372 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33373 (carg_test_data): New variable.
33374 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33375 (cimag_test_data): New variable.
33376 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33377 (creal_test_data): New variable.
33378 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33380 * math/libm-test.inc (struct test_if_f_data): New type.
33381 (RUN_TEST_LOOP_if_f): New macro.
33382 (jn_test_data): New variable.
33383 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33384 (yn_test_data): New variable.
33385 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33387 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33389 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33391 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33392 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33394 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33396 * benchtests/Makefile (CPPFLAGS-nonlib): Add
33397 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33398 (bench-deps): Add bench-timing.h.
33399 * benchtests-bench-skeleton.c: Include bench-timing.h.
33400 (main): Use TIMING_* macros instead of clock_gettime.
33401 * benchtests/bench-timing.h: New file.
33404 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33405 Renamed from _LIB_VERSION.
33406 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33408 2013-05-12 Joseph Myers <joseph@codesourcery.com>
33410 * math/libm-test.inc (struct test_fff_f_data): New type.
33411 (RUN_TEST_LOOP_fff_f): New macro.
33412 (fma_test_data): New variable.
33413 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33414 (fma_towardzero_test_data): New variable.
33415 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33416 (fma_downward_test_data): New variable.
33417 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33418 (fma_upward_test_data): New variable.
33419 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33421 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33422 (struct test_c_c_data): New type.
33423 (RUN_TEST_LOOP_c_c): New macro.
33424 (cacos_test_data): New variable.
33425 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33426 (cacosh_test_data): New variable.
33427 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33428 (casin_test_data): New variable.
33429 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33430 (casinh_test_data): New variable.
33431 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33432 (catan_test_data): New variable.
33433 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33434 (catanh_test_data): New variable.
33435 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33436 (ccos_test_data): New variable.
33437 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33438 (ccosh_test_data): New variable.
33439 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33440 (cexp_test_data): New variable.
33441 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33442 (clog_test_data): New variable.
33443 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33444 (clog10_test_data): New variable.
33445 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33446 (conj_test_data): New variable.
33447 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33448 (cproj_test_data): New variable.
33449 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33450 (csin_test_data): New variable.
33451 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33452 (csinh_test_data): New variable.
33453 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33454 (csqrt_test_data): New variable.
33455 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33456 (ctan_test_data): New variable.
33457 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33458 (ctan_tonearest_test_data): New variable.
33459 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33460 (ctan_towardzero_test_data): New variable.
33461 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33462 (ctan_downward_test_data): New variable.
33463 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33464 (ctan_upward_test_data): New variable.
33465 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33466 (ctanh_test_data): New variable.
33467 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33468 (ctanh_tonearest_test_data): New variable.
33469 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33470 (ctanh_towardzero_test_data): New variable.
33471 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33472 (ctanh_downward_test_data): New variable.
33473 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33474 (ctanh_upward_test_data): New variable.
33475 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33476 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33479 * math/libm-test.inc (struct test_ff_f_data): New type.
33480 (struct test_ff_f_data_nexttoward): Likewise.
33481 (RUN_TEST_LOOP_2_f): New macro.
33482 (RUN_TEST_LOOP_ff_f): Likewise.
33483 (atan2_test_data): New variable.
33484 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33485 (copysign_test_data): New variable.
33486 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33487 (fdim_test_data): New variable.
33488 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33489 (fmax_test_data): New variable.
33490 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33491 (fmin_test_data): New variable.
33492 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33493 (fmod_test_data): New variable.
33494 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33495 (hypot_test_data): New variable.
33496 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33497 (nextafter_test_data): New variable.
33498 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33499 (nexttoward_test_data): New variable.
33500 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33501 (pow_test_data): New variable.
33502 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33503 (pow_tonearest_test_data): New variable.
33504 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33505 (pow_towardzero_test_data): New variable.
33506 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33507 (pow_downward_test_data): New variable.
33508 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33509 (pow_upward_test_data): New variable.
33510 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33511 (remainder_test_data): New variable.
33512 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33513 (scalb_test_data): New variable.
33514 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33515 * sysdeps/i386/fpu/libm-test-ulps: Update.
33517 2013-05-11 Joseph Myers <joseph@codesourcery.com>
33519 * math/libm-test.inc (fma_test): Use max_value instead of local
33521 (nextafter_test): Likewise.
33523 * math/libm-test.inc (acos_towardzero_test_data): New variable.
33524 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33525 (acos_downward_test_data): New variable.
33526 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33527 (acos_upward_test_data): New variable.
33528 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33529 (acosh_test_data): New variable.
33530 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33531 (asin_test_data): New variable.
33532 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33533 (asin_tonearest_test_data): New variable.
33534 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33535 (asin_towardzero_test_data): New variable.
33536 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33537 (asin_downward_test_data): New variable.
33538 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33539 (asin_upward_test_data): New variable.
33540 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33541 (asinh_test_data): New variable.
33542 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33543 (atan_test_data): New variable.
33544 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33545 (atanh_test_data): New variable.
33546 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33547 (cbrt_test_data): New variable.
33548 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33549 (ceil_test_data): New variable.
33550 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33551 (cos_test_data): New variable.
33552 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33553 (cos_tonearest_test_data): New variable.
33554 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33555 (cos_towardzero_test_data): New variable.
33556 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33557 (cos_downward_test_data): New variable.
33558 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33559 (cos_upward_test_data): New variable.
33560 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33561 (cosh_test_data): New variable.
33562 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33563 (cosh_tonearest_test_data): New variable.
33564 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33565 (cosh_towardzero_test_data): New variable.
33566 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33567 (cosh_downward_test_data): New variable.
33568 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33569 (cosh_upward_test_data): New variable.
33570 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33571 (erf_test_data): New variable.
33572 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33573 (erfc_test_data): New variable.
33574 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33575 (exp_test_data): New variable.
33576 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33577 (exp_tonearest_test_data): New variable.
33578 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33579 (exp_towardzero_test_data): New variable.
33580 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33581 (exp_downward_test_data): New variable.
33582 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33583 (exp_upward_test_data): New variable.
33584 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33585 (exp10_test_data): New variable.
33586 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33587 (exp2_test_data): New variable.
33588 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33589 (expm1_test_data): New variable.
33590 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33591 (fabs_test_data): New variable.
33592 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33593 (floor_test_data): New variable.
33594 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33595 (j0_test_data): New variable.
33596 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33597 (j1_test_data): New variable.
33598 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33599 (log_test_data): New variable.
33600 (log_test): Run tests with RUN_TEST_LOOP_f_f.
33601 (log10_test_data): New variable.
33602 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33603 (log1p_test_data): New variable.
33604 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33605 (log2_test_data): New variable.
33606 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33607 (logb_test_data): New variable.
33608 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33609 (logb_downward_test_data): New variable.
33610 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33611 (nearbyint_test_data): New variable.
33612 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33613 (rint_test_data): New variable.
33614 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33615 (rint_tonearest_test_data): New variable.
33616 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33617 (rint_towardzero_test_data): New variable.
33618 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33619 (rint_downward_test_data): New variable.
33620 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33621 (rint_upward_test_data): New variable.
33622 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33623 (round_test_data): New variable.
33624 (round_test): Run tests with RUN_TEST_LOOP_f_f.
33625 (sin_test_data): New variable.
33626 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33627 (sin_tonearest_test_data): New variable.
33628 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33629 (sin_towardzero_test_data): New variable.
33630 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33631 (sin_downward_test_data): New variable.
33632 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33633 (sin_upward_test_data): New variable.
33634 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33635 (sinh_test_data): New variable.
33636 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33637 (sinh_tonearest_test_data): New variable.
33638 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33639 (sinh_towardzero_test_data): New variable.
33640 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33641 (sinh_downward_test_data): New variable.
33642 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33643 (sinh_upward_test_data): New variable.
33644 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33645 (sqrt_test_data): New variable.
33646 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33647 (tan_test_data): New variable.
33648 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33649 (tan_tonearest_test_data): New variable.
33650 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33651 (tan_towardzero_test_data): New variable.
33652 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33653 (tan_downward_test_data): New variable.
33654 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33655 (tan_upward_test_data): New variable.
33656 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33657 (tanh_test_data): New variable.
33658 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33659 (tgamma_test_data): New variable.
33660 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33661 (trunc_test_data): New variable.
33662 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33663 (y0_test_data): New variable.
33664 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33665 (y1_test_data): New variable.
33666 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33667 (significand_test_data): New variable.
33668 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33670 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
33673 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33675 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
33677 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33679 2013-05-10 Andreas Jaeger <aj@suse.de>
33682 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33683 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33685 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33687 * math/gen-libm-test.pl (adjust_arg): New function.
33688 (special_functions): Handle generating output in both functions
33690 (parse_args): Likewise.
33691 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
33692 $in_func argument to parse_args.
33693 * math/libm-test.inc (struct test_f_f_data): New type.
33694 (IF_ROUND_INIT_): New macro.
33695 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33696 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33697 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33698 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33699 (ROUND_RESTORE_): Likewise.
33700 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33701 (ROUND_RESTORE_FE_TONEAREST): Likewise.
33702 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33703 (ROUND_RESTORE_FE_UPWARD): Likewise.
33704 (RUN_TEST_LOOP_f_f): New macro.
33705 (acos_test_data): New variable.
33706 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33707 (acos_tonearest_test_data): New variable.
33708 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33710 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33712 * benchtests/bench-skeleton.c (startup): Fix coding style.
33714 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33717 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33718 negative infinity argument.
33719 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33720 negative infinity argument.
33721 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33722 negative infinity argument.
33723 * math/libm-test.inc (tgamma_test): Expect errno to be set for
33726 2013-05-10 Florian Weimer <fweimer@redhat.com>
33728 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33729 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33730 * iconv/iconv_prog.c (main): Likewise.
33731 * locale/programs/charmap-dir.c (charmap_readdir)
33732 (fopen_uncompressed): Likewise.
33733 * locale/programs/locfile.c (siblings_uncached)
33734 (write_locale_data): Use lstat64 instead of lstat.
33735 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33738 2013-05-10 Andreas Jaeger <aj@suse.de>
33741 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33743 Include <locale.h>.
33745 2013-05-09 Carlos O'Donell <carlos@redhat.com>
33747 * elf/dl-close.c (_dl_close_worker): Add comments.
33749 2013-05-09 Joseph Myers <joseph@codesourcery.com>
33752 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33754 (__ieee754_rem_pio2l): Update comments.
33757 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33759 (__ieee754_rem_pio2l): Update comments.
33761 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33762 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33764 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33767 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33768 (M_PI_34_LOG10El): Likewise.
33769 (M_PI2_LOG10El): Likewise.
33770 (M_PI4_LOG10El): Likewise.
33771 (M_PI_LOG10El): Likewise.
33773 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33777 2013-05-08 Joseph Myers <joseph@codesourcery.com>
33779 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33780 (MINUS_ZERO_INIT): Likewise.
33781 (PLUS_INFTY_INIT): Likewise.
33782 (MINUS_INFTY_INIT): Likewise.
33783 (QNAN_VALUE_INIT): Likewise.
33784 (MAX_VALUE_INIT): Likewise.
33785 (MIN_VALUE_INIT): Likewise.
33786 (MIN_SUBNORM_VALUE_INIT): Likewise.
33787 (plus_zero): Initialize with PLUS_ZERO_INIT.
33788 (minus_zero): Initialize with MINUS_ZERO_INIT.
33789 (plus_infty): Initialize with PLUS_INFTY_INIT.
33790 (minus_infty): Initialize with MINUS_INFTY_INIT.
33791 (qnan_value): Initialize with QNAN_VALUE_INIT.
33792 (max_value): Initialize with MAX_VALUE_INIT.
33793 (min_value): Initialize with MIN_VALUE_INIT.
33794 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33796 * math/libm-test.inc (RUN_TEST_if_f): New macro.
33797 (jn_test): Use TEST_if_f instead of TEST_ff_f.
33798 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33799 (yn_test): Use TEST_if_f instead of TEST_ff_f.
33801 * math/libm-test.inc (RUN_TEST_f_f): New macro.
33802 (RUN_TEST_2_f): Likewise.
33803 (RUN_TEST_ff_f): Likewise.
33804 (RUN_TEST_fi_f): Likewise.
33805 (RUN_TEST_fl_f): Likewise.
33806 (RUN_TEST_fff_f): Likewise.
33807 (RUN_TEST_c_f): Likewise.
33808 (RUN_TEST_f_f1): Likewise.
33809 (RUN_TEST_fF_f1): Likewise.
33810 (RUN_TEST_fI_f1): Likewise.
33811 (RUN_TEST_ffI_f1): Likewise.
33812 (RUN_TEST_c_c): Likewise.
33813 (RUN_TEST_cc_c): Likewise.
33814 (RUN_TEST_f_i): Likewise.
33815 (RUN_TEST_f_i_tg): Likewise.
33816 (RUN_TEST_ff_i_tg): Likewise.
33817 (RUN_TEST_f_b): Likewise.
33818 (RUN_TEST_f_b_tg): Likewise.
33819 (RUN_TEST_f_l): Likewise.
33820 (RUN_TEST_f_L): Likewise.
33821 (RUN_TEST_sincos): Likewise.
33822 * math/gen-libm-test.pl (new_test): Take new argument to indicate
33823 whether to show exceptions. Do not include ");\n" in return
33825 (special_functions): Output call to RUN_TEST_sincos instead of
33826 check_float calls. Update calls to new_test.
33827 (parse_args): Output call to single RUN_TEST_* macro instead of
33828 check_* calls and other assignments. Update calls to new_test.
33834 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33835 input to result for tgamma overflow.
33836 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33837 (gamma_coeff): New variable.
33838 (NCOEFF): New macro.
33839 (gamma_positive): New function.
33840 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33841 underflow here. Use gamma_positive instead of exp (lgamma) for
33843 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33844 (gamma_coeff): New variable.
33845 (NCOEFF): New macro.
33846 (gammaf_positive): New function.
33847 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33848 underflow here. Use gamma_positive instead of exp (lgamma) for
33850 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33851 (gamma_coeff): New variable.
33852 (NCOEFF): New macro.
33853 (gammal_positive): New function.
33854 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33855 underflow here. Use gamma_positive instead of exp (lgamma) for
33857 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33858 (gamma_coeff): New variable.
33859 (NCOEFF): New macro.
33860 (gammal_positive): New function.
33861 (__ieee754_gammal_r): Handle positive infinity, overflow and
33862 underflow here. Handle NaN the same as positive infinity. Remove
33863 check x < 0xffffffff for negative integers. Use gamma_positive
33864 instead of exp (lgamma) for other arguments.
33865 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33866 (gamma_coeff): New variable.
33867 (NCOEFF): New macro.
33868 (gammal_positive): New function.
33869 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33870 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33873 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33874 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33875 * sysdeps/generic/math_private.h (__gamma_productf): New
33877 (__gamma_product): Likewise.
33878 (__gamma_productl): Likewise.
33879 * math/Makefile (libm-calls): Add gamma_product.
33880 * math/libm-test.inc (tgamma_test): Add more tests.
33881 * sysdeps/i386/fpu/libm-test-ulps: Update.
33882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33884 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
33886 * benchtests/bench-skeleton.c (main): Preheat CPU.
33888 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
33890 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33892 2013-05-07 Roland McGrath <roland@hack.frob.com>
33894 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33895 and _dl_skip_args_internal.
33897 2013-05-07 Carlos O'Donell <carlos@redhat.com>
33899 * manual/message.texi (Message Translation): Talk about users.
33900 Message to key mapping impacts design.
33902 2013-05-06 Roland McGrath <roland@hack.frob.com>
33904 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33906 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33908 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33909 * sysdeps/wordsize-64/glob64.c: ... here.
33911 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33912 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33915 * debug/getlogin_r_chk.c: Moved to ...
33916 * login/getlogin_r_chk.c: ... here.
33917 * debug/Makefile (routines): Move getlogin_r_chk to ...
33918 * login/Makefile (routines): ... here.
33919 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33920 * login/Versions (libc: GLIBC_2.4): ... here.
33922 * io/poll.c (__poll): Renamed from poll.
33923 Add libc_hidden_def.
33924 (poll): Define as weak alias.
33926 * debug/ptsname_r_chk.c: Moved to ...
33927 * login/ptsname_r_chk.c: ... here.
33928 * debug/Makefile (routines): Move ptsname_r_chk to ...
33929 * login/Makefile (routines): ... here.
33930 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33931 * login/Versions (libc: GLIBC_2.4): ... here.
33933 * posix/getlogin.c: Moved to ...
33934 * login/getlogin.c: ... here.
33935 * posix/getlogin_r.c: Moved to ...
33936 * login/getlogin_r.c: ... here.
33937 * posix/getlogin_r.c: Moved to ...
33938 * login/getlogin_r.c: ... here.
33939 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33940 * login/Makefile (routines): ... here.
33941 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33942 * login/Versions (libc: GLIBC_2.0): ... here.
33944 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33945 (setrlimit): Define as weak alias.
33947 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33948 Call __ names for open, ftruncate, and close.
33949 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33950 (truncate): Define as weak alias.
33952 2013-05-06 Joseph Myers <joseph@codesourcery.com>
33954 * math/gen-libm-test.pl (parse_args): Initialize x before each
33955 test of frexp, modf and remquo.
33957 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33958 test signgam value.
33960 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33964 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33966 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33968 2013-05-06 Roland McGrath <roland@hack.frob.com>
33970 * elf/dl-writev.h: New file.
33971 * elf/dl-misc.c: Include it.
33972 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33973 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33975 2013-05-04 Joseph Myers <joseph@codesourcery.com>
33977 * math/libm-test.inc (noXFails): Remove variable.
33978 (noXPasses): Likewise.
33979 (BUILD_COMPLEX_INT): Remove macro.
33980 (print_screen): Remove xfail argument.
33981 (print_screen_max_error): Likewise.
33982 (update_stats): Likewise.
33983 (print_max_error): Likewise. Update calls to other affected
33985 (print_complex_max_error): Likewise.
33986 (test_single_exception): Update calls to print_screen.
33987 (test_single_errno): Likewise.
33988 (check_float_internal): Remove xfail argument. Update calls to
33989 other affected functions.
33990 (check_float): Likewise.
33991 (check_complex): Likewise.
33992 (check_int): Likewise.
33993 (check_long): Likewise.
33994 (check_bool): Likewise.
33995 (check_longlong): Likewise.
33996 (main): Don't print noXFails and noXPasses.
33997 * math/gen-libm-test.pl (top level): Don't mention expected
33998 failure handling in comment.
33999 (new_test): Don't handle expected failures.
34000 (parse_args): Don't mention expected failure handling in comment.
34001 (generate_testfile): Don't handle expected failures.
34002 (parse_ulps): Likewise.
34003 (print_ulps_file): Likewise.
34004 (get_failure): Remove function.
34005 (output_test): Don't handle expected failures.
34006 * make/README.libm-test: Don't mention expected failure handling.
34008 * math/libm-test.inc (plus_zero): Make const. Add initializer.
34009 (minus_zero): Likewise.
34010 (plus_infty): Likewise.
34011 (minus_infty): Likewise.
34012 (qnan_value): Likewise.
34013 (max_value): Likewise.
34014 (min_value): Likewise.
34015 (min_subnorm_value): Likewise.
34016 (initialize): Do not initialize those variables dynamically.
34018 2013-05-03 Roland McGrath <roland@hack.frob.com>
34020 * io/open.c (__open_2): Moved to ...
34021 * io/open_2.c: ... this new file.
34022 * io/open64.c (__open64_2): Moved to ...
34023 * io/open64_2.c: ... this new file.
34024 * io/openat.c (__openat_2): Moved to ...
34025 * io/openat_2.c: ... this new file.
34026 * io/openat64.c (__openat64_2): Moved to ...
34027 * io/openat64_2.c: ... this new file.
34028 * io/Makefile (routines): Add them.
34029 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34030 * sysdeps/unix/sysv/linux/open_2.c: File removed.
34031 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34032 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34033 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34034 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34035 (__openat64): Add hidden_ver.
34036 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34037 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34039 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34040 Separately conditionalize setting of GLRO(dl_sysinfo) so
34041 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34042 as well, but the actual setting is only under [NEED_DL_SYSINFO].
34044 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34046 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34047 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34049 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34050 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34051 (_libc_vdso_platform_setup): Add __vdso_time initialization.
34052 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34053 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34055 2013-05-03 Joseph Myers <joseph@codesourcery.com>
34057 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34058 test signgam value.
34060 * math/libm-test.inc (hypot_test): Do not use
34061 IGNORE_ZERO_INF_SIGN.
34063 2013-05-03 Andreas Jaeger <aj@suse.de>
34065 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34067 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34068 (PF_MAX): Adjust for VSOCK change.
34070 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34074 2013-05-02 Carlos O'Donell <carlos@redhat.com>
34077 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34078 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34079 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34081 2013-05-02 David S. Miller <davem@davemloft.net>
34083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34085 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
34087 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34089 2013-05-01 Roland McGrath <roland@hack.frob.com>
34091 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34093 2013-05-01 Richard Smith <richard@metafoo.co.uk>
34096 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34097 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34098 Use __attribute__ ((__gnu_inline__)).
34099 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34100 Don't use __attribute__ ((__gnu_inline__)).
34102 2013-05-01 Joseph Myers <joseph@codesourcery.com>
34105 * math/s_catan.c (__catan): Handle small real or imaginary part of
34106 input specially to avoid spurious underflow.
34107 * math/s_catanf.c (__catanf): Likewise.
34108 * math/s_catanh.c (__catanh): Likewise.
34109 * math/s_catanhf.c (__catanhf): Likewise.
34110 * math/s_catanhl.c (__catanhl): Likewise.
34111 * math/s_catanl.c (__catanl): Likewise.
34112 * math/libm-test.inc (catan_test): Add more tests.
34113 (catanh_test): Likewise.
34114 * sysdeps/i386/fpu/libm-test-ulps: Update.
34115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34117 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34121 2013-04-30 Joseph Myers <joseph@codesourcery.com>
34124 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34125 accurately for denominator in atan2.
34126 * math/s_catanf.c (__catanf): Likewise.
34127 * math/s_catanh.c (__catanh): Likewise.
34128 * math/s_catanhf.c (__catanhf): Likewise.
34129 * math/s_catanhl.c (__catanhl): Likewise.
34130 * math/s_catanl.c (__catanl): Likewise.
34131 * math/libm-test.inc (catan_test): Add more tests.
34132 (catanh_test): Likewise.
34133 * sysdeps/i386/fpu/libm-test-ulps: Update.
34134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34136 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34138 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34140 * benchtests/Makefile (bench): Remove slow benchmarks.
34141 * benchtests/atan-inputs: Add slow benchmark inputs.
34142 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34143 (BENCH_FUNC): Accept variant offset.
34145 * benchtests/bench-skeleton.c (main): Run benchmark for each
34147 * benchtests/cos-inputs: Add slow benchmark inputs.
34148 * benchtests/exp-inputs: Likewise.
34149 * benchtests/pow-inputs: Likewise.
34150 * benchtests/sin-inputs: Likewise.
34151 * benchtests/slowatan-inputs: Remove.
34152 * benchtests/slowatan.c: Remove.
34153 * benchtests/slowcos-inputs: Remove.
34154 * benchtests/slowcos.c: Remove.
34155 * benchtests/slowexp-inputs: Remove.
34156 * benchtests/slowexp.c: Remove.
34157 * benchtests/slowpow-inputs: Remove.
34158 * benchtests/slowpow.c: Remove.
34159 * benchtests/slowsin-inputs: Remove.
34160 * benchtests/slowsin.c: Remove.
34161 * benchtests/slowtan-inputs: Remove.
34162 * benchtests/slowtan.c: Remove.
34163 * benchtests/tan-inputs: Add slow benchmark inputs.
34164 * scripts/bench.pl: Parse comments and directives.
34166 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
34168 ($(objpfx)bench-%.c): Remove *-ITER.
34169 * benchtests/bench-modf.c: Remove definition of ITER.
34170 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34171 (main): Loop for DURATION seconds instead of fixed number of
34173 * scripts/bench.pl: Don't expect iterations in parameters.
34175 2013-04-29 Roland McGrath <roland@hack.frob.com>
34177 * io/fchdir.c (__fchdir): Renamed from fchdir.
34178 (fchdir): Define as weak alias.
34180 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34182 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34183 (ERRNO_EDOM): Likewise.
34184 (ERRNO_ERANGE): Likewise.
34185 (noErrnoTests): New variable.
34186 (init_max_error): Set errno to 0.
34187 (test_single_errno): New function.
34188 (test_errno): Likewise.
34189 (check_float_internal): Call test_errno. Set errno to 0.
34190 (check_complex): Refer to errno tests in comment.
34191 (check_int): Call test_errno. Set errno to 0.
34192 (check_long): Likewise.
34193 (check_bool): Likewise.
34194 (check_longlong): Likewise.
34195 (cos_test): Use ERRNO_* flags for errno tests instead of
34197 (expm1_test): Likewise.
34198 (fmod_test): Likewise.
34199 (ilogb_test): Likewise.
34200 (lgamma_test): Likewise.
34201 (pow_test): Likewise.
34202 (remainder_test): Likewise.
34203 (sin_test): Likewise.
34204 (tan_test): Likewise.
34205 (yn_test): Likewise.
34206 (initialize): Set errno to 0.
34207 (main): Print number of errno tests.
34208 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34210 2013-04-29 Andreas Jaeger <aj@suse.de>
34213 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34217 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34218 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34222 * stdlib/random.c (__initstate): Return NULL if
34226 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34227 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34230 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34234 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34236 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34237 of individual tests.
34238 (casin_test): Likewise.
34239 (casinh_test): Likewise.
34241 2013-04-27 Joseph Myers <joseph@codesourcery.com>
34244 * math/s_catan.c (__catan): Handle arguments with large real or
34245 imaginary part separately without squaring.
34246 * math/s_catanf.c (__catanf): Likewise.
34247 * math/s_catanh.c (__catanh): Likewise.
34248 * math/s_catanhf.c (__catanhf): Likewise.
34249 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34251 (__catanhl): Handle arguments with large real or imaginary part
34252 separately without squaring.
34253 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34255 (__catanl): Handle arguments with large real or imaginary part
34256 separately without squaring.
34257 * math/libm-test.inc (catan_test): Add more tests.
34258 (catanh_test): Likewise.
34259 * sysdeps/i386/fpu/libm-test-ulps: Update.
34260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34262 2013-04-27 Andreas Jaeger <aj@suse.de>
34265 * stdlib/stdlib.h: Update guards for qecvt.
34266 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34269 2013-04-27 Allan McRae <allan@archlinux.org>
34271 * sysdeps/i386/fpu/libm-test-ulps: Update.
34273 2013-04-26 Joseph Myers <joseph@codesourcery.com>
34276 * math/s_catan.c: Include <float.h>.
34277 (__catan): Ensure underflow exception occurs for underflowed
34279 * math/s_catanf.c: Include <float.h>.
34280 (__catanf): Ensure underflow exception occurs for underflowed
34282 * math/s_catanh.c: Include <float.h>.
34283 (__catanh): Ensure underflow exception occurs for underflowed
34285 * math/s_catanhf.c: Include <float.h>.
34286 (__catanhf): Ensure underflow exception occurs for underflowed
34288 * math/s_catanhl.c: Include <float.h>.
34289 (__catanhl): Ensure underflow exception occurs for underflowed
34291 * math/s_catanl.c: Include <float.h>.
34292 (__catanl): Ensure underflow exception occurs for underflowed
34294 * math/libm-test.inc (catan_test): Add more tests.
34295 (catanh_test): Likewise.
34298 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34299 underflowed result.
34300 * math/s_ccoshf.c (__ccoshf): Likewise.
34301 * math/s_ccoshl.c (__ccoshl): Likewise.
34302 * math/s_csin.c (__csin): Likewise.
34303 * math/s_csinf.c (__csinf): Likewise.
34304 * math/s_csinh.c (__csinh): Likewise.
34305 * math/s_csinhf.c (__csinhf): Likewise.
34306 * math/s_csinhl.c (__csinhl): Likewise.
34307 * math/s_csinl.c (__csinl): Likewise.
34308 * math/libm-test.inc (ccos_test): Add more tests.
34309 (ccosh_test): Likewise.
34310 (csin_test): Likewise.
34311 (csinh_test): Likewise.
34313 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34315 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34316 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34317 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34318 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34319 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34320 powerpc/power5+/fpu folders.
34321 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34324 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34328 2013-04-25 Joseph Myers <joseph@codesourcery.com>
34330 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34331 additions to variable.
34332 [$(config-machine) = x86_64] (modules-names): Likewise.
34333 ($(objpfx)tst-audit3): Remove dependency.
34334 ($(objpfx)tst-audit3.out): Likewise.
34335 ($(objpfx)tst-audit4): Likewise.
34336 ($(objpfx)tst-audit4.out): Likewise.
34337 ($(objpfx)tst-audit5): Likewise.
34338 ($(objpfx)tst-audit5.out): Likewise.
34339 ($(objpfx)tst-audit6): Likewise.
34340 ($(objpfx)tst-audit6.out): Likewise.
34341 ($(objpfx)tst-audit7): Likewise.
34342 ($(objpfx)tst-audit7.out): Likewise.
34343 (tst-audit3-ENV): Remove variable.
34344 (tst-audit4-ENV): Likewise.
34345 (tst-audit5-ENV): Likewise.
34346 (tst-audit6-ENV): Likewise.
34347 (tst-audit7-ENV): Likewise.
34348 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34349 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34350 addition to variable.
34351 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34352 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34353 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34354 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34355 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34356 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34357 tst-audit3, tst-audit4 and tst-audit5.
34358 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34359 tst-audit6 and tst-audit7.
34360 [$(subdir) = elf] (modules-names): Add audit modules for those
34362 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34363 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34364 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34365 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34366 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34367 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34368 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34369 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34370 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34371 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34372 [$(subdir) = elf] (tst-audit3-ENV): New variable.
34373 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34374 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34375 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34376 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34377 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34379 [$(subdir) = elf && $(config-cflags-avx) = yes]
34380 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34381 [$(subdir) = elf && $(config-cflags-avx) = yes]
34382 (CFLAGS-tst-auditmod4a.c): Likewise.
34383 [$(subdir) = elf && $(config-cflags-avx) = yes]
34384 (CFLAGS-tst-auditmod4b.c): Likewise.
34385 [$(subdir) = elf && $(config-cflags-avx) = yes]
34386 (CFLAGS-tst-auditmod6b.c): Likewise.
34387 [$(subdir) = elf && $(config-cflags-avx) = yes]
34388 (CFLAGS-tst-auditmod6c.c): Likewise.
34389 [$(subdir) = elf && $(config-cflags-avx) = yes]
34390 (CFLAGS-tst-auditmod7b.c): Likewise.
34391 * elf/tst-audit3.c: Move to ...
34392 * sysdeps/x86_64/tst-audit3.c: ... here.
34393 * elf/tst-audit4.c: Move to ...
34394 * sysdeps/x86_64/tst-audit4.c: ... here.
34395 * elf/tst-audit5.c: Move to ...
34396 * sysdeps/x86_64/tst-audit5.c: ... here.
34397 * elf/tst-audit6.c: Move to ...
34398 * sysdeps/x86_64/tst-audit6.c: ... here.
34399 * elf/tst-audit7.c: Move to ...
34400 * sysdeps/x86_64/tst-audit7.c: ... here.
34401 * elf/tst-auditmod3a.c: Move to ...
34402 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34403 * elf/tst-auditmod3b.c: Move to ...
34404 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34405 * elf/tst-auditmod4a.c: Move to ...
34406 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34407 * elf/tst-auditmod4b.c: Move to ...
34408 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34409 * elf/tst-auditmod5a.c: Move to ...
34410 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34411 * elf/tst-auditmod5b.c: Move to ...
34412 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34413 * elf/tst-auditmod6a.c: Move to ...
34414 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34415 * elf/tst-auditmod6b.c: Move to ...
34416 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34417 * elf/tst-auditmod6c.c: Move to ...
34418 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34419 * elf/tst-auditmod7a.c: Move to ...
34420 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34421 * elf/tst-auditmod7b.c: Move to ...
34422 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34424 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
34427 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34428 define unconditionally.
34429 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34430 define unconditionally.
34431 (INT8_C, INT16_C, etc.): Likewise.
34433 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
34435 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34436 __ehdr_start with hidden visibility.
34438 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34440 2013-04-24 Carlos O'Donell <carlos@redhat.com>
34442 * math/libm-test.inc (cos_test): Use accurate hex constants.
34443 (sincost_test): Likewise.
34445 2013-04-24 Joseph Myers <joseph@codesourcery.com>
34447 * math/libm-test.inc (catan_test): Add more tests.
34448 (catanh_test): Likewise.
34450 * math/s_catanf.c (__catanf): Use suffixed floating-point
34452 * math/s_catanhf.c (__catanhf): Likewise.
34453 * math/s_catanhl.c (__catanhl): Likewise.
34454 * math/s_catanl.c (__catanl): Likewise.
34457 * math/s_catan.c (__catan): Calculate imaginary part of result
34458 with log1p not log unless computing log of number close to 0.
34459 * math/s_catanf.c (__catanf): Likewise.
34460 * math/s_catanl.c (__catanl): Likewise.
34461 * math/s_catanh.c (__catanh): Calculate real part of result with
34462 log1p not log unless computing log of number close to 0.
34463 * math/s_catanhf.c (__catanhf): Likewise.
34464 * math/s_catanhl.c (__catanhl): Likewise.
34465 * math/libm-test.inc (catan_test): Add more tests.
34466 (catanh_test): Likewise.
34467 * sysdeps/i386/fpu/libm-test-ulps: Update.
34468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34470 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34472 * benchtests/Makefile: Mention files in which fast and slow
34473 paths of math functions are implemented.
34475 2013-04-23 Roland McGrath <roland@hack.frob.com>
34477 * sysdeps/posix/timespec_get.c: New file.
34479 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34481 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34483 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34485 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34486 powerpc/power5/fpu folders.
34487 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34488 * benchtests/Makefile: Add modf testcase.
34489 * benchtests/bench-modf.c: New file: Benchmark test for mo
34491 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34494 * time/Makefile (tests): Add tst-strptime-whitespace.
34495 * time/strptime_l.c (get_number): Use ISSPACE.
34496 (__strptime_internal): Likewise.
34497 * time/tst-strptime-whitespace.c: New test case.
34499 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
34501 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34503 (_nss_files_init): Set it here.
34505 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
34507 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34508 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34511 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
34513 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34515 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34517 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34520 2013-04-21 David S. Miller <davem@davemloft.net>
34522 * po/ru.po: Update Russion translation from translation project.
34524 2013-04-17 Adam Conrad <adconrad@0c3.net>
34526 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34529 2013-04-17 Carlos O'Donell <carlos@redhat.com>
34531 * configure.in: Remove i386 configure warning. Remove i386 case.
34532 * configure: Regenerate.
34533 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34534 Add example to error message.
34535 * sysdeps/i386/configure: Regenerate.
34537 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34539 * benchtests/Makefile (bench): Add cos, tan, slowcos and
34541 * benchtests/cos-inputs: New file.
34542 * benchtests/slowcos-inputs: New file.
34543 * benchtests/slowcos.c: New file.
34544 * benchtests/slowtan-inputs: New file.
34545 * benchtests/slowtan.c: New file.
34546 * benchtests/tan-inputs: New file.
34548 2013-04-16 Roland McGrath <roland@hack.frob.com>
34550 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34553 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34555 * benchtests/Makefile: Include cppflags-iterator.mk to add
34556 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34558 * Makefile.in (bench-clean): New target.
34559 * benchtests/Makefile (bench-clean): Likewise.
34561 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
34563 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34565 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
34567 * stdio-common/tstdiomisc.c: Fix coding-style violation.
34569 2013-04-15 Andreas Schwab <schwab@suse.de>
34571 * nscd/grpcache.c (cache_addgr): Properly check for short write.
34572 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34573 * nscd/pwdcache.c (cache_addpw): Likewise.
34574 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
34577 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34579 * benchtests/Makefile (bench): Write all output to
34580 bench-out.tmp together.
34582 2013-04-15 Andreas Schwab <schwab@suse.de>
34584 * nscd/nscd.c (main): Don't fork again after closing files.
34586 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34588 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34590 * benchtests/Rules (bench-deps): Collect dependencies into a
34591 single variable. Add Makefile to dependencies.
34592 ($(objpfx)bench-%.c): Depend on bench-deps.
34594 2013-04-12 Roland McGrath <roland@hack.frob.com>
34595 Xavier Roche <roche+kml2@exalead.com>
34598 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34599 just that it's a file descriptor.
34600 * manual/llio.texi (Synchronizing AIO Operations): Update description
34601 for EBADF error from aio_fsync.
34603 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34605 * Rules (bench): Move target definition...
34606 * benchtests/Makefile: ... here.
34608 2013-04-11 Carlos O'Donell <carlos@redhat.com>
34610 * math/libm-test.inc (cos_test): Fix PI/2 test.
34611 (sincos_test): Likewise.
34612 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34613 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34615 2013-04-11 Andreas Schwab <schwab@suse.de>
34618 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34619 accept exponent character only when digits were seen.
34620 * stdio-common/Makefile (tests): Add bug26.
34621 * stdio-common/bug26.c: New file.
34624 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34627 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34629 * Makeconfig (rtld-prefix): Define built linker prefix.
34630 * Rules (run-bench): Use it.
34631 * math/Makefile (run-regen-ulps): Likewise.
34633 * Rules (bench): Remove eval.
34635 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34636 Roland McGrath <roland@hack.frob.com>
34637 Ondrej Bilka <neleai@seznam.cz>
34640 * time/getdate.c: Include ctype.h and alloca.h.
34641 (__getdate_r): Trim leading and trailing spaces of input.
34642 * time/tst-getdate.c (tests): Add tests with leading and
34645 2013-04-08 Roland McGrath <roland@hack.frob.com>
34648 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34649 when computing value.
34651 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34653 * math/README.libm-test (How can I generate "libm-test-ulps"?):
34654 Use testrun.sh to run libm tests.
34657 * elf/dl-open.c (dl_open_worker): memset all of seen array.
34659 2013-04-06 Marko Myllynen <myllynen@redhat.com>
34662 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34664 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34666 * Makefile.in (regen-ulps): New target.
34667 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34668 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34669 [ifneq (no,$(PERL)] (regen-ulps): New target.
34670 [ifeq (no,$(PERL)] (regen-ulps): New target.
34671 * math/libm-test.inc (ulps_file_name): Define.
34672 (output_dir): New variable.
34673 (options): Add "output-dir" option.
34674 (parse_opt): Handle 'o' case.
34675 (main): If output_dir is non-NULL use it as a prefix
34677 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34679 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34681 [BZ #10060, #10062]
34682 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34683 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34684 fail configure if __sync_val_compare_and_swap is not inlined.
34685 * sysdeps/i386/configure: Regenerate.
34686 * configure.in: Build for i686 when configured for i386.
34687 * configure: Regenerate.
34688 * README: Remove i386 reference.
34690 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34692 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34693 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34695 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
34697 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34698 (lmsnanval): New variables.
34699 (F): Add conversion tests.
34700 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34701 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34703 * stdio-common/tstdiomisc.c (F): Properly collect individual
34706 [BZ #14686, #15336]
34707 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34708 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34709 Instead, use input NaN values or generate a qNaN by arithmetic
34710 operation. Also fix bugs to comply with the standard.
34711 * math/libm-test.inc (remainder_test): Add more tests.
34713 [BZ #15335, #15342]
34714 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34715 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34716 input NaN values or generate a qNaN by arithmetic operation.
34718 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34721 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34724 2013-04-03 Joseph Myers <joseph@codesourcery.com>
34727 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34728 underflowed result.
34729 * math/s_cexpf.c (__cexpf): Likewise.
34730 * math/s_cexpl.c (__cexpl): Likewise.
34731 * math/libm-test.inc (cexp_test): Add more tests.
34733 2013-04-03 Andreas Schwab <schwab@suse.de>
34736 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34737 order arrays from heap if bigger than alloca cutoff.
34739 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
34741 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34742 (SNAN_TESTS_double): Refer to GCC PR56831.
34743 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34746 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34748 * Rules (bench): Move bench.out after the run is complete.
34750 * Rules (bench): Echo currently running benchmark.
34752 * benchtests/Makefile (bench): Add atan and slowatan.
34753 * benchtests/atan-inputs: New file.
34754 * benchtests/slowatan-inputs: New file.
34755 * benchtests/slowatan.c: New file.
34757 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34758 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34762 * sysdeps/unix/sysv/linux/kernel-features.h
34763 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34764 __ASSUME_XFS_RESTRICTED_CHOWN.
34765 * sysdeps/unix/sysv/linux/pathconf.c
34766 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34767 Save and restore errno.
34769 2013-04-02 Joseph Myers <joseph@codesourcery.com>
34772 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34773 arguments using __kernel_casinh.
34774 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34775 arguments using __kernel_casinhf.
34776 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34777 arguments using __kernel_casinhl.
34778 * math/libm-test.inc (cacosh_test): Add more tests.
34779 * sysdeps/i386/fpu/libm-test-ulps: Update.
34780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34782 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34784 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34787 * bench/Makefile (bench): Add sin and slowsin.
34788 * benchtests/sin-inputs: New file.
34789 * benchtests/slowsin-inputs: New file.
34790 * benchtests/slowsin.c: New file.
34792 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34793 (bench): Add slowexp and slowpow.
34794 (exp-ITER): Increase iterations.
34795 (pow-ITER): Likewise.
34796 * benchtests/exp-inputs: Change input.
34797 * benchtests/pow-inputs: Likewise.
34798 * benchtests/slowexp-inputs: New file.
34799 * benchtests/slowexp.c: New file.
34800 * benchtests/slowpow-inputs: New file.
34801 * benchtests/slowpow.c: New file.
34803 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34805 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34807 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34808 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34809 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34810 * benchtests/Makefile: Add rint benchtest.
34811 * benchtests/rint-inputs: Input for rint benchtest.
34813 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
34815 * Versions.def (libm): Add GLIBC_2.18.
34816 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34817 hidden libm prototypes.
34818 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34819 * math/Makefile (libm-calls): Add s_issignaling.
34820 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34821 __issignalingf, __issignalingl. Adjust all libm.abilist files.
34822 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34824 * math/math.h [__USE_GNU] (issignaling): New macro.
34825 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34826 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34827 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34828 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34829 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34830 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34831 * manual/arith.texi (issignaling): New section.
34832 * manual/libm-err-tab.pl (@all_functions): Update comment.
34833 * math/gen-libm-test.pl (parse_args): Apply special handling for
34835 * math/libm-test.inc (print_float, issignaling_test): New
34837 (check_float_internal): Add issignaling checks.
34838 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34839 default definition.
34840 * sysdeps/powerpc/math-tests.h: New file.
34841 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34843 * math/test-snan.c (TEST_FUNC): Likewise.
34845 2013-03-30 David S. Miller <davem@davemloft.net>
34847 * po/de.po: Update from translation team.
34849 2013-03-30 Joseph Myers <joseph@codesourcery.com>
34852 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34853 imaginary part less than 1.0 and real part less than 0.5
34855 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34856 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34857 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34858 (cacos_test): Add more tests.
34859 (casin_test): Likewise.
34860 (casinh_test): Likewise.
34861 * sysdeps/i386/fpu/libm-test-ulps: Update.
34862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34864 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34866 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34867 ONE with its value.
34869 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34870 (__pow_mp): Replace ONE and MONE with their values.
34871 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34872 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34873 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34874 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34875 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34876 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34878 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34880 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34881 (__pow_mp): Replace ZERO and MZERO with their values.
34882 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34883 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34884 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34885 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34886 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34887 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34890 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34892 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34894 2013-03-28 Roland McGrath <roland@hack.frob.com>
34896 * include/stdlib.h [!SHARED] (__call_tls_dtors):
34897 Declare with __attribute__ ((weak)).
34898 * stdlib/exit.c (__libc_atexit) [!SHARED]:
34899 Call __call_tls_dtors only if it's not NULL.
34901 2013-03-28 Roland McGrath <roland@hack.frob.com>
34903 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34904 didn't do it already, then set _dl_phdr and _dl_phnum based on the
34905 magic __ehdr_start linker symbol if it's defined.
34906 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34907 them up here if it was already done.
34909 * elf/dl-support.c (_dl_phdr): Make pointer to const.
34910 (_dl_aux_init): Use const in cast when setting it.
34911 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34912 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34913 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34915 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34917 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34918 * csu/libc-tls.c: Nor here.
34919 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34921 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34922 (__libc_message): Never call vsyslog.
34924 2013-03-28 Alan Modra <amodra@gmail.com>
34926 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34928 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34931 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34934 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34938 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34941 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34942 Don't add gid passed as argument.
34944 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34946 2013-03-27 Joseph Myers <joseph@codesourcery.com>
34949 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34950 imaginary part between 1.0 and 1.5 and real part less than 0.5
34952 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34953 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34954 * math/libm-test.inc (cacos_test): Add more tests.
34955 (casin_test): Likewise.
34956 (casinh_test): Likewise.
34957 * sysdeps/i386/fpu/libm-test-ulps: Update.
34958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34960 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34962 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34965 (denorm): Likewise.
34966 (__dbl_mp): Likewise.
34967 (add_magnitudes): Likewise.
34968 (sub_magnitudes): Likewise.
34976 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34978 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34979 (__dubcos): Likewise.
34980 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34981 (__ieee754_acos): Likewise.
34982 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34983 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34984 (__exp1): Likewise.
34985 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34986 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34988 (my_log2): Likewise.
34989 (checkint): Likewise.
34990 * sysdeps/ieee754/dbl-64/e_remainder.c
34991 (__ieee754_remainder): Likewise.
34992 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34993 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34994 (bsloww): Likewise.
34995 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34997 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34998 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34999 MANTISSA_STORE_T to store computations on mantissa. Use
35000 macros for rounding and division.
35001 (denorm): Likewise.
35002 (__dbl_mp): Likewise.
35003 (add_magnitudes): Likewise.
35004 (sub_magnitudes): Likewise.
35007 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35008 powers of two in terms of TWOPOW macro.
35009 (mp_no): Make type of mantissa as MANTISSA_T.
35010 [!RADIXI]: Define RADIXI.
35011 [!TWO52]: Define TWO52.
35012 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35014 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35016 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35017 llroundl symbol when building for PPC32.
35019 2013-03-24 Mark H Weaver <mhw@netris.org>
35021 * manual/arith.texi (Normalization Functions): Fix prototypes for
35022 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35024 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35027 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35028 high value to check if expl overflow.
35029 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35030 to check for underflow and overflow.
35031 * math/libm-test.inc: Add exp test.
35033 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
35036 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35039 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35041 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35044 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
35046 * math/gen-libm-test.pl (parse_args, special_functions): Properly
35047 wrap blocks consisting of several statements.
35049 * sysdeps/generic/math-tests.h: New file.
35050 * sysdeps/i386/fpu/math-tests.h: Likewise.
35051 * math/test-snan.c: Include it.
35052 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35054 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35057 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35058 (__ieee754_j0l): Do not improve calculations using cos of twice
35059 input for inputs above LDBL_MAX / 2.0L.
35060 (__ieee754_y0l): Likewise.
35061 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35062 (__ieee754_j1l): Do not improve calculations using cos of twice
35063 input for inputs above LDBL_MAX / 2.0L.
35064 (__ieee754_y1l): Likewise.
35065 * math/libm-test.inc (j0_test): Add another test.
35066 (j1_test): Likewise.
35067 (y0_test): Likewise.
35068 (y1_test): Likewise.
35069 * sysdeps/i386/fpu/libm-test-ulps: Update.
35071 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35073 * Rules ($(objpfx)bench-%.c): Include code from a C source
35076 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35079 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35080 imaginary part 1.0 and real part less than 0.5 specially.
35081 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35082 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35083 * math/libm-test.inc (cacos_test): Add more tests.
35084 (casin_test): Likewise.
35085 (casinh_test): Likewise.
35086 * sysdeps/i386/fpu/libm-test-ulps: Update.
35087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35089 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35091 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35092 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35094 2013-03-20 Joseph Myers <joseph@codesourcery.com>
35096 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35097 * config.make.in (config-cflags-sse4): Remove variable.
35098 (config-cflags-avx): Likewise.
35099 (config-cflags-sse2avx): Likewise.
35100 (config-cflags-novzeroupper): Likewise.
35101 (config-asflags-i686): Likewise.
35102 (have-mfma4): Likewise.
35103 (have-as-vis3): Likewise.
35105 * configure.in (MIG): Do not AC_SUBST.
35106 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35107 (libc_cv_cc_sse4): Do not AC_SUBST.
35108 (libc_cv_cc_avx): Likewise.
35109 (libc_cv_cc_sse2avx): Likewise.
35110 (libc_cv_cc_novzeroupper): Likewise.
35111 (libc_cv_cc_fma4): Likewise.
35112 (libc_cv_as_i686): Likewise.
35113 (libc_cv_sparc_as_vis3): Likewise.
35114 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35116 (config-asflags-i686): Likewise.
35117 (config-cflags-avx): Likewise.
35118 (config-cflags-sse2avx): Likewise.
35119 (have-mfma4): Likewise.
35120 (config-cflags-novzeroupper): Likewise.
35121 * sysdeps/mach/configure.in (MIG): Likewise.
35122 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35123 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35125 (config-cflags-avx): Likewise.
35126 (config-cflags-sse2avx): Likewise.
35127 (have-mfma4): Likewise.
35128 (config-cflags-novzeroupper): Likewise.
35129 * configure: Regenerated.
35130 * sysdeps/i386/configure: Likewise.
35131 * sysdeps/mach/configure: Likewise.
35132 * sysdeps/sparc/configure: Likewise.
35133 * sysdeps/x86_64/configure: Likewise.
35135 2013-03-20 Roland McGrath <roland@hack.frob.com>
35138 * locale/programs/localedef.c (options): Put N_ translation marker
35139 on argument names, not just descriptions.
35141 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35143 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35145 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
35148 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35150 2013-03-19 Roland McGrath <roland@hack.frob.com>
35152 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35153 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35154 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35155 [!BEFORE_ABORT] (before_abort): New function.
35156 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35157 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35158 (writev_for_fatal): New function.
35159 (WRITEV_FOR_FATAL): New macro; call that.
35160 (backtrace_and_maps): New function.
35161 (BEFORE_ABORT): New macro; call that.
35162 (struct str_list): Type removed.
35163 (__libc_message, __libc_fatal): Functions removed.
35164 Include <sysdeps/posix/libc_fatal.c> instead.
35166 2013-03-19 Joseph Myers <joseph@codesourcery.com>
35168 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35170 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35173 2013-03-19 Andreas Schwab <schwab@suse.de>
35175 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35176 * sysdeps/gnu/configure: Regenerate.
35178 * configure.in: Substitute libc_cv_rtlddir.
35179 * configure: Regenerate.
35180 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35181 * Makeconfig (rtlddir, inst_rtlddir): New variables.
35182 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35183 * elf/Makefile (install-others, CFLAGS-interp.c)
35184 (ldso_install, common-ldd-rewrite): Likewise.
35185 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35186 $(inst_slibdir)/$(rtld-installed-name).
35187 * scripts/rellns-sh: Add -p option.
35188 * Makerules (make-shlib-link): Use rellns-sh to get relative name
35191 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35193 * manual/nptl.texi: Renamed to ...
35194 * manual/threads.texi: ... this.
35195 * manual/Makefile (chapters): Update.
35197 2013-03-18 Roland McGrath <roland@hack.frob.com>
35200 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35201 on argument names, not just descriptions.
35202 * malloc/memusagestat.c (options): Likewise.
35203 * nss/getent.c (options): Likewise.
35205 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
35208 * iconv/iconv_prog.c (options): Put N_ translation marker
35209 on argument names, not just descriptions.
35210 * iconv/iconvconfig.c (options): Likewise.
35212 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
35214 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35215 implementation which is faster on all x86_64 architectures.
35216 Tested on AMD, Intel Nehalem, SNB, IVB.
35217 * sysdeps/x86_64/strnlen.S: Likewise.
35219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35220 Remove all multiarch strlen and strnlen versions.
35221 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35222 Remove strlen and strnlen related parts.
35224 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35225 Inline strlen part.
35226 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35228 * sysdeps/x86_64/multiarch/strlen.S: Remove.
35229 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35230 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35231 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35232 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35233 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35235 2013-03-17 Carlos O'Donell <carlos@redhat.com>
35237 * manual/memory.texi (Malloc Tunable Parameters):
35238 Sort parameters alphabetically. Add comments for missing entries.
35240 2013-03-17 David S. Miller <davem@davemloft.net>
35242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35244 2013-03-16 Joseph Myers <joseph@codesourcery.com>
35247 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35248 for arguments at most half maximum finite value.
35249 * math/libm-test.inc (j0_test): Add more tests.
35250 (j1_test): Likewise.
35251 (y0_test): Likewise.
35252 (y1_test): Likewise.
35253 * sysdeps/i386/fpu/libm-test-ulps: Update.
35254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35257 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35258 1 / x and functions P and Q for arguments above 0x1p256L.
35259 (__ieee754_y0l): Likewise.
35260 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35261 (__ieee754_y1l): Likewise.
35262 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35263 (j1_test): Likewise.
35264 (y0_test): Likewise.
35265 (y1_test): Likewise.
35267 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
35269 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35272 2013-03-15 Roland McGrath <roland@hack.frob.com>
35274 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35275 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35276 zero since it's initialized to EXEC_PAGESIZE.
35278 * sysdeps/unix/sysv/linux/ldsodefs.h
35279 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35280 * sysdeps/generic/ldsodefs.h: ... here.
35282 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
35284 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35286 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35288 * math/test-snan.c: Renamed from
35289 sysdeps/powerpc/fpu/test-powerpc-snan.c.
35290 * math/Makefile (tests): Add test-snan.
35291 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35294 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35295 SUFFIX. Initialize qNaN_var with __builtin_nan family of
35297 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
35298 __builtin_nan family of functions.
35299 * math/libm-test.inc (initialize): Initialize qnan_value with
35300 __builtin_nan family of functions.
35301 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35303 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35305 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
35306 storage class. Initialize qNaN_var and sNaN_var with
35307 __builtin_nan and __builtin_nans families of functions,
35310 * math/libm-test.inc (acosh_test): Also test with qNaN input.
35311 (sqrt_test): Remove duplicate test with qNaN input.
35312 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35313 (round_test, signbit_test, significand_test): Note missing +/-Inf
35314 as well as qNaN tests.
35316 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35317 qNaN_var. Fix a few strings, too.
35318 * math/libm-test.inc (nan_value): Rename to qnan_value.
35319 * math/gen-libm-test.pl (%beautify): Adjust to that.
35320 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35321 * math/test-misc.c (main): Likewise.
35322 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35323 to __qnan_bytes, and __qnan_union, respectively.
35324 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35326 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35327 and lqnanval, respectively.
35328 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35329 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35330 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35331 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35333 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35334 * math/test-misc.c (main) [__x86_64__]: Enable test for long
35337 * math/test-misc.c (main): Fix copy'n'pastos.
35338 * misc/tst-efgcvt.c (special): Likewise.
35340 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35341 Remove declarations.
35343 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35345 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35346 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35347 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35348 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35350 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35352 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35353 macro to return vdso values correctly in IFUNC implementations.
35354 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35355 Optimization by using IFUNC.
35357 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35358 Richard Henderson <rth@redhat.com>
35359 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35361 * Makefile.in (bench): New target.
35362 * NEWS: Mention the benchmark framework.
35363 * Rules (bench): Likewise.
35364 (binaries-bench): Generate binaries for functions to
35366 * benchtests/Makefile: New makefile for benchmark tests.
35367 * benchtests/bench-skeleton.c: New skeleton file for benchmark
35369 * benchtests/exp-inputs: New input file for EXP function.
35370 * benchtests/pow-inputs: New input file for POW function.
35371 * scripts/bench.pl: New script to generate source files for
35372 benchmark programs.
35374 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35376 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35377 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35378 computations on mantissa. Use macros for rounding and
35380 (denorm): Likewise.
35381 (__dbl_mp): Likewise.
35382 (add_magnitudes): Likewise.
35383 (sub_magnitudes): Likewise.
35386 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35387 powers of two in terms of TWOPOW macro.
35388 (mp_no): Make type of mantissa as MANTISSA_T.
35389 [!RADIXI]: Define RADIXI.
35390 [!TWO52]: Define TWO52.
35391 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35393 * manual/nptl.texi (cindex): Modify threads to pthreads.
35395 2013-03-15 Joseph Myers <joseph@codesourcery.com>
35397 * sysdeps/x86_64/preconfigure: Regenerated.
35399 2013-03-14 Joseph Myers <joseph@codesourcery.com>
35402 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35404 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35405 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35407 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35408 * math/libm-test.inc (j0_test): Do not allow one spurious
35409 underflow exception.
35410 (y1_test): Likewise.
35412 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35414 * manual/Makefile (chapters): Add nptl.
35415 * manual/debug.texi (Debugging Support): Add link to Threads
35417 * manual/nptl.texi: New file.
35419 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35421 2013-03-14 Petr Baudis <pasky@ucw.cz>
35423 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35424 for non-NULL pointer before the memory validity test. Pointed
35425 out by Holger Brunck <holger.brunck@keymile.com>.
35427 2013-03-13 Andreas Schwab <schwab@suse.de>
35429 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35432 2013-03-13 Joseph Myers <joseph@codesourcery.com>
35434 * timezone/zic.c: Update from tzcode 2013b.
35436 2013-03-12 Carlos O'Donell <carlos@redhat.com>
35438 * manual/install.texi (Configuring and compiling):
35439 Mention i686 and i586.
35440 * INSTALL: Regenerate.
35442 2013-03-12 Roland McGrath <roland@hack.frob.com>
35444 * sysdeps/init_array/elf-init.c: New file.
35446 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35447 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35449 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35450 __gmon_start__ as global, but as static with a .preinit_array pointer.
35451 * sysdeps/init_array/gmon-start.c: New file. Use that.
35452 * sysdeps/init_array/crti.S: New file, empty except for comments.
35453 * sysdeps/init_array/crtn.S: Likewise.
35455 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
35457 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35460 Remove Prefer_SSE_for_memop.
35461 * sysdeps/x86_64/multiarch/init-arch.h: Remove
35462 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35463 HAS_PREFER_SSE_FOR_MEMOP.
35464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35466 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35467 Remove bzero, memset ifunc support.
35468 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35469 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35470 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35471 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35473 2013-03-11 Andreas Schwab <schwab@suse.de>
35476 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35479 (GLIBC_2.16): Remove pthread_atfork.
35481 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
35483 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35484 (ptestcases.h): Likewise.
35486 2013-03-08 Roland McGrath <roland@hack.frob.com>
35488 * Makeconfig ($(common-objpfx)config.status): Depend on
35489 sysdeps/*/preconfigure{,.in} too.
35491 2013-03-08 Joseph Myers <joseph@codesourcery.com>
35493 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35494 (__free_hook): Use void * instead of __malloc_ptr_t.
35495 (__malloc_hook): Likewise.
35496 (__realloc_hook): Likewise.
35497 (__memalign_hook): Likewise.
35498 (__after_morecore_hook): Likewise.
35499 * malloc/arena.c (save_malloc_hook): Likewise.
35500 (save_free_hook): Likewise.
35501 * malloc/hooks.c (malloc_hook_ini): Likewise.
35502 (realloc_hook_ini): Likewise.
35503 (memalign_hook_ini): Likewise.
35504 * malloc/malloc.c (malloc_hook_ini): Likewise.
35505 (realloc_hook_ini): Likewise.
35506 (memalign_hook_ini): Likewise.
35507 (__free_hook): Likewise.
35508 (__malloc_hook): Likewise.
35509 (__realloc_hook): Likewise.
35510 (__memalign_hook): Likewise.
35511 (__libc_malloc): Likewise.
35512 (__libc_free): Likewise.
35513 (__libc_realloc): Likewise.
35514 (__libc_memalign): Likewise.
35515 (__libc_valloc): Likewise.
35516 (__libc_pvalloc): Likewise.
35517 (__libc_calloc): Likewise.
35518 (__posix_memalign): Likewise.
35519 * malloc/morecore.c (__sbrk): Likewise.
35520 (__default_morecore): Likewise.
35522 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35524 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35525 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35526 __malloc_ptrdiff_t.
35528 * malloc/malloc.h (__malloc_size_t): Remove macro.
35529 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35531 (old_memalign_hook): Likewise.
35532 (old_realloc_hook): Likewise.
35533 (struct hdr): Likewise.
35535 (mallochook): Likewise.
35536 (memalignhook): Likewise.
35537 (reallochook): Likewise.
35538 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35539 (tr_old_realloc_hook): Likewise.
35540 (tr_old_memalign_hook): Likewise.
35541 (tr_mallochook): Likewise.
35542 (tr_reallochook): Likewise.
35543 (tr_memalignhook): Likewise.
35545 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35547 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35548 default_ldbl_pack and using as default implementation.
35549 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35551 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35552 redundant definition.
35553 (ldbl_insert_mantissa): Likewise.
35554 (ldbl_canonicalize): Likewise.
35555 (ldbl_nearbyint): Likewise.
35556 (ldbl_pack): Rename to ldbl_pack_ppc.
35557 (ldbl_unpack): Rename to ldbl_unpack_ppc.
35558 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35559 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35561 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35564 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35565 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35566 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35568 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35569 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35570 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35572 2013-03-07 Andreas Jaeger <aj@suse.de>
35574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35577 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35579 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35580 Include mpa.h and declare __MPEXP.
35581 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35582 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35583 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35584 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35585 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35586 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35587 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35589 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35590 (__slowpow): Use long double EXPL and LOGL functions to
35592 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35593 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35594 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35595 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35596 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35597 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35600 intermediate variable to calculate exponent.
35602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35606 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35607 [!NO__SQR]: Define __sqr.
35608 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35609 and NO__SQR. Remove all code except __mul and __sqr. Include
35610 sysdeps/ieee754/dbl-64/mpa.c.
35611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35614 * posix/Makefile (tests): Add tst-pathconf.
35615 * posix/tst-pathconf.c: New test case.
35616 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35618 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35620 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
35622 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35624 2013-03-06 Andreas Jaeger <aj@suse.de>
35626 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35627 definition via __MAP_ANONYMOUS.
35629 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35630 it's not part of Linux headers.
35632 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35633 (MAP_HUGE_MASK): Define.
35635 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35637 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35638 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35640 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35641 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35643 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35644 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35646 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35648 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35649 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35650 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35651 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35652 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35653 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35655 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35658 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35659 Handle f2fs and efivarfs.
35661 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35664 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35665 (EFIVARFS_MAGIC): Add.
35666 (F2FS_LINK_MAX): Add.
35668 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35670 * stdio-common/vfprintf.c: Replace __builtin_expect with
35673 2013-03-06 Joseph Myers <joseph@codesourcery.com>
35676 * sysdeps/generic/bp-sym.h: Remove file.
35677 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35678 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35679 <bp-sym.h> and <bp-asm.h>.
35680 (__longjmp): Don't use BP_SYM.
35681 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35683 (memcpy): Don't use BP_SYM.
35684 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35685 <bp-sym.h> and <bp-asm.h>.
35686 (memcpy): Don't use BP_SYM.
35687 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35689 (memcpy): Don't use BP_SYM.
35690 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35692 (memset): Don't use BP_SYM.
35693 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35694 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35695 (__bzero): Don't use BP_SYM.
35696 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35697 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35698 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35699 <bp-sym.h> and <bp-asm.h>.
35700 (memcmp): Don't use BP_SYM. Remove comment about bounded
35702 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35703 <bp-sym.h> and <bp-asm.h>.
35704 (memcpy): Don't use BP_SYM.
35705 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35706 <bp-sym.h> and <bp-asm.h>.
35707 (memset): Don't use BP_SYM.
35708 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35709 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35710 (__bzero): Don't use BP_SYM.
35711 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35712 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35713 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35714 <bp-sym.h> and <bp-asm.h>.
35715 (strncmp): Don't use BP_SYM. Remove comment about bounded
35717 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35718 <bp-sym.h> and <bp-asm.h>.
35719 (memcpy): Don't use BP_SYM.
35720 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35721 <bp-sym.h> and <bp-asm.h>.
35722 (memset): Don't use BP_SYM.
35723 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35724 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35725 (__bzero): Don't use BP_SYM.
35726 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35727 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35728 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35729 <bp-sym.h> and <bp-asm.h>.
35730 (__memchr): Don't use BP_SYM.
35731 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35732 <bp-sym.h> and <bp-asm.h>.
35733 (memcmp): Don't use BP_SYM. Remove comment about bounded
35735 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35736 <bp-sym.h> and <bp-asm.h>.
35737 (memcpy): Don't use BP_SYM.
35738 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35739 <bp-sym.h> and <bp-asm.h>.
35740 (__mempcpy): Don't use BP_SYM.
35741 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35742 <bp-sym.h> and <bp-asm.h>.
35743 (__memrchr): Don't use BP_SYM.
35744 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35745 <bp-sym.h> and <bp-asm.h>.
35746 (memset): Don't use BP_SYM.
35747 (__bzero): Likewise.
35748 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35749 <bp-sym.h> and <bp-asm.h>.
35750 (__rawmemchr): Don't use BP_SYM.
35751 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35752 <bp-sym.h> and <bp-asm.h>.
35753 (__STRCMP): Don't use BP_SYM.
35754 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35755 <bp-sym.h> and <bp-asm.h>.
35756 (strchr): Don't use BP_SYM.
35757 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35758 <bp-sym.h> and <bp-asm.h>.
35759 (__strchrnul): Don't use BP_SYM.
35760 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35761 <bp-sym.h> and <bp-asm.h>.
35762 (strlen): Don't use BP_SYM.
35763 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35764 <bp-sym.h> and <bp-asm.h>.
35765 (strncmp): Don't use BP_SYM. Remove comment about bounded
35767 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35768 <bp-sym.h> and <bp-asm.h>.
35769 (__strnlen): Don't use BP_SYM.
35770 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35771 <bp-sym.h> and <bp-asm.h>.
35772 (__GI__setjmp): Don't use BP_SYM.
35773 (_setjmp): Likewise.
35774 (__sigsetjmp): Likewise.
35775 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35776 (L(start_addresses)): Don't use BP_SYM.
35777 (_start): Likewise.
35778 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35780 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35781 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35782 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35783 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35784 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35786 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35787 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
35788 about bounded pointers.
35789 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35790 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35791 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35793 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35794 about bounded pointers. Remove GKM FIXME comments.
35795 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35796 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35798 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35799 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
35800 Remove GKM FIXME comments.
35801 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35802 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35803 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35805 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35806 about bounded pointers. Remove GKM FIXME comment.
35807 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35809 (strncmp): Don't use BP_SYM. Remove comment about bounded
35811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35812 <bp-sym.h> and <bp-asm.h>.
35813 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35815 <bp-sym.h> and <bp-asm.h>.
35816 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35819 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35821 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35824 2013-03-05 David S. Miller <davem@davemloft.net>
35826 * po/es.po: Update from translation team.
35828 2013-03-05 Andreas Jaeger <aj@suse.de>
35830 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35831 <bits/mman-linux.h>.
35832 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35834 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35835 <bits/mman-linux.h> to end of file.
35836 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35838 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35839 <bits/mman-linux.h> to end of file.
35840 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35842 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35843 <bits/mman-linux.h> to end of file.
35845 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35846 (MCL_CURRENT, MCL_FUTURE): Define here.
35848 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35851 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35853 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35855 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35857 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35858 fourth parameter needed for rt_sigprocmask syscall.
35859 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35860 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35861 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35862 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35863 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35864 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35866 2013-03-04 Joseph Myers <joseph@codesourcery.com>
35869 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35870 comment about bounded pointers.
35871 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35872 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35874 2013-03-04 Andreas Jaeger <aj@suse.de>
35876 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35877 common definitions.
35879 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35880 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35881 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35882 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35883 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35884 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35886 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35889 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35890 __ieee754_sqrl instead of __sqrl.
35892 2013-03-01 Joseph Myers <joseph@codesourcery.com>
35894 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35895 * sysdeps/powerpc/fpu_control.h: ... here.
35896 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35897 * sysdeps/powerpc/bits/fenvinline.h: ... here.
35898 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35899 * sysdeps/powerpc/bits/mathinline.h: ... here.
35901 2013-03-01 Roland McGrath <roland@hack.frob.com>
35903 * elf/dl-hwcaps.c (_dl_important_hwcaps):
35904 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35905 to just [NEED_DL_SYSINFO_DSO].
35906 * elf/dl-support.c: Likewise.
35907 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35908 * elf/rtld.c (dl_main): Likewise.
35909 * elf/setup-vdso.h (setup_vdso): Likewise.
35910 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35911 * sysdeps/unix/sysv/linux/dl-sysdep.c
35912 (_dl_discover_osversion): Likewise.
35914 2013-03-01 Carlos O'Donell <carlos@redhat.com>
35916 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35917 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35919 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35921 * NEWS: Mention libm performance improvements and non-x86 PI
35924 * csu/libc-start.c (__pthread_initialize_minimal): Change
35925 function arguments.
35926 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35928 2013-02-28 Joseph Myers <joseph@codesourcery.com>
35931 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35932 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35933 <bp-sym.h> and <bp-asm.h>.
35934 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35935 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35937 (memcpy): Don't use BP_SYM.
35938 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35940 (__mpn_add_n): Don't use BP_SYM.
35941 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35942 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35944 (__mpn_addmul_1): Don't use BP_SYM.
35945 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35946 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35948 (_setjmp): Don't use BP_SYM.
35949 (__novmx_setjmp): Likewise.
35950 (__GI__setjmp): Likewise.
35951 (__vmx_setjmp): Likewise.
35952 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35954 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35955 (__bzero): Don't use BP_SYM.
35956 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35957 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35958 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35959 <bp-sym.h> and <bp-asm.h>.
35960 (memcpy): Don't use BP_SYM.
35961 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35962 <bp-sym.h> and <bp-asm.h>.
35963 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35964 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35965 <bp-sym.h> and <bp-asm.h>.
35966 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35967 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35969 (__mpn_lshift): Don't use BP_SYM.
35970 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35971 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35973 (memset): Don't use BP_SYM.
35974 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35975 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35976 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35978 (__mpn_mul_1): Don't use BP_SYM.
35979 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35980 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35981 <bp-sym.h> and <bp-asm.h>.
35982 (memcmp): Don't use BP_SYM.
35983 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35984 <bp-sym.h> and <bp-asm.h>.
35985 (memcpy): Don't use BP_SYM.
35986 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35987 <bp-sym.h> and <bp-asm.h>.
35988 (memset): Don't use BP_SYM.
35989 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35990 <bp-sym.h> and <bp-asm.h>.
35991 (strncmp): Don't use BP_SYM.
35992 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35993 <bp-sym.h> and <bp-asm.h>.
35994 (memcpy): Don't use BP_SYM.
35995 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35996 <bp-sym.h> and <bp-asm.h>.
35997 (memset): Don't use BP_SYM.
35998 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35999 <bp-sym.h> and <bp-asm.h>.
36000 (__memchr): Don't use BP_SYM.
36001 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36002 <bp-sym.h> and <bp-asm.h>.
36003 (memcmp): Don't use BP_SYM.
36004 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36005 <bp-sym.h> and <bp-asm.h>.
36006 (memcpy): Don't use BP_SYM.
36007 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36008 <bp-sym.h> and <bp-asm.h>.
36009 (__mempcpy): Don't use BP_SYM.
36010 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36011 <bp-sym.h> and <bp-asm.h>.
36012 (__memrchr): Don't use BP_SYM.
36013 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36014 <bp-sym.h> and <bp-asm.h>.
36015 (memset): Don't use BP_SYM.
36016 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36017 <bp-sym.h> and <bp-asm.h>.
36018 (__rawmemchr): Don't use BP_SYM.
36019 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36020 <bp-sym.h> and <bp-asm.h>.
36021 (__STRCMP): Don't use BP_SYM.
36022 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36023 <bp-sym.h> and <bp-asm.h>.
36024 (strchr): Don't use BP_SYM.
36025 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36026 <bp-sym.h> and <bp-asm.h>.
36027 (__strchrnul): Don't use BP_SYM.
36028 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36029 <bp-sym.h> and <bp-asm.h>.
36030 (strlen): Don't use BP_SYM.
36031 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36032 <bp-sym.h> and <bp-asm.h>.
36033 (strncmp): Don't use BP_SYM.
36034 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36035 <bp-sym.h> and <bp-asm.h>.
36036 (__strnlen): Don't use BP_SYM.
36037 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36039 (__mpn_rshift): Don't use BP_SYM.
36040 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36041 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36042 <bp-sym.h> and <bp-asm.h>.
36043 (__sigsetjmp): Don't use BP_SYM.
36044 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36045 (L(start_addresses)): Don't use BP_SYM.
36046 (_start): Likewise.
36047 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36049 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36050 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36051 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36052 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36054 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36055 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36056 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36057 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36059 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36061 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36062 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36064 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
36066 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36067 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36068 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36070 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36072 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36074 (strncmp): Don't use BP_SYM,
36075 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36077 (__mpn_sub_n): Don't use BP_SYM.
36078 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36079 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36081 (__mpn_submul_1): Don't use BP_SYM.
36082 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36084 <bp-sym.h> and <bp-asm.h>.
36085 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36087 <bp-sym.h> and <bp-asm.h>.
36088 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36091 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36094 Use ZK to minimize writes to Z.
36095 (sub_magnitudes): Simplify code a bit.
36096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36097 Use ZK to minimize writes to Z.
36098 (sub_magnitudes): Simplify code a bit.
36100 2013-02-27 Roland McGrath <roland@hack.frob.com>
36102 * csu/gmon-start.c: Add special exception to license text.
36104 2013-02-27 Richard Henderson <rth@redhat.com>
36106 * scripts/config.guess: Update from config.git.
36107 * scripts/config.sub: Likewise.
36109 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36111 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36113 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36115 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36117 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36119 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36121 2013-02-26 Roland McGrath <roland@hack.frob.com>
36123 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36124 [$(build-shared = yes].
36126 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36128 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36129 (__mul): Reduce iterations for calculating mantissa.
36131 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36133 (__mpranred): Likewise.
36136 * malloc/memusagestat.c (main): Draw graphs for heap and stack
36137 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36139 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
36141 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36142 Define __attribute__.
36144 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36146 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36148 * posix/regex_internal.h (__attribute): Remove.
36149 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36150 (re_string_context_at): Likewise.
36151 (bitset_not): Use __attribute__ and mark function as possibly
36153 (bitset_merge): Likewise.
36154 (bitset_mask): Likewise.
36155 (re_string_char_size_at): Likewise.
36156 (re_string_wchar_at): Likewise.
36157 (re_string_elem_size_at): Likewise.
36159 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36161 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36165 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36169 (denorm): Likewise.
36170 (__dbl_mp): Likewise.
36171 (add_magnitudes): Likewise.
36172 (sub_magnitudes): Likewise.
36176 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36179 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36182 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36186 up changes with default code.
36187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36190 2013-02-24 Allan McRae <allan@archlinux.org>
36192 * manual/socket.texi (The Internet Namespace): Order menu items
36193 to match that in the file.
36195 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36196 node listing of the info page menu.
36198 2013-02-21 Joseph Myers <joseph@codesourcery.com>
36201 * sysdeps/i386/bp-asm.h: Remove file.
36202 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36203 (PARMS): Do not use macros from bp-asm.h.
36207 (__mpn_add_n): Do not use BP_SYM
36208 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36210 (PARMS): Do not use macros from bp-asm.h.
36213 (__mpn_addmul_1): Do not use BP_SYM
36214 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36216 (PARMS): Do not use macros from bp-asm.h.
36217 (SIGMSK): Likewise.
36218 (_setjmp): Likewise. Do not use BP_SYM.
36219 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36221 (PARMS): Do not use macros from bp-asm.h.
36222 (SIGMSK): Likewise.
36223 (setjmp): Likewise. Do not use BP_SYM.
36224 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36226 (PARMS): Do not use macros from bp-asm.h.
36227 (__frexp): Do not use BP_SYM.
36229 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36231 (PARMS): Do not use macros from bp-asm.h.
36232 (__frexpf): Do not use BP_SYM.
36233 (frexpf): Likewise.
36234 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36236 (PARMS): Do not use macros from bp-asm.h.
36237 (__frexpl): Do not use BP_SYM.
36238 (frexpl): Likewise.
36239 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36241 (PARMS): Do not use macros from bp-asm.h.
36242 (__remquo): Do not use BP_SYM.
36243 (remquo): Likewise.
36244 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36246 (PARMS): Do not use macros from bp-asm.h.
36247 (__remquof): Do not use BP_SYM.
36248 (remquof): Likewise.
36249 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36251 (PARMS): Do not use macros from bp-asm.h.
36252 (__remquol): Do not use BP_SYM.
36253 (remquol): Likewise.
36254 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36256 (PARMS): Do not use macros from bp-asm.h.
36259 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
36260 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36262 (PARMS): Do not use macros from bp-asm.h.
36263 (strlen): Do not use BP_SYM.
36264 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36266 (PARMS): Do not use macros from bp-asm.h.
36270 (__mpn_add_n): Do not use BP_SYM.
36271 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36273 (PARMS): Do not use macros from bp-asm.h.
36276 (__mpn_addmul_1): Do not use BP_SYM.
36277 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36280 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36282 (PARMS): Do not use macros from bp-asm.h.
36285 (__mpn_lshift): Do not use BP_SYM.
36286 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36288 (PARMS): Do not use macros from bp-asm.h.
36292 (memcpy): Likewise. Do not use BP_SYM.
36293 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36294 libc_hidden_def and weak_alias.
36295 (mempcpy): Do not use BP_SYM in weak_alias.
36296 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36298 (PARMS): Do not use macros from bp-asm.h.
36301 [!BZERO_P] (CHR): Likewise.
36302 (memset): Likewise. Do not use BP_SYM.
36303 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36305 (PARMS): Do not use macros from bp-asm.h.
36308 (__mpn_mul_1): Do not use BP_SYM.
36309 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36311 (PARMS): Do not use macros from bp-asm.h.
36314 (__mpn_rshift): Do not use BP_SYM.
36315 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36317 (PARMS): Do not use macros from bp-asm.h.
36320 (strchr): Likewise. Do not use BP_SYM.
36321 (index): Do not use BP_SYM in weak_alias.
36322 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36324 (PARMS): Do not use macros from bp-asm.h.
36327 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
36328 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36330 (PARMS): Do not use macros from bp-asm.h.
36331 (strlen): Do not use BP_SYM.
36332 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36334 (PARMS): Do not use macros from bp-asm.h.
36338 (__mpn_sub_n): Do not use BP_SYM.
36339 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36341 (PARMS): Do not use macros from bp-asm.h.
36344 (__mpn_submul_1): Do not use BP_SYM.
36345 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36347 (PARMS): Do not use macros from bp-asm.h.
36351 (__mpn_add_n): Do not use BP_SYM.
36352 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36355 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36357 (PARMS): Do not use macros from bp-asm.h.
36360 (memcmp): Do not use BP_SYM.
36361 (bcmp): Do not use BP_SYM in weak_alias.
36362 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36364 (PARMS): Do not use macros from bp-asm.h.
36368 (memcpy): Likewise. Do not use BP_SYM.
36369 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36371 (PARMS): Do not use macros from bp-asm.h.
36375 (memmove): Likewise. Do not use BP_SYM.
36376 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36378 (PARMS): Do not use macros from bp-asm.h.
36382 (__mempcpy): Likewise. Do not use BP_SYM.
36383 (mempcpy): Do not use BP_SYM in weak_alias.
36384 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36386 (PARMS): Do not use macros from bp-asm.h.
36389 [!BZERO_P] (CHR): Likewise.
36390 (memset): Likewise. Do not use BP_SYM.
36391 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36393 (PARMS): Do not use macros from bp-asm.h.
36395 (strcmp): Do not use BP_SYM.
36396 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36398 (PARMS): Do not use macros from bp-asm.h.
36401 [USE_AS_STRTOK_R] (SAVE): Likewise.
36402 (FUNCTION): Likewise. Do not use BP_SYM.
36403 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36405 (strtok_r): Likewise.
36406 (__GI___strtok_r): Likewise.
36407 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36408 (PARMS): Do not use macros from bp-asm.h.
36411 (__mpn_lshift): Do not use BP_SYM.
36412 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36413 (PARMS): Do not use macros from bp-asm.h.
36416 (__memchr): Do not use BP_SYM.
36417 (memchr): Do not use BP_SYM in weak_alias.
36418 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36419 (PARMS): Do not use macros from bp-asm.h.
36422 (memcmp): Do not use BP_SYM.
36423 (bcmp): Do not use BP_SYM in weak_alias.
36424 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36425 (PARMS): Do not use macros from bp-asm.h.
36428 (__mpn_mul_1): Do not use BP_SYM.
36429 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36431 (PARMS): Do not use macros from bp-asm.h.
36434 (__rawmemchr): Do not use BP_SYM.
36435 (rawmemchr): Do not use BP_SYM in weak_alias.
36436 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36437 (PARMS): Do not use macros from bp-asm.h.
36440 (__mpn_rshift): Do not use BP_SYM.
36441 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36442 (PARMS): Do not use macros from bp-asm.h.
36443 (SIGMSK): Likewise.
36444 (__sigsetjmp): Likewise. Do not use BP_SYM.
36445 * sysdeps/i386/start.S: Do not include "bp-sym.h".
36446 (_start): Do not use BP_SYM.
36447 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36448 (PARMS): Do not use macros from bp-asm.h.
36451 (__stpcpy): Likewise. Do not use BP_SYM.
36452 (stpcpy): Do not use BP_SYM in weak_alias.
36453 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36455 (PARMS): Do not use macros from bp-asm.h.
36459 (__stpncpy): Likewise. Do not use BP_SYM.
36460 (stpncpy): Do not use BP_SYM in weak_alias.
36461 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36462 (PARMS): Do not use macros from bp-asm.h.
36465 (strchr): Likewise. Do not use BP_SYM.
36466 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36468 (PARMS): Do not use macros from bp-asm.h.
36471 (__strchrnul): Likewise. Do not use BP_SYM.
36472 (strchrnul): Do not use BP_SYM in weak_alias.
36473 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36475 (PARMS): Do not use macros from bp-asm.h.
36477 (strcspn): Do not use BP_SYM.
36478 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36480 (PARMS): Do not use macros from bp-asm.h.
36483 (strpbrk): Likewise. Do not use BP_SYM.
36484 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36486 (PARMS): Do not use macros from bp-asm.h.
36489 (strrchr): Likewise. Do not use BP_SYM.
36490 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36491 (PARMS): Do not use macros from bp-asm.h.
36493 (strspn): Do not use BP_SYM.
36494 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36495 (PARMS): Do not use macros from bp-asm.h.
36499 (FUNCTION): Likewise. Do not use BP_SYM.
36500 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36502 (strtok_r): Likewise.
36503 (__GI___strtok_r): Likewise.
36504 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36505 (PARMS): Do not use macros from bp-asm.h.
36509 (__mpn_sub_n): Do not use BP_SYM.
36510 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36512 (PARMS): Do not use macros from bp-asm.h.
36515 (__mpn_submul_1): Do not use BP_SYM.
36516 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36518 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36520 (PARMS): Do not use macros from bp-asm.h.
36525 (__clone): Do not use BP_SYM.
36526 (clone): Do not use BP_SYM in weak_alias.
36527 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36529 (PARMS): Do not use macros from bp-asm.h.
36531 (__mmap64): Do not use BP_SYM.
36532 (mmap64): Do not use BP_SYM in weak_alias.
36533 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36534 <bp-sym.h> and <bp-asm.h>.
36535 (PARMS): Do not use macros from bp-asm.h.
36536 (__posix_fadvise64_l64): Do not use BP_SYM.
36537 * sysdeps/unix/sysv/linux/i386/semtimedop.S
36538 (PARMS): Do not use macros from bp-asm.h.
36540 (semtimedop): Do not use BP_SYM.
36541 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36544 2013-02-21 Allan McRae <allan@archlinux.org>
36546 * manual/message.texi (Charset conversion in gettext):
36547 Move @end statement to beginning of line.
36549 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36556 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36557 (denorm): Likewise.
36558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36561 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36563 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36564 tail-call to the resolved function if pltexit isn't needed.
36566 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36569 or Y being zero as being unlikely.
36570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36573 2013-02-20 Carlos O'Donell <carlos@redhat.com>
36575 * manual/nss.texi (System Databases and Name Service Switch):
36576 Remove frobnicate @pxref.
36578 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36580 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36581 __attribute__ ((unused)) to __attribute__ ((__unused__)).
36583 2013-02-20 Petr Machata <pmachata@redhat.com>
36585 * elf/elf.h (R_ARM_TARGET1): New macro.
36586 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36587 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36588 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36589 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36590 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36591 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36592 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36593 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36594 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36595 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36596 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36597 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36598 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36599 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36600 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36601 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36602 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36603 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36604 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36605 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36606 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36607 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36608 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36609 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36610 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36611 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36612 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36613 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36614 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36615 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36616 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36617 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36618 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36619 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36620 (R_ARM_THM_GOT_BREL12): Likewise.
36621 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36622 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36623 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36624 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36625 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36626 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36627 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36628 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36629 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36631 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36633 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36634 __attribute_used__ to __attribute__ ((unused)).
36636 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36638 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36641 comment formatting.
36642 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36644 2013-02-19 Joseph Myers <joseph@codesourcery.com>
36647 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36649 (ENTER): Remove both macro definitions.
36651 (CHECK_BOUNDS_LOW): Likewise.
36652 (CHECK_BOUNDS_HIGH): Likewise.
36653 (CHECK_BOUNDS_BOTH): Likewise.
36654 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36655 (RETURN_BOUNDED_POINTER): Likewise.
36656 (RETURN_NULL_BOUNDED_POINTER): Likewise.
36657 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36658 (POP_ERRNO_LOCATION_RETURN): Likewise.
36659 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36660 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36661 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36663 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36664 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36665 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36666 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36667 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36668 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36669 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36670 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36671 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36672 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36673 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36674 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36675 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36676 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36678 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36679 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36681 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36682 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36683 * sysdeps/i386/i586/memset.S (memset): Likewise.
36684 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36685 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36686 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36688 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36689 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36690 Change uses of L(2) to L(out).
36691 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36692 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36693 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36694 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36695 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36697 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36698 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36700 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36701 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36702 (RETURN): Do not use macro LEAVE.
36703 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36704 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36705 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36706 * sysdeps/i386/i686/memset.S (memset): Likewise.
36707 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36708 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36709 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36710 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36712 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36713 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
36714 L(1_2) and L(1_3) into L(1).
36715 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36716 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36717 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36718 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36719 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36720 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36721 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36722 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36723 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36725 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36726 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36727 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36728 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36729 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36730 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36731 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36732 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36733 * sysdeps/i386/strcspn.S (strcspn): Likewise.
36734 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36735 * sysdeps/i386/strrchr.S (strrchr): Likewise.
36736 * sysdeps/i386/strspn.S (strspn): Likewise.
36737 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36739 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36740 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36741 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36742 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
36743 L(1_3) into L(1_1).
36744 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36745 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36746 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36748 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36750 2013-02-19 Jakub Jelinek <jakub@redhat.com>
36752 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36755 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36757 * math/atest-exp.c (exp_mpn): Remove ROUND.
36758 * math/atest-exp2.c (exp_mpn): Likewise.
36759 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36761 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36762 * stdlib/tst-tls-atexit-lib.c: Likewise.
36763 * stdlib/tst-tls-atexit.c: Likewise.
36765 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36767 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36768 and __attribute_alloc_size__.
36770 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36772 * include/programs/xmalloc.h: Change __attribute_alloc_size to
36773 __attribute_alloc_size__.
36774 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36775 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36777 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36779 * include/programs/xmalloc.h: New file.
36780 * catgets/gencat.c: Include it.
36781 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36782 * elf/pldd.c: Likewise.
36783 * iconv/iconv_charmap.c: Likewise.
36784 * iconv/iconvconfig.c: Likewise.
36785 * iconv/strtab.c: Likewise.
36786 * locale/programs/locale.c: Likewise.
36787 * locale/programs/localedef.h: Likewise.
36788 * locale/programs/simple-hash.c: Likewise.
36789 * nscd/nscd.h: Likewise.
36790 * nss/makedb.c: Likewise.
36791 * sysdeps/generic/ldconfig.h: Likewise.
36793 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36795 * Versions.def: Add GLIBC_2.18.
36796 * include/link.h (struct link_map): New member l_tls_dtor_count.
36797 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36798 (__call_tls_dtors): Likewise.
36799 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36800 __cxa_thread_atexit_impl.
36801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36809 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36817 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36818 (tests): Add test case tst-tls-atexit.
36819 (modules-names): Add shared library for tst-tls-atexit.
36820 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36821 (GLIBC_PRIVATE): Add __call_tls_dtors.
36822 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36824 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36825 * stdlib/tst-tls-atexit.c: New test case.
36826 * stdlib/tst-tls-atexit-lib.c: New test case.
36828 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36830 * elf/Versions (ld): Add _dl_find_dso_for_object.
36831 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36832 * elf/dl-open.c (_dl_find_dso_for_object): New function.
36833 (dl_open_worker): Use _dl_find_dso_for_object.
36834 * elf/dl-sym.c (do_sym): Likewise.
36835 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36837 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36839 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36840 Syntactic changes only.
36841 (_dl_runtime_profile): Do a tail-call to the resolved function.
36843 2013-02-17 Joseph Myers <joseph@codesourcery.com>
36846 * sysdeps/x86_64/bp-asm.h: Remove file.
36847 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36848 <bp-sym.h> and <bp-asm.h>.
36849 (__clone): Do not use BP_SYM.
36850 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36851 <bp-sym.h> and <bp-asm.h>.
36852 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36853 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36855 (_setjmp): Do not use BP_SYM.
36856 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36858 (setjmp): Do not use BP_SYM.
36859 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36861 (mempcpy): Do not use BP_SYM in weak_alias.
36862 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36864 (strchr): Do not use BP_SYM.
36865 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36867 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36868 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36869 (_start): Do not use BP_SYM.
36870 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36872 (strcat): Do not use BP_SYM.
36873 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36875 (STRCMP): Do not use BP_SYM.
36876 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36878 (STRCPY): Do not use BP_SYM.
36879 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36881 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36883 (FUNCTION): Do not use BP_SYM.
36884 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36886 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36888 2013-02-17 Andreas Jaeger <aj@suse.de>
36890 * time/Versions: Sort entries.
36891 * string/Versions: Likewise.
36892 * resolv/Versions: Likewise.
36893 * posix/Versions: Likewise.
36894 * iconv/Versions: Likewise.
36895 * elf/Versions: Likewise.
36896 * wcsmbs/Versions: Likewise.
36898 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36900 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36901 loop termination condition.
36903 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36904 variable to calculate EZ.
36907 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36908 the lower precision input.
36910 2013-02-15 Joseph Myers <joseph@codesourcery.com>
36913 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36914 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36915 (run-via-rtld-prefix): Do not handle %-bp tests.
36916 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36917 (all-object-suffixes): Remove .ob.
36918 (bppfx): Remove variable.
36919 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36920 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36921 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36922 [$(build-bounded) = yes] (libtype.ob): Likewise.
36923 * Makerules (elide-routines.ob): Remove variable.
36924 (do-tests-clean): Do not handle *-bp.out.
36925 (common-mostlyclean): Do not handle *-bp and *-bp.out.
36926 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36927 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36928 (tests): Do not include $(tests-bp.out).
36929 (xtests): Do not include $(xtests-bp.out).
36930 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36931 [$(build-bounded) = yes] ($(addprefix
36932 $(objpfx),$(binaries-bounded))): Remove rule.
36933 ($(objpfx)%-bp.out): Remove rule.
36934 * config.make.in (build-bounded): Remove variable.
36935 * crypt/Makefile [$(build-bounded) = yes]
36936 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36937 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36938 append to variable.
36939 [$(build-bounded) = yes] (install-lib): Likewise.
36940 [$(build-bounded) = yes] (generated): Likewise.
36941 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36943 * intl/Makefile [$(build-bounded) = yes]
36944 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36945 * math/Makefile [$(build-bounded) = yes]
36946 ($(tests:%=$(objpfx)%-bp): Likewise.
36947 * misc/Makefile [$(build-bounded) = yes]
36948 ($(objpfx)tst-tsearch-bp): Likewise.
36949 * nptl/Makeconfig (bounded-thread-library): Remove variable.
36950 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36952 * string/Makefile (o-objects.ob): Remove variable.
36953 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36954 (CFLAGS-.ob): Remove variable.
36955 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36956 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36957 both definitions of variable.
36958 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36959 (ASFLAGS-.ob): Remove variable.
36961 2013-02-14 Joseph Myers <joseph@codesourcery.com>
36964 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36965 Remove __BOUNDED_POINTERS__ from condition.
36966 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36967 * string/bits/string2.h [!__NO_STRING_INLINES &&
36968 !__BOUNDED_POINTERS__]: Likewise.
36969 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36971 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36972 Remove conditional code.
36973 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36974 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36975 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36979 * csu/libc-start.c: Do not include <bp-sym.h>.
36980 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36981 * elf/dl-open.c: Do not include <bp-sym.h>.
36982 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36983 * math/fegetenv.c: Do not include <bp-sym.h>.
36984 (fegetenv): Do not use BP_SYM in versioned symbols.
36985 * nptl/sysdeps/pthread/bits/libc-lockP.h
36986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36989 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36991 (__pthread_mutex_destroy): Likewise.
36992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36993 (__pthread_mutex_lock): Likewise.
36994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36995 (__pthread_mutex_trylock): Likewise.
36996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36997 (__pthread_mutex_unlock): Likewise.
36998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36999 (__pthread_mutexattr_init): Likewise.
37000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37001 (__pthread_mutexattr_destroy): Likewise.
37002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37003 (__pthread_mutexattr_settype): Likewise.
37004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37005 (__pthread_rwlock_init): Likewise.
37006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37007 (__pthread_rwlock_destroy): Likewise.
37008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37009 (__pthread_rwlock_rdlock): Likewise.
37010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37011 (__pthread_rwlock_tryrdlock): Likewise.
37012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37013 (__pthread_rwlock_wrlock): Likewise.
37014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37015 (__pthread_rwlock_trywrlock): Likewise.
37016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37017 (__pthread_rwlock_unlock): Likewise.
37018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37019 (__pthread_key_create): Likewise.
37020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37021 (__pthread_setspecific): Likewise.
37022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37023 (__pthread_getspecific): Likewise.
37024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37027 (_pthread_cleanup_push_defer): Likewise.
37028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37029 (_pthread_cleanup_pop_restore): Likewise.
37030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37031 (pthread_setcancelstate): Likewise.
37032 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37034 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37035 (memchr): Do not use BP_SYM in weak_alias.
37036 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37037 (fegetenv): Do not use BP_SYM in versioned symbols.
37038 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37039 (fesetenv): Do not use BP_SYM in versioned symbols.
37040 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37041 (feupdateenv): Do not use BP_SYM in versioned symbols.
37042 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37043 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37044 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37045 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37046 (open64): Do not use BP_SYM in weak_alias.
37047 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37048 (fegetenv): Do not use BP_SYM in versioned symbols.
37049 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37050 (fesetenv): Do not use BP_SYM in versioned symbols.
37051 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37052 (feupdateenv): Do not use BP_SYM in versioned symbols.
37053 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37054 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37055 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37056 (feraiseexcept): Do not use BP_SYM in versioned symbols.
37057 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37058 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37059 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37061 (__libc_start_main): Do not use BP_SYM.
37063 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37066 redundant return line.
37068 (denorm): Likewise.
37069 (dbl_mp): Likewise.
37070 (sub_magnitudes): Likewise.
37076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37078 (denorm): Likewise.
37079 (dbl_mp): Likewise.
37080 (sub_magnitudes): Likewise.
37087 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37089 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37090 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37093 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37094 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37095 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37096 of __mul for squares.
37097 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37101 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37102 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37104 2013-02-13 Joseph Myers <joseph@codesourcery.com>
37107 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37109 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37110 prototype or function definition. Rename ubp_* variables and
37111 parameters. Remove argv definitions conditional on
37112 [__BOUNDED_POINTERS__].
37113 * debug/backtrace.c (__backtrace): Do not use __unbounded.
37114 * elf/dl-runtime.c (_dl_fixup): Likewise.
37115 * include/set-hooks.h (RUN_HOOK): Likewise.
37116 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37118 * string/strcpy.c (strcpy): Do not use __unbounded.
37119 * sysdeps/generic/frame.h (struct layout): Likewise.
37120 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37121 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37122 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37123 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37124 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37125 (__backtrace): Likewise.
37126 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37128 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37129 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37130 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37132 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37133 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37134 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37135 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37136 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37137 Do not use __unbounded.
37138 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37139 Rename __unboundedrlimits parameter to rlimits in prototype.
37140 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37141 Do not use __unbounded.
37142 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37143 not use __ptrvalue.
37144 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37145 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37146 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37147 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37148 __ptrvalue or __unbounded.
37149 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37150 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37152 (__new_msgctl): Do not use __ptrvalue.
37153 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37155 (__libc_msgrcv): Do not use __ptrvalue.
37156 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37157 startup_info): Do not use __unbounded.
37158 (__libc_start_main): Likewise. Rename ubp_* variables and
37159 parameters. Remove argv definitions conditional on
37160 [__BOUNDED_POINTERS__].
37161 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37163 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37165 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37167 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37169 (__new_shmctl): Do not use __ptrvalue.
37170 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37171 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37173 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37174 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37175 (__libc_sigaction): Likewise.
37176 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37177 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37179 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37181 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
37183 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37185 * string/mempcpy.c: Implement by calling memcpy.
37187 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37189 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37194 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37195 values in the mantissa.
37197 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37198 minimize writes to Z.
37199 (sub_magnitudes): Simplify code a bit.
37201 2013-02-12 Roland McGrath <roland@hack.frob.com>
37203 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37204 from the message. The linker prefixes all warnings with that already.
37206 2013-02-12 Andreas Schwab <schwab@suse.de>
37209 * posix/regexec.c (extend_buffers): Add parameter min_len.
37210 (check_matching): Pass minimum needed length.
37211 (clean_state_log_if_needed): Likewise.
37212 (get_subexp): Likewise.
37213 * posix/Makefile (tests): Add bug-regex34.
37214 (bug-regex34-ENV): Define.
37215 * posix/bug-regex34.c: New file.
37218 * posix/regcomp.c (parse_bracket_exp): When looking up collating
37219 elements compare against the byte sequence of it, not its name.
37220 * posix/Makefile (tests): Add bug-regex35.
37221 (bug-regex35-ENV): Define.
37222 * posix/bug-regex35.c: New file.
37224 2013-02-11 Tom de Vries <tom@codesourcery.com>
37226 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
37228 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37229 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37230 (CHECK_EOL): Add undef.
37232 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
37234 * bits/stdlib-bsearch.h: New file.
37235 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37236 * stdlib/stdlib.h: Likewise.
37238 2013-02-11 Roland McGrath <roland@hack.frob.com>
37240 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37241 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37243 * manual/search.texi (Array Search Function): Add missing const in
37245 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37246 declaration to use rlim_t.
37247 (Basic Scheduling Functions): Remove erroneous const from
37248 sched_getparam prototype. Remove erroneous * from
37249 sched_get_priority_max and sched_get_priority_min prototypes.
37250 (Resource Usage): Fix summary @comment on vtimes to refer to
37251 sys/vtimes.h rather than vtimes.h.
37252 Add missing *s in vtimes prototype.
37253 (Limits on Resources): Fix ulimit prototype to return long int.
37254 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37255 prototypes to use long int rather than double.
37256 (BSD Random): Fix initstate and setstate to use char *, not void *.
37257 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37258 prototype to make second argument 'struct aiocb64 *const[]'.
37259 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37260 (Status of AIO Operations): Remove erroneous const in aio_return and
37261 aio_return64 prototypes.
37262 (Synchronizing I/O): Fix sync prototype to return void.
37263 * manual/startup.texi (Suboptions): Remove an erroneous const in
37264 getsubopt prototype.
37265 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37266 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37267 use size_t rather than int.
37268 (Scanning All Users): Likewise for getpwent_r.
37269 (Setting Groups): Add missing const to setgroups prototype.
37270 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37271 * manual/socket.texi (Host Names): Fix gethostbyaddr and
37272 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37273 'const void *' rather than 'const char *'.
37274 (Host Address Functions): Likewise for inet_ntop.
37275 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37276 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37277 ssize_t for return value.
37278 (Sending Data): Likewise for send, sendto, sendmsg.
37279 (Socket Option Functions): Add a missing const in setsockopt prototype.
37280 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37281 use wchar_t for the argument.
37282 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37283 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37285 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37286 double/float/long double for second argument.
37287 Fix return types of significand, significandf, significandl.
37288 * manual/filesys.texi (Setting Permissions): Use mode_t for second
37289 argument in fchmod prototype.
37290 (File Owner): Use uid_t and gid_t in fchown prototype.
37291 (File Times): Add const to utimes, futimes, and lutimes prototypes.
37292 (Making Special Files): Use mode_t and dev_t in mknod prototype.
37293 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37294 use 'const struct dirent **' as argument types to CMP function pointer
37296 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37297 (File Times): Fix summary magic @comment for struct utimbuf and utime
37298 to refer to utime.h, not time.h.
37299 * manual/string.texi (Argz Functions): Add missing const in
37300 argz_extract and argz_next prototypes.
37301 (Finding Tokens in a String): Likewise for basename.
37302 (String/Array Comparison): Fix typo in wcscasecmp prototype.
37303 (Copying and Concatenation): Fix typo in wmemmove prototype.
37304 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37305 (Signal Stack): Remove erroneous const in sigstack prototype.
37306 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37308 (Simple Calendar Time): Likewise for stime.
37309 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37311 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37312 say sys/sysctl.h instead.
37313 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37314 and vsyslog prototypes.
37316 2013-02-11 Tom de Vries <tom@codesourcery.com>
37318 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37321 2013-02-11 Roland McGrath <roland@hack.frob.com>
37323 * misc/sys/mman.h: Fix typo in mremap comment.
37325 2013-02-08 Roland McGrath <roland@hack.frob.com>
37327 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37328 the '\0' terminator.
37330 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37333 * debug/segfault.c: Don't include <bp-checks.h>.
37334 * sysdeps/generic/bp-checks.h: Remove file.
37335 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37336 (__GETDENTS): Don't use CHECK_N.
37337 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37338 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37339 (__getgroups): Don't use CHECK_N.
37340 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37341 (setgroups): Don't use CHECK_N.
37342 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37343 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37344 (__libc_msgrcv): Don't use CHECK_N.
37345 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37346 (__libc_msgsnd): Don't use CHECK_N.
37347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37349 (__libc_pread): Don't use CHECK_N.
37350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37351 include <bp-checks.h>.
37352 (__libc_pread64): Don't use CHECK_N.
37353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37354 include <bp-checks.h>.
37355 (__libc_pwrite): Don't use CHECK_N.
37356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37357 include <bp-checks.h>.
37358 (__libc_pwrite64): Don't use CHECK_N.
37359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37361 (__libc_pread): Don't use CHECK_N.
37362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37363 include <bp-checks.h>.
37364 (__libc_pread64): Don't use CHECK_N.
37365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37366 include <bp-checks.h>.
37367 (__libc_pwrite): Don't use CHECK_N.
37368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37369 include <bp-checks.h>.
37370 (__libc_pwrite64): Don't use CHECK_N.
37371 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37372 (do_pread): Don't use CHECK_N.
37373 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37374 (do_pread64): Don't use CHECK_N.
37375 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37376 (do_pwrite): Don't use CHECK_N.
37377 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37378 (do_pwrite64): Don't use CHECK_N.
37379 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37380 (__libc_readv): Don't use CHECK_N.
37381 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37382 (semop): Don't use CHECK_N.
37383 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37385 (semtimedop): Don't use CHECK_N.
37386 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37387 (__libc_pread): Don't use CHECK_N.
37388 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37390 (__libc_pread64): Don't use CHECK_N.
37391 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37393 (__libc_pwrite): Don't use CHECK_N.
37394 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37396 (__libc_pwrite64): Don't use CHECK_N.
37397 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37399 (__libc_msgrcv): Don't use CHECK_N.
37400 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37401 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
37402 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37403 (__libc_writev): Don't use CHECK_N.
37405 2013-02-08 Roland McGrath <roland@hack.frob.com>
37407 * string/strcpy.c: Removed unused variable.
37409 * Makeconfig (+sysdep-includes): Define with := rather than =.
37410 Use an existing include/ subdir of each sysdeps dir before it.
37412 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37414 * nscd/connection.c (register_traced_file): Comment function.
37415 [HAVE_INOTIFY] (union __inev): Define.
37416 [HAVE_INOTIFY] (inotify_check_files): New function.
37417 [HAVE_INOTIFY] (clear_db_cache): Likewise.
37418 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37420 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37422 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37424 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37425 loaded if not already and that a failure is permanent.
37427 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37430 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37431 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37433 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37436 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37437 (CHECK_1_NULL_OK): Likewise.
37438 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37439 (__fxstat): Do not use CHECK_1.
37440 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37442 (___fxstat64): Do not use CHECK_1.
37443 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37445 (__fxstatat): Do not use CHECK_1.
37446 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37448 (__fxstatat64): Do not use CHECK_1.
37449 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37451 (__fxstat): Do not use CHECK_1.
37452 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37454 (__fxstatat): Do not use CHECK_1.
37455 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37457 (__getresgid): Do not use CHECK_1.
37458 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37460 (__getresuid): Do not use CHECK_1.
37461 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37463 (__lxstat): Do not use CHECK_1.
37464 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37466 (__old_msgctl): Do not use CHECK_1.
37467 (__new_msgctl): Likewise.
37468 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37470 (__new_setrlimit): Do not use CHECK_1.
37471 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37473 (__old_shmctl): Do not use CHECK_1.
37474 (__new_shmctl): Likewise.
37475 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37477 (__xstat): Do not use CHECK_1.
37478 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37479 (__lxstat): Do not use CHECK_1.
37480 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37482 (___lxstat64): Do not use CHECK_1.
37483 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37484 (__old_msgctl): Do not use CHECK_1.
37485 (__new_msgctl): Likewise.
37486 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37488 (__gettimeofday): Do not use CHECK_1.
37489 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37490 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37491 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37493 (__gettimeofday): Do not use CHECK_1.
37494 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37495 (__old_shmctl): Do not use CHECK_1_NULL_OK.
37496 (__new_shmctl): Do not use CHECK_1.
37497 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37499 (do_sigtimedwait): Do not use CHECK_1.
37500 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37502 (do_sigwaitinfo): Do not use CHECK_1.
37503 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37505 (msgctl): Do not use CHECK_1.
37506 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37508 (shmctl): Do not use CHECK_1.
37509 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37510 (ustat): Do not use CHECK_1.
37511 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37513 (__fxstat): Do not use CHECK_1.
37514 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37516 (__fxstatat): Do not use CHECK_1.
37517 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37519 (__lxstat): Do not use CHECK_1.
37520 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37522 (__xstat): Do not use CHECK_1.
37523 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37524 (__xstat): Do not use CHECK_1.
37525 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37526 (___xstat64): Do not use CHECK_1.
37529 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37531 (CHECK_BOUNDS_HIGH): Likewise.
37532 * string/strcpy.c: Do not include <bp-checks.h>.
37533 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37535 2013-02-07 Roland McGrath <roland@hack.frob.com>
37537 * nscd/nscd-client.h (__nscd_drop_map_ref):
37538 Add __attribute__ ((unused)).
37539 * nis/nss-nisplus.h (niserr2nss): Likewise.
37541 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37542 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37544 * csu/libc-tls.c (init_static_tls, init_slotinfo):
37545 Remove inline keyword.
37546 * include/rounding-mode.h (round_away): Likewise.
37547 * libio/wfileops.c (adjust_wide_data): Likewise.
37548 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37549 (__m128i_strloadu_tolower): Likewise.
37550 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37551 (__m128i_strloadu_tolower): Likewise.
37552 * time/mktime.c (ydhms_diff): Likewise.
37553 * locale/elem-hash.h (elem_hash): Likewise.
37554 * locale/setlocale.c (setdata): Likewise.
37555 * posix/regex_internal.h (re_string_char_size_at): Likewise.
37556 (re_string_wchar_at): Likewise.
37557 (bitset_not, bitset_merge, bitset_mask): Likewise.
37558 [!(__GNUC__ > 3)] (inline): Remove macro.
37559 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37560 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37561 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37562 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37563 * string/memcmp.c (memcmp_bytes): Likewise.
37564 * locale/programs/locarchive.c (compute_hashval): Likewise.
37565 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37566 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37567 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37568 * nss/getent.c (print_rpc, print_protocols): Likewise.
37569 (print_passwd, print_group, print_aliases): Likewise.
37570 * nis/nss-nisplus.h (niserr2nss): Likewise.
37571 * nscd/connections.c (restart_p): Likewise.
37572 Change return type to bool.
37574 2013-02-05 Roland McGrath <roland@hack.frob.com>
37576 * Makeconfig (all-Depend-files): Add existing
37577 $(sorted-subdirs:=/Depend) files.
37578 (all-subdirs): Remove nss.
37579 * sysdeps/unix/inet/Subdirs: Add it here instead.
37580 * hesiod/Depend: New file.
37582 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37583 instead of calling alloca.
37585 * io/lseek.c (__lseek): Rename to __libc_lseek.
37586 Define __lseek as an alias.
37588 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37590 2013-02-04 Carlos O'Donell <carlos@redhat.com>
37592 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37593 else clause and remove check for non-standard endianness.
37595 2013-02-04 David S. Miller <davem@davemloft.net>
37597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37599 2013-02-04 Joseph Myers <joseph@codesourcery.com>
37602 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37603 (__ubp_memchr): Remove prototype.
37604 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37605 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37606 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37607 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37608 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37610 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37611 (__ubp_memchr): Likewise.
37612 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37613 (__ubp_memchr): Likewise.
37614 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37615 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37616 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37617 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37619 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37620 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37621 (__getcwd): Do not use CHECK_STRING.
37622 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37624 (__real_chown): Do not use CHECK_STRING.
37625 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37627 (fchownat): Do not use CHECK_STRING.
37628 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37630 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37632 (__lchown): Do not use CHECK_STRING.
37633 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37634 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37635 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37636 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37638 include <bp-checks.h>.
37639 (truncate64): Do not use CHECK_STRING.
37640 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37642 (__real_chown): Do not use CHECK_STRING.
37643 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37645 (__lchown): Do not use CHECK_STRING.
37646 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37648 (__chown): Do not use CHECK_STRING.
37649 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37651 (truncate64): Do not use CHECK_STRING.
37652 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37654 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37655 (__xmknod): Do not use CHECK_STRING.
37656 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37658 (__xmknodat): Do not use CHECK_STRING.
37659 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37660 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37662 2013-02-04 Andreas Schwab <schwab@suse.de>
37665 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37666 * include/netdb.h: Likewise for h_errno.
37667 * elf/tst-stackguard1.c: Include <tls.h>.
37669 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
37671 * elf/link.h (struct link_map): Extend the l_addr comment.
37672 * include/link.h (struct link_map): Likewise.
37674 2013-02-01 Joseph Myers <joseph@codesourcery.com>
37677 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37678 (BOUNDED_1): Remove macro.
37679 * debug/backtrace.c: Don't include <bp-checks.h>.
37680 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37681 (__backtrace): Likewise.
37682 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37684 (__backtrace): Don't use BOUNDED_1.
37685 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37687 (__backtrace): Don't use BOUNDED_1.
37688 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37689 (__backtrace): Don't use BOUNDED_1.
37690 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37691 (shmat): Don't use BOUNDED_N.
37693 2013-01-31 Joseph Myers <joseph@codesourcery.com>
37696 * sysdeps/generic/bp-start.h: Remove file.
37697 * csu/libc-start.c: Don't include <bp-start.h>.
37698 (LIBC_START_MAIN): Set up __environ directly instead of using
37699 INIT_ARGV_and_ENVIRON.
37700 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37704 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37706 (CHECK_FCNTL): Likewise.
37707 (CHECK_N_PAGES): Likewise.
37710 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37712 (CHECK_SIGSET_NULL_OK): Likewise.
37713 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37715 (sigpending): Don't use CHECK_SIGSET.
37716 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37718 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37719 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37721 (do_sigsuspend): Don't use CHECK_SIGSET.
37722 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37724 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37725 (do_sigwait): Don't use CHECK_SIGSET.
37726 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37728 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37729 include <bp-checks.h>.
37730 (sigpending): Don't use CHECK_SIGSET.
37731 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37732 include <bp-checks.h>.
37733 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37734 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37736 (sigpending): Don't use CHECK_SIGSET.
37737 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37739 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37742 * sysdeps/generic/bp-semctl.h: Remove file.
37743 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37744 <bp-checks.h> and <bp-semctl.h>.
37745 (__old_semctl): Don't use CHECK_SEMCTL.
37746 (__new_semctl): Likewise.
37747 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37749 (__old_semctl): Don't use CHECK_SEMCTL.
37750 (__new_semctl): Likewise.
37751 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37752 <bp-checks.h> and <bp-semctl.h>.
37753 (__old_semctl): Don't use CHECK_SEMCTL.
37754 (__new_semctl): Likewise.
37755 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37756 <bp-checks.h> and <bp-semctl.h>.
37757 (semctl): Don't use CHECK_SEMCTL.
37760 * Makerules (elide-bp-thunks): Remove variable.
37761 (elide-routines.oS): Don't use $(elide-bp-thunks).
37762 (elide-routines.os): Likewise.
37763 (elide-routines.o): Likewise.
37764 (elide-routines.op): Likewise.
37765 (elide-routines.og): Likewise.
37766 (objects): Don't use $(bp-thunks).
37767 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37769 (common-generated): Do not add s-proto-bp.d.
37770 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37773 Do not generate makefile rules for bounded-pointer thunks.
37774 * sysdeps/generic/bp-thunks.h: Remove file.
37775 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37776 * sysdeps/unix/s-proto-bp.S: Likewise.
37779 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37780 parts of result separately when argument is not close to line from
37781 -i to i and one part of argument is small.
37782 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37783 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37784 * math/libm-test.inc (cacos_test): Add more tests.
37785 (casin_test): Likewise.
37786 (casinh_test): Likewise.
37787 * sysdeps/i386/fpu/libm-test-ulps: Update.
37788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37790 2013-01-31 David S. Miller <davem@davemloft.net>
37792 * po/de.po: Update from translation team.
37794 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
37796 * time/tzfile.c: Include stdint.h for SIZE_MAX.
37798 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
37800 * configure.in (_AC_PROG_CC_C89): New definition.
37801 * configure: Regenerate.
37803 * configure.in (AC_PROG_CPP): New definition.
37804 * configure: Regenerate.
37806 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37808 * debug/tst-backtrace.h: New file.
37809 * debug/tst-backtrace2.c: Include tst-backtrace.h.
37810 (ret): Remove variable.
37812 (FAIL): Remove macro.
37813 (NO_INLINE): Likewise.
37814 (fn1): Use match function instead of strstr.
37815 * debug/tst-backtrace3.c: Include tst-backtrace.h.
37816 (ret): Remove variable.
37818 (FAIL): Remove macro.
37819 (NO_INLINE): Likewise.
37820 (fn): Use match function instead of strstr.
37821 * debug/tst-backtrace4.c: Include tst-backtrace.h.
37822 (ret): Remove variable.
37824 (FAIL): Remove macro.
37825 (NO_INLINE): Likewise.
37826 (handle_signal): Use match function instead of strstr.
37827 * debug/tst-backtrace5.c: Include tst-backtrace.h.
37828 (ret): Remove variable.
37830 (FAIL): Remove macro.
37831 (NO_INLINE): Likewise.
37832 (handle_signal): Use match function instead of strstr.
37834 2013-01-23 Roland McGrath <roland@hack.frob.com>
37836 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37838 2013-01-23 David S. Miller <davem@davemloft.net>
37840 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37841 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37842 argument of CAS if possible.
37843 * sysdeps/sparc/sparc64/bits/atomic.h
37844 (__arch_compare_and_exchange_val_32_acq): Likewise.
37845 (__arch_compare_and_exchange_val_64_acq): Likewise.
37847 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
37849 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37850 * sysdeps/posix/ulimit.c: ... this.
37851 Include <limits.h>.
37852 * sysdeps/unix/bsd/ulimit.c: Remove file.
37854 2013-01-23 Adam Conrad <adconrad@0c3.net>
37856 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37857 (LDFLAGS-tst-array5): Likewise.
37859 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37862 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37863 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37864 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37865 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37867 2013-01-21 David S. Miller <davem@davemloft.net>
37869 * sysdeps/sparc/backtrace.c: New file.
37870 * sysdeps/sparc/sparc32/backtrace.h: New file.
37871 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37872 * sysdeps/sparc/sparc64/backtrace.h: New file.
37873 * sysdeps/sparc/sparc64/backtrace.c: Delete.
37874 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37877 2013-01-21 Andreas Schwab <schwab@suse.de>
37880 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37883 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
37885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37887 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37889 2013-01-18 Joseph Myers <joseph@codesourcery.com>
37890 Mark Mitchell <mark@codesourcery.com>
37891 Tom de Vries <tom@codesourcery.com>
37892 Paul Pluzhnikov <ppluzhnikov@google.com>
37894 * debug/tst-backtrace2.c: New file.
37895 * debug/tst-backtrace3.c: Likewise.
37896 * debug/tst-backtrace4.c: Likewise.
37897 * debug/tst-backtrace5.c: Likewise.
37898 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37899 (CFLAGS-tst-backtrace3.c): Likewise.
37900 (CFLAGS-tst-backtrace4.c): Likewise.
37901 (CFLAGS-tst-backtrace5.c): Likewise.
37902 (LDFLAGS-tst-backtrace2): Likewise.
37903 (LDFLAGS-tst-backtrace3): Likewise.
37904 (LDFLAGS-tst-backtrace4): Likewise.
37905 (LDFLAGS-tst-backtrace5): Likewise.
37906 (tests): Add new tests tst-backtrace2, tst-backtrace3,
37907 tst-backtrace4 and tst-backtrace5.
37909 2013-01-18 Anton Blanchard <anton@samba.org>
37910 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37912 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37913 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37914 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37915 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37917 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37918 "+r" and remove output regs list as redundant. Add explicit inline
37919 asm to specify register of return val to work around compiler codegen
37920 bug. Remove (int) cast on return value. Add return type parameter to
37921 use in macro so that this macro does not truncate return value for
37923 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37924 pass to INTERNAL_VSYSCALL_NCS.
37925 (INLINE_VSYSCALL): Add 'long int' as return type to
37926 INTERNAL_VSYSCALL_NCS macro invocation.
37927 (INTERNAL_VSYSCALL): Add 'long int' as return type to
37928 INTERNAL_VSYSCALL_NCS macro invocation.
37929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37931 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37934 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37935 Fix application of SIMD FP exception mask.
37937 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37938 mp_no from a power of two.
37939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37940 __mpexp_twomm1. Use __pow_mp.
37942 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37945 2013-01-17 David S. Miller <davem@davemloft.net>
37947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37949 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37952 * include/complex.h: Condition contents on [!_COMPLEX_H].
37953 (__kernel_casinhf): New prototype.
37954 (__kernel_casinh): Likewise.
37955 (__kernel_casinhl): Likewise.
37956 * math/Makefile (libm_calls): Add k_casinh.
37957 * math/k_casinh.c: New file.
37958 * math/k_casinhf.c: Likewise.
37959 * math/k_casinhl.c: Likewise.
37960 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37961 finite nonzero arguments.
37962 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37963 finite nonzero arguments.
37964 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37965 finite nonzero arguments.
37966 * math/s_casinh.c: Do not include <float.h>.
37967 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37968 * math/s_casinhf.c: Do not include <float.h>.
37969 (__casinhf): Move code for finite nonzero arguments to
37971 * math/s_casinhl.c: Do not include <float.h>.
37972 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37974 (__casinhl): Move code for finite nonzero arguments to
37976 * math/libm-test.inc (cacos_test): Add more tests.
37977 * sysdeps/i386/fpu/libm-test-ulps: Update.
37978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37980 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
37982 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37983 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37984 [!HAVE_MREMAP]: Remove [defined linux] case.
37985 * malloc/arena.c: Do not include <malloc-sysdep.h>.
37987 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37989 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37991 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
37993 * elf/elf.h (R_386_SIZE32): New relocation.
37994 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37996 (elf_machine_rela): Likewise.
37997 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37998 R_X86_64_SIZE64 and R_X86_64_SIZE32.
38000 2013-01-17 Joseph Myers <joseph@codesourcery.com>
38002 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38003 (FP_FAST_FMA): Do not define.
38004 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38005 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38006 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38007 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38008 !_SOFT_FLOAT]: Likewise.
38009 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38010 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38012 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38013 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38014 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38015 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38016 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38017 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38020 2013-01-16 Andreas Schwab <schwab@suse.de>
38023 * include/stdlib.h (__mktemp): Add declaration.
38024 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38025 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38027 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38029 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38031 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38032 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38033 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38035 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38036 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38038 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38040 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38041 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38042 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38044 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38045 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38047 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38049 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38051 2013-01-15 David S. Miller <davem@davemloft.net>
38053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38054 trunc{,f} to libm-sysdep_routes.
38055 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38065 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38066 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38067 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38068 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38069 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38070 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38073 nearbyint{,f} to libm-sysdep_routes.
38074 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38085 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38087 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38088 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38090 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38091 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38092 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38094 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38095 libc_feholdexcept and libc_fesetenv.
38097 2013-01-15 Mike Frysinger <vapier@gentoo.org>
38099 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38101 2013-01-14 David S. Miller <davem@davemloft.net>
38103 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38104 (SPARC_ASM_VIS2_IFUNC): Likewise.
38105 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38107 use of 'siam' instruction.
38108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38115 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38126 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38127 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38136 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38138 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38141 routines to libm-sysdep_routines.
38142 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38145 fdim/fdimf to libm-sysdep_routines.
38146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38154 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38155 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38156 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38157 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38159 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38161 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38162 to optimize copies.
38164 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38169 local variable MPTWO.
38170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38173 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38175 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38178 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38180 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38182 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38184 * manual/pattern.texi (glob_t): Document gl_flags.
38185 (glob64_t): Likewise.
38187 2013-01-11 David S. Miller <davem@davemloft.net>
38189 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38190 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38191 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
38192 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38193 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38194 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38195 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38196 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38197 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38198 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38199 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38200 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38201 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38203 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38204 sparc V9 rather than using V8 code.
38205 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38206 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38208 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38210 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38213 2013-01-11 Roland McGrath <roland@hack.frob.com>
38215 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38216 not in the main loop.
38217 * configure: Regenerated.
38219 2013-01-11 Joseph Myers <joseph@codesourcery.com>
38221 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38222 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38224 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
38225 [!__GLIBC_HAVE_LONG_LONG] case.
38226 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38227 condition to just #else.
38228 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38229 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38230 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38231 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38233 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38234 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38235 #elif condition to just #else.
38236 * sysdeps/unix/sysv/linux/sys/sysmacros.h
38237 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38238 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38239 #elif condition to just #else.
38241 2013-01-11 Steve Ellcey <sellcey@mips.com>
38243 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38244 (EF_MIPS_ARCH_64): Fix value.
38245 (EF_MIPS_ARCH_32R2): New.
38246 (EF_MIPS_ARCH_64R2): New.
38248 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
38250 * Makeconfig (+link-pie-before-libc): New.
38251 (+link-pie-after-libc): Likewise.
38252 (+link-pie-tests): Likewise.
38253 (+link-pie): Rewritten.
38254 (link-before-libc): Remove $(config-LDFLAGS).
38255 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38256 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38257 (config-LDFLAGS): Renamed to ...
38258 (rtld-LDFLAGS): This.
38259 (rtld-tests-LDFLAGS): New macro.
38260 (link-libc-rpath-link): Likewise.
38261 (link-libc-tests-rpath-link): Likewise.
38262 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38263 (link-libc): Prepand $(link-libc-rpath-link).
38264 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38265 (test-program-prefix): New macro.
38266 (test-via-rtld-prefix): Likewise.
38267 (test-program-cmd): Likewise.
38268 (host-test-program-cmd): Likewise.
38269 * Makefile ($(common-objpfx)testrun.sh): Replace
38270 $(run-program-prefix) with $(test-program-prefix).
38271 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38273 ($(common-objpfx)shlib.lds): Likewise.
38274 (build-module-helper): Likewise.
38275 ($(common-objpfx)format.lds): Likewise.
38276 * Rules (binaries-pie-tests): New.
38277 (binaries-pie-notests): Likewise.
38278 (binaries-pie): Rewritten.
38279 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38280 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38281 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38282 (make-test-out): Replace $(host-built-program-cmd) with
38283 $(host-test-program-cmd).
38284 * config.make.in (build-hardcoded-path-in-tests): New variable.
38285 * configure.in (--enable-hardcoded-path-in-tests): New configure
38287 (hardcoded_path_in_tests): New AC_SUBST.
38288 * configure: Regenerated.
38289 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38290 $(built-program-cmd) with $(test-program-cmd).
38291 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38292 (test_program_cmd): This.
38293 * elf/Makefile ($(objpfx)order.out): Run test with
38294 $(test-program-prefix).
38295 ($(objpfx)order2.out): Likewise.
38296 ($(objpfx)tst-initorder.out): Likewise.
38297 ($(objpfx)tst-initorder2.out): Likewise.
38298 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38299 $(test-program-cmd).
38300 ($(objpfx)tst-array1-static.out): Likewise.
38301 ($(objpfx)tst-array2.out): Likewise.
38302 ($(objpfx)tst-array3.out): Likewise.
38303 ($(objpfx)tst-array4.out): Likewise.
38304 ($(objpfx)tst-array5.out): Likewise.
38305 ($(objpfx)tst-array5-static.out): Likewise.
38306 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38307 $(test-program-cmd).
38308 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38309 $(run-program-prefix) with $(test-program-prefix).
38310 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38311 (test_program_prefix): This.
38312 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38313 $(run-program-prefix) with $(test-program-prefix).
38314 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38315 (test_program_prefix): This.
38316 * iconvdata/tst-tables.sh: Likewise.
38317 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38318 $(run-program-prefix) with $(test-program-prefix).
38319 ($(objpfx)tst-translit.out): Likewise.
38320 ($(objpfx)tst-gettext2.out): Likewise.
38321 ($(objpfx)tst-gettext4.out): Likewise.
38322 ($(objpfx)tst-gettext6.out): Likewise.
38323 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38324 (test_program_prefix): This.
38325 * intl/tst-gettext2.sh: Likewise.
38326 * intl/tst-gettext4.sh Likewise.
38327 * intl/tst-gettext6.sh: Likewise.
38328 * intl/tst-translit.sh: Likewise.
38329 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38330 with $(test-program-cmd).
38331 * libio/Makefile ($(objpfx)test-freopen.out): Replace
38332 $(run-program-prefix) with $(test-program-prefix).
38333 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38334 (test_program_prefix): This.
38335 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38336 $(run-program-prefix) with $(test-program-prefix).
38337 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38338 (test_program_prefix): This.
38339 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38340 * posix/Makefile ($(objpfx)globtest.out): Replace
38341 $(run-via-rtld-prefix) and $(test-wrapper) with
38342 $(test-program-prefix) and $(test-via-rtld-prefix).
38343 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38344 $(test-program-prefix).
38345 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38346 $(host-test-program-cmd).
38347 (tst-spawn-ARGS): Likewise.
38348 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38349 $(test-program-prefix).
38350 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38351 (test_via_rtld_prefix): This.
38352 (test_wrapper): Renamed to ...
38353 (test_program_prefix): This.
38354 (run_program_prefix): Replaced by test_program_prefix.
38355 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38356 (test_program_prefix): This.
38357 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38358 with $(host-test-program-cmd).
38359 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38360 $(run-program-prefix) with $(test-program-prefix).
38361 ($(objpfx)tst-printf.out): Likewise.
38362 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38363 $(test-program-cmd).
38364 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38365 (test_program_prefix): This.
38366 * stdio-common/tst-unbputc.sh: Likewise.
38367 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38368 $(run-program-prefix) with $(test-program-prefix).
38369 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38370 (test_program_prefix): This.
38371 * string/Makefile ($(objpfx)tst-svc.out): Replace
38372 $(built-program-cmd) with $(test-program-cmd).
38374 2013-01-11 Andreas Jaeger <aj@suse.de>
38377 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38378 value. Sync with Linux 3.7.
38380 2013-01-10 David S. Miller <davem@davemloft.net>
38382 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38383 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38384 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38386 2013-01-10 Roland McGrath <roland@hack.frob.com>
38388 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38390 * configure: Regenerated.
38392 2013-01-10 David S. Miller <davem@davemloft.net>
38394 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38395 sparc V9 rather than using V8 code.
38396 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38397 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38399 2013-01-10 Roland McGrath <roland@hack.frob.com>
38401 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38402 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38403 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38404 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38405 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38406 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38407 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38408 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38409 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38410 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38411 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38412 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38413 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38414 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38415 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38416 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38417 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38418 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38419 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38420 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38421 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38422 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38423 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38424 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38425 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38426 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38427 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38429 2013-01-10 David S. Miller <davem@davemloft.net>
38431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38433 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38435 * posix/Makefile (tests-static): New variable.
38436 (tests): Add $(tests-static).
38437 (tst-exec-static-ARGS): New variable.
38438 (tst-spawn-static-ARGS): Likewise.
38439 * posix/tst-exec-static.c: New file.
38440 * posix/tst-spawn-static.c: Likewise.
38441 * posix/tst-exec.c: Support run directly.
38442 * posix/tst-spawn.c: Likewise.
38444 2013-01-10 Joseph Myers <joseph@codesourcery.com>
38446 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38448 * math/bits/mathcalls.h (llrint): Likewise.
38449 (llround): Likewise.
38450 * stdlib/stdlib.h (struct drand48_data): Likewise.
38451 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38452 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38453 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38455 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38457 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38458 (elf_greg_t): Likewise.
38459 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38460 (__jmp_buf): Likewise.
38461 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38463 (llrint): Likewise, for all definitions.
38464 (llrintl): Likewise.
38466 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38467 Remove [__GNUC__] condition.
38468 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38469 condition to just [__USE_ISOC99].
38470 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38472 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38475 * sysdeps/unix/sysv/linux/x86/bits/environments.h
38476 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38478 (_POSIX_V6_ILP32_OFF32): Likewise.
38479 (_XBS5_ILP32_OFF32): Likewise.
38480 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38481 (__ILP32_OFFBIG_LDFLAGS): Likewise.
38483 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38485 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38488 doubles __mpexp_twomm1. Adjust usage.
38489 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38492 2013-01-10 Andreas Schwab <schwab@suse.de>
38495 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38496 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38498 2013-01-09 David S. Miller <davem@davemloft.net>
38501 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38502 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38503 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38504 (TCP_FASTOPEN): Define.
38505 (tcp_repair_opt): New structure.
38506 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38508 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38509 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38510 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38511 (tcp_cookie_transactions): New structure.
38513 2013-01-09 Anton Blanchard <anton@samba.org>
38515 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38516 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38517 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38518 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38520 2013-01-09 Joseph Myers <joseph@codesourcery.com>
38522 * include/features.h (__USE_ANSI): Remove.
38524 2013-01-09 Roland McGrath <roland@hack.frob.com>
38526 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38528 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38530 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
38532 * sysdeps/s390/fpu/libm-test-ulps: Update.
38534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38536 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38540 (denorm): Likewise.
38541 (__mp_dbl): Likewise.
38542 (__dbl_mp): Likewise.
38543 (add_magnitudes): Likewise.
38544 (sub_magnitudes): Likewise.
38550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38554 (denorm): Likewise.
38555 (__mp_dbl): Likewise.
38556 (__dbl_mp): Likewise.
38557 (add_magnitudes): Likewise.
38558 (sub_magnitudes): Likewise.
38564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38568 (denorm): Likewise.
38569 (__mp_dbl): Likewise.
38570 (__dbl_mp): Likewise.
38571 (add_magnitudes): Likewise.
38572 (sub_magnitudes): Likewise.
38579 2013-01-08 Joseph Myers <joseph@codesourcery.com>
38581 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38582 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38583 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38584 2 && __USE_EXTERN_INLINES]: Likewise.
38586 2013-01-08 Andreas Jaeger <aj@suse.de>
38589 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38591 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38592 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38594 2013-01-07 Anton Blanchard <anton@samba.org>
38596 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38597 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38598 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38599 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38600 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38601 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38602 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38603 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38604 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38605 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38606 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38607 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38608 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38609 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38610 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38611 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38612 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38613 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38614 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38615 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38616 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38617 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38618 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38619 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38620 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38621 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38622 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38623 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38624 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38625 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38626 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38628 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38629 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38630 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38631 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38632 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38633 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38634 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38635 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38636 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38637 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38638 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38640 2013-01-07 Joseph Myers <joseph@codesourcery.com>
38642 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38643 (__MALLOC_PMT): Likewise.
38644 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38645 [__GNUC__], only on [_LIBC].
38646 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38647 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38648 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38649 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38650 forward declaration.
38651 (realloc_hook_ini): Likewise.
38652 (memalign_hook_ini): Likewise.
38653 (__libc_memalign): Do not use __MALLOC_PMT in variable
38655 (__libc_valloc): Likewise.
38656 (__libc_pvalloc): Likewise.
38657 (__libc_calloc): Likewise.
38658 (__posix_memalign): Likewise.
38661 * math/s_casinh.c: Include <float.h>.
38662 (__casinh): Do not do computation with squaring and square root
38663 for large arguments.
38664 * math/s_casinhf.c: Include <float.h>.
38665 (__casinhf): Do not do computation with squaring and square root
38666 for large arguments.
38667 * math/s_casinhl.c: Include <float.h>.
38668 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38669 (__casinhl): Do not do computation with squaring and square root
38670 for large arguments.
38671 * math/libm-test.inc (casin_test): Add more tests.
38672 (casinh_test): Likewise.
38673 * sysdeps/i386/fpu/libm-test-ulps: Update.
38674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38676 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
38678 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38679 (__x86_64_raw_data_cache_size): Likewise.
38680 (__x86_64_data_cache_size_half): Likewise.
38681 (__x86_64_raw_data_cache_size_half): Likewise.
38682 (__x86_64_shared_cache_size): Likewise.
38683 (__x86_64_raw_shared_cache_size): Likewise.
38684 (__x86_64_shared_cache_size_half): Likewise.
38685 (__x86_64_raw_shared_cache_size_half): Likewise.
38686 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38688 (__x86_data_cache_size): This.
38689 (__x86_64_raw_data_cache_size): Renamed to ...
38690 (__x86_raw_data_cache_size): This.
38691 (__x86_64_data_cache_size_half): Renamed to ...
38692 (__x86_data_cache_size_half): This.
38693 (__x86_64_raw_data_cache_size_half): Renamed to ...
38694 (__x86_raw_data_cache_size_half): This.
38695 (__x86_64_shared_cache_size): Renamed to ...
38696 (__x86_shared_cache_size): This.
38697 (__x86_64_raw_shared_cache_size): Renamed to ...
38698 (__x86_raw_shared_cache_size): This.
38699 (__x86_64_shared_cache_size_half): Renamed to ...
38700 (__x86_shared_cache_size_half): This.
38701 (__x86_64_raw_shared_cache_size_half): Renamed to ...
38702 (__x86_raw_shared_cache_size_half): This.
38703 * sysdeps/x86_64/memcpy.S: Updated.
38704 * sysdeps/x86_64/memset.S: Likewise.
38705 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38706 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38707 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38709 2013-01-04 David S. Miller <davem@davemloft.net>
38711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38713 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
38715 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38716 1 to avoid redefinition warning.
38717 (__USE_GNU): Don't define.
38718 (init_signaling_nan): Protoize.
38720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38722 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38724 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38726 (__cpymn): Likewise.
38727 (norm): Remove commented code.
38728 (denorm): Likewise.
38729 (__mp_dbl): Likewise.
38731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38732 (__cpymn): Likewise.
38733 (norm): Remove commented code.
38734 (denorm): Likewise.
38735 (__mp_dbl): Likewise.
38738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38739 mp_no value for 1.0 and 2.0.
38740 (norm): Use RADIXI instead of radixi.d.
38741 (denorm): Likewise.
38742 (__mul): Use 0.0 instead of zero.d.
38743 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38744 mp_no value for 1.0 and 2.0.
38745 (norm): Use RADIXI instead of radixi.d.
38746 (denorm): Likewise.
38747 (__mul): Use 0.0 instead of zero.d.
38749 2013-01-04 Joseph Myers <joseph@codesourcery.com>
38752 * math/s_casinh.c (__casinh): Reduce finite argument to first
38753 quadrant then set signs of results at the end.
38754 * math/s_casinhf.c (__casinhf): Likewise.
38755 * math/s_casinhl.c (__casinhl): Likewise.
38756 * math/libm-test.inc (casin_test): Add more tests.
38757 (casinh_test): Likewise.
38758 * sysdeps/i386/fpu/libm-test-ulps: Update.
38759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38761 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38763 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38765 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38767 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38769 (denorm): Likewise.
38770 (__mp_dbl): Likewise.
38773 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38774 and adjust the header comment.
38776 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38777 variable name from declaration.
38779 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
38781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38782 Initialize COMMON_CPUID_INDEX_7 element.
38783 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38784 (CPUID_RTM): Likewise.
38785 (HAS_RTM): Likewise.
38786 (COMMON_CPUID_INDEX_7): New enum.
38788 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
38791 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38792 size is zero, record memory as freed.
38794 2013-01-03 Andreas Jaeger <aj@suse.de>
38796 * po/ia.po: Add new Interlingua translation.
38798 2012-01-03 Allan McRae <allan@archlinux.org>
38800 * locale/programs/localedef.c: Fix description of '--posix' flag.
38802 2013-01-02 Joseph Myers <joseph@codesourcery.com>
38804 * NEWS: Update dates in second copyright notice.
38805 * README: Update copyright dates in example.
38806 * manual/libc.texinfo: Update copyright dates.
38807 * scripts/test-installation.pl: Update copyright date in --version
38810 * hurd/ctty-input.c: Fix copyright notice formatting.
38811 * hurd/ctty-output.c: Likewise.
38812 * hurd/dtable.c: Likewise.
38813 * hurd/hurd-raise.c: Likewise.
38814 * hurd/hurdprio.c: Likewise.
38815 * hurd/msgportdemux.c: Likewise.
38816 * misc/sys/file.h: Likewise.
38817 * misc/sys/ioctl.h: Likewise.
38818 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38819 * sysdeps/mach/hurd/chdir.c: Likewise.
38820 * sysdeps/mach/hurd/fchdir.c: Likewise.
38821 * sysdeps/mach/hurd/rename.c: Likewise.
38822 * sysdeps/mach/hurd/rmdir.c: Likewise.
38823 * sysdeps/mach/hurd/seekdir.c: Likewise.
38824 * sysdeps/mach/hurd/setsid.c: Likewise.
38825 * sysdeps/posix/wait3.c: Likewise.
38827 * All files with FSF copyright notices: Update copyright dates
38828 using scripts/update-copyrights.
38829 * intl/plural.c: Regenerated.
38830 * locale/programs/charmap-kw.h: Likewise.
38831 * locale/programs/locfile-kw.h: Likewise.
38833 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38835 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38838 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38839 calculation loop and add branch prediction.
38841 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38842 check access beyond bounds of m1np.
38844 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38846 (__inv): Remove local variable MPTWO to use the global
38848 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38849 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38851 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38852 MP3HALFS static const.
38854 2013-01-01 David S. Miller <davem@davemloft.net>
38856 * po/ca.po: Update from translation team.
38858 2013-01-01 Joseph Myers <joseph@codesourcery.com>
38860 * scripts/update-copyrights: New file.
38861 * Makeconfig: Reformat copyright notice.
38862 * ctype/ctype.h: Likewise.
38863 * debug/swprintf_chk.c: Likewise.
38864 * elf/dl-cache.c: Likewise.
38865 * elf/dl-debug.c: Likewise.
38866 * elf/dl-object.c: Likewise.
38867 * grp/initgroups.c: Likewise.
38868 * hurd/Makefile: Likewise.
38869 * hurd/hurd/signal.h: Likewise.
38870 * hurd/hurdfault.c: Likewise.
38871 * hurd/hurdioctl.c: Likewise.
38872 * hurd/hurdlookup.c: Likewise.
38873 * hurd/intr-msg.c: Likewise.
38874 * iconv/gconv_open.c: Likewise.
38875 * libio/swprintf.c: Likewise.
38876 * locale/lc-ctype.c: Likewise.
38877 * locale/nl_langinfo.c: Likewise.
38878 * mach/Machrules: Likewise.
38879 * mach/Makefile: Likewise.
38880 * malloc/obstack.h: Likewise.
38881 * manual/Makefile: Likewise.
38882 * manual/tsort.awk: Likewise.
38883 * misc/bits/stab.def: Likewise.
38884 * nis/nis_print_group_entry.c: Likewise.
38885 * nis/nis_table.c: Likewise.
38886 * nis/nss_compat/compat-pwd.c: Likewise.
38887 * nis/nss_compat/compat-spwd.c: Likewise.
38888 * po/Makefile: Likewise.
38889 * posix/fnmatch.c: Likewise.
38890 * posix/regex.h: Likewise.
38891 * resolv/Makefile: Likewise.
38892 * resolv/nss_dns/dns-network.c: Likewise.
38893 * resolv/res_hconf.c: Likewise.
38894 * scripts/gen-sorted.awk: Likewise.
38895 * soft-fp/soft-fp.h: Likewise.
38896 * stdio-common/printf.h: Likewise.
38897 * stdlib/monetary.h: Likewise.
38898 * stdlib/random.c: Likewise.
38899 * stdlib/random_r.c: Likewise.
38900 * sysdeps/generic/Makefile: Likewise.
38901 * sysdeps/gnu/Makefile: Likewise.
38902 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38903 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38904 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38905 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38906 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38907 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38909 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38910 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38911 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38912 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38913 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38914 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38915 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38916 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38917 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38918 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38919 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38920 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38921 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38922 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38923 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38924 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38925 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38926 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38927 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38928 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38929 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38930 * sysdeps/mach/hurd/errnos.awk: Likewise.
38931 * sysdeps/mach/hurd/fork.c: Likewise.
38932 * sysdeps/mach/hurd/getcwd.c: Likewise.
38933 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38934 * sysdeps/mach/hurd/mmap.c: Likewise.
38935 * sysdeps/mach/hurd/utimes.c: Likewise.
38936 * sysdeps/mach/hurd/xmknod.c: Likewise.
38937 * sysdeps/posix/profil.c: Likewise.
38938 * sysdeps/posix/readdir_r.c: Likewise.
38939 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38940 * sysdeps/powerpc/bits/setjmp.h: Likewise.
38941 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38942 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38944 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38945 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38946 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38948 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38949 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38950 * sysdeps/pthread/lio_listio.c: Likewise.
38951 * sysdeps/sparc/dl-procinfo.h: Likewise.
38952 * sysdeps/unix/i386/sysdep.S: Likewise.
38953 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38954 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38955 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38956 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38958 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38959 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38960 * sysdeps/unix/sysv/linux/speed.c: Likewise.
38961 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38962 * sysdeps/wordsize-32/divdi3.c: Likewise.
38963 * time/sys/time.h: Likewise.
38964 * wcsmbs/Makefile: Likewise.
38966 2013-01-01 David S. Miller <davem@davemloft.net>
38968 * po/fr.po: Update from translation team.
38970 * catgets/gencat.c: Update copyright year.
38971 * csu/version.c: Likewise.
38972 * debug/catchsegv.sh: Likewise.
38973 * debug/pcprofiledump.c: Likewise.
38974 * debug/xtrace.sh: Likewise.
38975 * elf/ldconfig.c: Likewise.
38976 * elf/ldd.bash.in: Likewise.
38977 * elf/pldd.c: Likewise.
38978 * elf/sotruss.ksh: Likewise.
38979 * elf/sprof.c: Likewise.
38980 * iconv/iconv_prog.c: Likewise.
38981 * iconv/iconvconfig.c: Likewise.
38982 * locale/programs/locale.c: Likewise.
38983 * locale/programs/localedef.c: Likewise.
38984 * login/programs/pt_chown.c: Likewise.
38985 * malloc/memusage.sh: Likewise.
38986 * malloc/memusagestat.c: Likewise.
38987 * malloc/mtrace.pl: Likewise.
38988 * nscd/nscd.c: Likewise.
38989 * nss/getent.c: Likewise.
38990 * nss/makedb.c: Likewise.
38991 * posix/getconf.c: Likewise.
38993 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38995 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38998 2012-12-30 Mike Frysinger <vapier@gentoo.org>
39000 * math/bits/mathcalls.h (modf): Use __nonnull.
39002 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39004 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39005 (split): Use macro CN instead of the bare value.
39006 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39009 instead of the bare value.
39010 (power1): Likewise.
39012 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39014 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39016 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39018 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39020 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39021 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39022 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39023 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39025 2012-12-28 Andreas Jaeger <aj@suse.de>
39027 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
39028 values are from Linux 3.7.
39030 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39031 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
39033 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39035 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39038 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39040 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39041 variables with preprocessor constants.
39042 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39043 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39044 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39046 2012-12-27 Bruno Haible <bruno@clisp.org>
39049 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39052 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39054 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39055 and use variable directly.
39056 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39058 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39060 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39061 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39063 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39064 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39065 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39066 include directive. Remove local variable MPONE.
39067 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39068 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39069 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39071 2012-12-25 David S. Miller <davem@davemloft.net>
39073 * version.h (RELEASE): Set to "development".
39074 (VERSION): Set to "2.17.90".
39075 * NEWS: Add 2.18 section.
39077 2012-12-21 David S. Miller <davem@davemloft.net>
39079 * po/hr.po: Update from translation team.
39081 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39083 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39085 2012-12-19 Steve Ellcey <sellcey@mips.com>
39087 * NEWS: Mention new memcpy for MIPS.
39089 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39091 * manual/contrib.texi (Contributors): Spelling correction.
39093 2012-12-15 David S. Miller <davem@davemloft.net>
39095 * po/ru.po: Update from translation team.
39097 2012-12-13 David S. Miller <davem@davemloft.net>
39099 * NEWS: Mention IFUNC testsuite enhancements.
39101 * po/pl.po: Update from translation team.
39102 * po/bg.po: Likewise.
39104 * manual/contrib.texi (Contributors): Update entries for Hongjiu
39105 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
39107 2012-12-11 David S. Miller <davem@davemloft.net>
39109 * po/sv.po: Update from translation team.
39111 * po/vi.po: Update from translation team.
39113 * po/cs.po: Update from translation team.
39115 * po/de.po: Update from translation team.
39116 * po/eo.po: Likewise.
39117 * po/nl.po: Likewise.
39119 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39122 * manual/argp.texi (Argp Helper Functions): Move node to follow
39123 Argp Parsing State.
39126 * manual/conf.texi (Limits on File System Capacity): Mention if
39127 terminating null is included in the max size.
39129 2012-12-10 Andreas Jaeger <aj@suse.de>
39131 * po/cs.po: Update from translation team.
39133 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39135 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39136 void pointer and cast to uintptr_t.
39137 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39139 * sysdeps/s390/s390-64/memcpy.S: Likewise.
39140 * sysdeps/s390/s390-64/memset.S: Likewise.
39142 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
39145 * menual/message.texi (Message Translation): Fix typos.
39146 (Helper programs for gettext): Likewise.
39148 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
39151 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39154 2012-12-07 David S. Miller <davem@davemloft.net>
39156 * po/libc.pot: Update.
39158 2012-12-07 Richard Henderson <rth@redhat.com>
39161 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39162 normal/normal case to before the switch.
39163 (_FP_DIV): Likewise.
39165 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
39166 Mike Frysinger <vapier@gentoo.org>
39168 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39169 check for __NR_fadvise64_64.
39171 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
39173 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39174 0, not just to plain "0" as a statement.
39175 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39178 2012-12-06 Joseph Myers <joseph@codesourcery.com>
39180 * NEWS: Use sourceware.org in Bugzilla URL.
39182 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39185 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39187 * stdio-common/tst-put-error.c (do_test): Add newline to the
39188 padded test to ensure flush.
39190 2012-12-05 Jeff Law <law@redhat.com>
39192 * sunrpc/etc.rpc (fedfs_admin): Add entry.
39194 2012-12-05 Joseph Myers <joseph@codesourcery.com>
39196 * README: Don't refer to ports add-on as distributed separately.
39197 Mention AArch64 in list of systems supported in the ports add-on.
39199 * LICENSES: Add more non-FSF copyright and license notices.
39201 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39204 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39206 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39207 10000 as width of padded output.
39209 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39211 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39213 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39214 variable LX with __attribute__ ((unused)).
39215 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39217 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39218 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39219 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39220 with __attribute__ ((unused)).
39222 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
39224 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39226 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39228 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39229 (CFLAGS-nldbl-acos.c): New variable.
39230 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39231 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39232 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39233 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39234 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39235 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39236 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39237 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39238 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39239 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39240 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39241 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39242 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39243 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39244 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39245 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39246 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39247 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39248 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39249 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39250 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39251 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39252 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39253 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39254 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39255 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39256 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39257 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39258 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39259 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39260 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39261 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39262 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39263 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39264 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39265 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39266 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39267 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39268 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39269 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39270 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39271 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39272 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39273 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39274 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39275 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39276 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39277 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39278 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39279 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39280 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39281 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39282 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39283 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39284 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39285 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39286 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39287 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39288 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39289 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39290 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39291 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39292 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39293 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39294 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39295 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39296 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39297 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39298 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39299 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39300 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39301 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39302 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39303 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39304 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39305 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39306 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39307 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39308 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39309 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39310 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39311 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39312 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39313 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39314 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39315 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39316 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39317 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39318 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39319 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39320 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39321 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39322 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39323 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39324 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39325 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39326 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39329 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39332 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39333 whole low double instead of just low 47 bits when splitting values
39336 2012-12-03 Allan McRae <allan@archlinux.org>
39338 * manual/stdio.texi (Predefined Printf Handlers): Remove
39339 @hsep and @vsep usage.
39341 2012-12-03 Mike Frysinger <vapier@gentoo.org>
39343 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39344 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39346 2012-12-03 Jeff Law <law@redhat.com>
39348 * time/sys/time.h (settimeofday): Do not mark TV argument
39351 2012-12-01 Mike Frysinger <vapier@gentoo.org>
39353 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39354 when currently writing and seek to current position when not.
39355 * libio/Makefile (tests): Remove bug-fclose1.
39356 * libio/bug-fclose1.c: Delete.
39358 2012-12-01 Joseph Myers <joseph@codesourcery.com>
39360 * manual/arith.texi (feenableexcept): Fix typo.
39361 (fedisableexcept): Likewise.
39363 2012-11-30 Roland McGrath <roland@hack.frob.com>
39365 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39366 second, differently-typed declaration, rather than a cast.
39368 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39370 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39371 * include/rpc/svc.h: ... here.
39373 2012-11-30 Aurelien Jarno <aurel32@debian.org>
39376 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39377 depending n and resplen2 to catch cases where answer
39380 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
39382 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39383 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39385 2012-11-29 Mike Frysinger <vapier@gentoo.org>
39387 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39389 2012-11-29 Roland McGrath <roland@hack.frob.com>
39391 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39393 2012-11-28 Jeff Law <law@redhat.com>
39396 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39397 dataset_temporary. Track alloca usage into alloca_used.
39398 If dataset is large allocate and release it via malloc/free.
39400 2012-06-04 Florian Weimer <fweimer@redhat.com>
39403 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39405 2012-11-28 David S. Miller <davem@davemloft.net>
39407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39409 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39412 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39413 of pi/2 rounded to nearest to 64 bits.
39414 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39415 nearest to 64 bits.
39416 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39419 2012-11-28 Jeff Law <law@redhat.com>
39420 Martin Osvald <mosvald@redhat.com>
39423 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39424 * sunrpc/svc.c: Include time.h.
39425 (__svc_accept_failed): New function.
39426 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39427 any reason other than EINTR, call __svc_accept_failed.
39428 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39429 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39431 2012-11-28 Andreas Schwab <schwab@suse.de>
39433 * scripts/abilist.awk: Also handle indirect functions in .opd
39436 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39439 * sysdeps/x86/fpu/powl_helper.c: New file.
39440 * sysdeps/x86/fpu/Makefile: Likewise.
39441 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39443 (__ieee754_powl): Use __powl_helper for finite arguments except
39444 integer exponents below 8.
39445 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39447 (__ieee754_powl): Use __powl_helper for finite arguments except
39448 integer exponents below 8.
39449 * math/libm-test.inc (pow_test): Add more tests and enable some
39450 previously disabled tests.
39451 * sysdeps/i386/fpu/libm-test-ulps: Update.
39452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39454 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39455 Carlos O'Donell <carlos_odonell@mentor.com>
39457 * nss/makedb.c (is_prime): Assert that input is odd and greater
39458 than 4. Note that fact in a comment too.
39459 (next_prime): Add 4 to input.
39461 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39464 * libio/Makefile (tests): Add test case tst-fwrite-error.
39465 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39466 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39467 * libio/tst-fwrite-error.c: New test case.
39469 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
39471 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39472 before casting to void *.
39473 * include/libc-internal.h (__pointer_type): New macro.
39474 (__integer_if_pointer_type_sub): Likewise.
39475 (__integer_if_pointer_type): Likewise.
39476 (cast_to_integer): Likewise.
39477 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39478 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39479 before casting to atomic64_t.
39480 (atomic_exchange_acq): Likewise.
39481 (__arch_exchange_and_add_body): Likewise.
39482 (__arch_add_body): Likewise.
39483 (atomic_add_negative): Likewise.
39484 (atomic_add_zero): Likewise.
39486 2012-11-26 Joseph Myers <joseph@codesourcery.com>
39488 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39489 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39490 (add_fdes): Likewise.
39491 (linear_search_fdes): Likewise.
39492 (binary_search_unencoded_fdes): Likewise.
39494 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
39496 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39498 2012-11-24 Adam Conrad <adconrad@0c3.net>
39500 * configure.in: Autodetect C++ header directories.
39501 * configure: Regenerated.
39503 2012-11-23 Mike Frysinger <vapier@gentoo.org>
39505 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39507 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
39509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39511 2012-11-22 Joseph Myers <joseph@codesourcery.com>
39513 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39514 LDBL_MANT_DIG == 106]: Disable some tests.
39515 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39517 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39521 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39522 input for small inputs. Return +/- pi/2 for large inputs.
39523 * math/libm-test.inc (atan_test): Add more tests.
39525 * sysdeps/generic/unwind-dw2-fde-glibc.c
39526 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39527 __attribute__ ((unused)).
39530 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39531 x * y if x and y are nonzero and z is zero.
39534 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39535 nonzero exponents with absolute value below 0x1p-117 to +/-
39539 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39540 up arguments below 2**-450, not just those below 2**-500.
39541 * math/libm-test.inc (hypot_test): Add another test.
39544 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39545 Return a+b for ratio over 2**120, not 2**60.
39546 * math/libm-test.inc (hypot_test): Add another test.
39548 * math/libm-test.inc (clog_test): Use
39549 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39550 (clog10_test): Likewise.
39553 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39555 2012-11-22 Andreas Schwab <schwab@suse.de>
39557 * sysdeps/i386/fpu/libm-test-ulps: Update.
39559 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
39561 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39562 printf output with newline.
39564 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
39567 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39568 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39569 -z nodlopen, -z initfirst and -z execstack support.
39570 * configure: Regenerated.
39572 * elf/elf.h (DF_1_NODIRECT): New macro.
39573 (DF_1_IGNMULDEF): Likewise.
39574 (DF_1_NOKSYMS): Likewise.
39575 (DF_1_NOHDR): Likewise.
39576 (DF_1_EDITED): Likewise.
39577 (DF_1_NORELOC): Likewise.
39578 (DF_1_SYMINTPOSE): Likewise.
39579 (DF_1_GLOBAUDIT): Likewise.
39580 (DF_1_SINGLETON): Likewise.
39581 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39582 DT_1_SUPPORTED_MASK bits.
39583 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39585 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
39587 * sysdeps/unix/make-syscalls.sh: Document prefixes.
39589 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
39591 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39594 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39595 (sendmmsg): Move declarations...
39596 * socket/sys/socket.h: ... here.
39597 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39598 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39600 * socket/recvmmsg.c: ... this new file.
39601 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39602 (sendmmsg): Rename to __sendmmsg, create weak alias and make
39603 definition of __sendmmsg hidden.
39604 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39605 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39606 Move ENOSYS stub into and include it from...
39607 * socket/sendmmsg.c: ... this new file.
39608 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39609 (sysdep_routines): Move recvmmsg and sendmmsg...
39610 * socket/Makefile (routines): ... here.
39611 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39612 (GLIBC_PRIVATE): Add __sendmmsg.
39613 * include/sys/socket.h (__sendmmsg): Add declarations.
39614 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39617 2012-11-20 Joseph Myers <joseph@codesourcery.com>
39619 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39620 variable I1 with __attribute__ ((unused)).
39621 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39623 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39625 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39626 DUMMY variables with __attribute__ ((unused)).
39628 * bits/byteswap.h: Include <bits/types.h>.
39629 (__bswap_64): Use __uint64_t instead of unsigned long long int.
39631 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39633 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39634 string_t. Do not manually set errno.
39635 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39636 length with __strnlen. Make sure to both set errno and return it on
39639 2012-11-19 David S. Miller <davem@davemloft.net>
39641 With help from Joseph Myers.
39642 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39643 very large arguments properly.
39644 * math/libm-test.inc (atan_test): New tests.
39645 (atan2_test): New tests.
39646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39649 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39652 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39655 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39656 [POSIX] (EADDRNOTAVAIL): Likewise.
39657 [POSIX] (EAFNOSUPPORT): Likewise.
39658 [POSIX] (EALREADY): Likewise.
39659 [POSIX] (ECONNABORTED): Likewise.
39660 [POSIX] (ECONNREFUSED): Likewise.
39661 [POSIX] (ECONNRESET): Likewise.
39662 [POSIX] (EDESTADDRREQ): Likewise.
39663 [POSIX] (EDQUOT): Likewise.
39664 [POSIX] (EHOSTUNREACH): Likewise.
39665 [POSIX] (EIDRM): Likewise.
39666 [POSIX] (EISCONN): Likewise.
39667 [POSIX] (ELOOP): Likewise.
39668 [POSIX] (EMULTIHOP): Likewise.
39669 [POSIX] (ENETDOWN): Likewise.
39670 [POSIX] (ENETUNREACH): Likewise.
39671 [POSIX] (ENOBUFS): Likewise.
39672 [POSIX] (ENODATA): Likewise.
39673 [POSIX] (ENOLINK): Likewise.
39674 [POSIX] (ENOMSG): Likewise.
39675 [POSIX] (ENOPROTOOPT): Likewise.
39676 [POSIX] (ENOSR): Likewise.
39677 [POSIX] (ENOSTR): Likewise.
39678 [POSIX] (ENOTCONN): Likewise.
39679 [POSIX] (ENOTSOCK): Likewise.
39680 [POSIX] (EOPNOTSUPP): Likewise.
39681 [POSIX] (EOVERFLOW): Likewise.
39682 [POSIX] (EPROTO): Likewise.
39683 [POSIX] (EPROTONOSUPPORT): Likewise.
39684 [POSIX] (EPROTOTYPE): Likewise.
39685 [POSIX] (ESTALE): Likewise.
39686 [POSIX] (ETIME): Likewise.
39687 [POSIX] (ETXTBSY): Likewise.
39688 [POSIX] (EWOULDBLOCK): Likewise.
39689 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39690 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39691 [POSIX] (SEEK_CUR): Likewise.
39692 [POSIX] (SEEK_END): Likewise.
39693 [POSIX || UNIX98] (mode_t): Do not require.
39694 [POSIX] (off_t): Likewise.
39695 [POSIX] (pid_t): Likewise.
39696 [POSIX] (sys/stat.h): Do not allow header.
39697 [POSIX] (unistd.h): Likewise.
39698 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39699 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39700 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39701 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39703 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39704 sigevent): Specify elements.
39705 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39707 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39708 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39710 * conform/data/cpio.h-data [POSIX]: Disable whole file.
39711 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39712 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39713 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39714 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39715 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39716 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39717 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39718 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39719 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39720 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39721 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39722 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39723 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39725 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39727 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39729 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39731 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39732 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39733 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39734 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39735 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39736 Specify lower bound on value.
39737 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39738 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39739 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39740 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39741 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39742 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39743 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39744 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39746 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39748 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39749 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39750 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39751 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39752 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39753 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39754 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39755 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39756 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39757 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39758 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39759 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39760 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39761 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39762 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39763 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39765 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39767 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39768 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39769 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39770 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39771 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39772 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39774 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39775 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39776 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39777 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39778 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
39779 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39780 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39782 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39783 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39784 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39785 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39786 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39787 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39788 specify as optional.
39789 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39790 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39791 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39792 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39793 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39794 [XPG3] (NL_LANGMAX): Likewise.
39795 [POSIX || XPG3] (NL_MSGMAX): Likewise.
39796 [POSIX || XPG3] (NL_NMAX): Likewise.
39797 [POSIX || XPG3] (NL_SETMAX): Likewise.
39798 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39799 [XPG3] (NZERO): Likewise.
39800 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39801 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39802 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39803 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39804 (REG_ERANGE): Expect.
39805 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39807 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39808 Use (void) in prototype.
39809 [POSIX] (*_t): Allow.
39810 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39811 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39812 (WRDE_BADVAL): Expect.
39814 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39816 [XPG3 || XPG4] (O_RSYNC): Likewise.
39817 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39819 [XPG3 || XPG4] (pthread_sigmask): Likewise.
39820 [XPG3 || XPG4] (sigqueue): Likewise.
39821 [XPG3 || XPG4] (sigtimedwait): Likewise.
39822 [XPG3 || XPG4] (sigwaitinfo): Likewise.
39823 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39824 [XPG3 || XPG4] (vsnprintf): Likewise.
39825 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39827 [XPG3 || XPG4] (blksize_t): Likewise.
39828 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39830 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39831 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39832 [XPG3 || XPG4] (struct itimerspec): Likewise.
39833 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39834 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39835 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39836 [XPG3 || XPG4] (clockid_t): Likewise.
39837 [XPG3 || XPG4] (timer_t): Likewise.
39838 [XPG3 || XPG4] (clock_getres): Likewise.
39839 [XPG3 || XPG4] (clock_gettime): Likewise.
39840 [XPG3 || XPG4] (clock_settime): Likewise.
39841 [XPG3 || XPG4] (nanosleep): Likewise.
39842 [XPG3 || XPG4] (timer_create): Likewise.
39843 [XPG3 || XPG4] (timer_delete): Likewise.
39844 [XPG3 || XPG4] (timer_gettime): Likewise.
39845 [XPG3 || XPG4] (timer_getoverrun): Likewise.
39846 [XPG3 || XPG4] (timer_settime): Likewise.
39847 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39848 [XPG3 || XPG4] (getlogin_r): Likewise.
39849 [XPG3 || XPG4] (pread): Likewise.
39850 [XPG3 || XPG4] (pthread_atfork): Likewise.
39851 [XPG3 || XPG4] (pwrite): Likewise.
39854 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39857 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39859 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39860 finalizing MALLSTREAM.
39862 * sysdeps/mach/hurd/syncfs.c: New file.
39864 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39867 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39868 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39869 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39870 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39871 (_nss_dns_gethostbyname4_r): Likewise.
39872 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39873 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39875 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
39878 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39880 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
39882 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39883 * elf/cache.c (print_entry): Print ",AArch64" for
39886 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39887 * elf/cache.c (print_entry): Print ",hard-float" for
39890 2012-11-18 David S. Miller <davem@davemloft.net>
39892 With help from Joseph Myers.
39893 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39895 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39897 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39898 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39900 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39901 * math/libm-test.inc (y0_test): New tests.
39902 (y1_test): New tests.
39903 * sysdeps/i386/fpu/libm-test-ulps: Update.
39904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39907 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
39909 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39911 * configure: Regenerated.
39913 2012-11-17 David S. Miller <davem@davemloft.net>
39916 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39917 nonzero exponents with absolute value below 0x1p-128 to +/-
39920 2012-11-17 Joseph Myers <joseph@codesourcery.com>
39922 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39924 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39926 * posix/getconf-speclist.c: New file.
39927 * posix/posix-envs.def: Likewise.
39928 * posix/confstr.c (START_ENV_GROUP): New macro.
39929 (END_ENV_GROUP): Likewise.
39930 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39931 (KNOWN_PRESENT_ENV_STRING): Likewise.
39932 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39933 (UNKNOWN_ENVIRONMENT): Likewise.
39934 (confstr): Include posix-envs.def instead of handling
39935 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39936 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39937 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39938 (END_ENV_GROUP): Likewise.
39939 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39940 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39941 (UNKNOWN_ENVIRONMENT): Likewise.
39942 (__sysconf): Include posix-envs.def instead of handling associated
39943 cases directly here.
39944 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39945 preprocessing getconf-speclist.c rather than running getconf or
39946 generating empty file.
39948 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
39950 * scripts/check-local-headers.sh: Ignore 'mach' headers.
39952 2012-11-16 Andrej Lajovic <natrij@gmail.com>
39955 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39957 2012-11-16 David S. Miller <davem@davemloft.net>
39959 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39960 smaller than LDBL_EPSILON/2.0L, just return xm1.
39962 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
39964 * elf/tst-array1.c (init): Set constructor priority to 1000.
39965 (fini): Set destructor priority to 1000.
39966 * elf/tst-array2dep.c: Likewise.
39968 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39971 * libio/fileops.c (_IO_new_file_write): Correctly return error.
39972 (_IO_new_file_xsputn): Also return EOF if none of the input
39973 data was written when overflow failed.
39974 * libio/iopadn.c (_IO_padn): Likewise.
39975 * libio/iowpadn.c (_IO_wpadn): Likewise.
39976 * stdio-common/tst-put-error.c: Add copyright notice.
39977 (do_test): Add case for printing padded string.
39978 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39979 _IO_padn returned error.
39980 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39981 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39984 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39986 * libio/libioP.h: Add comment note that the references to C++
39987 bits are now obsolete.
39989 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39991 * math/libm-test.inc (check_complex): Use asprintf.
39993 2012-11-14 Joseph Myers <joseph@codesourcery.com>
39995 * debug/pcprofiledump.c (print_version): Update copyright year.
39996 * malloc/memusagestat.c (print_version): Likewise.
39998 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
40001 * elf/Makefile (tests): Add tst-audit8.
40002 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40003 ($(objpfx)tst-audit8.out): New target.
40004 (tst-audit8-ENV): New variable.
40005 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40006 audit if l_reloc_result is NULL.
40007 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40008 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40009 * elf/tst-audit8.c: New file.
40011 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40013 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40014 * misc/Makefile (CFLAGS-select.c): Define.
40015 * posix/Makefile (CFLAGS-pause.c): Define.
40017 2012-11-13 David S. Miller <davem@davemloft.net>
40019 * crypt/Makefile: Move test targets after toplevel Rules
40020 inclusion. Grab any necessary sysdep routines when linking.
40021 * crypt/md5.c (md5_process_block): Remove define, we will always
40022 name it __md5_process_block.
40023 (md5_finish_ctx): Update md5_process_block call.
40024 (md5_stream): Likewise.
40025 (md5_process_bytes): Likewise.
40026 (md5_process_block): Rename to __md5_process_block and move to ...
40027 * crypt/md5-block.c: ... here.
40028 * crypt/sha256.c (sha256_process_block): Move to ...
40029 * crypt/sha256-block.c: ... here.
40030 * crypt/sha512.c (sha512_process_block): Move to ...
40031 * crypt/sha512-block.c: ... here.
40032 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40034 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40035 * sysdeps/sparc/sparc64/multiarch/Makefile
40036 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40038 (localedef-aux): Add md5 crypto assembler when in locale subdir.
40039 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40041 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40042 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40043 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40044 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40045 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40046 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40047 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40048 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40049 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40051 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40052 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40054 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40056 2012-11-13 Joseph Myers <joseph@codesourcery.com>
40058 * timezone/tzselect.ksh: Update from tzcode git revision
40059 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40060 * timezone/zdump.c: Likewise.
40061 * timezone/zic.c: Likewise.
40062 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40063 in TZVERSION setting, not $(PKGVERSION).
40064 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
40065 REPORT_BUGS_TO settings.
40068 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40071 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40073 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40074 detection to immediately after _FP_ROUND().
40075 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40078 2012-11-11 David S. Miller <davem@davemloft.net>
40080 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40082 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40083 __close rather than their public counterparts.
40085 2012-11-10 Joseph Myers <joseph@codesourcery.com>
40087 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40089 [UNIX98] (sem_timedwait): Do not expect.
40090 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40091 [XPG4 || UNIX98] (sockatmark): Do not expect.
40092 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40093 (clock_getcpuclockid): Do not expect.
40094 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40095 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40097 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40098 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40099 [UNIX98] (vwscanf): Likewise.
40100 [UNIX98] (vswscanf): Likewise.
40102 2012-11-09 Joseph Myers <joseph@codesourcery.com>
40104 * timezone/version.h: Remove file.
40105 * timezone/README: Do not refer to version.h.
40106 * timezone/Makefile ($(objpfx)zic.o): New dependency on
40107 $(objpfx)version.h.
40108 ($(objpfx)zdump.o): Likewise.
40109 ($(objpfx)version.h): New target.
40111 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40113 * timezone/README: Don't mention modification to tzselect.ksh.
40114 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40115 work on unmodified tzselect.ksh. Substitute version numbers in
40118 * Makefile (format-me): Remove.
40119 (INSTALL): Adjust indentation. Use commands directly instead of
40120 using $(format-me).
40122 * aclocal.m4 (ACX_PKGVERSION): New macro.
40123 (ACX_BUGURL): Likewise.
40124 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40125 (PKGVERSION): New AC_DEFINE_UNQUOTED.
40126 (REPORT_BUGS_TO): Likewise.
40127 * configure: Regenerated.
40128 * config.h.in (PKGVERSION): New macro.
40129 (REPORT_BUGS_TO): Likewise.
40130 * config.make.in (PKGVERSION): New variable.
40131 (PKGVERSION_TEXI): Likewise.
40132 (REPORT_BUGS_TO): Likewise.
40133 (REPORT_BUGS_TEXI): Likewise.
40134 * Makefile (format-me): Use -I$(common-objpfx)manual.
40135 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40136 ($(common-objpfx)manual/%): New target.
40137 (manual/%): Remove target.
40138 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40139 (print_version): Use PKGVERSION.
40140 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40141 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40142 and REPORT_BUGS_TO.
40143 ($(objpfx)xtrace): Likewise.
40144 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40145 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40146 (print_version): Use PKGVERSION.
40147 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40148 (do_version): Use PKGVERSION.
40149 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40151 (common-ldd-rewrite): Likewise.
40152 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40153 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40154 (print_version): Use PKGVERSION.
40155 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40156 * elf/pldd.c (argp_program_bug_address): Remove variable.
40157 (more_help): New function.
40158 (argp): Use more_help.
40159 (print_version): Use PKGVERSION.
40160 * elf/sln.c (main): Use PKGVERSION.
40161 (usage): Use REPORT_BUGS_TO.
40162 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40163 (top level): Use PKGVERSION.
40164 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40165 (print_version): Use PKGVERSION.
40166 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40167 (print_version): Use PKGVERSION.
40168 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40169 (print_version): Use PKGVERSION.
40170 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40171 (print_version): Use PKGVERSION.
40172 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40173 (print_version): Use PKGVERSION.
40174 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40175 (print_version): Use PKGVERSION.
40176 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40178 ($(objpfx)memusage): Likewise.
40179 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40180 (do_version): Use PKGVERSION.
40181 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40182 (print_version): Use PKGVERSION.
40183 * malloc/mtrace.pl ($PACKAGE): Remove variable.
40184 ($PKGVERSION): New variable.
40185 ($REPORT_BUGS_TO): Likewise.
40186 (usage): Use $REPORT_BUGS_TO.
40187 (top level): Use $PKGVERSION.
40188 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40189 ($(objpfx)pkgvers.texi): New rule.
40190 ($(objpfx)stamp-pkgvers): Likewise.
40191 * manual/install.texi: Include pkgvers.texi.
40192 (--with-pkgversion): Document new configure option.
40193 (--with-bugurl): Likewise.
40194 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40195 than necessarily for this particular distribution. Use
40196 REPORT_BUGS_TO for where to report bugs.
40197 * INSTALL: Regenerated.
40198 * manual/libc.texinfo: Include pkgvers.texi.
40199 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40200 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40201 (print_version): Use PKGVERSION.
40202 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40203 (print_version): Use PKGVERSION.
40204 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40205 (print_version): Use PKGVERSION.
40206 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40207 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40209 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40210 (print_version): Use PKGVERSION.
40211 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40212 (print_version): Use PKGVERSION.
40213 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40216 * timezone/checktab.awk: Update from tzcode 2012i.
40217 * timezone/ialloc.c: Likewise.
40218 * timezone/private.h: Likewise.
40219 * timezone/scheck.c: Likewise.
40220 * timezone/tzfile.h: Likewise.
40221 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40222 (TZVERSION): Hardcode tzcode version number.
40223 * timezone/zdump.c: Update from tzcode 2012i.
40224 * timezone/zic.c: Likewise.
40225 * timezone/version.h: New file.
40226 * timezone/README: Describe version.h. Update upstream location.
40229 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40230 (mktemp): Enable declaration.
40231 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40232 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40233 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40234 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40236 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40238 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40240 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40242 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40244 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40248 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40249 offset in buffer as u_int32_t not u_long. Consistently use memcpy
40250 for copies of such integer values.
40251 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40252 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40254 2012-11-09 Andreas Jaeger <aj@suse.de>
40256 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40257 definitions and declarations that are provided by
40258 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40260 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40262 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40263 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40264 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40267 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40269 * elf/elf.h: Update comment before AArch64 relocations.
40271 2012-11-07 David S. Miller <davem@davemloft.net>
40273 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40274 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40275 (__start_context): Declare.
40276 (__makecontext_ret): Delete.
40277 (__makecontext): Hook up __start_context instead of
40279 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40280 (sysdep_routines): Add __start_context when in stdlib.
40282 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40284 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40285 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40286 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
40288 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
40289 (READELF): New variable. Use it instead of hardcoded "readelf".
40291 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
40293 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40294 * sysdeps/x86/Makefile: Here.
40295 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40296 * sysdeps/x86/tst-xmmymm.sh: This.
40298 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40300 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40302 [UNIX98] (pthread_barrier_t): Do not expect.
40303 [UNIX98] (pthread_barrierattr_t): Likewise.
40304 [UNIX98] (pthread_spinlock_t): Likewise.
40305 [UNIX98] (pthread_barrier_destroy): Likewise.
40306 [UNIX98] (pthread_barrier_init): Likewise.
40307 [UNIX98] (pthread_barrier_wait): Likewise.
40308 [UNIX98] (pthread_barrierattr_destroy): Likewise.
40309 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40310 [UNIX98] (pthread_barrierattr_init): Likewise.
40311 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40312 [UNIX98] (pthread_getcpuclockid): Likewise.
40313 [UNIX98] (pthread_mutex_timedlock): Likewise.
40314 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40315 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40316 [UNIX98] (pthread_sigmask): Likewise.
40317 [UNIX98] (pthread_spin_destroy): Likewise.
40318 [UNIX98] (pthread_spin_init): Likewise.
40319 [UNIX98] (pthread_spin_lock): Likewise.
40320 [UNIX98] (pthread_spin_trylock): Likewise.
40321 [UNIX98] (pthread_spin_unlock): Likewise.
40322 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40324 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40325 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40326 [XPG3 || XPG4] (pthread_cond_t): Likewise.
40327 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40328 [XPG3 || XPG4] (pthread_key_t): Likewise.
40329 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40330 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40331 [XPG3 || XPG4] (pthread_once_t): Likewise.
40332 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40333 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40334 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40335 [XPG3 || XPG4] (pthread_t): Likewise.
40337 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40339 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40341 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40342 Change function return type to int.
40344 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40345 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40346 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40347 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40348 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40349 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40350 [!POSIX] (posix_madvise): Likewise.
40351 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40353 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40354 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40355 (mode_t): Likewise.
40356 (posix_mem_offset): Likewise.
40357 (posix_typed_mem_get_info): Likewise.
40358 (posix_typed_mem_open): Likewise.
40360 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40361 Change condition to [XOPEN2K8].
40363 * conform/conformtest.pl: Preprocess allow-header data with -x c
40364 instead of from stdin.
40365 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40366 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40367 [C99-based standards] (cerfc): Likewise.
40368 [C99-based standards] (cexp2): Likewise.
40369 [C99-based standards] (cexpm1): Likewise.
40370 [C99-based standards] (clog10): Likewise.
40371 [C99-based standards] (clog1p): Likewise.
40372 [C99-based standards] (clog2): Likewise.
40373 [C99-based standards] (clgamma): Likewise.
40374 [C99-based standards] (ctgamma): Likewise.
40375 [C99-based standards] (cerff): Likewise.
40376 [C99-based standards] (cerfcf): Likewise.
40377 [C99-based standards] (cexp2f): Likewise.
40378 [C99-based standards] (cexpm1f): Likewise.
40379 [C99-based standards] (clog10f): Likewise.
40380 [C99-based standards] (clog1pf): Likewise.
40381 [C99-based standards] (clog2f): Likewise.
40382 [C99-based standards] (clgammaf): Likewise.
40383 [C99-based standards] (ctgammaf): Likewise.
40384 [C99-based standards] (cerfl): Likewise.
40385 [C99-based standards] (cerfcl): Likewise.
40386 [C99-based standards] (cexp2l): Likewise.
40387 [C99-based standards] (cexpm1l): Likewise.
40388 [C99-based standards] (clog10l): Likewise.
40389 [C99-based standards] (clog1pl): Likewise.
40390 [C99-based standards] (clog2l): Likewise.
40391 [C99-based standards] (clgammal): Likewise.
40392 [C99-based standards] (ctgammal): Likewise.
40393 * conform/data/inttypes.h-data [C99-based standards]: Include
40394 stdint.h-data. Remove all expectations for stdint.h contents.
40395 [C99-based standards] (PRI*): Do not allow.
40396 [C99-based standards] (SCN*): Likewise.
40397 [C99-based standards] (*_t): Likewise.
40398 [C99-based-standards] (PRId8): Expect macro.
40399 [C99-based-standards] (PRIi8): Likewise.
40400 [C99-based-standards] (PRIo8): Likewise.
40401 [C99-based-standards] (PRIu8): Likewise.
40402 [C99-based-standards] (PRIx8): Likewise.
40403 [C99-based-standards] (PRIX8): Likewise.
40404 [C99-based-standards] (SCNd8): Likewise.
40405 [C99-based-standards] (SCNi8): Likewise.
40406 [C99-based-standards] (SCNo8): Likewise.
40407 [C99-based-standards] (SCNu8): Likewise.
40408 [C99-based-standards] (SCNx8): Likewise.
40409 [C99-based-standards] (PRIdLEAST8): Likewise.
40410 [C99-based-standards] (PRIiLEAST8): Likewise.
40411 [C99-based-standards] (PRIoLEAST8): Likewise.
40412 [C99-based-standards] (PRIuLEAST8): Likewise.
40413 [C99-based-standards] (PRIxLEAST8): Likewise.
40414 [C99-based-standards] (PRIXLEAST8): Likewise.
40415 [C99-based-standards] (SCNdLEAST8): Likewise.
40416 [C99-based-standards] (SCNiLEAST8): Likewise.
40417 [C99-based-standards] (SCNoLEAST8): Likewise.
40418 [C99-based-standards] (SCNuLEAST8): Likewise.
40419 [C99-based-standards] (SCNxLEAST8): Likewise.
40420 [C99-based-standards] (PRIdFAST8): Likewise.
40421 [C99-based-standards] (PRIiFAST8): Likewise.
40422 [C99-based-standards] (PRIoFAST8): Likewise.
40423 [C99-based-standards] (PRIuFAST8): Likewise.
40424 [C99-based-standards] (PRIxFAST8): Likewise.
40425 [C99-based-standards] (PRIXFAST8): Likewise.
40426 [C99-based-standards] (SCNdFAST8): Likewise.
40427 [C99-based-standards] (SCNiFAST8): Likewise.
40428 [C99-based-standards] (SCNoFAST8): Likewise.
40429 [C99-based-standards] (SCNuFAST8): Likewise.
40430 [C99-based-standards] (SCNxFAST8): Likewise.
40431 [C99-based-standards] (PRId16): Likewise.
40432 [C99-based-standards] (PRIi16): Likewise.
40433 [C99-based-standards] (PRIo16): Likewise.
40434 [C99-based-standards] (PRIu16): Likewise.
40435 [C99-based-standards] (PRIx16): Likewise.
40436 [C99-based-standards] (PRIX16): Likewise.
40437 [C99-based-standards] (SCNd16): Likewise.
40438 [C99-based-standards] (SCNi16): Likewise.
40439 [C99-based-standards] (SCNo16): Likewise.
40440 [C99-based-standards] (SCNu16): Likewise.
40441 [C99-based-standards] (SCNx16): Likewise.
40442 [C99-based-standards] (PRIdLEAST16): Likewise.
40443 [C99-based-standards] (PRIiLEAST16): Likewise.
40444 [C99-based-standards] (PRIoLEAST16): Likewise.
40445 [C99-based-standards] (PRIuLEAST16): Likewise.
40446 [C99-based-standards] (PRIxLEAST16): Likewise.
40447 [C99-based-standards] (PRIXLEAST16): Likewise.
40448 [C99-based-standards] (SCNdLEAST16): Likewise.
40449 [C99-based-standards] (SCNiLEAST16): Likewise.
40450 [C99-based-standards] (SCNoLEAST16): Likewise.
40451 [C99-based-standards] (SCNuLEAST16): Likewise.
40452 [C99-based-standards] (SCNxLEAST16): Likewise.
40453 [C99-based-standards] (PRIdFAST16): Likewise.
40454 [C99-based-standards] (PRIiFAST16): Likewise.
40455 [C99-based-standards] (PRIoFAST16): Likewise.
40456 [C99-based-standards] (PRIuFAST16): Likewise.
40457 [C99-based-standards] (PRIxFAST16): Likewise.
40458 [C99-based-standards] (PRIXFAST16): Likewise.
40459 [C99-based-standards] (SCNdFAST16): Likewise.
40460 [C99-based-standards] (SCNiFAST16): Likewise.
40461 [C99-based-standards] (SCNoFAST16): Likewise.
40462 [C99-based-standards] (SCNuFAST16): Likewise.
40463 [C99-based-standards] (SCNxFAST16): Likewise.
40464 [C99-based-standards] (PRId32): Likewise.
40465 [C99-based-standards] (PRIi32): Likewise.
40466 [C99-based-standards] (PRIo32): Likewise.
40467 [C99-based-standards] (PRIu32): Likewise.
40468 [C99-based-standards] (PRIx32): Likewise.
40469 [C99-based-standards] (PRIX32): Likewise.
40470 [C99-based-standards] (SCNd32): Likewise.
40471 [C99-based-standards] (SCNi32): Likewise.
40472 [C99-based-standards] (SCNo32): Likewise.
40473 [C99-based-standards] (SCNu32): Likewise.
40474 [C99-based-standards] (SCNx32): Likewise.
40475 [C99-based-standards] (PRIdLEAST32): Likewise.
40476 [C99-based-standards] (PRIiLEAST32): Likewise.
40477 [C99-based-standards] (PRIoLEAST32): Likewise.
40478 [C99-based-standards] (PRIuLEAST32): Likewise.
40479 [C99-based-standards] (PRIxLEAST32): Likewise.
40480 [C99-based-standards] (PRIXLEAST32): Likewise.
40481 [C99-based-standards] (SCNdLEAST32): Likewise.
40482 [C99-based-standards] (SCNiLEAST32): Likewise.
40483 [C99-based-standards] (SCNoLEAST32): Likewise.
40484 [C99-based-standards] (SCNuLEAST32): Likewise.
40485 [C99-based-standards] (SCNxLEAST32): Likewise.
40486 [C99-based-standards] (PRIdFAST32): Likewise.
40487 [C99-based-standards] (PRIiFAST32): Likewise.
40488 [C99-based-standards] (PRIoFAST32): Likewise.
40489 [C99-based-standards] (PRIuFAST32): Likewise.
40490 [C99-based-standards] (PRIxFAST32): Likewise.
40491 [C99-based-standards] (PRIXFAST32): Likewise.
40492 [C99-based-standards] (SCNdFAST32): Likewise.
40493 [C99-based-standards] (SCNiFAST32): Likewise.
40494 [C99-based-standards] (SCNoFAST32): Likewise.
40495 [C99-based-standards] (SCNuFAST32): Likewise.
40496 [C99-based-standards] (SCNxFAST32): Likewise.
40497 [C99-based-standards] (PRId64): Likewise.
40498 [C99-based-standards] (PRIi64): Likewise.
40499 [C99-based-standards] (PRIo64): Likewise.
40500 [C99-based-standards] (PRIu64): Likewise.
40501 [C99-based-standards] (PRIx64): Likewise.
40502 [C99-based-standards] (PRIX64): Likewise.
40503 [C99-based-standards] (SCNd64): Likewise.
40504 [C99-based-standards] (SCNi64): Likewise.
40505 [C99-based-standards] (SCNo64): Likewise.
40506 [C99-based-standards] (SCNu64): Likewise.
40507 [C99-based-standards] (SCNx64): Likewise.
40508 [C99-based-standards] (PRIdLEAST64): Likewise.
40509 [C99-based-standards] (PRIiLEAST64): Likewise.
40510 [C99-based-standards] (PRIoLEAST64): Likewise.
40511 [C99-based-standards] (PRIuLEAST64): Likewise.
40512 [C99-based-standards] (PRIxLEAST64): Likewise.
40513 [C99-based-standards] (PRIXLEAST64): Likewise.
40514 [C99-based-standards] (SCNdLEAST64): Likewise.
40515 [C99-based-standards] (SCNiLEAST64): Likewise.
40516 [C99-based-standards] (SCNoLEAST64): Likewise.
40517 [C99-based-standards] (SCNuLEAST64): Likewise.
40518 [C99-based-standards] (SCNxLEAST64): Likewise.
40519 [C99-based-standards] (PRIdFAST64): Likewise.
40520 [C99-based-standards] (PRIiFAST64): Likewise.
40521 [C99-based-standards] (PRIoFAST64): Likewise.
40522 [C99-based-standards] (PRIuFAST64): Likewise.
40523 [C99-based-standards] (PRIxFAST64): Likewise.
40524 [C99-based-standards] (PRIXFAST64): Likewise.
40525 [C99-based-standards] (SCNdFAST64): Likewise.
40526 [C99-based-standards] (SCNiFAST64): Likewise.
40527 [C99-based-standards] (SCNoFAST64): Likewise.
40528 [C99-based-standards] (SCNuFAST64): Likewise.
40529 [C99-based-standards] (SCNxFAST64): Likewise.
40530 [C99-based-standards] (PRIdMAX): Likewise.
40531 [C99-based-standards] (PRIiMAX): Likewise.
40532 [C99-based-standards] (PRIoMAX): Likewise.
40533 [C99-based-standards] (PRIuMAX): Likewise.
40534 [C99-based-standards] (PRIxMAX): Likewise.
40535 [C99-based-standards] (PRIXMAX): Likewise.
40536 [C99-based-standards] (SCNdMAX): Likewise.
40537 [C99-based-standards] (SCNiMAX): Likewise.
40538 [C99-based-standards] (SCNoMAX): Likewise.
40539 [C99-based-standards] (SCNuMAX): Likewise.
40540 [C99-based-standards] (SCNxMAX): Likewise.
40541 [C99-based-standards] (PRIdPTR): Likewise.
40542 [C99-based-standards] (PRIiPTR): Likewise.
40543 [C99-based-standards] (PRIoPTR): Likewise.
40544 [C99-based-standards] (PRIuPTR): Likewise.
40545 [C99-based-standards] (PRIxPTR): Likewise.
40546 [C99-based-standards] (PRIXPTR): Likewise.
40547 [C99-based-standards] (SCNdPTR): Likewise.
40548 [C99-based-standards] (SCNiPTR): Likewise.
40549 [C99-based-standards] (SCNoPTR): Likewise.
40550 [C99-based-standards] (SCNuPTR): Likewise.
40551 [C99-based-standards] (SCNxPTR): Likewise.
40552 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40554 * conform/data/stdint.h-data: Update comments to clarify
40556 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
40558 [C99-based standards] (INT8_MAX): Likewise.
40559 [C99-based standards] (INT16_MIN): Likewise.
40560 [C99-based standards] (INT16_MAX): Likewise.
40561 [C99-based standards] (INT32_MIN): Likewise.
40562 [C99-based standards] (INT32_MAX): Likewise.
40563 [C99-based standards] (INT64_MIN): Likewise.
40564 [C99-based standards] (INT64_MAX): Likewise.
40565 [C99-based standards] (UINT8_MAX): Likewise.
40566 [C99-based standards] (UINT16_MAX): Likewise.
40567 [C99-based standards] (UINT32_MAX): Likewise.
40568 [C99-based standards] (UINT64_MAX): Likewise.
40569 [C99-based standards] (INT_LEAST8_MIN): Likewise.
40570 [C99-based standards] (INT_LEAST8_MAX): Likewise.
40571 [C99-based standards] (INT_LEAST16_MIN): Likewise.
40572 [C99-based standards] (INT_LEAST16_MAX): Likewise.
40573 [C99-based standards] (INT_LEAST32_MIN): Likewise.
40574 [C99-based standards] (INT_LEAST32_MAX): Likewise.
40575 [C99-based standards] (INT_LEAST64_MIN): Likewise.
40576 [C99-based standards] (INT_LEAST64_MAX): Likewise.
40577 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40578 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40579 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40580 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40581 [C99-based standards] (INT_FAST8_MIN): Likewise.
40582 [C99-based standards] (INT_FAST8_MAX): Likewise.
40583 [C99-based standards] (INT_FAST16_MIN): Likewise.
40584 [C99-based standards] (INT_FAST16_MAX): Likewise.
40585 [C99-based standards] (INT_FAST32_MIN): Likewise.
40586 [C99-based standards] (INT_FAST32_MAX): Likewise.
40587 [C99-based standards] (INT_FAST64_MIN): Likewise.
40588 [C99-based standards] (INT_FAST64_MAX): Likewise.
40589 [C99-based standards] (UINT_FAST8_MAX): Likewise.
40590 [C99-based standards] (UINT_FAST16_MAX): Likewise.
40591 [C99-based standards] (UINT_FAST32_MAX): Likewise.
40592 [C99-based standards] (UINT_FAST64_MAX): Likewise.
40593 [C99-based standards] (INTPTR_MIN): Likewise.
40594 [C99-based standards] (INTPTR_MAX): Likewise.
40595 [C99-based standards] (UINTPTR_MAX): Likewise.
40596 [C99-based standards] (INTMAX_MIN): Likewise.
40597 [C99-based standards] (INTMAX_MAX): Likewise.
40598 [C99-based standards] (UINTMAX_MAX): Likewise.
40599 [C99-based standards] (PTRDIFF_MIN): Likewise.
40600 [C99-based standards] (PTRDIFF_MAX): Likewise.
40601 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40602 [C99-based standards] (SIZE_MAX): Likewise.
40603 [C99-based standards] (WCHAR_MAX): Likewise.
40604 [C99-based standards] (WINT_MAX): Likewise.
40605 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
40606 constraint on value.
40607 [C99-based standards] (WCHAR_MIN): Likewise.
40608 [C99-based standards] (WINT_MIN): Likewise.
40609 [C99-based standards] (*_t): Allow.
40610 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40611 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40612 Include math.h-data and complex.h-data. Remove all expectations
40613 of math.h and complex.h contents.
40614 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40616 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40617 (struct tm): Expect tag.
40618 [C99-based-standards] (wcstof): Expect function.
40619 [C99-based-standards] (wcstold): Likewise.
40620 [C99-based-standards] (wcstoll): Likewise.
40621 [C99-based-standards] (wcstoull): Likewise.
40622 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40623 macro-int-constant. Specify type.
40624 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
40625 constraint on value.
40626 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40628 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40630 [ISO C standards]: Do not allow headers.
40631 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40632 wcs[abcdefghijklmnopqrstuvwxyz]*.
40633 [ISO C standards] (*_t): Do not allow.
40634 * conform/data/wctype.h-data [C99-based standards] (iswblank):
40636 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40637 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40639 [ISO C standards]: Do not allow headers.
40640 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40641 is[abcdefghijklmnopqrstuvwxyz]*.
40642 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40643 to[abcdefghijklmnopqrstuvwxyz]*.
40644 [ISO C standards] (*_t): Do not allow.
40645 * conform/data/stdalign.h-data: New file.
40646 * conform/data/stdbool.h-data: Likewise.
40647 * conform/data/stdnoreturn.h-data: Likewise.
40649 2012-11-07 Roland McGrath <roland@hack.frob.com>
40652 * manual/filesys.texi (Directory Entries): Typo fix.
40653 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40655 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40657 * elf/elf.h (EM_AARCH64): New macro.
40658 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40659 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40660 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40661 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40662 (R_AARCH64_TLSDESC): Likewise.
40663 (NT_ARM_TLS): Likewise.
40664 (NT_ARM_HW_BREAK): Likewise.
40665 (NT_ARM_HW_WATCH): Likewise.
40667 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40670 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40671 (__ieee754_powl): Saturate nonzero exponents with absolute value
40672 below 0x1p-79 to +/- 0x1p-79.
40673 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40674 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40675 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40676 nonzero exponents with absolute value below 0x1p-32 to +/-
40678 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40679 (__ieee754_powl): Saturate nonzero exponents with absolute value
40680 below 0x1p-79 to +/- 0x1p-79.
40681 * math/libm-test.inc (pow_test): Add more tests.
40683 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40685 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40686 _dl_s390_cap_flags with kernel. Increase string length.
40687 (_dl_s390_platforms): Add z196 and zEC12.
40689 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40691 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40692 Change XOPEN21K to XOPEN2K.
40694 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
40696 * string/memmove.c: Use memcpy when possible.
40698 2012-11-06 Andreas Jaeger <aj@suse.de>
40700 * po/eo.po: Update from translation team.
40702 2012-11-06 Joseph Myers <joseph@codesourcery.com>
40705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40706 exponent and small x and y exponents, scale x or y up. Increase
40707 by 2 the exponent used in scaling up.
40708 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40709 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40710 * math/libm-test.inc (fma_test): Add more tests.
40711 (fma_test_towardzero): Likewise.
40712 (fma_test_downward): Likewise.
40713 (fma_test_upward): Likewise.
40715 2012-11-05 Joseph Myers <joseph@codesourcery.com>
40718 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40722 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40723 namespace for names of struct fields.
40724 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40726 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40727 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40729 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
40732 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40734 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40736 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40740 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40743 2012-11-04 Joseph Myers <joseph@codesourcery.com>
40746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40747 definitely overflow as x * y not x * y + z.
40748 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40749 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40750 * math/libm-test.inc (fma_test): Add more tests.
40751 (fma_test_towardzero): Likewise.
40752 (fma_test_downward): Likewise.
40753 (fma_test_upward): Likewise.
40755 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40759 * include/stub-tag.h: Remove file.
40760 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40762 * manual/maint.texi (Porting): Don't reference it.
40763 * Makerules ($(objpfx)stubs): Likewise.
40764 * dirent/closedir.c: Don't include <stub-tag.h>.
40765 * dirent/dirfd.c: Likewise.
40766 * dirent/fdopendir.c: Likewise.
40767 * dirent/getdents.c: Likewise.
40768 * dirent/getdents64.c: Likewise.
40769 * dirent/opendir.c: Likewise.
40770 * dirent/readdir.c: Likewise.
40771 * dirent/readdir64.c: Likewise.
40772 * dirent/readdir64_r.c: Likewise.
40773 * dirent/readdir_r.c: Likewise.
40774 * dirent/rewinddir.c: Likewise.
40775 * dirent/seekdir.c: Likewise.
40776 * dirent/telldir.c: Likewise.
40777 * gmon/profil.c: Likewise.
40778 * grp/setgroups.c: Likewise.
40779 * inet/if_index.c: Likewise.
40780 * io/access.c: Likewise.
40781 * io/chdir.c: Likewise.
40782 * io/chmod.c: Likewise.
40783 * io/chown.c: Likewise.
40784 * io/close.c: Likewise.
40785 * io/dup.c: Likewise.
40786 * io/dup2.c: Likewise.
40787 * io/dup3.c: Likewise.
40788 * io/euidaccess.c: Likewise.
40789 * io/faccessat.c: Likewise.
40790 * io/fchdir.c: Likewise.
40791 * io/fchmod.c: Likewise.
40792 * io/fchmodat.c: Likewise.
40793 * io/fchown.c: Likewise.
40794 * io/fchownat.c: Likewise.
40795 * io/fcntl.c: Likewise.
40796 * io/flock.c: Likewise.
40797 * io/fstatfs.c: Likewise.
40798 * io/fstatfs64.c: Likewise.
40799 * io/fstatvfs.c: Likewise.
40800 * io/fstatvfs64.c: Likewise.
40801 * io/futimens.c: Likewise.
40802 * io/fxstat.c: Likewise.
40803 * io/fxstat64.c: Likewise.
40804 * io/fxstatat.c: Likewise.
40805 * io/fxstatat64.c: Likewise.
40806 * io/getcwd.c: Likewise.
40807 * io/isatty.c: Likewise.
40808 * io/lchmod.c: Likewise.
40809 * io/lchown.c: Likewise.
40810 * io/link.c: Likewise.
40811 * io/linkat.c: Likewise.
40812 * io/lseek.c: Likewise.
40813 * io/lseek64.c: Likewise.
40814 * io/lxstat64.c: Likewise.
40815 * io/mkdir.c: Likewise.
40816 * io/mkdirat.c: Likewise.
40817 * io/mkfifo.c: Likewise.
40818 * io/mkfifoat.c: Likewise.
40819 * io/open.c: Likewise.
40820 * io/open64.c: Likewise.
40821 * io/openat.c: Likewise.
40822 * io/openat64.c: Likewise.
40823 * io/pipe.c: Likewise.
40824 * io/pipe2.c: Likewise.
40825 * io/poll.c: Likewise.
40826 * io/posix_fadvise.c: Likewise.
40827 * io/posix_fadvise64.c: Likewise.
40828 * io/posix_fallocate.c: Likewise.
40829 * io/posix_fallocate64.c: Likewise.
40830 * io/read.c: Likewise.
40831 * io/readlink.c: Likewise.
40832 * io/readlinkat.c: Likewise.
40833 * io/rmdir.c: Likewise.
40834 * io/sendfile.c: Likewise.
40835 * io/sendfile64.c: Likewise.
40836 * io/statfs.c: Likewise.
40837 * io/statfs64.c: Likewise.
40838 * io/statvfs.c: Likewise.
40839 * io/statvfs64.c: Likewise.
40840 * io/symlink.c: Likewise.
40841 * io/symlinkat.c: Likewise.
40842 * io/ttyname.c: Likewise.
40843 * io/ttyname_r.c: Likewise.
40844 * io/umask.c: Likewise.
40845 * io/unlink.c: Likewise.
40846 * io/unlinkat.c: Likewise.
40847 * io/utime.c: Likewise.
40848 * io/utimensat.c: Likewise.
40849 * io/write.c: Likewise.
40850 * io/xmknod.c: Likewise.
40851 * io/xmknodat.c: Likewise.
40852 * io/xstat.c: Likewise.
40853 * io/xstat64.c: Likewise.
40854 * login/getpt.c: Likewise.
40855 * login/grantpt.c: Likewise.
40856 * login/unlockpt.c: Likewise.
40857 * math/e_acoshl.c: Likewise.
40858 * math/e_acosl.c: Likewise.
40859 * math/e_asinl.c: Likewise.
40860 * math/e_atan2l.c: Likewise.
40861 * math/e_atanhl.c: Likewise.
40862 * math/e_coshl.c: Likewise.
40863 * math/e_expl.c: Likewise.
40864 * math/e_fmodl.c: Likewise.
40865 * math/e_gammal_r.c: Likewise.
40866 * math/e_hypotl.c: Likewise.
40867 * math/e_j0l.c: Likewise.
40868 * math/e_j1l.c: Likewise.
40869 * math/e_jnl.c: Likewise.
40870 * math/e_lgammal_r.c: Likewise.
40871 * math/e_log10l.c: Likewise.
40872 * math/e_log2l.c: Likewise.
40873 * math/e_logl.c: Likewise.
40874 * math/e_powl.c: Likewise.
40875 * math/e_rem_pio2l.c: Likewise.
40876 * math/e_sinhl.c: Likewise.
40877 * math/e_sqrtl.c: Likewise.
40878 * math/fclrexcpt.c: Likewise.
40879 * math/fedisblxcpt.c: Likewise.
40880 * math/feenablxcpt.c: Likewise.
40881 * math/fegetenv.c: Likewise.
40882 * math/fegetexcept.c: Likewise.
40883 * math/fegetround.c: Likewise.
40884 * math/feholdexcpt.c: Likewise.
40885 * math/fesetenv.c: Likewise.
40886 * math/fesetround.c: Likewise.
40887 * math/feupdateenv.c: Likewise.
40888 * math/fgetexcptflg.c: Likewise.
40889 * math/fraiseexcpt.c: Likewise.
40890 * math/fsetexcptflg.c: Likewise.
40891 * math/ftestexcept.c: Likewise.
40892 * math/k_cosl.c: Likewise.
40893 * math/k_rem_pio2l.c: Likewise.
40894 * math/k_sinl.c: Likewise.
40895 * math/k_tanl.c: Likewise.
40896 * math/s_asinhl.c: Likewise.
40897 * math/s_atanl.c: Likewise.
40898 * math/s_cbrtl.c: Likewise.
40899 * math/s_erfl.c: Likewise.
40900 * math/s_expm1l.c: Likewise.
40901 * math/s_log1pl.c: Likewise.
40902 * math/s_tanhl.c: Likewise.
40903 * misc/acct.c: Likewise.
40904 * misc/brk.c: Likewise.
40905 * misc/chflags.c: Likewise.
40906 * misc/chroot.c: Likewise.
40907 * misc/fchflags.c: Likewise.
40908 * misc/fgetxattr.c: Likewise.
40909 * misc/flistxattr.c: Likewise.
40910 * misc/fremovexattr.c: Likewise.
40911 * misc/fsetxattr.c: Likewise.
40912 * misc/fsync.c: Likewise.
40913 * misc/ftruncate.c: Likewise.
40914 * misc/futimes.c: Likewise.
40915 * misc/futimesat.c: Likewise.
40916 * misc/getdomain.c: Likewise.
40917 * misc/getdtsz.c: Likewise.
40918 * misc/gethostid.c: Likewise.
40919 * misc/gethostname.c: Likewise.
40920 * misc/getloadavg.c: Likewise.
40921 * misc/getpagesize.c: Likewise.
40922 * misc/getsysstats.c: Likewise.
40923 * misc/getxattr.c: Likewise.
40924 * misc/gtty.c: Likewise.
40925 * misc/ioctl.c: Likewise.
40926 * misc/lgetxattr.c: Likewise.
40927 * misc/listxattr.c: Likewise.
40928 * misc/llistxattr.c: Likewise.
40929 * misc/lremovexattr.c: Likewise.
40930 * misc/lsetxattr.c: Likewise.
40931 * misc/lutimes.c: Likewise.
40932 * misc/madvise.c: Likewise.
40933 * misc/mincore.c: Likewise.
40934 * misc/mlock.c: Likewise.
40935 * misc/mlockall.c: Likewise.
40936 * misc/mmap.c: Likewise.
40937 * misc/mprotect.c: Likewise.
40938 * misc/msync.c: Likewise.
40939 * misc/munlock.c: Likewise.
40940 * misc/munlockall.c: Likewise.
40941 * misc/munmap.c: Likewise.
40942 * misc/preadv.c: Likewise.
40943 * misc/preadv64.c: Likewise.
40944 * misc/ptrace.c: Likewise.
40945 * misc/pwritev.c: Likewise.
40946 * misc/pwritev64.c: Likewise.
40947 * misc/readv.c: Likewise.
40948 * misc/reboot.c: Likewise.
40949 * misc/remap_file_pages.c: Likewise.
40950 * misc/removexattr.c: Likewise.
40951 * misc/revoke.c: Likewise.
40952 * misc/select.c: Likewise.
40953 * misc/setdomain.c: Likewise.
40954 * misc/setegid.c: Likewise.
40955 * misc/seteuid.c: Likewise.
40956 * misc/sethostid.c: Likewise.
40957 * misc/sethostname.c: Likewise.
40958 * misc/setregid.c: Likewise.
40959 * misc/setreuid.c: Likewise.
40960 * misc/setxattr.c: Likewise.
40961 * misc/sstk.c: Likewise.
40962 * misc/stty.c: Likewise.
40963 * misc/swapoff.c: Likewise.
40964 * misc/swapon.c: Likewise.
40965 * misc/sync.c: Likewise.
40966 * misc/syncfs.c: Likewise.
40967 * misc/syscall.c: Likewise.
40968 * misc/truncate.c: Likewise.
40969 * misc/ualarm.c: Likewise.
40970 * misc/usleep.c: Likewise.
40971 * misc/ustat.c: Likewise.
40972 * misc/utimes.c: Likewise.
40973 * misc/vhangup.c: Likewise.
40974 * misc/writev.c: Likewise.
40975 * posix/_exit.c: Likewise.
40976 * posix/alarm.c: Likewise.
40977 * posix/execve.c: Likewise.
40978 * posix/fexecve.c: Likewise.
40979 * posix/fork.c: Likewise.
40980 * posix/fpathconf.c: Likewise.
40981 * posix/getaddrinfo.c: Likewise.
40982 * posix/getegid.c: Likewise.
40983 * posix/geteuid.c: Likewise.
40984 * posix/getgid.c: Likewise.
40985 * posix/getgroups.c: Likewise.
40986 * posix/getlogin.c: Likewise.
40987 * posix/getlogin_r.c: Likewise.
40988 * posix/getpgid.c: Likewise.
40989 * posix/getpid.c: Likewise.
40990 * posix/getppid.c: Likewise.
40991 * posix/getresgid.c: Likewise.
40992 * posix/getresuid.c: Likewise.
40993 * posix/getsid.c: Likewise.
40994 * posix/getuid.c: Likewise.
40995 * posix/glob64.c: Likewise.
40996 * posix/nanosleep.c: Likewise.
40997 * posix/pathconf.c: Likewise.
40998 * posix/pause.c: Likewise.
40999 * posix/posix_madvise.c: Likewise.
41000 * posix/pread.c: Likewise.
41001 * posix/pread64.c: Likewise.
41002 * posix/pwrite.c: Likewise.
41003 * posix/pwrite64.c: Likewise.
41004 * posix/sched_getaffinity.c: Likewise.
41005 * posix/sched_getp.c: Likewise.
41006 * posix/sched_gets.c: Likewise.
41007 * posix/sched_primax.c: Likewise.
41008 * posix/sched_primin.c: Likewise.
41009 * posix/sched_rr_gi.c: Likewise.
41010 * posix/sched_setaffinity.c: Likewise.
41011 * posix/sched_setp.c: Likewise.
41012 * posix/sched_sets.c: Likewise.
41013 * posix/sched_yield.c: Likewise.
41014 * posix/setgid.c: Likewise.
41015 * posix/setlogin.c: Likewise.
41016 * posix/setpgid.c: Likewise.
41017 * posix/setresgid.c: Likewise.
41018 * posix/setresuid.c: Likewise.
41019 * posix/setsid.c: Likewise.
41020 * posix/setuid.c: Likewise.
41021 * posix/sleep.c: Likewise.
41022 * posix/spawni.c: Likewise.
41023 * posix/sysconf.c: Likewise.
41024 * posix/times.c: Likewise.
41025 * posix/wait.c: Likewise.
41026 * posix/wait3.c: Likewise.
41027 * posix/wait4.c: Likewise.
41028 * posix/waitpid.c: Likewise.
41029 * resolv/gai_sigqueue.c: Likewise.
41030 * resource/getpriority.c: Likewise.
41031 * resource/getrlimit.c: Likewise.
41032 * resource/getrusage.c: Likewise.
41033 * resource/nice.c: Likewise.
41034 * resource/setpriority.c: Likewise.
41035 * resource/setrlimit.c: Likewise.
41036 * resource/ulimit.c: Likewise.
41037 * rt/aio_cancel.c: Likewise.
41038 * rt/aio_fsync.c: Likewise.
41039 * rt/aio_read.c: Likewise.
41040 * rt/aio_sigqueue.c: Likewise.
41041 * rt/aio_suspend.c: Likewise.
41042 * rt/aio_write.c: Likewise.
41043 * rt/clock_getres.c: Likewise.
41044 * rt/clock_gettime.c: Likewise.
41045 * rt/clock_nanosleep.c: Likewise.
41046 * rt/clock_settime.c: Likewise.
41047 * rt/lio_listio.c: Likewise.
41048 * rt/mq_close.c: Likewise.
41049 * rt/mq_getattr.c: Likewise.
41050 * rt/mq_notify.c: Likewise.
41051 * rt/mq_open.c: Likewise.
41052 * rt/mq_receive.c: Likewise.
41053 * rt/mq_send.c: Likewise.
41054 * rt/mq_setattr.c: Likewise.
41055 * rt/mq_timedreceive.c: Likewise.
41056 * rt/mq_timedsend.c: Likewise.
41057 * rt/mq_unlink.c: Likewise.
41058 * rt/shm_open.c: Likewise.
41059 * rt/shm_unlink.c: Likewise.
41060 * rt/timer_create.c: Likewise.
41061 * rt/timer_delete.c: Likewise.
41062 * rt/timer_getoverr.c: Likewise.
41063 * rt/timer_gettime.c: Likewise.
41064 * rt/timer_settime.c: Likewise.
41065 * setjmp/__longjmp.c: Likewise.
41066 * setjmp/setjmp.c: Likewise.
41067 * signal/kill.c: Likewise.
41068 * signal/killpg.c: Likewise.
41069 * signal/raise.c: Likewise.
41070 * signal/sigaction.c: Likewise.
41071 * signal/sigaltstack.c: Likewise.
41072 * signal/sigblock.c: Likewise.
41073 * signal/sigignore.c: Likewise.
41074 * signal/sigintr.c: Likewise.
41075 * signal/signal.c: Likewise.
41076 * signal/sigpause.c: Likewise.
41077 * signal/sigpending.c: Likewise.
41078 * signal/sigqueue.c: Likewise.
41079 * signal/sigreturn.c: Likewise.
41080 * signal/sigset.c: Likewise.
41081 * signal/sigsetmask.c: Likewise.
41082 * signal/sigstack.c: Likewise.
41083 * signal/sigsuspend.c: Likewise.
41084 * signal/sigtimedwait.c: Likewise.
41085 * signal/sigvec.c: Likewise.
41086 * signal/sigwait.c: Likewise.
41087 * signal/sigwaitinfo.c: Likewise.
41088 * signal/sysv_signal.c: Likewise.
41089 * socket/accept.c: Likewise.
41090 * socket/accept4.c: Likewise.
41091 * socket/bind.c: Likewise.
41092 * socket/connect.c: Likewise.
41093 * socket/getpeername.c: Likewise.
41094 * socket/getsockname.c: Likewise.
41095 * socket/getsockopt.c: Likewise.
41096 * socket/isfdtype.c: Likewise.
41097 * socket/listen.c: Likewise.
41098 * socket/recv.c: Likewise.
41099 * socket/recvfrom.c: Likewise.
41100 * socket/recvmsg.c: Likewise.
41101 * socket/send.c: Likewise.
41102 * socket/sendmsg.c: Likewise.
41103 * socket/sendto.c: Likewise.
41104 * socket/setsockopt.c: Likewise.
41105 * socket/shutdown.c: Likewise.
41106 * socket/sockatmark.c: Likewise.
41107 * socket/socket.c: Likewise.
41108 * socket/socketpair.c: Likewise.
41109 * stdio-common/ctermid.c: Likewise.
41110 * stdio-common/cuserid.c: Likewise.
41111 * stdio-common/remove.c: Likewise.
41112 * stdio-common/rename.c: Likewise.
41113 * stdio-common/renameat.c: Likewise.
41114 * stdio-common/tempname.c: Likewise.
41115 * stdlib/getcontext.c: Likewise.
41116 * stdlib/makecontext.c: Likewise.
41117 * stdlib/setcontext.c: Likewise.
41118 * stdlib/swapcontext.c: Likewise.
41119 * stdlib/system.c: Likewise.
41120 * streams/fattach.c: Likewise.
41121 * streams/fdetach.c: Likewise.
41122 * streams/getmsg.c: Likewise.
41123 * streams/getpmsg.c: Likewise.
41124 * streams/putmsg.c: Likewise.
41125 * streams/putpmsg.c: Likewise.
41126 * sysdeps/unix/bsd/getpt.c: Likewise.
41127 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41128 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41129 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41132 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41133 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41134 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41135 * sysvipc/msgctl.c: Likewise.
41136 * sysvipc/msgget.c: Likewise.
41137 * sysvipc/msgrcv.c: Likewise.
41138 * sysvipc/msgsnd.c: Likewise.
41139 * sysvipc/semctl.c: Likewise.
41140 * sysvipc/semget.c: Likewise.
41141 * sysvipc/semop.c: Likewise.
41142 * sysvipc/semtimedop.c: Likewise.
41143 * sysvipc/shmat.c: Likewise.
41144 * sysvipc/shmctl.c: Likewise.
41145 * sysvipc/shmdt.c: Likewise.
41146 * sysvipc/shmget.c: Likewise.
41147 * termios/tcdrain.c: Likewise.
41148 * termios/tcflow.c: Likewise.
41149 * termios/tcflush.c: Likewise.
41150 * termios/tcgetattr.c: Likewise.
41151 * termios/tcgetpgrp.c: Likewise.
41152 * termios/tcsendbrk.c: Likewise.
41153 * termios/tcsetattr.c: Likewise.
41154 * termios/tcsetpgrp.c: Likewise.
41155 * time/adjtime.c: Likewise.
41156 * time/clock.c: Likewise.
41157 * time/getitimer.c: Likewise.
41158 * time/gettimeofday.c: Likewise.
41159 * time/setitimer.c: Likewise.
41160 * time/settimeofday.c: Likewise.
41161 * time/stime.c: Likewise.
41162 * time/time.c: Likewise.
41164 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
41166 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41169 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41171 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41173 2012-11-03 Joseph Myers <joseph@codesourcery.com>
41176 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41177 FE_TONEAREST before applying Dekker multiplication and Knuth
41178 addition. Clear inexact exceptions and check for exact zero
41179 results afterwards.
41180 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41181 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41182 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41183 * math/libm-test.inc (fma_test): Add more tests.
41184 (fma_test_towardzero): Likewise.
41185 (fma_test_downward): Likewise.
41186 (fma_test_upward): Likewise.
41187 * sysdeps/generic/math_private.h (default_libc_fesetround): New
41189 (libc_fesetround): New macro.
41190 (libc_fesetroundf): Likewise.
41191 (libc_fesetroundl): Likewise.
41192 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41194 (libc_fesetround_387): Likewise.
41195 (libc_fesetroundf): New macro.
41196 (libc_fesetround): Likewise.
41197 (libc_fesetroundl): Likewise.
41198 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41200 (libc_fesetroundf): New macro.
41201 (libc_fesetround): Likewise.
41202 (libc_fesetroundl): Likewise.
41203 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41204 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41205 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41207 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41208 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41210 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41211 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41213 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41217 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41218 integer constant usable in #if and use that to give value to enum
41220 (FE_DIVBYZERO): Likewise.
41221 (FE_UNDERFLOW): Likewise.
41222 (FE_OVERFLOW): Likewise.
41223 (FE_INVALID): Likewise.
41224 (FE_INVALID_SNAN): Likewise.
41225 (FE_INVALID_ISI): Likewise.
41226 (FE_INVALID_IDI): Likewise.
41227 (FE_INVALID_ZDZ): Likewise.
41228 (FE_INVALID_IMZ): Likewise.
41229 (FE_INVALID_COMPARE): Likewise.
41230 (FE_INVALID_SOFTWARE): Likewise.
41231 (FE_INVALID_SQRT): Likewise.
41232 (FE_INVALID_INTEGER_CONVERSION): Likewise.
41233 (FE_TONEAREST): Likewise.
41234 (FE_TOWARDZERO): Likewise.
41235 (FE_UPWARD): Likewise.
41236 (FE_DOWNWARD): Likewise.
41237 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41238 (FE_DIVBYZERO): Likewise.
41239 (FE_OVERFLOW): Likewise.
41240 (FE_UNDERFLOW): Likewise.
41241 (FE_INEXACT): Likewise.
41242 (FE_TONEAREST): Likewise.
41243 (FE_DOWNWARD): Likewise.
41244 (FE_UPWARD): Likewise.
41245 (FE_TOWARDZERO): Likewise.
41246 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41247 (FE_UNDERFLOW): Likewise.
41248 (FE_OVERFLOW): Likewise.
41249 (FE_DIVBYZERO): Likewise.
41250 (FE_INVALID): Likewise.
41251 (FE_TONEAREST): Likewise.
41252 (FE_TOWARDZERO): Likewise.
41253 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41254 (FE_OVERFLOW): Likewise.
41255 (FE_UNDERFLOW): Likewise.
41256 (FE_DIVBYZERO): Likewise.
41257 (FE_INEXACT): Likewise.
41258 (FE_TONEAREST): Likewise.
41259 (FE_TOWARDZERO): Likewise.
41260 (FE_UPWARD): Likewise.
41261 (FE_DOWNWARD): Likewise.
41262 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41263 (FE_DIVBYZERO): Likewise.
41264 (FE_OVERFLOW): Likewise.
41265 (FE_UNDERFLOW): Likewise.
41266 (FE_INEXACT): Likewise.
41267 (FE_TONEAREST): Likewise.
41268 (FE_DOWNWARD): Likewise.
41269 (FE_UPWARD): Likewise.
41270 (FE_TOWARDZERO): Likewise.
41272 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
41274 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41276 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
41278 * scripts/cross-test-ssh.sh (command): Use newlines to separate
41279 commands. Quote $PWD.
41280 (blacklist_exports): Don't use remove_newlines. Replace "declare
41282 (remove_newlines): Remove.
41284 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
41286 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41287 * stdlib/stdlib.h (atof): Moved to ...
41288 * include/bits/stdlib-float.h: Here. New file.
41289 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41290 * stdlib/bits/stdlib-float.h: New file.
41291 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41293 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41296 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41298 * conform/conformtest.pl (@headers): Add fenv.h.
41299 * conform/data/fenv.h-data: New file.
41300 * include/fenv.h [_ISOMAC]: Disable all contents of file except
41301 include of <math/fenv.h>.
41303 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41304 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41305 && !UNIX98]. Enables tests for XOPEN2K8.
41306 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41307 POSIX2008]: Likewise.
41309 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41310 (struct rusage): Do not expect type or its members.
41313 * math/math.h (FP_NAN): Define macro to integer constant usable in
41314 #if and use that to give value to enum constant.
41315 (FP_INFINITE): Likewise.
41316 (FP_ZERO): Likewise.
41317 (FP_SUBNORMAL): Likewise.
41318 (FP_NORMAL): Likewise.
41320 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
41322 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41323 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41326 2012-11-02 Roland McGrath <roland@hack.frob.com>
41328 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41329 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41330 autoconf-time if not.
41331 * configure.in: Remove AC_PREREQ.
41333 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41335 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41336 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41337 of the internal implementation.
41339 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41341 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41342 except include of <misc/sys/syslog.h>.
41344 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41347 function returns with a NULL context exit with zero.
41349 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41351 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41353 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
41355 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41356 (run_program_cmd): This.
41357 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41358 (tst_langinfo): New variable. Use it.
41360 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
41362 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41363 floating point opcodes.
41365 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41367 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41370 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41372 * sysdeps/mach/hurd/powerpc: Remove directory.
41373 * sysdeps/mach/powerpc: Likewise.
41375 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41377 * scripts/check-local-headers.sh: Ignore c++ headers.
41379 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41381 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41382 __libc_cleanup_region_start argument.
41384 2012-11-01 Joseph Myers <joseph@codesourcery.com>
41388 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41389 x * y using scaling, not as x * y + z.
41390 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41391 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41392 * math/libm-test.inc (fma_test): Add more tests.
41393 (fma_test_towardzero): Likewise.
41394 (fma_test_downward): Likewise.
41395 (fma_test_upward): Likewise.
41397 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41399 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41401 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41403 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41406 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
41408 * rt/tst-shm.c (worker): Correct checking for mmap failure.
41410 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41417 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41420 Fix the order of the list for glibc 2.17.
41421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41424 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41428 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41431 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41432 for low part of x being zero before using __atanl (y).
41433 * math/libm-test.inc (atan2_test): Add another test.
41435 * manual/install.texi (Configuring and compiling): Document
41436 general use of test-wrapper and test-wrapper-env.
41437 * INSTALL: Regenerated.
41439 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41440 (__fma): Do not extract and scale down low bits on after-rounding
41441 systems when result rounded to normal precision would have normal
41443 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41444 (__fmal): Do not extract and scale down low bits on after-rounding
41445 systems when result rounded to normal precision would have normal
41447 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41448 (__fmal): Do not extract and scale down low bits on after-rounding
41449 systems when result rounded to normal precision would have normal
41451 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41453 (fma_test): Add more tests.
41454 (fma_test_towardzero): Likewise.
41455 (fma_test_downward): Likewise.
41456 (fma_test_upward): Likewise.
41458 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
41460 * sysdeps/i386/tininess.h: Renamed to ...
41461 * sysdeps/x86/tininess.h: This.
41462 * sysdeps/x86_64/tininess.h: Removed.
41464 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41466 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41467 input. Use $(build-program-cmd).
41468 ($(objpfx)tst-array1-static.out): Likewise.
41469 ($(objpfx)tst-array2.out): Likewise.
41470 ($(objpfx)tst-array3.out): Likewise.
41471 ($(objpfx)tst-array4.out): Likewise.
41472 ($(objpfx)tst-array5.out): Likewise.
41473 ($(objpfx)tst-array5-static.out): Likewise.
41475 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
41477 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41480 * nss/nsswitch.h (nss_interface_function): Provide new
41481 macro for use with NSS functions.
41482 * grp/initgroups.c: Use new macro.
41483 * nss/getXXbyYY.c: Likewise.
41484 * nss/getXXbyYY_r.c: Likewise.
41485 * nss/getXXent.c: Likewise.
41486 * nss/getXXent_r.c: Likewise.
41487 * sysdeps/posix/getaddrinfo.c: Likewise.
41489 2012-10-30 Andreas Jaeger <aj@suse.de>
41491 * po/ru.po: Update Russion translation from translation project.
41493 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41498 result and shift together with sticky bit instead of replicating
41499 round-to-nearest rounding.
41500 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41501 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41502 * math/libm-test.inc (fma_test): Add more tests. Do not permit
41503 missing underflow exceptions.
41504 (fma_test_towardzero): Add more tests.
41505 (fma_test_downward): Likewise.
41506 (fma_test_upward): Likewise.
41509 * sysdeps/generic/tininess.h: New file.
41510 * sysdeps/i386/tininess.h: Likewise.
41511 * sysdeps/sh/tininess.h: Likewise.
41512 * sysdeps/x86_64/tininess.h: Likewise.
41513 * stdlib/tst-strtod-underflow.c: Likewise.
41514 * stdlib/tst-tininess.c: Likewise.
41515 * stdlib/strtod_l.c: Include <tininess.h>.
41516 (round_and_return): Do not set errno for exact underflow cases.
41517 Force an underflow exception when setting errno for underflow.
41518 Determine underflow based on rounding to normal precision if
41519 TININESS_AFTER_ROUNDING.
41520 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41521 ERANGE for exact underflow cases.
41522 * stdlib/Makefile (tests): Add tst-tininess and
41523 tst-strtod-underflow.
41524 ($(objpfx)tst-tininess): Use $(link-libm).
41525 ($(objpfx)tst-strtod-underflow): Likewise.
41527 2012-10-30 Andreas Jaeger <aj@suse.de>
41530 * elf/Makefile (tests): Remove conditional for have-initfini-array
41531 since this is now always required and the variable does not exist
41533 (tests-static): Likewise.
41534 (modules-names): Likewise.
41536 * po/eo.po: Add Esperanto translation from translation project.
41538 * elf/tst-array1.c (fini_array): Make writeable so that it can be
41539 merged with constructor/destructor.
41540 (init_array): Likewise.
41541 * elf/tst-array2dep.c (fini_array): Likewise.
41542 (init_array): Likewise.
41544 2012-10-29 Mike Frysinger <vapier@gentoo.org>
41546 * manual/message.texi: Delete @cartouche tags.
41548 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
41550 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41552 * sysdeps/mach/hurd/fsync.c: Likewise.
41554 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41555 [_POSIX_REALTIME_SIGNALS]: Change condition to
41556 [_POSIX_REALTIME_SIGNALS > 0].
41558 2012-10-27 Andreas Jaeger <aj@suse.de>
41560 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41561 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41562 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41563 [__WORDSIZE != 64]: Likewise.
41565 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
41567 * iconvdata/tst-table.sh: Remove ${SHELL}.
41568 * iconvdata/tst-tables.sh: Likewise.
41570 2012-10-25 David S. Miller <davem@davemloft.net>
41572 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41573 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41576 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41578 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41579 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41580 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41583 2012-10-25 Roland McGrath <roland@hack.frob.com>
41585 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41586 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41589 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41590 Jim Blandy <jimb@codesourcery.com>
41592 * scripts/cross-test-ssh.sh: New file.
41593 * manual/install.texi (Configuring and compiling): Document use of
41595 * INSTALL: Regenerated.
41597 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
41599 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41602 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41604 * Makeconfig (run-program-prefix): Fix comment.
41606 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41607 Jim Blandy <jimb@codesourcery.com>
41609 * Makeconfig (test-wrapper): New variable,
41610 (test-wrapper-env): Likewise.
41611 [$(cross-compiling) = yes && $(test-wrapper) != ""]
41612 (run-built-tests): Define to yes.
41613 (run-program-prefix): Use $(test-wrapper).
41614 (built-program-cmd): Likewise.
41615 * Rules (make-test-out): Use $(test-wrapper-env) and
41616 $(host-built-program-cmd).
41617 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41618 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41620 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41621 $(test-wrapper-env) to tst-rtld-load-self.sh.
41622 ($(objpfx)order2.out): Use $(test-wrapper).
41623 ($(objpfx)tst-initorder.out): Likewise.
41624 ($(objpfx)tst-initorder2.out): Likewise.
41625 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41626 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41627 (test_wrapper_env): New variable. Use it to run ld.so.
41628 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41629 Use it to run ld.so.
41630 (test_wrapper_env): Likewise.
41631 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41632 $(test-wrapper) to run-iconv-test.sh.
41633 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41634 (ICONV): Use $test_wrapper.
41635 * posix/Makefile ($(objpfx)globtest.out): Pass
41636 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41637 globtest.sh, not $(run-program-prefix).
41638 * posix/globtest.sh (run_via_rtld_prefix): New variable.
41639 (test_wrapper): Likewise.
41640 (test_wrapper_env): Likewise. Use it to run globtest with HOME
41641 set together with run_via_rtld_prefix.
41642 (run_program_prefix): Define in terms of test_wrapper and
41643 run_via_rtld_prefix.
41645 2012-10-24 Roland McGrath <roland@hack.frob.com>
41647 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41648 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41652 * include/time.h: Remove librt_hidden_proto (clock_gettime).
41653 Declare __clock_getres, __clock_gettime, __clock_settime,
41654 __clock_nanosleep, and __clock_getcpuclockid.
41655 * rt/clock_gettime.c: Define __clock_gettime as an alias.
41656 Remove librt_hidden_def (clock_gettime).
41657 * sysdeps/unix/clock_gettime.c: Likewise.
41658 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41659 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41660 * rt/clock_getres.c: Define __clock_getres as an alias.
41661 * sysdeps/posix/clock_getres.c: Likewise.
41662 * rt/clock_settime.c: Define __clock_settime as an alias.
41663 * sysdeps/unix/clock_settime.c: Likewise.
41664 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41665 * sysdeps/unix/clock_nanosleep.c: Likewise.
41666 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41667 * rt/clock-compat.c: New file.
41668 * rt/Makefile (librt-routines): Add clock-compat and move
41669 $(clock-routines) to ...
41670 (routines): ... here, new variable.
41671 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41672 Don't add get_clockfreq here.
41673 * rt/Versions (libc: GLIBC_2.17): New version set.
41674 Add clock_* symbols here.
41675 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
41676 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41677 (GLIBC_2.17): Add clock_* symbols.
41678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41680 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41689 * NEWS: Mention the move.
41691 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41692 Use __open, __read, __close rather than their public counterparts.
41693 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41694 (__get_clockfreq_via_cpuinfo): Likewise.
41695 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41696 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41698 * config.h.in (HAVE_IFUNC): New #undef.
41699 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41701 * configure: Regenerated.
41703 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41705 * configure.in: Move READELF check to start of file.
41706 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41707 libc_cv_asm_gnu_indirect_function in the process.
41708 * configure: Regenerated.
41710 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41712 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41713 send the output to /dev/null.
41714 (libc_cv_cc_with_libunwind): Likewise.
41715 (libc_cv_as_noexecstack): Likewise.
41716 * configure: Regenerate.
41718 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41720 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41722 * posix/globtest.sh (TMPDIR): Do not set.
41723 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41724 (testout): Likewise.
41726 2012-10-24 Andreas Jaeger <aj@suse.de>
41728 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41729 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41730 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41731 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41732 posix_fadvise64, posix_fallocate64.
41734 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41735 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41736 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41738 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41740 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41743 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41744 <bits/fcntl-linux.h>.
41745 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41747 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41748 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41749 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41750 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41751 [__WORDSIZE != 64]: Likewise.
41753 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41755 * Makeconfig (run-built-tests): New variable.
41756 * Rules [$(cross-compiling) = yes]: Change condition to
41757 [$(run-built-tests) = no].
41758 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41759 to [$(run-built-tests) = yes].
41760 * elf/Makefile [$(cross-compiling) = no]: Likewise
41761 * grp/Makefile [$(cross-compiling) = no]: Likewise.
41762 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41763 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41764 * intl/Makefile [$(cross-compiling) = no]: Likewise.
41765 * io/Makefile [$(cross-compiling) = no]: Likewise.
41766 * libio/Makefile [$(cross-compiling) = no]: Likewise.
41767 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41768 * misc/Makefile [$(cross-compiling) = no]: Likewise.
41769 * posix/Makefile [$(cross-compiling) = no]: Likewise.
41770 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41771 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41772 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41773 * string/Makefile [$(cross-compiling) = no]: Likewise.
41775 * posix/Makefile ($(objpfx)globtest.out): Pass
41776 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41777 $(rtld-installed-name).
41778 * posix/globtest.sh (elf_objpfx): Remove variable.
41779 (rtld_installed_name): Likewise.
41780 (library_path): Likewise.
41781 (run_program_prefix): New variable. Use for running globtest
41784 2012-10-23 Jim Blandy <jimb@codesourcery.com>
41785 Joseph Myers <joseph@codesourcery.com>
41787 * Makeconfig (host-built-program-cmd): New variable.
41788 * elf/Makefile (tst-stackguard1-ARGS): Use
41789 $(host-built-program-cmd).
41790 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41791 (tst-spawn-ARGS): Likewise.
41792 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41794 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41795 Jim Blandy <jimb@codesourcery.com>
41797 * Makeconfig (run-via-rtld-prefix): New variable.
41798 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41799 (built-program-cmd): Likewise.
41801 2012-10-22 Andreas Jaeger <aj@suse.de>
41803 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41804 __O_RSYNC if it exists, otherwise to O_SYNC.
41806 2012-10-22 Jim Blandy <jimb@codesourcery.com>
41807 Joseph Myers <joseph@codesourcery.com>
41809 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41811 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41813 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41816 2012-10-22 Andreas Jaeger <aj@suse.de>
41818 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41820 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41823 bits/fcntl-linux.h.
41825 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41826 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41828 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41830 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41833 2012-10-21 Jim Blandy <jimb@codesourcery.com>
41834 Joseph Myers <joseph@codesourcery.com>
41836 * config.make.in (NM): New variable.
41838 2012-10-21 Andreas Jaeger <aj@suse.de>
41840 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41841 definitions and declarations that are provided by
41842 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41844 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41847 * elf/Makefile (tests-static): Add tst-leaks1-static.
41848 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41849 ($(objpfx)tst-leaks1-static): New rule.
41850 ($(objpfx)tst-leaks1-static-mem): Likewise.
41851 (tst-leaks1-static-ENV): New macro.
41852 * elf/dl-open.c (dl_open_worker): Check the main application
41853 only if SHARED is defined.
41854 * elf/tst-leaks1-static.c: New file.
41856 2012-10-20 Andreas Jaeger <aj@suse.de>
41858 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41859 generic values for Linux.
41860 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41861 and declarations that are provided by <bits/fcntl-linux.h> and
41862 include <bits/fcntl-linux.h>.
41863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41864 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41866 2012-10-20 Roland McGrath <roland@hack.frob.com>
41868 * io/fcntl.h: Move include of <bits/types.h> to the top and
41869 include it unconditionally.
41871 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41873 * wcsmbs/Makefile (tests-ifunc): New variable.
41874 (tests): Add $(tests-ifunc).
41875 * wcsmbs/test-wcschr-ifunc.c: New file.
41876 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41877 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41878 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41879 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41880 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41882 * string/Makefile (tests-ifunc): New variable.
41883 (tests): Add $(tests-ifunc).
41884 * string/test-memccpy.c (TEST_NAME): New macro.
41885 * string/test-memchr.c (TEST_NAME): Likewise.
41886 * string/test-memcmp.c (TEST_NAME): Likewise.
41887 * string/test-memcpy.c (TEST_NAME): Likewise.
41888 * string/test-memmem.c (TEST_NAME): Likewise.
41889 * string/test-memmove.c (TEST_NAME): Likewise.
41890 * string/test-memset.c (TEST_NAME): Likewise.
41891 * string/test-rawmemchr.c (TEST_NAME): Likewise.
41892 * string/test-stpcpy.c (TEST_NAME): Likewise.
41893 * string/test-stpncpy.c (TEST_NAME): Likewise.
41894 * string/test-strcasecmp.c (TEST_NAME): Likewise.
41895 * string/test-strcasestr.c (TEST_NAME): Likewise.
41896 * string/test-strcat.c (TEST_NAME): Likewise.
41897 * string/test-strchr.c (TEST_NAME): Likewise.
41898 * string/test-strcmp.c(TEST_NAME): Likewise.
41899 * string/test-strcpy.c (TEST_NAME): Likewise.
41900 * string/test-strcspn.c (TEST_NAME): Likewise.
41901 * string/test-strlen.c (TEST_NAME): Likewise.
41902 * string/test-strncasecmp.c (TEST_NAME): Likewise.
41903 * string/test-strncmp.c (TEST_NAME): Likewise.
41904 * string/test-strncpy.c (TEST_NAME): Likewise.
41905 * string/test-strnlen.c (TEST_NAME): Likewise.
41906 * string/test-strpbrk.c (TEST_NAME): Likewise.
41907 * string/test-strrchr.c (TEST_NAME): Likewise.
41908 * string/test-strspn.c (TEST_NAME): Likewise.
41909 * string/test-strstr.c (TEST_NAME): Likewise.
41910 * string/test-bcopy-ifunc.c: New file.
41911 * string/test-bzero-ifunc.c: Likewise.
41912 * string/test-memccpy-ifunc.c: Likewise.
41913 * string/test-memchr-ifunc.c: Likewise.
41914 * string/test-memcmp-ifunc.c: Likewise.
41915 * string/test-memcpy-ifunc.c: Likewise.
41916 * string/test-memmem-ifunc.c: Likewise.
41917 * string/test-memmove-ifunc.c: Likewise.
41918 * string/test-mempcpy-ifunc.c: Likewise.
41919 * string/test-memset-ifunc.c: Likewise.
41920 * string/test-rawmemchr-ifunc.c: Likewise.
41921 * string/test-stpcpy-ifunc.c: Likewise.
41922 * string/test-stpncpy-ifunc.c: Likewise.
41923 * string/test-strcasecmp-ifunc.c: Likewise.
41924 * string/test-strcasestr-ifunc.c: Likewise.
41925 * string/test-strcat-ifunc.c: Likewise.
41926 * string/test-strchr-ifunc.c: Likewise.
41927 * string/test-strchrnul-ifunc.c: Likewise.
41928 * string/test-strcmp-ifunc.c: Likewise.
41929 * string/test-strcpy-ifunc.c: Likewise.
41930 * string/test-strcspn-ifunc.c: Likewise.
41931 * string/test-strlen-ifunc.c: Likewise.
41932 * string/test-strncasecmp-ifunc.c: Likewise.
41933 * string/test-strncat-ifunc.c: Likewise.
41934 * string/test-strncmp-ifunc.c: Likewise.
41935 * string/test-strncpy-ifunc.c: Likewise.
41936 * string/test-strnlen-ifunc.c: Likewise.
41937 * string/test-strpbrk-ifunc.c: Likewise.
41938 * string/test-strrchr-ifunc.c: Likewise.
41939 * string/test-strspn-ifunc.c: Likewise.
41940 * string/test-strstr-ifunc.c: Likewise.
41942 * debug/Makefile (tests-ifunc): New variable.
41943 (tests): Add $(tests-ifunc).
41944 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41945 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41946 * debug/test-stpcpy_chk-ifunc.c: New file.
41947 * debug/test-strcpy_chk-ifunc.c: Likewise.
41949 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41952 * elf/dl-load.c (open_verify): Retry read if the entire ELF
41953 header is not read in.
41955 2012-10-19 Joseph Myers <joseph@codesourcery.com>
41957 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
41958 script to $(SHELL) as $<. Pass $(common-objpfx) to script
41959 directly. Pass built executable to script as
41960 $(built-program-cmd).
41961 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
41962 $testprogram without using LD_LIBRARY_PATH and $ldso.
41964 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41965 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41966 $(rtld-installed-name).
41967 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41968 (rtld_installed_name): Likewise.
41969 (library_path): Likewise.
41970 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
41971 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41972 $(run-program-prefix) to tst-tables.sh.
41973 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
41974 it to run tst-table-from and tst-table-to.
41975 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41976 Pass it to tst-table.sh.
41977 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41978 $(run-program-prefix) to tst-gettext.sh.
41979 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41981 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41983 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
41984 to run tst-gettext.
41985 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
41986 to run tst-gettext2.
41987 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
41988 to run tst-translit.
41989 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41990 $(run-program-prefix) to tst-mtrace.sh.
41991 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
41993 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41994 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41995 $(rtld-installed-name).
41996 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41997 (rtld_installed_name): Likewise.
41998 (run_program_prefix): New variable. Use it to run wordexp-test.
42000 * Makeconfig (ARCH): Remove all definitions.
42001 (machine): Likewise.
42002 [ARCH]: Remove conditional code.
42003 [!objdir]: Give error.
42004 [!objdir] (objpfx): Remove.
42005 [!objdir] (common-objpfx): Likewise.
42006 [!objdir] (common-objdir): Likewise.
42007 * configure.in (config_makefile): Remove. Hardcode Makefile in
42008 AC_CONFIG_FILES call.
42009 * configure: Regenerated.
42012 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42014 (testout): Likewise.
42016 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42017 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42018 $(rtld-installed-name).
42019 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42020 (rtld_installed_name): Likwise.
42021 (runit): Remove function.
42022 (run_getconf): New variable, Use it for running getconf binary.
42024 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
42027 * string/test-memmem.c (check_result): New function.
42028 (do_one_test): Use it.
42029 (check1): New function.
42030 (test_main): Use it.
42032 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
42034 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42036 2012-10-18 Joseph Myers <joseph@codesourcery.com>
42038 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42039 (_G_LSEEK64): Likewise.
42040 (_G_MMAP64): Likewise.
42041 (_G_FSTAT64): Likewise.
42042 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42043 (_G_LSEEK64): Likewise.
42044 (_G_MMAP64): Likewise.
42045 (_G_FSTAT64): Likewise.
42046 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42047 unconditional. Call __mmap64 directly.
42048 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42049 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
42050 __lseek64 directly.
42051 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42052 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
42054 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42055 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
42056 __lseek64 directly.
42057 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42058 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
42059 __lseek64 directly.
42060 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42061 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
42062 __lseek64 directly.
42063 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42064 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
42065 __fxstat64 directly.
42066 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42067 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42069 (freopen64) [!_G_OPEN64]: Remove conditional code.
42070 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42072 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42073 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42075 (ftello64) [!_G_LSEEK64]: Remove conditional code.
42076 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42078 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42079 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42081 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42082 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42084 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42085 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42087 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42088 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42090 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42092 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42095 * manual/memory.texi (Malloc Tunable Parameters): Add note
42096 about free list pointers overwriting some perturb bytes.
42097 Wording suggested by Roland McGrath.
42099 2012-10-17 Joseph Myers <joseph@codesourcery.com>
42101 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42102 (lgamma_test): Likewise.
42103 (tgamma_test): Likewise.
42105 2012-10-16 Florian Weimer <fweimer@redhat.com>
42108 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42109 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42111 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
42113 * NEWS: Mention BZ #14716.
42114 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42115 when removing AVAILABLE1_USES_J macro.
42117 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
42119 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42120 (__bswap_64): __uint64_t for unsigned 64-bit int.
42122 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
42124 * include/string.h (memmem): Declare libc hidden alias.
42125 * string/memmem.c (memmem): Define libc hidden alias.
42126 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42127 __read, __close instead of open, read, close.
42129 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
42131 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42132 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42134 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42135 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42136 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42138 (__rawmemchr_sse2): Likewise.
42139 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42140 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42141 (__strchr_sse2): Likewise.
42142 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42143 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42144 (__strcasecmp_sse2): Likewise.
42145 (__strncasecmp_sse2): Likewise.
42146 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42147 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42148 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42149 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42150 (__strrchr_sse2): Likewise.
42151 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42153 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42154 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42155 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42156 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42157 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42158 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42159 * sysdeps/x86_64/multiarch/memset.S: Likewise.
42160 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42161 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42162 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42163 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42164 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42165 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42166 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42167 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42168 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42169 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42170 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42171 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42172 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42173 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42174 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42175 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42176 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42177 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42178 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42179 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42180 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42181 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42182 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42184 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42186 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42187 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42188 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42189 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42191 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42193 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42194 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42195 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42196 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42198 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42199 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42200 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42201 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42202 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42203 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42204 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42205 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42206 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42207 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42208 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42209 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42210 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42211 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42212 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42213 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42214 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42215 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42216 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42217 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42218 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42219 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42220 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42221 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42222 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42223 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42224 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42225 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42226 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42227 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42228 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42229 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42230 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42231 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42232 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42233 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42234 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42235 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42236 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42237 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42238 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42240 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42241 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42242 * include/ifunc-impl-list.h: New file.
42243 * misc/ifunc-impl-list.c: Likewise.
42244 * misc/Makefile (routines): Add ifunc-impl-list.
42245 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42246 * string/test-string.h: Include <ifunc-impl-list.h>.
42247 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42248 TEST_NAME]: New variables.
42249 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42251 (test_init): Call __libc_ifunc_impl_list to initialize
42252 func_list if TEST_IFUNC and TEST_NAME are defined.
42254 * string/Makefile (strop-tests): Add bcopy and bzero.
42255 * string/test-bcopy.c: New file.
42256 * string/test-bzero.c: Likewise.
42257 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42259 * string/test-memset.c: Support bzero test if TEST_BZERO is
42261 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42263 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42265 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42268 2012-10-10 Joseph Myers <joseph@codesourcery.com>
42270 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42271 * configure: Regenerated.
42273 * Makeconfig (+link-static-before-libc): Don't include
42274 $(link-static-libc).
42276 * libio/libio.h (_IO_pos_t): Remove.
42278 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42280 * NEWS: Add note about FIPS mode. Wording suggested by Roland
42283 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42285 * crypt/crypt-entry.c: Include fips-private.h.
42286 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42287 * crypt/md5c-test.c (main): Tolerate disabled MD5.
42288 * sysdeps/unix/sysv/linux/fips-private.h: New file.
42289 * sysdeps/generic/fips-private.h: New file, dummy fallback.
42291 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42293 * crypt/crypt-private.h: Include stdbool.h.
42294 (_ufc_setup_salt_r): Return bool.
42295 * crypt/crypt-entry.c: Include errno.h.
42296 (__crypt_r): Return NULL with EINVAL for bad salt.
42297 * crypt/crypt_util.c (bad_for_salt): New.
42298 (_ufc_setup_salt_r): Check that salt is long enough and within
42299 the specified alphabet.
42300 * crypt/badsalttest.c: New file.
42301 * crypt/Makefile (tests): Add it.
42302 ($(objpfx)badsalttest): New.
42304 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
42306 * NEWS: Add entry for BZ #14602.
42308 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42310 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42312 * math/libm-test.inc: Update comment listing what functions and
42314 (isgreater_test): New function.
42315 (isgreaterequal_test): Likewise.
42316 (isless_test): Likewise.
42317 (islessequal_test): Likewise.
42318 (islessgreater_test): Likewise.
42319 (isunordered_test): Likewise.
42320 (main): Call the new functions.
42322 2012-10-09 Roland McGrath <roland@hack.frob.com>
42324 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42325 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42326 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42327 * sysdeps/i386/configure: Regenerated.
42328 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42329 * sysdeps/mach/configure: Regenerated.
42330 * sysdeps/mach/hurd/configure: Regenerated.
42331 * sysdeps/powerpc/configure: Regenerated.
42332 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42333 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42334 * sysdeps/s390/s390-32/configure: Regenerated.
42335 * sysdeps/s390/s390-64/configure: Regenerated.
42336 * sysdeps/sh/configure: Regenerated.
42337 * sysdeps/sparc/configure: Regenerated.
42338 * sysdeps/unix/sysv/linux/configure: Regenerated.
42339 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42340 * sysdeps/x86_64/configure: Regenerated.
42342 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42343 defined. Don't check if MAP is NULL.
42345 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42347 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42348 (_G_stat64): Likewise.
42349 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42350 (_G_stat64): Likewise.
42351 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42352 instead of struct _G_stat64.
42353 * libio/fileops.c (mmap_remap_check): Likewise.
42354 (decide_maybe_mmap): Likewise.
42355 (_IO_new_file_seekoff): Likewise.
42356 (_IO_file_stat): Likewise.
42357 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42359 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42360 instead of struct _G_stat64.
42361 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42363 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
42366 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42368 (CHECK_EOL): New macro.
42369 (two_way_short_needle): Check beginning of haystack for EOL. Use
42371 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42372 Replace with CHECK_EOL.
42373 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42374 Replace with CHECK_EOL.
42376 2012-10-08 Joseph Myers <joseph@codesourcery.com>
42378 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42380 * math/libm-test.inc: Update comment listing what functions and
42382 (finite_test): New function.
42383 (isinf_test): Likewise.
42384 (isnan_test): Likewise.
42385 (fpclassify_test): Test subnormal input.
42386 (isfinite_test): Likewise.
42387 (isnormal_test): Likewise.
42388 (main): Call the new functions.
42390 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
42393 * Makerules (%.dynsym): Force C locale when running
42394 $(OBJDUMP) --dynamic-syms.
42396 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
42398 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42401 2012-10-06 David S. Miller <davem@davemloft.net>
42403 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42404 upper 32-bits of the length value in %o2 since we use branch-on-register
42405 tests which consider the entire 64-bit register.
42407 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
42409 * string/test-strstr.c (check2): Add a test for page boundary.
42411 2012-10-05 David S. Miller <davem@davemloft.net>
42413 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42414 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42416 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42418 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42419 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42420 and bzero when HWCAP_SPARC_CRYPTO is present.
42422 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
42425 * string/test-strstr.c (check2): New function.
42426 (test_main): Call check2.
42428 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42430 * string/bug-strcasestr1.c (do_test): Moved to ...
42431 * string/test-strcasestr.c (check1): Here. New function.
42432 (do_one_test): Break out result checking code into ...
42433 (check_result): This. New function.
42434 (do_one_test): Call check_result.
42435 (test_main): Call check1.
42436 * string/bug-strchr1.c (do_test): Moved to ...
42437 * string/test-strchr.c (check1): Here. New function.
42438 (do_one_test): Break out result checking code into ...
42439 (check_result): This. New function.
42440 (do_one_test): Call check_result.
42441 (test_main): Call check1.
42442 * string/bug-strstr1.c (main): Moved to ...
42443 * string/test-strstr.c (check1): Here. New function.
42444 (do_one_test): Break out result checking code into ...
42445 (check_result): This. New function.
42446 (do_one_test): Call check_result.
42447 (test_main): Call check1.
42448 * string/bug-strcasestr1.c: Removed.
42449 * string/bug-strchr1.c: Likewise.
42450 * string/bug-strstr1.c: Likewise.
42452 * elf/Makefile (dl-routines): Add hwcaps.
42453 * elf/dl-support.c (_dl_important_hwcaps): Removed.
42454 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42455 (_dl_important_hwcaps): Moved to ...
42456 * elf/dl-hwcaps.c: Here. New file.
42457 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42460 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42461 if IS_IN_rtld isn't defined.
42463 * elf/dl-support.c (_dl_sysinfo_map): New.
42464 Include "get-dynamic-info.h" and "setup-vdso.h".
42465 (_dl_non_dynamic_init): Call setup_vdso.
42466 * elf/dynamic-link.h: Don't include <assert.h>.
42467 (elf_get_dynamic_info): Moved to ...
42468 * elf/get-dynamic-info.h: Here. New file.
42469 * elf/dynamic-link.h: Include "get-dynamic-info.h".
42470 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42471 * elf/setup-vdso.h: Here. New file.
42472 * elf/rtld.c: Include "setup-vdso.h".
42473 (dl_main): Call setup_vdso.
42475 2012-10-05 Joseph Myers <joseph@codesourcery.com>
42477 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42478 creal in comment listing functions tested. List finite, isinf,
42479 isnan, isless, islessequal, isgreater, isgreaterequal,
42480 islessgreater, isunordered, lgamma_r and pow10 as functions and
42481 macros not tested. Mention which functions not tested are aliases
42482 for other functions. Fix typo. Note that signs of NaNs are not
42485 * scripts/config.guess: Update from config.git.
42486 * scripts/config.sub: Likewise.
42488 2012-10-04 Roland McGrath <roland@hack.frob.com>
42490 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42491 * misc/madvise.c (madvise): Renamed to __madvise.
42492 Make madvise a weak alias.
42493 * include/sys/mman.h: Declare __madvise.
42494 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42495 * sysdeps/unix/syscalls.list
42496 (madvise): Make __madvise the strong name, and madvise a weak alias.
42497 * sysdeps/unix/sysv/linux/syscalls.list
42498 (madvise, mmap): Remove redundant entries.
42499 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42500 * malloc/malloc.c (mtrim): Likewise.
42501 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42503 2012-10-03 Roland McGrath <roland@hack.frob.com>
42505 * sysdeps/mach/hurd/dl-cache.c: File removed.
42506 * config.h.in (USE_LDCONFIG): New #undef.
42507 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42508 * configure: Regenerated.
42509 * elf/Makefile (dl-routines): Add dl-cache only under
42510 [$(use-ldconfig) = yes].
42511 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42512 cache on [USE_LDCONFIG].
42513 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42515 * elf/rtld.c (dl_main): Likewise.
42517 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
42519 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42520 _SC_LEVEL4_CACHE_LINESIZE.
42522 2012-10-03 Roland McGrath <roland@hack.frob.com>
42524 * sysdeps/unix/bsd/confstr.h: File removed.
42526 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
42528 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42531 2012-10-02 Roland McGrath <roland@hack.frob.com>
42533 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42534 Make 'mapoff' field ElfW(Off) rather than off_t.
42536 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
42538 * nscd/Makefile: Remove nscd-cflags and all its users.
42539 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42540 (CFLAGS-nonlib): Add compiler flags for nscd modules.
42543 * malloc.c (malloc_printerr): Clarify error message.
42545 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
42548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42549 Set bit_FMA_Usable if FMA is supported.
42550 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42552 (bit_FMA4_Usable): Updated.
42553 (index_FMA_Usable): New macro.
42554 (CPUID_FMA): Likewise
42555 (HAS_FMA): Defined with bit_FMA_Usable.
42557 2012-10-01 Roland McGrath <roland@hack.frob.com>
42559 * bits/types.h (__swblk_t): Type removed.
42560 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42561 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42562 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42563 (__SWBLK_T_TYPE): Likewise.
42564 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42565 (__SWBLK_T_TYPE): Likewise.
42566 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42567 (__SWBLK_T_TYPE): Likewise.
42568 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42569 (__SWBLK_T_TYPE): Likewise.
42571 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
42572 Honza Horak <hhorak@redhat.com>
42574 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42575 (xdr_mapname): Use YPMAXMAP as maxsize.
42576 (xdr_peername): Use YPMAXPEER as maxsize.
42577 (xdr_keydat): Use YPAXRECORD as maxsize.
42578 (xdr_valdat): Use YPMAXRECORD as maxsize.
42580 2012-10-01 Roland McGrath <roland@hack.frob.com>
42582 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42584 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42585 * csu/init-first.c: ... here.
42586 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42587 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42588 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42589 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42590 * sysdeps/i386/init-first.c: File removed.
42591 * sysdeps/sh/init-first.c: File removed.
42593 2012-10-01 Joseph Myers <joseph@codesourcery.com>
42596 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42597 if x * y might underflow to zero and z is zero.
42598 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42599 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42600 * math/libm-test.inc (min_subnorm_value): New variable.
42601 (fma_test): Add more tests.
42602 (fma_test_towardzero): Likewise.
42603 (fma_test_downward): Likewise
42604 (fma_test_upward): Likewise.
42605 (initialize): Set min_subnorm_value.
42607 2012-09-29 Joseph Myers <joseph@codesourcery.com>
42610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42612 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42613 mode for addition resulting in exact zero.
42614 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42615 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42617 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42618 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42619 * math/libm-test.inc (fma_test): Add more tests.
42620 (fma_test_towardzero): New function.
42621 (fma_test_downward): Likewise.
42622 (fma_test_upward): Likewise.
42623 (main): Call the new functions.
42625 2012-09-28 David S. Miller <davem@davemloft.net>
42627 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42629 2012-09-28 Roland McGrath <roland@hack.frob.com>
42631 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42632 instead of SIGALRM.
42634 * sysdeps/gnu/_G_config.h: Moved to ...
42635 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42636 * sysdeps/mach/hurd/_G_config.h: Moved to ...
42637 * sysdeps/generic/_G_config.h: ... here.
42639 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
42641 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42643 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42644 Conditionalize target on [libnss_test1.so-version].
42646 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42648 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42649 (elfobjdir): Move out of conditionals.
42651 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42652 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42653 (__nss_lookup_function): Conditionalize label remove_from_tree on
42654 [!DO_STATIC_NSS || SHARED], matching its only use.
42656 2012-09-28 David S. Miller <davem@davemloft.net>
42658 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42659 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42661 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42663 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42664 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42665 when HWCAP_SPARC_CRYPTO is present.
42667 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42669 * io/tst-mknodat.c: Create a FIFO instead of a socket.
42671 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
42674 * stdio-common/vfprintf.c (process_string_arg): Revert
42677 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
42679 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42681 * stdio-common/tst-sprintf.c: Include <locale.h>
42682 (main): Test sprintf's handling of incomplete multibyte
42685 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
42687 * elf/dl-runtime.c (VERSYMIDX): Removed.
42688 * elf/dl-version.c (VERSYMIDX): Likewise.
42689 * elf/do-rel.h (VERSYMIDX): Likewise.
42690 (VALIDX): Likewise.
42691 * elf/dynamic-link.h (VERSYMIDX): Likewise.
42692 * elf/rtld.c (VALIDX): Likewise.
42693 (ADDRIDX): Likewise.
42694 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42695 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42696 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42697 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42698 (VALIDX): Likewise.
42699 (ADDRIDX): Likewise.
42701 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42703 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42705 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
42708 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42710 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42711 addresses are in the same scope as 192.0.2/24.
42712 * posix/gai.conf: Document new scope table defaults.
42714 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42717 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42718 for ftell. Compute offsets from write pointers instead.
42719 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42721 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42724 * libio/Makefile (tests): New test case tst-fseek.
42725 * libio/tst-fseek.c: New test case to verify that fseek/ftell
42726 combination works in wide mode.
42727 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42728 state when the external buffer state changes.
42730 2012-09-27 David S. Miller <davem@davemloft.net>
42733 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42734 pass reloc->r_addend in as the 'high' argument to
42735 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42739 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42741 * rt/tst-aio2.c: Include <pthread.h>.
42742 * rt/tst-aio3.c: Likewise.
42744 2012-09-27 Steve Ellcey <sellcey@mips.com>
42746 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42748 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
42750 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42751 contents on [SHARED].
42753 2012-09-26 Marek Polacek <polacek@redhat.com>
42757 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42758 for C++ and GCC <4.3 as well as for non GCC compilers.
42760 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
42762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42764 2012-09-25 Roland McGrath <roland@hack.frob.com>
42766 * Makefile.in (all, install): Declare with .PHONY.
42767 Reported by Michael Hope <michael.hope@linaro.org>.
42769 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42771 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42772 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42774 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42776 (sydep_routines): Add the new and the internal functions.
42777 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42778 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42780 (GLIBC_2.17): Add the new function.
42781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42782 (GLIBC_2.17): Likewise.
42783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42784 (GLIBC_2.17): Likewise.
42785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42786 (GLIBC_2.17): Likewise.
42787 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42789 2012-09-25 Alan Modra <amodra@gmail.com>
42791 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42792 Add release barrier before setting once_control to say
42793 initialisation is done. Add hints on lwarx. Use macro in
42795 (clear_once_control): Add release barrier.
42797 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42800 * math/s_clog.c (__clog): Handle more values close to |z| = 1
42802 * math/s_clog10.c (__clog10): Likewise.
42803 * math/s_clog10f.c (__clog10f): Likewise.
42804 * math/s_clog10l.c (__clog10l): Likewise.
42805 * math/s_clogf.c (__clogf): Likewise.
42806 * math/s_clogl.c (__clogl): Likewise.
42807 * math/Makefile (libm-calls): Add x2y2m1.
42808 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42809 (__x2y2m1): Likewise.
42810 (__x2y2m1l): Likewise.
42811 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42812 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42813 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42814 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42815 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42816 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42817 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42818 * sysdeps/i386/fpu/libm-test-ulps: Update.
42819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42822 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42823 int as type of variable DEPTH.
42824 (glob): Use size_t instead of int as type of variables NEWCOUNT
42827 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42829 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42830 Add s_sincosf-sse2.
42831 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42832 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42833 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42834 macros for using routine as __sincosf_ia32.
42835 Use macro for function declaration and weak_alias.
42836 * sysdeps/i386/fpu/libm-test-ulps: Update.
42838 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42841 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42842 subnormal argument.
42843 * math/s_cexpf.c (__cexpf): Likewise.
42844 * math/s_csinf.c (__csinf): Likewise.
42845 * math/s_csinhf.c (__csinhf): Likewise.
42846 * math/s_ctanf.c (__ctanf): Likewise.
42847 * math/s_ctanhf.c (__ctanhf): Likewise.
42848 * math/s_ccosh.c (__ccoshf): Likewise.
42849 * math/s_cexp.c (__cexpl): Likewise.
42850 * math/s_csin.c (__csin): Likewise.
42851 * math/s_csinh.c (__csinh): Likewise.
42852 * math/s_ctan.c (__ctan): Likewise.
42853 * math/s_ctanh.c (ctanh): Likewise.
42854 * math/s_ccoshl.c (__ccoshl): Likewise.
42855 * math/s_cexpl.c (__cexpl): Likewise.
42856 * math/s_csinl.c (__csinl): Likewise.
42857 * math/s_csinhl.c (__csinhl): Likewise.
42858 * math/s_ctanl.c (__ctanl): Likewise.
42859 * math/s_ctanhl.c (__ctanhl): Likewise.
42861 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42863 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42864 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42865 (_IO_off_t): Define to __off_t, not _G_off_t.
42866 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42867 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42868 (_IO_wint_t): Define to wint_t, not _G_wint_t.
42869 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42870 type of __dummy and __dummy2 fields.
42871 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42872 (_G_ssize_t): Likewise.
42873 (_G_off_t): Likewise.
42874 (_G_pid_t): Likewise.
42875 (_G_uid_t): Likewise.
42876 (_G_wchar_t): Likewise.
42877 (_G_wint_t): Likewise.
42878 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42879 (_G_ssize_t): Likewise.
42880 (_G_off_t): Likewise.
42881 (_G_pid_t): Likewise.
42882 (_G_uid_t): Likewise.
42883 (_G_wchar_t): Likewise.
42884 (_G_wint_t): Likewise.
42885 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42886 (_G_ssize_t): Likewise.
42887 (_G_off_t): Likewise.
42888 (_G_pid_t): Likewise.
42889 (_G_uid_t): Likewise.
42890 (_G_wchar_t): Likewise.
42891 (_G_wint_t): Likewise.
42893 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42895 * malloc/arena.c: Include malloc-sysdep.h.
42896 (shrink_heap): Use check_may_shrink_heap to decide if madvise
42897 is sufficient to shrink the heap or an unmap is needed.
42898 * sysdeps/generic/malloc-sysdep.h: New file. Define
42899 new function check_may_shrink_heap.
42900 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
42901 new function check_may_shrink_heap.
42903 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42905 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42908 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
42910 * catgets/test-gencat.sh: Add "set -e".
42911 * elf/tst-pathopt.sh: Likewise.
42912 * grp/tst_fgetgrent.sh: Likewise.
42913 * iconvdata/run-iconv-test.sh: Likewise.
42914 * intl/tst-gettext.sh: Likewise.
42915 * intl/tst-gettext2.sh: Likewise.
42916 * intl/tst-gettext4.sh: Likewise.
42917 * intl/tst-gettext6.sh: Likewise.
42918 * intl/tst-translit.sh: Likewise.
42919 * io/ftwtest-sh: Likewise.
42920 * libio/test-freopen.sh: Likewise.
42921 * malloc/tst-mtrace.sh: Likewise.
42922 * posix/globtest.sh: Likewise.
42923 * posix/tst-getconf.sh: Likewise.
42924 * posix/wordexp-tst.sh: Likewise.
42925 * stdio-common/tst-printf.sh: Likewise.
42926 * stdio-common/tst-unbputc.sh: Likewise.
42927 * stdlib/tst-fmtmsg.sh: Likewise.
42928 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42929 * catgets/Makefile: Do not specify -e option when running
42930 testsuite shell scripts.
42931 * elf/Makefile: Likewise.
42932 * grp/Makefile: Likewise.
42933 * iconvdata/Makefile: Likewise.
42934 * intl/Makefile: Likewise.
42935 * io/Makefile: Likewise.
42936 * libio/Makefile: Likewise.
42937 * malloc/Makefile: Likewise.
42938 * posix/Makefile: Likewise.
42939 * stdio-common/Makefile: Likewise.
42940 * stdlib/Makefile: Likewise.
42941 * sysdeps/x86_64/Makefile: Likewise.
42943 * io/ftwtest-sh: Add copyright header.
42944 * posix/globtest.sh: Likewise.
42945 * posix/tst-getconf.sh: Likewise.
42946 * posix/wordexp-tst.sh: Likewise.
42947 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42949 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
42952 * Makeconfig (+link): Defined as $(+link-static) if
42953 $(build-shared) isn't yes.
42954 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42956 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42958 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42961 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42962 new chunk size with MALLOC_ALIGN_MASK.
42964 2012-09-24 Joseph Myers <joseph@codesourcery.com>
42967 * stdio-common/printf_fphex.c: Include <stdbool.h> and
42969 (__printf_fphex): Determine rounding using get_rounding_mode and
42971 * stdio-common/tst-printf-round.c (struct hex_test): New
42973 (hex_tests): New variable.
42974 (test_hex_in_one_mode): New function.
42975 (do_test): Also run tests for hex float output.
42977 2012-09-21 Joseph Myers <joseph@codesourcery.com>
42979 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42980 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42981 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42982 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42983 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42984 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42985 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42986 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42988 2012-09-20 Joseph Myers <joseph@codesourcery.com>
42990 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42991 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42992 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42993 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42995 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
42998 * elf/rtld.c (dl_main): Limit the check for self loading to normal
43000 * elf/tst-rtld-load-self.sh: New test.
43001 * elf/Makefile: Run it.
43003 2012-09-18 Joseph Myers <joseph@codesourcery.com>
43005 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43006 (tst-writev-ENV): Remove.
43007 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43009 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
43011 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43013 2012-09-17 Joseph Myers <joseph@codesourcery.com>
43015 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43017 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43019 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43020 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43021 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43024 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
43027 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43028 * config.make.in (have-cpp-asm-debuginfo): Removed.
43029 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43030 * configure: Regenerated.
43032 2012-09-14 Joseph Myers <joseph@codesourcery.com>
43035 * stdio-common/printf_fp.c: Include <stdbool.h> and
43037 (___printf_fp): Determine rounding using get_rounding_mode and
43039 * stdio-common/tst-printf-round.c: New file.
43040 * stdio-common/Makefile (tests): Add tst-printf-round.
43041 (link-libm): New variable.
43042 ($(objpfx)tst-printf-round): Depend in $(link-libm).
43044 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
43047 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43048 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43050 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43053 2012-09-13 Joseph Myers <joseph@codesourcery.com>
43055 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43056 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43057 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43058 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43060 2012-09-12 Joseph Myers <joseph@codesourcery.com>
43063 * include/rounding-mode.h: New file.
43064 * sysdeps/generic/get-rounding-mode.h: Likewise.
43065 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43066 * stdlib/strtod_l.c: Include <rounding-mode.h>.
43067 (MAX_VALUE): New macro.
43068 (MIN_VALUE): Likewise.
43069 (overflow_value): New function.
43070 (underflow_value): Likewise.
43071 (round_and_return): Use overflow_value and underflow_value to
43072 determine return values in overflow and underflow cases. Use
43073 round_away to determine rounding depending on rounding mode.
43074 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43075 determine return values in overflow and underflow cases.
43076 * stdlib/tst-strtod-round.c: Include <fenv.h>.
43077 (struct test_results): New structure.
43078 (struct test): Use struct test_results to store expected results
43079 for all rounding modes.
43080 (TEST): Include expected results for all rounding modes.
43081 (test_in_one_mode): New function.
43082 (do_test): Use test_in_one_mode to compute and check results.
43083 Check results for all rounding modes.
43084 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43087 2012-12-09 Allan McRae <allan@archlinux.org>
43089 * sysdeps/i386/fpu/libm-test-ulps: Update
43091 2012-09-11 Joseph Myers <joseph@codesourcery.com>
43093 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43094 (_G_int32_t): Likewise.
43095 (_G_uint16_t): Likewise.
43096 (_G_uint32_t): Likewise.
43097 (_G_HAVE_BOOL): Likewise.
43098 (_G_HAVE_ATEXIT): Likewise.
43099 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43100 (_G_HAVE_IO_FILE_OPEN): Likewise.
43101 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43102 (_G_int32_t): Likewise.
43103 (_G_uint16_t): Likewise.
43104 (_G_uint32_t): Likewise.
43105 (_G_HAVE_BOOL): Likewise.
43106 (_G_HAVE_ATEXIT): Likewise.
43107 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43108 (_G_HAVE_IO_FILE_OPEN): Likewise.
43109 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43110 (_G_int32_t): Likewise.
43111 (_G_uint16_t): Likewise.
43112 (_G_uint32_t): Likewise.
43113 (_G_HAVE_BOOL): Likewise.
43114 (_G_HAVE_ATEXIT): Likewise.
43115 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43116 (_G_HAVE_IO_FILE_OPEN): Likewise.
43118 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
43120 * csu/libc-tls.c: Update copyright years.
43122 2012-09-10 Joseph Myers <joseph@codesourcery.com>
43124 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43125 [!_G_USING_THUNKS]: Remove conditional code.
43126 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43127 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43129 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43130 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43131 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43132 (_G_VTABLE_LABEL_PREFIX): Likewise.
43133 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43134 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43135 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43136 (_G_VTABLE_LABEL_PREFIX): Likewise.
43137 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43138 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43139 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43140 (_G_VTABLE_LABEL_PREFIX): Likewise.
43141 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43143 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
43145 * libio/Makefile: Include ../Makeconfig before tests.
43146 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43147 only if $(build-shared) is yes.
43149 * iconv/gconv_db.c: Update copyright years.
43151 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43153 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43154 unwind info if defined PIC. Fix special cases description.
43155 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43157 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43159 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43161 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
43163 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43165 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43168 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43169 (LDLIBS-tst-chk4): This.
43170 (LDFLAGS-tst-chk5): Renamed to ...
43171 (LDLIBS-tst-chk5): This.
43172 (LDFLAGS-tst-chk6): Renamed to ...
43173 (LDLIBS-tst-chk6): This.
43174 (LDFLAGS-tst-lfschk4): Renamed to ...
43175 (LDLIBS-tst-lfschk4): This.
43176 (LDFLAGS-tst-lfschk5): Renamed to ...
43177 (LDLIBS-tst-lfschk5): This.
43178 (LDFLAGS-tst-lfschk6): Renamed to ...
43179 (LDLIBS-tst-lfschk6): This.
43181 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43182 on $(common-objpfx)soversions.mk.
43184 2012-09-07 Joseph Myers <joseph@codesourcery.com>
43187 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43190 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
43192 * malloc/arena.c (arena_get_retry): New function that gets
43193 another arena for the caller to try its request on.
43194 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43195 current arena cannot fulfill the request.
43196 (__libc_memalign): Likewise.
43197 (__libc_memalign): Likewise.
43198 (__libc_pvalloc): Likewise.
43199 (__libc_calloc): Likewise.
43201 2012-09-05 John Tobey <john.tobey@gmail.com>
43204 * manual/arith.texi (Operations on Complex): Fix description
43205 of carg branch cut.
43207 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43210 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43214 * manual/memory.texi (Memory): Make order of menu items match
43217 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43219 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43220 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
43221 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43223 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43225 * csu/libc-tls.c (static_dtv): Renamed to ...
43226 (_dl_static_dtv): This. Make it global.
43227 (_dl_initial_dtv): Removed.
43228 (__libc_setup_tls): Updated.
43229 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43230 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43233 2012-09-06 Petr Machata <pmachata@redhat.com>
43235 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43236 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43237 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43238 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43240 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43243 * csu/libc-tls.c (_dl_initial_dtv): New variable.
43244 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43247 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43250 * Makeconfig (link-static-before-libc): Replace $(+prector)
43252 (link-static-after-libc): Replace $(+postctor) with
43254 (link-bounded): Replace $(+prector)/$(+postctor) with
43255 $(+prectorT)/$(+postctorT).
43256 (+prectorT): New macro.
43257 (+postctorT): Likewise.
43259 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43261 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43262 (round_str): Handle values above the maximum for IBM long double
43264 * stdlib/tst-strtod-round.c (tests): Regenerated.
43266 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43268 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43270 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43271 zarch_nohighgprs around the zarch optimized routines.
43272 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43273 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43274 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43277 2012-09-05 David S. Miller <davem@davemloft.net>
43279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43281 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43282 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43283 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43284 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43287 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43289 * malloc/arena.c: Fold copyright years.
43290 * malloc/mcheck.c, malloc/memusage.c: Likewise.
43292 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43294 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43296 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43298 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
43300 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43302 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43303 change internal state upon failure.
43305 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43307 * malloc/mcheck.c (mcheck_check_all): Fix typo.
43308 * malloc/memusage.c (mmap): Likewise.
43309 (mmap64, mremap): Likewise. Adjust name in comment.
43311 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43313 * libio/fileops.c: Fix typos in comments.
43314 * libio/oldfileops.c: Likewise.
43315 * libio/wfileops.c: Likewise.
43317 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43320 * malloc/Makefile (tests): Add tst-malloc-usable test case.
43321 (tst-malloc-usable-ENV): Set environment for test case.
43322 * malloc/hooks.c (malloc_check_get_size): New function to get
43324 * malloc/malloc.c (musable): Use malloc_check_get_size.
43325 * malloc/tst-malloc-usable.c: New test case.
43327 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43329 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43331 2012-09-05 Allan McRae <allan@archlinux.org>
43334 * configure.in (CXX_SYSINCLUDES): Use compiler output to
43335 determine header location.
43336 * configure: Regenerated.
43338 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43340 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43342 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43343 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43345 (test): Regenerate.
43347 2012-09-04 David S. Miller <davem@davemloft.net>
43349 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43350 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43351 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43353 2012-09-04 Florian Weimer <fweimer@redhat.com>
43355 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43358 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43360 2012-09-04 Joseph Myers <joseph@codesourcery.com>
43363 * libio/iogetdelim.c: Include <limits.h>.
43364 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43365 + len + 1 would overflow.
43367 2012-09-03 Andreas Jaeger <aj@suse.de>
43369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43370 * sysdeps/i386/fpu/libm-test-ulps: Update.
43372 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43374 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43375 Add s_sinf-sse2, s_conf-sse2.
43377 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43378 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43379 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43380 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43382 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43383 for using routine as __sinf_ia32.
43384 Use macro for function declaration and weak_alias.
43385 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43386 for using routine as __cosf_ia32.
43387 Use macro for function declaration and weak_alias.
43389 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43390 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43392 * sysdeps/x86_64/fpu/s_sinf.S: New file.
43393 * sysdeps/x86_64/fpu/s_cosf.S: New file.
43394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43396 * math/libm-test.inc (cos_test): Add more test cases.
43397 (sin_test): Likewise.
43398 (sincos_test): Likewise.
43400 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43402 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43403 (IFUNC_RESOLVE): Make pointers to the specialized implementations
43405 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43407 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
43410 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43411 first element of the GOT.
43412 (elf_machine_load_address): Return the difference between
43413 the runtime address of _DYNAMIC and elf_machine_dynamic ().
43415 2012-09-01 Allan McRae <allan@archlinux.org>
43418 * configure.in (AWK): Require gawk version 3.0 or later.
43419 * configure: Regenerated.
43421 2012-09-01 Joseph Myers <joseph@codesourcery.com>
43423 * sysdeps/unix/sysv/linux/kernel-features.h
43424 (__ASSUME_POSIX_CPU_TIMERS): Remove.
43425 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43426 [__NR_clock_getres]: Make code unconditional.
43427 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43428 (clock_getcpuclockid): Remove code left unreachable by removal of
43430 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43431 code unconditional.
43432 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43433 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43434 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43435 Make code unconditional.
43436 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43437 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43438 * sysdeps/unix/sysv/linux/clock_settime.c
43439 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43441 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43442 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43444 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
43447 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43448 scripts/test-installation.pl.
43450 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43451 and $ld_so_version if it is set.
43453 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43456 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43457 failure if reading from procfs failed.
43458 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43460 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43462 * sysdeps/unix/sysv/linux/kernel-features.h
43463 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43464 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43465 Remove conditional code.
43466 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43467 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43468 Remove conditional code.
43469 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43470 * sysdeps/unix/sysv/linux/i386/fxstat.c
43471 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43472 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43473 * sysdeps/unix/sysv/linux/i386/fxstatat.c
43474 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43475 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43476 * sysdeps/unix/sysv/linux/i386/lxstat.c
43477 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43478 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43479 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43480 Remove conditional code.
43481 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43482 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43483 Remove conditional code.
43484 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43485 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43486 <kernel-features.h>.
43487 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43489 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43490 Remove conditional code.
43491 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43492 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43493 Remove conditional.
43495 2012-08-27 Mike Frysinger <vapier@gentoo.org>
43498 * NEWS: Add fixed bug number.
43500 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43503 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43504 underflowing exponent in case of negative sign.
43505 * stdlib/tst-strtod-round-data: Add more tests.
43506 * stdlib/tst-strtod-round.c (tests): Regenerated.
43509 * stdlib/strtod_l.c (NDIG): Remove.
43510 (HEXNDIG): Likewise.
43511 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43512 smallest representable value.
43513 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43514 lie within an exact representation of 1/2 ulp of the result.
43515 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43517 (TENS_P9_IDX): Define unconditionally.
43518 (TENS_P9_SIZE): Likewise.
43519 (TENS_P10_IDX): Likewise.
43520 (TENS_P10_SIZE): Likewise.
43521 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43522 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43523 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43524 entries for 10^2^13 and 10^2^14.
43525 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43526 (TENS_P13_IDX): Define.
43527 (TENS_P13_SIZE): Likewise.
43528 (TENS_P14_IDX): Likewise.
43529 (TENS_P14_SIZE): Likewise.
43530 (_fpioconst_pow10): Change array size to
43531 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
43533 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43534 1024]: Add entries for 10^2^13 and 10^2^14.
43535 [LAST_POW10 > _LAST_POW10]: Remove #error.
43536 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43537 (_fpioconst_pow10): Change array size to
43538 FPIOCONST_POW10_ARRAY_SIZE.
43539 * stdlib/gen-fpioconst.c: New file.
43540 * stdlib/gen-tst-strtod-round.c: Likewise.
43541 * stdlib/tst-strtod-round-data: Likewise.
43542 * stdlib/tst-strtod-round.c: Likewise.
43543 * stdlib/Makefile (tests): Add tst-strtod-round.
43546 * stdlib/strtod_l.c: Include <stdint.h>.
43547 (NDEBUG): Do not define.
43548 (round_and_return): Change EXPONENT parameter to type intmax_t.
43549 Rearrange calculations to avoid internal overflow possibilities.
43550 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43551 Rearrange calculations to avoid internal overflow possibilities.
43552 Assert that number fits inside MPNSIZE limbs.
43553 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43554 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
43555 calculations and add assertions to avoid internal overflow
43556 possibilities. Add casts to avoid signed/unsigned operations.
43557 * stdlib/tst-strtod-overflow.c: New file.
43558 * stdlib/Makefile (tests): Add tst-strtod-overflow.
43560 2012-08-25 Marek Polacek <polacek@redhat.com>
43562 * time/time.h: Fix some typos in comments.
43564 2012-08-23 Roland McGrath <roland@hack.frob.com>
43566 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43567 * posix/tst-rfc3484-2.c: Likewise.
43568 * posix/tst-rfc3484-3.c: Likewise.
43570 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
43572 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43573 (EF_ARM_ABI_FLOAT_HARD): Likewise.
43575 2012-08-23 Joseph Myers <joseph@codesourcery.com>
43577 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43578 #include of fxstatat64.c.
43580 2012-08-22 Roland McGrath <roland@hack.frob.com>
43582 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43583 * shadow/getspent_r.c: Likewise.
43584 * shadow/getspnam.c: Likewise.
43585 * shadow/getspnam_r.c: Likewise.
43586 * gshadow/getsgent.c: Likewise.
43587 * gshadow/getsgent_r.c: Likewise.
43588 * gshadow/getsgnam.c: Likewise.
43589 * gshadow/getsgnam_r.c: Likewise.
43590 * inet/getnetbyad.c: Likewise.
43591 * inet/getnetbyad_r.c: Likewise.
43592 * inet/getnetbynm.c: Likewise.
43593 * inet/getnetbynm_r.c: Likewise.
43594 * inet/getnetent.c: Likewise.
43595 * inet/getnetent_r.c: Likewise.
43596 * inet/getproto.c: Likewise.
43597 * inet/getproto_r.c: Likewise.
43598 * inet/getprtent.c: Likewise.
43599 * inet/getprtent_r.c: Likewise.
43600 * inet/getprtname.c: Likewise.
43601 * inet/getprtname_r.c: Likewise.
43602 * inet/getrpcbyname.c: Likewise.
43603 * inet/getrpcbyname_r.c: Likewise.
43604 * inet/getrpcbynumber.c: Likewise.
43605 * inet/getrpcbynumber_r.c: Likewise.
43606 * inet/getrpcent.c: Likewise.
43607 * inet/getrpcent_r.c: Likewise.
43608 * inet/getaliasent.c: Likewise.
43609 * inet/getaliasent_r.c: Likewise.
43610 * inet/getaliasname.c: Likewise.
43611 * inet/getaliasname_r.c: Likewise.
43612 * nscd/getgrgid_r.c: Likewise.
43613 * nscd/getgrnam_r.c: Likewise.
43614 * nscd/gethstbyad_r.c: Likewise.
43615 * nscd/gethstbynm3_r.c: Likewise.
43616 * nscd/getpwnam_r.c: Likewise.
43617 * nscd/getpwuid_r.c: Likewise.
43618 * nscd/getsrvbynm_r.c: Likewise.
43619 * nscd/getsrvbypt_r.c: Likewise.
43620 * nscd/gai.c: Likewise.
43622 * configure.in (build_nscd): New substituted variable, set
43623 by --disable-build-nscd and defaults to $use_nscd.
43624 * configure: Regenerated.
43625 * config.make.in (build-nscd): New substituted variable.
43626 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43627 Change conditional to require [$(build-nscd) = yes] as well.
43628 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43631 * configure.in (use_nscd): New substituted variable, set by
43632 --disable-nscd. If enabled, define USE_NSCD.
43633 * configure: Regenerated.
43634 * config.h.in: Add USE_NSCD.
43635 * config.make.in (use-nscd): New substituted variable.
43636 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43637 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43638 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43639 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43640 (CFLAGS-getgrnam_r.c): Likewise.
43641 (CFLAGS-initgroups.c): Likewise.
43642 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43643 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43645 * inet/getnetgrent_r.c
43646 (nscd_setnetgrent): New function, broken out of ...
43647 (setnetgrent): ... here. Call it.
43648 (innetgr): Conditionalize nscd bits on [USE_NSCD].
43649 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43650 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43651 * nscd/Makefile (routines, aux): Move definitions after include of
43652 Makeconfig. Conditionalize on [$(use-nscd) != no].
43653 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43654 Conditionalize on [USE_NSCD].
43655 (is_nscd, nscd_init_cb): Likewise.
43656 (nss_load_library): Conditionalize init callback on [USE_NSCD].
43657 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43658 * nss/nss_db/db-init.c: Likewise.
43659 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43661 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43662 (make_request): Use it.
43663 (cache_valid_p): New function.
43664 (__check_pf): Use it.
43665 * NEWS: Add item for --disable-nscd.
43667 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
43669 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43670 to support sed >= 4.2.1-20-ga9bf076.
43671 * configure: Regenerated.
43673 2012-08-22 Roland McGrath <roland@hack.frob.com>
43675 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43676 Conditionalize whole body on [IREL].
43678 2012-08-22 Jeff Law <law@redhat.com>
43681 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43682 if the family is PF_UNSPEC.
43684 2012-08-22 Mike Frysinger <vapier@gentoo.org>
43686 * Makerules (lib-version): Rename from V.
43687 (install-lib-nosubdir): Change V to lib-version.
43689 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
43692 * powerpc32/power6/wcschr.c: New file.
43693 * powerpc32/power6/wcscpy.c: New file.
43694 * powerpc32/power6/wcsrchr.c: New file.
43695 * powerpc64/power6/wcschr.c: New file.
43696 * powerpc64/power6/wcscpy.c: New file.
43697 * powerpc64/power6/wcsrchr.c: New file.
43699 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43701 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43702 (two_way_short_needle): Use it.
43703 * string/strstr.c (AVAILABLE1_USES_J): Define.
43704 * string/strcasestr.c: Likewise.
43706 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43708 * string/strcasestr.c (TOLOWER): Make side-effect safe.
43711 * NEWS: Add an entry.
43712 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43713 define their defaults.
43714 (two_way_short_needle): Detect end-of-string on-the-fly.
43715 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43716 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43717 * string/bug-strcasestr1.c: New test.
43718 * string/Makefile: Run it.
43720 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43723 * string/str-two-way.h (two_way_short_needle): Optimize matching of
43724 the first character.
43726 2012-08-21 Roland McGrath <roland@hack.frob.com>
43728 * csu/elf-init.c (__libc_csu_irel): Function removed.
43729 * csu/libc-start.c (apply_irel): New function.
43730 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43732 2012-08-21 Joseph Myers <joseph@codesourcery.com>
43734 * sysdeps/unix/sysv/linux/kernel-features.h
43735 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43736 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43737 <kernel-features.h>.
43738 [__NR_fadvise64_64]: Make code unconditional.
43739 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43740 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43741 !__NR_fadvise64_64)]: Likewise.
43742 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43743 !__NR_fadvise64_64))]: Likewise.
43744 [__NR_fadvise64]: Make code unconditional.
43745 [!__NR_fadvise64]: Remove conditional code.
43746 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43747 <kernel-features.h>.
43748 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43750 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43753 not include <kernel-features.h>.
43754 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43756 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43758 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43759 include <kernel-features.h>.
43760 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43762 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43765 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43767 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43768 slight instruction rearrangements per scrollpipe analysis.
43769 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43771 2012-08-20 Roland McGrath <roland@hack.frob.com>
43773 * manual/syslog.texi (syslog; vsyslog, closelog):
43774 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43775 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43777 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43778 DSOCAPS to match condition on defining it.
43780 2012-08-20 Joseph Myers <joseph@codesourcery.com>
43782 * sysdeps/unix/sysv/linux/kernel-features.h
43783 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43785 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43786 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43788 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43789 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43791 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43792 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43794 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43795 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43797 * sysdeps/unix/sysv/linux/kernel-features.h
43798 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43799 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43801 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43802 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43803 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43804 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43805 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43806 Make code unconditional.
43807 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43808 (__mmap64) [!__NR_mmap2]: Likewise.
43809 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43810 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43811 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43812 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43813 [__NR_mmap2]: Make code unconditional.
43814 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43815 (__mmap64) [!__NR_mmap2]: Likewise.
43817 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43819 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43821 2012-08-18 Andreas Jaeger <aj@suse.de>
43823 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43825 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43827 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43828 * include/unistd.h (__have_sock_cloexec): Likewise.
43829 (__have_pipe2): Likewise.
43830 (__have_dup3): Likewise.
43832 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43835 * include/unistd.h (__have_pipe2): Change define into an extern int.
43836 (__have_dup3): Likewise.
43837 * socket/have_sock_cloexec.c: Include fcntl.h.
43838 (__have_pipe2): New variable.
43839 (__have_dup3): Likewise.
43841 2012-08-17 Mike Frysinger <vapier@gentoo.org>
43843 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43845 2012-08-17 Marek Polacek <polacek@redhat.com>
43847 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43848 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43850 2012-08-17 Roland McGrath <roland@hack.frob.com>
43852 * configure.in: Add AC_SUBST for sysheaders.
43853 * configure: Regenerated.
43854 * config.make.in (sysheaders): New substituted variable.
43856 * sysdeps/unix/mkfifo.c: Moved ...
43857 * sysdeps/posix/mkfifo.c: ... here.
43858 * sysdeps/unix/mkfifoat.c: Moved ...
43859 * sysdeps/posix/mkfifoat.c: ... here.
43861 * sysdeps/unix/utime.c: Moved ...
43862 * sysdeps/posix/utime.c: ... here.
43864 * sysdeps/unix/time.c: Moved ...
43865 * sysdeps/posix/time.c: ... here.
43866 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43867 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43869 * sysdeps/unix/nice.c: Moved ...
43870 * sysdeps/posix/nice.c: ... here.
43872 * sysdeps/unix/alarm.c: Moved ...
43873 * sysdeps/posix/alarm.c: ... here.
43875 * intl/Makefile ($(codeset_mo)): Depend on the input file.
43877 2012-08-17 Jeff Law <law@redhat.com>
43879 * intl/Makefile (codeset_mo): New variable.
43880 ($(codeset_mo)): New target.
43881 (tst-codeset.out): Depend on that. Remove explicit rule.
43882 (tst-gettext3.out, tst-gettext5.out): Likewise.
43883 (LOCPATH-ENV, tst-codeset-ENV): New variables.
43884 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43885 * intl/tst-codeset.sh: Remove.
43886 * intl/tst-gettext3.sh: Likewise.
43887 * intl/tst-gettext5.sh: Likewise.
43889 2012-08-17 Roland McGrath <roland@hack.frob.com>
43891 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
43892 * sysdeps/unix/syscalls.list: ... here.
43894 * sysdeps/posix/getaddrinfo.c
43895 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43896 (gaiconf_init, gaiconf_reload): Use them.
43897 [!_STATBUF_ST_NSEC]
43898 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43899 Define using time_t rather than struct timespec.
43901 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43902 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43904 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43906 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43907 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43910 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43911 __libc_cleanup_push argument.
43913 * bits/param.h: New file.
43914 * misc/sys/param.h: New file.
43915 * include/sys/param.h: New file.
43916 * misc/Makefile (headers): Add bits/param.h.
43917 * sysdeps/generic/sys/param.h: File removed.
43918 * sysdeps/unix/sysv/linux/bits/param.h: New file.
43919 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43920 * sysdeps/mach/hurd/bits/param.h: New file.
43921 * sysdeps/mach/hurd/sys/param.h: File removed.
43923 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43926 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43928 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43929 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43932 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43933 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43934 rather than -D_IO_MTSAFE_IO conditionally.
43935 * stdio-common/Makefile (CPPFLAGS): Likewise.
43936 * wcsmbs/Makefile (CPPFLAGS): Likewise.
43937 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43938 Use $(libio-mtsafe).
43939 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43940 of -D_IO_MTSAFE_IO.
43941 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43942 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43943 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43944 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43945 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43946 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43947 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43948 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43949 (CFLAGS-fread_u_chk.c): Likewise.
43950 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43951 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43952 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43953 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43954 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43955 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43956 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43957 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43958 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43960 * libio/Makefile: Test [$(libc-reentrant) = yes]
43961 instead of [$(filter %REENTRANT, $(defines)) nonempty].
43964 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43965 * sysdeps/pthread/configure: File removed.
43966 * sysdeps/pthread/Makeconfig: New file.
43967 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43968 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43970 2012-08-16 Gary Benson <gbenson@redhat.com>
43972 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43973 unmapping the first object in a namespace.
43975 2012-08-16 Roland McGrath <roland@hack.frob.com>
43977 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43978 (__internal_setnetgrent): ... this. Add internal_function to
43979 definition. Add libc_hidden_def.
43980 (setnetgrent): Update caller.
43981 (internal_endnetgrent): Renamed to ...
43982 (__internal_endnetgrent): ... this. Add internal_function to
43983 definition. Add libc_hidden_def.
43984 (endnetgrent): Update caller.
43985 (internal_getnetgrent_r): Renamed to ...
43986 (__internal_getnetgrent_r): ... this. Add internal_function to
43987 definition. Add libc_hidden_def.
43988 (__getnetgrent_r): Update caller.
43989 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
43991 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43993 * stdlib/longlong.h: Update from GCC.
43995 2012-08-16 Roland McGrath <roland@hack.frob.com>
43997 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43998 on _QL, which is set by umul_ppmm but never used.
43999 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44000 variables, which are set by GMP macros but never used.
44001 * stdio-common/_itowa.c (_itowa): Likewise.
44002 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44003 * stdlib/mod_1.c (mpn_mod_1): Likewise.
44005 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
44007 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44008 struct La_sh_regs is not constant.
44009 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44010 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44011 and struct La_sparc64_regs are not constant.
44013 2012-08-16 Joseph Myers <joseph@codesourcery.com>
44015 * sysdeps/unix/sysv/linux/kernel-features.h
44016 (__ASSUME_POSIX_TIMERS): Remove.
44017 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44018 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44019 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44020 Make code unconditional.
44021 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44022 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44023 Make code unconditional.
44024 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44025 * sysdeps/unix/sysv/linux/clock_nanosleep.c
44026 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44027 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44028 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44029 Make code unconditional.
44030 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44031 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44032 (__libc_missing_posix_timers): Remove.
44034 2012-08-15 Roland McGrath <roland@hack.frob.com>
44036 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44037 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44039 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44041 * elf/dl-sym.c: Include <stdlib.h>.
44043 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44044 constants, which avoids warnings in 32-bit builds.
44046 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44047 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44049 * misc/lseek.c: File moved to ...
44050 * io/lseek.c: ... here.
44052 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44054 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44055 shifting LEN more than 31 bits at once.
44057 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44060 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44061 segmentation fault for a case of two empty input strings.
44062 * string/test-strncasecmp.c (check1): Renamed to...
44063 (bz12205): ...this.
44064 (bz14195): Add new testcase for two empty input strings and N > 0.
44065 (test_main): Call new testcase, adapt for renamed function.
44067 2012-08-15 Andreas Jaeger <aj@suse.de>
44070 * crypt/md5test2.c: New test, based on test supplied by Serge
44071 Belyshev <belyshev@depni.sinp.msu.ru>.
44072 * crypt/Makefile (xtests): Add md5test-giant..
44073 * crypt/Makefile ($(objpfx)md5test-giant): Add.
44075 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
44078 * crypt/md5.c (md5_process_block): Don't assume the buffer
44079 length is less than 2**32.
44080 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44081 length is less than 2**64.
44083 2012-08-15 Roland McGrath <roland@hack.frob.com>
44085 * string/str-two-way.h: Include <sys/param.h>.
44086 (MAX): Macro removed.
44088 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44089 Move #define and #undef of memmove to just before and after
44090 including <string.h>.
44092 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44093 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44094 and after including <string.h>. Move declarations of
44095 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44096 to before #include "string/memmove.c".
44098 * include/dirent.h: Declare __getdirentries.
44100 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44101 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44103 2012-08-14 Mike Frysinger <vapier@gentoo.org>
44105 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44106 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44107 * sysdeps/i386/configure: Regenerated.
44108 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44109 STABS_CURRENT_FILE, and STABS_FUN.
44110 (END): Remove call to STABS_FUN_END.
44111 (STABS_CURRENT_FILE1): Delete.
44112 (STABS_CURRENT_FILE): Likewise.
44113 (STABS_FUN): Likewise.
44114 (STABS_FUN_END): Likewise.
44115 (STABS_FUN2): Likewise.
44116 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44117 * sysdeps/x86_64/configure: Regenerated.
44119 2012-08-14 Roland McGrath <roland@hack.frob.com>
44121 * elf/dl-open.c: Include <atomic.h>.
44122 * elf/dl-lookup.c: Likewise.
44124 2012-08-14 Joseph Myers <joseph@codesourcery.com>
44126 * sysdeps/unix/sysv/linux/kernel-features.h
44127 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44128 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44130 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44132 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44133 condition on __ASSUME_CLONE_THREAD_FLAGS.
44135 2012-08-14 Andreas Jaeger <aj@suse.de>
44137 * sysdeps/i386/fpu/libm-test-ulps: Update.
44139 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
44141 * include/atomic.h (atomic_exchange_and_add): Split into ...
44142 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44145 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
44147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44149 2012-08-13 Jeff Law <law@redhat.com>
44151 * manual/stdio.texi (snprintf): Clarify handling of the trailing
44152 null byte in the output string.
44154 2012-08-10 Joseph Myers <joseph@codesourcery.com>
44156 * sysdeps/unix/sysv/linux/kernel-features.h
44157 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44158 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44159 (__ASSUME_ARG_MAX_STACK_BASED): Define.
44160 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44161 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44162 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
44163 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44165 2012-08-09 Jeff Law <law@redhat.com>
44168 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44169 When avoid_arena is set, don't retry in the that arena. Pick the
44170 next one, whatever it might be.
44171 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44172 (arena_lock): Pass in new parameter to arena_get2.
44173 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44175 (__libc_malloc): Unify retrying after main arena failure with
44176 __libc_memalign version.
44177 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44179 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
44182 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44183 to __redirect_strstr.
44184 (__strstr_sse42): Use typeof __redirect_strstr.
44185 (__strstr_ia32): Likewise.
44186 (__libc_strstr): New prototype.
44187 (strstr): Renamed to ...
44188 (__libc_strstr): This.
44189 (strstr): New strong alias of __libc_strstr.
44190 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44191 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44194 (__libc_time): New prototype.
44195 (time_ifunc): Replace time with __libc_time.
44196 (time): New strong alias and hidden definition of __libc_time.
44197 (__GI_time): Remove strong alias.
44198 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44199 Include <stddef.h>.
44200 (memmove): Redefined to __redirect_memmove.
44201 (__memmove_sse2): Use typeof __redirect_memmove.
44202 (__memmove_ssse3): Likewise.
44203 (__memmove_ssse3_back): Likewise.
44204 (__libc_memmove): New prototype.
44205 (memmove): Renamed to ...
44206 (__libc_memmove): This.
44207 (memmove): New strong alias of __libc_memmove.
44209 2012-08-08 Mark Salter <msalter@redhat.com>
44212 (R_MN10300_TLS_GD): Define.
44213 (R_MN10300_TLS_LD): Likewise.
44214 (R_MN10300_TLS_LDO): Likewise.
44215 (R_MN10300_TLS_GOTIE): Likewise.
44216 (R_MN10300_TLS_IE): Likewise.
44217 (R_MN10300_TLS_LE): Likewise.
44218 (R_MN10300_TLS_DTPMOD): Likewise.
44219 (R_MN10300_TLS_DTPOFF): Likewise.
44220 (R_MN10300_TLS_TPOFF): Likewise.
44221 (R_MN10300_SYM_DIFF): Likewise.
44222 (R_MN10300_ALIGN): Likewise.
44223 (R_MN10300_NUM): Update.
44225 2012-08-08 Joseph Myers <joseph@codesourcery.com>
44227 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44230 2012-08-08 Roland McGrath <roland@hack.frob.com>
44232 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44234 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44235 sysdeps/unix -> sysdeps/posix move.
44236 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44238 2012-08-07 Allan McRae <allan@archlinux.org>
44241 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44242 (SUNOS_CPP): Likewise.
44243 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44245 (open_input): Call CPP using execvp.
44247 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44249 * sysdeps/unix/sysv/linux/kernel-features.h
44250 (__ASSUME_PROT_GROWSUPDOWN): Remove.
44251 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44252 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44253 (__ASSUME_WAITID_SYSCALL): Likewise.
44254 * sysdeps/unix/sysv/linux/dl-execstack.c
44255 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44256 code unconditional.
44257 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44259 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44260 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44261 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44263 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44265 [__ASSUME_WAITID_SYSCALL]: Likewise.
44266 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44268 2012-08-07 Roland McGrath <roland@hack.frob.com>
44270 * sysdeps/unix/closedir.c: Renamed to ...
44271 * sysdeps/posix/closedir.c: ... here.
44272 * sysdeps/unix/dirfd.c: Renamed to ...
44273 * sysdeps/posix/dirfd.c: ... here.
44274 * sysdeps/unix/dirstream.h: Renamed to ...
44275 * sysdeps/posix/dirstream.h: ... here.
44276 * sysdeps/unix/fdopendir.c: Renamed to ...
44277 * sysdeps/posix/fdopendir.c: ... here.
44278 * sysdeps/unix/opendir.c: Renamed to ...
44279 * sysdeps/posix/opendir.c: ... here.
44280 * sysdeps/unix/readdir.c: Renamed to ...
44281 * sysdeps/posix/readdir.c: ... here.
44282 * sysdeps/unix/readdir_r.c: Renamed to ...
44283 * sysdeps/posix/readdir_r.c: ... here.
44284 * sysdeps/unix/rewinddir.c: Renamed to ...
44285 * sysdeps/posix/rewinddir.c: ... here.
44286 * sysdeps/unix/seekdir.c: Renamed to ...
44287 * sysdeps/posix/seekdir.c: ... here.
44288 * sysdeps/unix/telldir.c: Renamed to ...
44289 * sysdeps/posix/telldir.c: ... here.
44290 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44291 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44292 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44293 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44295 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44296 * bits/fcntl.h: ... here.
44298 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44300 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44301 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44302 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44303 (struct flock): Move l_start, l_len to the beginning.
44304 Use __pid_t for l_pid.
44305 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44306 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44307 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44308 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44309 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44310 [__USE_LARGEFILE64] (struct flock64): New type.
44311 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44313 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44314 * bits/dirent.h: ... here.
44316 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44317 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44319 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44321 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44322 Change from 2.6.0 to 2.6.16.
44323 * sysdeps/unix/sysv/linux/configure: Regenerated.
44324 * sysdeps/unix/sysv/linux/kernel-features.h
44325 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44326 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44328 (__ASSUME_UTIMES): Likewise.
44329 (__ASSUME_CLONE_STOPPED): Remove.
44330 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44331 architectures, not kernel version.
44332 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44333 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44334 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44335 (__ASSUME_WAITID_SYSCALL): Likewise.
44336 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44337 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44338 * README: State 2.6.16 as minimum Linux kernel version. Do not
44339 refer to older versions.
44341 2012-08-06 Roland McGrath <roland@hack.frob.com>
44343 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44344 Define alphasort64 as an alias.
44345 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44346 Define versionsort64 as an alias.
44347 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44348 Define scandir64 as an alias.
44349 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44350 Define scandirat64 as an alias.
44351 * dirent/alphasort64.c (alphasort64):
44352 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44353 * dirent/versionsort64.c: Likewise.
44354 * dirent/scandir64.c: Likewise.
44355 * dirent/scandirat64.c: Likewise.
44356 * sysdeps/wordsize-64/alphasort.c: File removed.
44357 * sysdeps/wordsize-64/alphasort64.c: File removed.
44358 * sysdeps/wordsize-64/scandir.c: File removed.
44359 * sysdeps/wordsize-64/scandir64.c: File removed.
44360 * sysdeps/wordsize-64/scandirat.c: File removed.
44361 * sysdeps/wordsize-64/scandirat64.c: File removed.
44362 * sysdeps/wordsize-64/versionsort.c: File removed.
44363 * sysdeps/wordsize-64/versionsort64.c: File removed.
44364 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44365 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44366 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44367 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44368 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44369 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44370 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44371 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44373 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44374 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44375 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44376 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44377 [defined __arch64__ || defined __sparcv9]
44378 (__INO_T_MATCHES_INO64_T): New macro.
44379 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44380 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44381 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44382 * sysdeps/unix/sysv/linux/bits/dirent.h
44383 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44384 (_DIRENT_MATCHES_DIRENT64): New macro.
44386 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44387 Define lockf64 as an alias.
44388 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44389 Define fseeko64 as an alias.
44390 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44391 Define ftello64 as an alias.
44392 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44393 Define _IO_fgetpos64 and fgetpos64 as aliases.
44394 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44395 Define _IO_fsetpos64 and fsetpos64 as aliases.
44396 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44397 Conditionalize body on this.
44398 * libio/fseeko64.c: Likewise.
44399 * libio/ftello64.c: Likewise.
44400 * libio/iofgetpos64.c: Likewise.
44401 * libio/iofsetpos64.c: Likewise.
44402 * sysdeps/wordsize-64/lockf.c: File removed.
44403 * sysdeps/wordsize-64/lockf64.c: File removed.
44404 * sysdeps/wordsize-64/fseeko.c: File removed.
44405 * sysdeps/wordsize-64/fseeko64.c: File removed.
44406 * sysdeps/wordsize-64/ftello.c: File removed.
44407 * sysdeps/wordsize-64/ftello64.c: File removed.
44408 * sysdeps/wordsize-64/iofgetpos.c: File removed.
44409 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44410 * sysdeps/wordsize-64/iofsetpos.c: File removed.
44411 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44412 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44413 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44414 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44415 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44416 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44417 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44418 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44419 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44420 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44421 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44423 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44424 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44425 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44426 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44427 [defined __arch64__ || defined __sparcv9]
44428 (__OFF_T_MATCHES_OFF64_T): New macro.
44429 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44430 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44431 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44432 (__OFF_T_MATCHES_OFF64_T): New macro.
44434 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44436 * stdlib/secure-getenv.c (__secure_getenv): Replace
44437 GLIBC_2_16 with GLIBC_2_17.
44439 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44441 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44442 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44444 2012-08-03 David S. Miller <davem@davemloft.net>
44446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44448 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44450 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44452 (__ASSUME_CORRECT_SI_PID): Likewise.
44453 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44454 (__ASSUME_TMPFS_NAME): Likewise.
44455 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44456 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44457 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44458 (HAVE_AUX_SECURE): Make definition unconditional.
44459 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44460 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44462 2012-08-03 Roland McGrath <roland@hack.frob.com>
44464 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44465 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44466 * sysdeps/mach/hurd/eloop-threshold.h: New file.
44467 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44468 __eloop_threshold instead of SYMLOOP_MAX.
44470 * sysdeps/generic/eloop-threshold.h: New file.
44471 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44473 * elf/chroot_canon.c (chroot_canon): Likewise.
44475 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44478 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44479 Change to 2.6.0 everywhere.
44480 * sysdeps/unix/sysv/linux/configure: Regenerated.
44481 * sysdeps/unix/sysv/linux/kernel-features.h
44482 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44483 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44485 (__ASSUME_POSIX_TIMERS): Define unconditionally.
44486 (__ASSUME_FUTEX_REQUEUE): Remove.
44487 (__ASSUME_STATFS64): Define unconditionally.
44488 (__ASSUME_AT_SECURE): Likewise.
44489 (__ASSUME_CORRECT_SI_PID): Likewise.
44490 (__ASSUME_TGKILL): Define without depending on kernel version for
44492 (__ASSUME_UTIMES): Likewise.
44493 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44495 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44496 (__ASSUME_TMPFS_NAME): Likewise.
44497 * README: Update reference to Linux kernel versions.
44499 2012-08-02 Marek Polacek <polacek@redhat.com>
44502 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
44503 libc_cv_asm_type_prefix with %.
44504 * configure: Regenerated.
44505 * include/libc-symbols.h: Remove comment about
44506 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44507 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44508 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44509 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44510 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44511 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44512 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44513 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44514 * elf/tst-unique2mod1.c: Likewise.
44515 * elf/tst-unique1mod2.c: Likewise.
44516 * elf/tst-unique1mod1.c: Likewise.
44517 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44518 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44519 Replace ASM_TYPE_DIRECTIVE with .type.
44520 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44521 * sysdeps/i386/sysdep.h: Likewise.
44522 * sysdeps/x86_64/sysdep.h: Likewise.
44523 * sysdeps/sh/sysdep.h: Likewise.
44524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44525 Do not define ASM_TYPE_DIRECTIVE.
44526 * sysdeps/powerpc/sysdep.h: Likewise.
44527 * sysdeps/powerpc/powerpc32/sysdep.h:
44528 Replace ASM_TYPE_DIRECTIVE with .type.
44529 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44530 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44531 * sysdeps/i386/fpu/e_powf.S: Likewise.
44532 * sysdeps/i386/fpu/e_expl.S: Likewise.
44533 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44534 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44535 * sysdeps/i386/fpu/e_pow.S: Likewise.
44536 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44537 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44538 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44539 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44540 * sysdeps/i386/fpu/e_log2.S: Likewise.
44541 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44542 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44543 * sysdeps/i386/fpu/e_powl.S: Likewise.
44544 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44545 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44546 * sysdeps/i386/fpu/e_logl.S: Likewise.
44547 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44548 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44549 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44550 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44551 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44552 * sysdeps/i386/fpu/e_log.S: Likewise.
44553 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44554 * sysdeps/i386/fpu/e_logf.S: Likewise.
44555 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44556 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44557 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44558 * sysdeps/i386/fpu/e_log10.S: Likewise.
44559 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44560 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44561 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44562 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44563 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44564 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44565 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44566 * sysdeps/i386/i686/strtok.S: Likewise.
44567 * sysdeps/i386/i386-mcount.S: Likewise.
44568 * sysdeps/i386/strtok.S: Likewise.
44569 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44570 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44571 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44572 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44573 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44574 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44575 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44576 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44577 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44578 * sysdeps/x86_64/_mcount.S: Likewise.
44579 * sysdeps/x86_64/strtok.S: Likewise.
44580 * sysdeps/sh/_mcount.S: Likewise.
44582 2012-08-01 Roland McGrath <roland@hack.frob.com>
44584 * libio/iofopen.c: Include <fcntl.h>.
44585 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44586 (_IO_fopen64, fopen64): Define as aliases.
44587 * libio/iofopen64.c: Include <fcntl.h>.
44588 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44589 Conditionalize body on this.
44590 * sysdeps/wordsize-64/iofopen.c: File removed.
44591 * sysdeps/wordsize-64/iofopen64.c: File removed.
44593 2012-08-01 Marek Polacek <polacek@redhat.com>
44595 * libc/Makeconfig: Use elf in place of binfmt-subdir.
44596 Use dlfcn directly instead of a variable.
44597 (binfmt-subdir): Do not define.
44600 2012-08-01 Joseph Myers <joseph@codesourcery.com>
44602 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44603 Remove all definitions.
44604 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44605 <kernel-features.h>.
44606 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44607 (miss_F_GETOWN_EX): Remove all definitions.
44608 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44610 [!__ASSUME_FCNTL64]: Remove conditional code.
44611 [__ASSUME_FCNTL64]: Make code unconditional.
44612 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44613 <kernel-features.h>.
44614 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44615 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44616 (lockf64) [__NR_fcntl64]: Make code unconditional.
44617 (lockf64) [__ASSUME_FCNTL64]: Likewise.
44619 * sysdeps/unix/sysv/linux/kernel-features.h
44620 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44621 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44622 Make code unconditional.
44623 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44624 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44626 [__NR_vfork]: Make code unconditional.
44627 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44628 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44630 [__NR_vfork]: Make code unconditional.
44631 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44632 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44634 2012-08-01 Roland McGrath <roland@hack.frob.com>
44636 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44637 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44639 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44640 Define mkstemp64 as an alias.
44641 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44642 Define mkstemps64 as an alias.
44643 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44644 Define mkostemp64 as an alias.
44645 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44646 Define mkostemps64 as an alias.
44647 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44648 Conditionalize body on this.
44649 * misc/mkostemp64.c: Likewise.
44650 * misc/mkostemps64.c: Likewise.
44651 * misc/mkstemps64.c: Likewise.
44652 * sysdeps/wordsize-64/mkstemp64.c: File removed.
44653 * sysdeps/wordsize-64/mkostemp64.c: File removed.
44654 * sysdeps/wordsize-64/mkostemp.c: File removed.
44655 * sysdeps/wordsize-64/mkstemp.c: File removed.
44656 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44657 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44658 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44659 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44662 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44663 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44664 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44665 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44667 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44668 compat_symbol macros from <shlib-compat.h> rather than the underlying
44669 default_symbol_version and symbol_version macros, so that DEFAULT
44670 lines in shlib-versions are respected.
44671 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44673 2012-08-01 Florian Weimer <fweimer@redhat.com>
44675 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44676 Declare with warn_unused_result.
44677 (setgid, setregid, setegid, setresgid): Likewise.
44678 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44680 * WUR-REPORT: Remove set*id functions.
44682 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
44684 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44686 2012-07-31 Roland McGrath <roland@hack.frob.com>
44689 * include/sys/socket.h (__libc_accept, __libc_accept4):
44690 Add attribute_hidden.
44691 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44693 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44695 * inet/getnetgrent_r.c (setup): Likewise.
44697 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44699 2012-07-31 David S. Miller <davem@davemloft.net>
44701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44703 2012-07-31 Joseph Myers <joseph@codesourcery.com>
44706 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44707 value between 1.0 and 2.0 and smaller part has absolute value less
44709 * math/s_clog10.c (__clog10): Likewise.
44710 * math/s_clog10f.c (__clog10f): Likewise.
44711 * math/s_clog10l.c (__clog10l): Likewise.
44712 * math/s_clogf.c (__clogf): Likewise.
44713 * math/s_clogl.c (__clogl): Likewise.
44714 * math/libm-test.inc (clog_test): Add more tests.
44715 (clog10_test): Likewise.
44716 * sysdeps/i386/fpu/libm-test-ulps: Update.
44717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44719 2012-07-31 Florian Weimer <fweimer@redhat.com>
44721 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44722 Exit with zero in case no suitable GID is found, and write a
44723 message to standard error.
44725 2012-07-30 Roland McGrath <roland@hack.frob.com>
44727 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44729 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44730 (MAXPATHLEN): Removed.
44731 (NOGROUP, NODEV): New macros.
44732 (setbit, clrbit, isset, isclr): New macros.
44733 (howmany, roundup, powerof2): New macros.
44734 (DEV_BSIZE): New macro.
44736 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44737 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44739 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44740 definition on [!__NO_LONG_DOUBLE_MATH].
44742 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44743 PTR_MANGLE and PTR_DEMANGLE.
44745 * socket/accept4.c (accept4): Rename to __libc_accept4.
44746 Define accept4 as a weak alias.
44748 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44749 on [_DIRENT_HAVE_D_TYPE].
44750 * io/ftw.c (ftw_dir): Likewise.
44752 * io/xmknod.c (__xmknod): Don't check PATH for being null.
44754 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44756 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44757 Use the BSD numbers rather than the arbitrary ones we had.
44758 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44759 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44760 (SIGXCPU, SIGXFSZ): New macros.
44763 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44764 initializer on [_LIBC_REENTRANT].
44766 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44767 definitions inside [_POSIX_MAPPED_FILES].
44769 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44771 * dirent/opendir.c: Include <fcntl.h>.
44773 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44774 (__libc_getspecific): Likewise.
44775 (__libc_key_create): Likewise.
44777 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44778 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44779 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44780 (tmpfile64): Define as alias.
44781 * sysdeps/wordsize-64/tmpfile.c: File removed.
44782 * sysdeps/wordsize-64/tmpfile64.c: File removed.
44783 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44784 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44786 * stdio-common/vfscanf.c: Include <stdbool.h>.
44787 * nss/makedb.c: Likewise.
44788 * stdio-common/_i18n_number.h: Likewise.
44789 * argp/argp-help.c: Likewise.
44790 * posix/wordexp.c: Likewise.
44791 * sysdeps/posix/spawni.c: Likewise.
44792 * nss/nss_files/files-initgroups.c: Likewise.
44793 * stdio-common/reg-modifier.c: Include <stdlib.h>.
44794 * nss/nss_files/files-initgroups.c: Likewise.
44795 * nss/nss_db/db-netgrp.c: Likewise.
44796 * nss/nss_db/db-initgroups.c: Likewise.
44797 * io/fchmodat.c: Include <sys/stat.h>.
44799 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44800 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44802 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44805 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44806 Add multiple inclusion protection.
44808 2012-07-27 David S. Miller <davem@davemloft.net>
44810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44812 2012-07-27 Gary Benson <gbenson@redhat.com>
44815 * elf/rtld.c: Include <stap-probe.h>.
44816 (dl_main): Added static probes "init_start" and "init_complete".
44817 * elf/dl-load.c: Include <stap-probe.h>.
44818 (lose): Take new parameter "nsid".
44819 Added static probe "map_failed".
44820 (_dl_map_object_from_fd): Pass namespace id to lose.
44821 Added static probe "map_start".
44822 (open_verify): Pass namespace id to lose.
44823 * elf/dl-open.c: Include <stap-probe.h>.
44824 (dl_open_worker) Added static probes "map_complete", "reloc_start"
44825 and "reloc_complete".
44826 * elf/dl-close.c: Include <stap-probe.h>.
44827 (_dl_close_worker): Added static probes "unmap_start" and
44829 * elf/rtld-debugger-interface.txt: New file documenting the above.
44831 2012-07-26 Roland McGrath <roland@hack.frob.com>
44833 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44834 rather than a string variable.
44835 * sunrpc/rpc_main.c (h_output): Likewise.
44836 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44838 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
44840 * inet/check_native.c: New file.
44842 2012-07-26 Joseph Myers <joseph@codesourcery.com>
44845 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44846 if larger part has absolute value 1.0.
44847 * math/s_clog10.c (__clog10): Likewise.
44848 * math/s_clog10f.c (__clog10f): Likewise.
44849 * math/s_clog10l.c (__clog10l): Likewise.
44850 * math/s_clogf.c (__clogf): Likewise.
44851 * math/s_clogl.c (__clogl): Likewise.
44852 * math/libm-test.inc (clog_test): Add more tests.
44853 (clog10_test): Likewise.
44854 * sysdeps/i386/fpu/libm-test-ulps: Update.
44855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44857 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44858 (pltexit): Likewise.
44859 (La_regs): Likewise.
44860 (La_retval): Likewise.
44861 (int_retval): Likewise.
44862 Update #error for removed macros to refer only to definitions in
44864 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44866 (pltexit): Likewise.
44867 (La_regs): Likewise.
44868 (La_retval): Likewise.
44869 (int_retval): Likewise.
44870 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44872 (pltexit): Likewise.
44873 (La_regs): Likewise.
44874 (La_retval): Likewise.
44875 (int_retval): Likewise.
44876 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44878 (pltexit): Likewise.
44879 (La_regs): Likewise.
44880 (La_retval): Likewise.
44881 (int_retval): Likewise.
44882 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44884 (pltexit): Likewise.
44885 (La_regs): Likewise.
44886 (La_retval): Likewise.
44887 (int_retval): Likewise.
44888 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44890 (pltexit): Likewise.
44891 (La_regs): Likewise.
44892 (La_retval): Likewise.
44893 (int_retval): Likewise.
44894 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44896 (pltexit): Likewise.
44897 (La_regs): Likewise.
44898 (La_retval): Likewise.
44899 (int_retval): Likewise.
44900 * sysdeps/generic/tst-audit.h: Update comment to refer only to
44901 macro definitions in tst-audit.h.
44902 * sysdeps/i386/tst-audit.h: New file.
44903 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44904 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44905 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44906 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44907 * sysdeps/sh/tst-audit.h: Likewise.
44908 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44909 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44910 * sysdeps/x86_64/tst-audit.h: Likewise.
44912 2012-07-26 Andreas Jaeger <aj@suse.de>
44914 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44917 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44918 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44919 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44921 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44922 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44923 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44925 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44928 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44930 (si_call_addr, si_syscall, si_arch): Define new macro.
44931 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44933 (si_call_addr, si_syscall, si_arch): Define new marcro.
44934 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44936 (si_call_addr, si_syscall, si_arch): Define new macro.
44937 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44939 (si_call_addr, si_syscall, si_arch): Define new macro.
44941 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44944 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44945 Change to 2.4.21 where previously 2.4.1.
44946 * sysdeps/unix/sysv/linux/configure: Regenerated.
44947 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44948 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44949 Linux kernel version.
44950 (__ASSUME_STD_AUXV): Remove.
44951 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44953 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44954 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44955 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44956 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44957 (__ASSUME_NETLINK_SUPPORT): Likewise.
44958 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44959 (__no_netlink_support): Remove conditional definition.
44960 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44962 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44963 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44964 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44965 (if_nameindex_ioctl): Remove.
44966 (if_nameindex_netlink): Do not handle __no_netlink_support.
44967 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44969 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44970 Remove conditional code.
44971 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44973 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44975 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44976 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44977 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44979 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44980 [!__ASSUME_STD_AUXV]: Remove conditional code.
44981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44982 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44983 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44985 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44986 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44988 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44990 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44991 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44993 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44995 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44998 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45001 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45002 code unconditional.
45003 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45005 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45007 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45010 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45012 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45015 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45016 code unconditional.
45017 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45019 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45021 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45024 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45025 code unconditional.
45026 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45028 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45030 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45033 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
45035 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45036 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45037 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45038 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45039 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45040 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45041 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45042 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45043 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45044 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45045 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45046 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45047 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45048 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45049 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45050 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45051 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45052 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45053 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45054 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45055 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45056 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45057 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45059 2012-07-25 Florian Weimer <fweimer@redhat.com>
45061 * Versions.def: Add GLIBC_2.17.
45062 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45063 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45064 Introduce __libc_secure_getenv.
45065 * stdlib/Versions (2.17): Add secure_getenv
45066 (GLIBC_PRIVATE): Add __libc_secure_getenv.
45067 * stdlib/secure-getenv.c: Rename __secure_getenv to
45068 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
45069 symbol __secure_getenv for GLIBC_2.0.
45070 * stdlib/tst-secure-getenv.c: New.
45071 * stdlib/Makefile (tests): Add testcase.
45072 * manual/startup.texi (Environment Access): Document
45074 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45075 __libc_secure_getenv.
45076 * inet/ruserpass.c (ruserpass): Likewise.
45077 * malloc/mtrace.c (mtrace): Likewise.
45078 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45079 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45080 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45081 * sysdeps/posix/tempname.c: Likewise. Evaluate
45082 HAVE_SECURE_GETENV.
45083 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45084 __secure_getenv to __libc_secure_getenv.
45085 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45092 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45098 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45100 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45101 (struct La_i86_retval): Likewise.
45102 (struct La_x86_64_regs): Likewise.
45103 (struct La_x86_64_retval): Likewise.
45104 (struct La_x32_regs): Likewise.
45105 (struct La_x32_retval): Likewise.
45106 (struct La_ppc32_regs): Likewise.
45107 (struct La_ppc32_retval): Likewise.
45108 (struct La_ppc64_regs): Likewise.
45109 (struct La_ppc64_retval): Likewise.
45110 (struct La_sh_regs): Likewise.
45111 (struct La_sh_retval): Likewise.
45112 (struct La_s390_32_regs): Likewise.
45113 (struct La_s390_32_retval): Likewise.
45114 (struct La_s390_64_regs): Likewise.
45115 (struct La_s390_64_retval): Likewise.
45116 (struct La_sparc32_regs): Likewise.
45117 (struct La_sparc32_retval): Likewise.
45118 (struct La_sparc64_regs): Likewise.
45119 (struct La_sparc64_retval): Likewise.
45120 (struct audit_ifaces): Remove architecture-specific pltenter and
45122 * sysdeps/i386/ldsodefs.h: New file.
45123 * sysdeps/powerpc/ldsodefs.h: Likewise.
45124 * sysdeps/s390/ldsodefs.h: Likewise.
45125 * sysdeps/sh/ldsodefs.h: Likewise.
45126 * sysdeps/sparc/ldsodefs.h: Likewise.
45127 * sysdeps/x86_64/ldsodefs.h: Likewise.
45129 2012-07-25 Marek Polacek <polacek@redhat.com>
45132 * math/libm-test.inc (yn_test): Add another test.
45133 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45134 to ERANGE when the result is +-Inf.
45135 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45136 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45137 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45138 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45140 2012-07-24 Joseph Myers <joseph@codesourcery.com>
45142 * conform/data/time.h-data (NULL): Use macro-constant. Require
45144 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
45146 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
45148 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
45150 * configure.in <sysdeps resolving>: Correct printing
45152 * configure: Regenerate.
45154 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
45156 * math/w_ilogb.c: Include <limits.h>.
45157 * math/w_ilogbl.c: Likewise.
45159 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45161 * manual/lang.texi (__va_copy): Document primarily as ISO C99
45162 va_copy. Document allowing for unavailable va_copy only as
45163 pre-C99 compatibility.
45164 * manual/string.texi (Copying and Concatenation): Use va_copy
45165 instead of __va_copy in concat example.
45167 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
45169 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45170 (__sendto): Use create_address_port. Initialize APORT and deallocate
45173 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45174 with O_NOLINK passed to __file_name_lookup.
45176 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45177 with O_NOLINK passed to __file_name_lookup.
45179 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45180 negative N or less than NGIDS.
45182 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45183 type to string_t. Set ERANGE as errno and return it if NAME is not big
45184 enough. Use memcpy instead of strncpy.
45186 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45188 * elf/Makefile (check-data): Remove.
45189 (localplt.data): New vpath directive.
45190 ($(objpfx)check-localplt.out): Use localplt.data from vpath
45191 instead of $(check-data).
45192 * scripts/data/localplt-generic.data: Move to ...
45193 * sysdeps/generic/localplt.data: ... here.
45194 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45195 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45196 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45199 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45202 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45205 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45208 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45211 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45215 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45217 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45218 PPC32 and PPC64 files.
45219 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45220 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45222 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45224 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45225 __makecontext_ret to ...
45226 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45227 ... here and call exit if uc_link is NULL. New file.
45228 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45229 __makecontext_ret.S.
45230 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45231 __makecontext_ret to ...
45232 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45233 ... here and call exit if uc_link is NULL. New file.
45234 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45235 __makecontext_ret.S.
45237 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45239 * elf/elf.h (R_390_IRELATIVE): New definition.
45240 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45241 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
45242 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45243 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45244 (elf_machine_lazy_rel): Likewise.
45245 * sysdeps/s390/dl-irel.h: New file.
45246 * sysdeps/s390/s390-64/memcpy.S: New asm code.
45247 * sysdeps/s390/s390-64/memset.S: New asm code.
45248 * sysdeps/s390/s390-64/memcmp.S: New asm code.
45249 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45250 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45251 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45252 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45253 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45254 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45255 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45256 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45257 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45258 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45259 * sysdeps/s390/s390-32/memcpy.S: New asm code.
45260 * sysdeps/s390/s390-32/memset.S: New asm code.
45261 * sysdeps/s390/s390-32/memcmp.S: New asm code.
45263 2012-07-17 Marek Polacek <polacek@redhat.com>
45266 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45267 * sysdeps/s390/s390-64/configure.in: Likewise.
45268 * sysdeps/sparc/configure.in: Likewise.
45269 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45270 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45271 * sysdeps/i386/configure.in: Likewise.
45272 * sysdeps/x86_64/configure.in: Likewise.
45273 * sysdeps/sh/configure.in: Likewise.
45274 * sysdeps/s390/s390-32/configure: Regenerated.
45275 * sysdeps/s390/s390-64/configure: Likewise.
45276 * sysdeps/x86_64/configure: Likewise.
45277 * sysdeps/sh/configure: Likewise.
45278 * sysdeps/powerpc/powerpc64/configure: Likewise.
45279 * sysdeps/powerpc/powerpc32/configure: Likewise.
45280 * sysdeps/sparc/configure: Likwise.
45281 * sysdeps/i386/configure: Likewise.
45283 * elf/dl-open.c: Comment fixes.
45285 2012-07-17 Joseph Myers <joseph@codesourcery.com>
45287 * Makefile [CXX] (check-data): Remove.
45288 [CXX] (c++-types.data): New vpath directive.
45289 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45290 vpath. Do not allow for C++ type data being missing.
45291 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45292 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45293 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45294 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45295 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45296 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45297 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45300 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45303 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45306 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45309 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45312 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45315 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45318 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45321 * elf/tls-macros.h (TLS_LE): Move architecture-specific
45322 definitions to architecture-specific files.
45323 (TLS_IE): Likewise.
45324 (TLS_LD): Likewise.
45325 (TLS_GD): Likewise.
45326 * sysdeps/i386/tls-macros.h: New file.
45327 * sysdeps/powerpc/tls-macros.h: Likewise.
45328 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45329 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45330 * sysdeps/sh/tls-macros.h: Likewise.
45331 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45332 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45333 * sysdeps/x86_64/tls-macros.h: Likewise.
45335 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45337 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45338 zero value for regular exit case.
45340 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45341 (__start_context): Preserve zero value for regular exit case.
45343 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45344 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45346 * manual/setjmp.texi (setcontext): Clarify normal process
45347 termination when uc_link is the null pointer.
45348 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45351 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
45353 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45354 preprocessor. Test for each exception mask separately.
45356 2012-07-16 Andreas Jaeger <aj@suse.de>
45358 * po/ru.po: Update from translation team.
45360 2012-07-15 Joseph Myers <joseph@codesourcery.com>
45362 * conform/data/string.h-data (NULL): Use macro-constant. Require
45364 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45365 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45366 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45367 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45368 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45370 2012-07-13 Andreas Jaeger <aj@suse.de>
45372 * po/fr.po: Update from translation team.
45374 2012-07-12 Marek Polacek <polacek@redhat.com>
45377 * math/libm-test.inc (yn_test): Add test for BZ #14173.
45378 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45381 2012-07-12 Joseph Myers <joseph@codesourcery.com>
45384 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45385 Change to 2.4.1 where previously 2.4.0.
45386 * sysdeps/unix/sysv/linux/configure: Regenerated.
45387 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45388 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45390 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45391 (__ASSUME_AT_CLKTCK): Remove.
45392 (__ASSUME_AT_PAGESIZE): Likewise.
45393 (__ASSUME_AT_XID): Likewise.
45394 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45395 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45396 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45398 (HAVE_AUX_PAGESIZE): Likewise.
45399 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45400 [__ASSUME_AT_CLKTCK]: Make code unconditional.
45401 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45403 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
45406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45407 the temporary buffer used to invoke __gethostbyname2_r,
45408 __gethostbyaddr_r and gethostbyname4_r to make room for struct
45409 host_data / struct gaih_addrtuple.
45410 * resolv/nss_dns/dns-host.c (global scope): Move definition of
45411 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45412 header file nss/nsswitch.h.
45413 * nss/nsswitch.h (global scope): Add definition of implementation
45414 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45415 resolv/nss_dns/dns-host.c).
45417 2012-07-11 Andreas Jaeger <aj@suse.de>
45419 * po/fr.po: Update from translation team.
45421 * po/sv.po: Update from translation team
45422 * po/fr.po: Another update from translation team.
45424 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45426 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45427 for subnormals or multiply small sinh result by itself.
45428 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45431 2012-07-11 David S. Miller <davem@davemloft.net>
45433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45435 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
45438 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45439 (INTERNAL_MARK): Shift it here.
45441 2012-07-10 Marek Polacek <polacek@redhat.com>
45444 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
45445 libc_cv_asm_global_directive with .globl.
45446 * configure: Regenerated.
45447 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45449 * sysdeps/i386/configure: Regenerated.
45450 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45452 * sysdeps/x86_64/configure: Regenerated.
45453 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45454 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45455 * elf/tst-unique2mod2.c: Likewise.
45456 * elf/tst-unique2mod1.c: Likewise.
45457 * elf/tst-unique1mod2.c: Likewise.
45458 * elf/tst-unique1mod1.c: Likewise.
45459 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45460 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45461 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45462 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45463 * sysdeps/mach/sysdep.h: Likewise.
45464 * sysdeps/i386/sysdep.h: Likewise.
45465 * sysdeps/i386/i386-mcount.S: Likewise.
45466 * sysdeps/x86_64/_mcount.S: Likewise.
45467 * sysdeps/x86_64/sysdep.h: Likewise.
45468 * sysdeps/sh/_mcount.S: Likewise.
45469 * sysdeps/sh/sysdep.h: Likewise.
45470 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45471 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45472 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45473 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45474 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45475 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45476 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45477 * locale/localeinfo.h: Likewise.
45478 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45479 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45481 2012-07-09 Roland McGrath <roland@hack.frob.com>
45484 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45486 * manual/message.texi (The Uniforum approach): Likewise.
45487 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45488 (glibc iconv Implementation): Likewise.
45490 2012-07-09 Joseph Myers <joseph@codesourcery.com>
45493 * math/s_clog.c (__clog): Avoid scaling a value down where that
45494 could result in underflow.
45495 * math/s_clog10.c (__clog10): Likewise.
45496 * math/s_clog10f.c (__clog10f): Likewise.
45497 * math/s_clog10l.c (__clog10l): Likewise.
45498 * math/s_clogf.c (__clogf): Likewise.
45499 * math/s_clogl.c (__clogl): Likewise.
45500 * math/libm-test.inc (clog_test): Add more tests.
45501 (clog10_test): Likewise.
45502 * sysdeps/i386/fpu/libm-test-ulps: Update.
45503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45505 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
45508 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45509 by 7 not 8 to examine high bit of fractional part.
45512 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45513 for call to __mcount_internal.
45514 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45515 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45516 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45518 2012-07-06 Joseph Myers <joseph@codesourcery.com>
45521 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45522 approximation for values within 0x1p-13f of an odd multiple of
45524 * math/libm-test.inc (tan_test): Do not allow spurious underflow
45525 exception. Add more tests.
45526 * sysdeps/i386/fpu/libm-test-ulps: Update.
45529 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45530 inputs and return -1 for them. Do not check for +Inf in case not
45531 reachable for +Inf.
45532 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45533 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45534 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45535 and return -1 for them. Do not check for +Inf in case not
45536 reachable for +Inf.
45537 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45539 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45540 and return -1 for them. Do not check for +Inf in case not
45541 reachable for +Inf.
45542 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
45543 spurious underflow.
45544 * sysdeps/i386/fpu/libm-test-ulps: Update.
45545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45547 2012-07-06 Mike Frysinger <vapier@gentoo.org>
45549 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45551 2012-07-05 Joseph Myers <joseph@codesourcery.com>
45555 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45556 could result in spurious underflow. Scale down values above
45557 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45558 * math/s_csqrtf.c (__csqrtf): Likewise.
45559 * math/s_csqrtl.c (__csqrtl): Likewise.
45560 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
45561 spurious underflow.
45562 * sysdeps/i386/fpu/libm-test-ulps: Update.
45563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45565 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
45567 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45569 * catgets/xopen-msg.awk: New file.
45570 * catgets/xopen-msg.sed: Removed.
45572 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45574 * intl/po2test.awk: New file.
45575 * intl/po2test.sed: Removed.
45577 2012-07-04 Joseph Myers <joseph@codesourcery.com>
45580 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45581 or multiply small sinh result by itself.
45582 * math/s_ctanf.c (__ctanf): Likewise.
45583 * math/s_ctanh.c (__ctanh): Likewise.
45584 * math/s_ctanhf.c (__ctanhf): Likewise.
45585 * math/s_ctanhl.c (__ctanhl): Likewise.
45586 * math/s_ctanl.c (__ctanl): Likewise.
45587 * math/libm-test.inc (ctan_test_tonearest): New function.
45588 (ctan_test_towardzero): Likewise.
45589 (ctan_test_downward): Likewise.
45590 (ctan_test_upward): Likewise.
45591 (ctanh_test_tonearest): Likewise.
45592 (ctanh_test_towardzero): Likewise.
45593 (ctanh_test_downward): Likewise.
45594 (ctanh_test_upward): Likewise.
45595 (main): Call these new functions.
45596 * sysdeps/i386/fpu/libm-test-ulps: Update.
45597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45599 2012-07-03 Mike Frysinger <vapier@gentoo.org>
45601 * .gitignore: Delete /ports entry.
45603 2012-07-03 Andreas Jaeger <aj@suse.de>
45605 * po/bg.po: Update from translation team.
45606 * po/cs.po: Likewise.
45607 * po/de.po: Likewise.
45608 * po/hr.po: Likewise.
45609 * po/nl.pl: Likewise.
45610 * po/pl.po: Likewise.
45611 * po/vi.po: Likewise.
45613 2012-07-03 Joseph Myers <joseph@codesourcery.com>
45615 * Makeconfig [!+link] (+link-before-libc): New variable.
45616 [!+link] (+link-after-libc): Likewise.
45617 [!+link] (+link-tests): Likewise.
45618 [!+link] (+link): Define in terms of $(+link-before-libc) and
45619 $(+link-after-libc).
45620 [!+link-static] (+link-static-before-libc): New variable.
45621 [!+link-static] (+link-static-after-libc): Likewise.
45622 [!+link-static] (+link-static-tests): Likewise.
45623 [!+link-static] (+link-static): Define in terms of
45624 $(+link-static-before-libc) and $(+link-static-after-libc).
45625 [build-shared] (link-libc-before-gnulib): New variable.
45626 [build-shared] (link-libc-tests): Likewise.
45627 [build-shared] (link-libc): Define in terms of
45628 $(link-libc-before-gnulib).
45629 [!build-shared] (link-libc-tests): New variable.
45630 (link-libc-static-tests): New variable.
45631 [!gnulib] (gnulib-arch): New variable.
45632 [!gnulib] (gnulib-tests): Likewise.
45633 [!gnulib] (static-gnulib-arch): Likewise.
45634 [!gnulib] (static-gnulib-tests): Likewise.
45635 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
45636 Define with "=" instead of ":=".
45637 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
45638 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
45639 * Rules (binaries-all-notests): New variable.
45640 (binaries-all-tests): Likewise.
45641 (binaries-static-notests): Likewise.
45642 (binaries-static-tests): Likewise.
45643 (binaries-all): Define using $(binaries-all-notests) and
45644 $(binaries-all-tests).
45645 (binaries-static): Define using $(binaries-static-notests) and
45646 $(binaries-static-tests).
45647 (binaries-shared-tests): New variable.
45648 (binaries-shared-notests): Likewise.
45649 (binaries-shared): Remove variable.
45650 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45651 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45652 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45653 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45654 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45655 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45656 * elf/Makefile (sln-modules): New variable.
45657 (extra-objs): Add $(sln-modules:=.o).
45658 (ldconfig-modules): Add static-stubs.
45659 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45660 * elf/static-stubs.c: New file.
45663 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45664 by 7 not 8 to examine high bit of fractional part. Use volatile
45665 variables when splitting into final array of floats if
45666 __FLT_EVAL_METHOD__ != 0.
45667 * math/libm-test.inc (cos_test): Add another test.
45668 (sin_test): Likewise.
45669 * sysdeps/i386/fpu/libm-test-ulps: Update.
45672 * math/libm-test.inc (cosh_test): Add more tests.
45674 * version.h (RELEASE): Set to "development".
45675 (VERSION): Set to "2.16.90".
45677 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
45679 * NEWS: Update copyright. Remove last-updated date.
45680 Mention math library bug fixes and timezone data changes.
45681 * README: Mention GNU/Hurd, x32, and HPPA support status.
45683 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
45685 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45687 2012-06-27 Andreas Jaeger <aj@suse.de>
45689 * manual/contrib.texi (Contributors): Add Samuel Thibault.
45691 2012-06-25 Andreas Jaeger <aj@suse.de>
45693 * sysdeps/s390/fpu/libm-test-ulps: Update.
45695 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
45696 Thomas Schwinge <thomas@codesourcery.com>
45698 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45699 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45700 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45703 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
45705 * sysdeps/mach/start.c: Remove file.
45706 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45707 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45708 * sysdeps/sh/init-first.c: Likewise.
45710 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45711 registers for frame unwinding purposes, add CFI directives.
45712 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45713 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45714 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45717 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45718 __fortify_fail returning.
45719 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45721 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45722 sysdeps/sh/____longjmp_chk.S.
45723 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45724 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45725 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45726 (gen-as-const-headers): Append sigaltstack-offsets.sym.
45728 * sysdeps/sh/abort-instr.h: New file.
45729 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45730 process in case exit returns.
45732 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45733 initialize the GOT register before use.
45735 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45736 calculation of ARGC > 4.
45738 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45739 meaningful names to some local labels.
45741 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45742 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45744 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45745 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45746 (__arch_compare_and_exchange_val_16_acq): Likewise.
45747 (__arch_compare_and_exchange_val_32_acq): Likewise.
45748 (atomic_exchange_and_add): Fix gUSA sequence.
45749 (atomic_add): Likewise.
45750 (atomic_add_negative): Likewise.
45751 (atomic_add_zero): Likewise.
45752 (atomic_bit_test_set): Likewise.
45754 2012-06-22 Andreas Schwab <schwab@redhat.com>
45757 * include/link.h (struct link_map): Add l_free_initfini.
45758 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45760 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45761 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45762 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45765 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
45767 * configure.in: Use AC_LANG_SOURCE.
45768 * configure: Regenerate.
45770 2012-06-22 Roland McGrath <roland@hack.frob.com>
45772 * configure.in (libc_cv_localstatedir): New substituted variable.
45773 * configure: Regenerated.
45774 * config.make.in (localstatedir): New variable, substituted from
45775 libc_cv_localstatedir.
45776 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45777 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45778 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45779 * sysdeps/gnu/configure: Regenerated.
45781 2012-06-21 Jeff Law <law@redhat.com>
45784 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45785 free. Simplify list management for _LIBC case.
45787 2012-06-21 Joseph Myers <joseph@codesourcery.com>
45790 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45791 Clear sign bit of 64-bit integer value before comparing against
45794 * sysdeps/mach/configure: Regenerated.
45796 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
45799 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45801 2012-06-21 Jeff Law <law@redhat.com>
45804 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
45805 uint16_t for elements in the "seen" array to avoid char overflows.
45806 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45807 * elf/dl-open.c (dl_open_worker): Likewise.
45809 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
45811 * scripts/list-sources.sh: Scan PORTS for translations.
45812 * po/libc.pot: Regenerated.
45814 2012-06-21 Andreas Jaeger <aj@suse.de>
45817 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45819 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45820 * bits/byteswap-16.h (__bswap_16): Likewise.
45821 * bits/byteswap.h (__bswap_constant_16): Likewise.
45823 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
45826 * sysdeps/i386/fpu_control.h: Removed.
45827 * sysdeps/x86_64/fpu_control.h: Moved to ...
45828 * sysdeps/x86/fpu_control.h: Here.
45830 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45831 (_FPU_SETCW): Likewise.
45833 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
45836 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45837 * sysdeps/x86/fpu/bits/mathinline.h: This.
45838 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45842 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45843 functions if __x86_64__ is defined.
45845 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
45847 * string/endian.h: Add !__ASSEMBLER__ condition for including
45848 conversion interfaces.
45850 2012-06-15 Joseph Myers <joseph@codesourcery.com>
45853 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45854 of ABS(x) in calculating zero to negative powers other than odd
45856 * math/libm-test.inc (pow_test): Add more tests.
45858 2012-06-15 Andreas Jaeger <aj@suse.de>
45860 * manual/contrib.texi (Contributors): Update entry of Liubov
45861 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45864 2012-06-15 Cyril Hrubis <metan@ucw.cz>
45866 * string/string.h: Add __wur to GNU version of strerror_r.
45868 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
45871 * string/Makefile (tests): Add tst-strtok_r.
45872 * string/tst-strtok_r.c: New file.
45873 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45874 RAX_LP/RDX_LP on SAVE_PTR.
45876 2012-06-14 Roland McGrath <roland@hack.frob.com>
45878 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45880 2012-06-14 Joseph Myers <joseph@codesourcery.com>
45882 * libm_test.inc (csqrt_test): Allow more spurious underflow
45884 (j0_test): Likewise.
45885 (j1_test): Likewise.
45886 (y0_test): Likewise.
45887 (y1_test): Likewise.
45889 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
45891 * po/Makefile (libc.pot): Use UTF-8 charset.
45893 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
45896 Suppress sign-conversion warning from FD_SET.
45897 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45898 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45899 not unsigned long int.
45900 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45902 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
45906 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45907 __extern_always_inline instead of __extern_inline.
45908 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45909 (__signbit): Likewise.
45910 (__signbitl): Support C++ namespace.
45911 (lrintf): New inline function.
45913 (llrintf): Likewise.
45914 (llrint): Likewise.
45924 (floorf): Likewise.
45925 (nearbyint): Likewise.
45926 (nearbyintf): Likewise.
45928 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
45930 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45931 non-default versions.
45933 2012-06-11 Roland McGrath <roland@hack.frob.com>
45936 * manual/argp.texi (Argp): Reword argp_parse description slightly.
45938 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
45940 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45941 (FE_UPWARD, FE_DOWNWARD): Don't define.
45942 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45943 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45945 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45947 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45948 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45950 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45952 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45954 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45955 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45957 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
45960 * sysdeps/i386/fpu/bits/fenv.h: Removed.
45961 * sysdeps/i386/fpu/Implies: New file.
45962 * sysdeps/x86_64/fpu/Implies: Likewise.
45963 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45964 * sysdeps/x86/fpu/bits/fenv.h: This.
45966 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45969 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45972 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45973 character 0xffff that matches the last element of the
45976 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45978 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45981 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45983 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45984 values higher than 25.6283.
45986 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45988 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45989 subnormal exponent extraction and add some __builtin_expect.
45990 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45991 Fix for subnormal mantissa calculation.
45993 2012-06-04 Mike Frysinger <vapier@gentoo.org>
45995 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45996 cpu2 is -1 and errno is not ENOSYS.
45998 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
46001 * sysdeps/i386/i486/bits/string.h: Renamed to ...
46002 * sysdeps/x86/bits/string.h: This.
46003 * sysdeps/x86_64/bits/string.h: Removed.
46005 * sysdeps/i386/i486/bits/string.h: Define inline functions only
46006 if not compiling for x86-64, but compiling for >= i486.
46008 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46009 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46011 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46012 New macro from Linux kernel 3.4.0.
46013 (FP_XSTATE_MAGIC2): Likewise.
46014 (FP_XSTATE_MAGIC2_SIZE): Likewise.
46015 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46016 (struct _fpx_sw_bytes): New struct.
46017 (struct _xsave_hdr): Likewise.
46018 (struct _ymmh_state): Likewise.
46019 (struct _xstate): Likewise.
46021 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46022 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46023 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46024 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46025 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46026 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46028 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46029 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46030 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46031 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46032 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46033 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46035 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46038 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46039 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46040 (sysdep_headers): Include sys/platform/ppc.h.
46041 * sysdeps/powerpc/test-gettimebase.c: Test for
46042 __ppc_get_timebase() to catch future ISA opcode/insn changes.
46043 * manual/Makefile (appendices): Include platform.texi.
46044 * manual/contrib.texi (Contributors): Update @node pointers.
46045 * manual/maint.texi (Maintenance): Likewise.
46046 (Platform): New node.
46047 * manual/platform.texi: New file. Document the new features.
46049 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
46050 Jakub Jelinek <jakub@redhat.com>
46053 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46054 where __builtin_expect is unavailable.
46056 2012-06-03 David S. Miller <davem@davemloft.net>
46058 * stdlib/longlong.h: Updated from GCC.
46060 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
46063 * sysdeps/powerpc/powerpc32/mcount.c: New file.
46064 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46067 (GLIBC_2.16): Likewise.
46069 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46071 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46073 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46076 (default-abi): New variable.
46077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46078 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46080 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46082 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46084 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46087 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46088 definition. Document in comment.
46090 2012-06-01 David S. Miller <davem@davemloft.net>
46092 * stdlib/longlong.h: Updated from GCC.
46094 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46097 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46098 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46099 sys/debugreg.h sys/io.h here.
46100 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46101 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46103 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46104 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46105 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46106 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46107 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46108 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46110 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46111 Define only if __x86_64__ is defined.
46113 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46116 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46117 Use int64_t for variable i.
46118 * math/libm-test.inc (fmod_test): Add more tests.
46120 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46121 z computation is not scheduled after fetestexcept.
46122 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46123 Use math_force_eval instead of asm to ensure calculation scheduled
46124 before exception test.
46125 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46126 Ensure a1 + u.d computation is not scheduled after fetestexcept.
46128 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
46130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46131 computation is not scheduled after fetestexcept.
46133 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46136 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46137 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46139 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46141 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46142 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46144 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46147 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46149 (__WCHAR_MIN): Support __WORDSIZE == 64.
46150 (__WCHAR_MAX): Likewise.
46152 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46153 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46156 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46157 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46160 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46161 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46163 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46164 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46166 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46167 Defined to 1 if __x86_64__ isn't defined.
46168 (_STAT_VER_LINUX_OLD): New.
46169 (st_atime): Remove duplicate.
46170 (st_mtime): Likewise.
46171 (st_ctime): Likewise.
46173 2012-05-31 David S. Miller <davem@davemloft.net>
46175 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46178 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
46180 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46184 * elf/dl-reloc.c: Include <_itoa.h>.
46185 (_dl_reloc_bad_type): Remove use of INTUSE.
46186 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46187 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46188 * stdio-common/psiginfo.c (psiginfo): Likewise.
46189 * stdio-common/psignal.c (psignal): Likewise.
46190 * string/strsignal.c (strsignal): Likewise.
46191 * include/signal.h (_sys_siglist): Declare hidden proto.
46192 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
46193 INTVARDEF with libc_hidden_data_def.
46194 * stdio-common/itoa-udigits.c: Likewise.
46195 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46196 (_itoa_lower_digits_internal): Remove declaration.
46197 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46198 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46199 (_sys_sigabbrev_internal): Remove aliases.
46200 (_sys_siglist): Define hidden alias.
46202 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
46204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46207 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46210 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46211 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46213 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46214 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46215 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46216 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46217 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46218 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46220 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46221 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46222 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46224 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46232 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46233 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46234 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46236 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46237 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46238 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46239 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46240 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46241 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46243 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46244 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46246 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46247 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46249 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46250 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46251 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46253 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46254 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46256 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46258 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46259 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46260 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46262 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46264 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46266 2012-05-31 Joseph Myers <joseph@codesourcery.com>
46268 * math/math.h (M_El): Use two more decimal places.
46269 (M_LOG2El): Likewise.
46270 (M_LOG10El): Likewise.
46271 (M_LN2l): Likewise.
46272 (M_LN10l): Likewise.
46274 (M_PI_2l): Likewise.
46275 (M_PI_4l): Likewise.
46276 (M_1_PIl): Likewise.
46277 (M_2_PIl): Likewise.
46278 (M_2_SQRTPIl): Likewise.
46279 (M_SQRT2l): Likewise.
46280 (M_SQRT1_2l): Likewise.
46282 2012-05-31 David S. Miller <davem@davemloft.net>
46284 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46285 values between float registers.
46286 * sysdeps/sparc/sparc64/memset.S: Likewise.
46287 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46289 2012-05-31 Mike Frysinger <vapier@gentoo.org>
46291 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46292 -D_FORTIFY_SOURCE=1.
46293 (CPPFLAGS-tst-longjmp_chk.c): Define.
46294 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46295 (CPPFLAGS-tst-longjmp_chk2.c): Define.
46296 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46297 CFLAGS-tst-wchar-h.c.
46299 2012-05-31 Marek Polacek <polacek@redhat.com>
46302 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46303 __endmntent_internal): Remove declaration.
46304 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46305 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46306 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46308 2012-05-30 David S. Miller <davem@davemloft.net>
46310 * sysdeps/sparc/sparc32/soft-fp/q_util.c
46311 (___Q_simulate_exceptions): Use real FP ops rather than writing
46313 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46316 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46319 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46320 * sysdeps/x86/bits/xtitypes.h: This.
46322 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46323 * sysdeps/x86/bits/wordsize.h: This.
46325 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46326 * sysdeps/x86/bits/huge_vall.h: This.
46328 * sysdeps/i386/bits/select.h: Removed.
46329 * sysdeps/x86_64/bits/select.h: Renamed to ...
46330 * sysdeps/x86/bits/select.h: This.
46332 * sysdeps/i386/bits/setjmp.h: Removed.
46333 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46334 * sysdeps/x86/bits/setjmp.h: This.
46336 * sysdeps/i386/bits/mathdef.h: Removed.
46337 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46338 * sysdeps/x86/bits/mathdef.h: This.
46340 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
46343 * include/sys/socket.h (__connect_internal)
46344 (__libc_sa_len_internal): Remove declaration.
46345 (__connect, __libc_sa_len): Declare hidden_proto.
46346 (SA_LEN): Remove use of INTUSE.
46347 * socket/connect.c: Add libc_hidden_def.
46348 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46349 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46350 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46352 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46353 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46354 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46355 of adding _internal alias.
46357 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46360 * sysdeps/i386/bits/link.h: Removed.
46361 * sysdeps/i386/bits/linkmap.h: Likewise.
46362 * sysdeps/x86_64/bits/link.h: Renamed to ...
46363 * sysdeps/x86/bits/link.h: This.
46364 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46365 * sysdeps/x86/bits/linkmap.h: This.
46367 * sysdeps/i386/bits/endian.h: Removed.
46368 * sysdeps/x86_64/bits/endian.h: Renamed to ...
46369 * sysdeps/x86/bits/endian.h: This.
46371 * sysdeps/i386/bits/byteswap.h: Removed.
46372 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46373 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46374 * sysdeps/x86/bits/byteswap.h: This.
46375 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46376 * sysdeps/x86/bits/byteswap-16.h: This.
46377 * sysdeps/i386/Implies: Add x86.
46378 * sysdeps/x86_64/Implies: Likewise.
46380 2012-05-30 David S. Miller <davem@davemloft.net>
46382 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46383 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46384 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46385 (FP_TRAPPING_EXCEPTIONS): Define.
46386 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46387 (FP_TRAPPING_EXCEPTIONS): Define.
46388 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46389 subnormals only when inexact has been signalled or underflow
46390 exceptions are enabled.
46391 (_FP_PACK_CANONICAL): Likewise.
46393 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46396 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46397 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46399 2012-05-30 Richard Henderson <rth@twiddle.net>
46401 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46402 with #ifndef NOT_IN_libc.
46404 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
46405 marked to avoid plt entry.
46407 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46410 * Makeconfig (default-abi): New macro.
46411 (abi-includes): Likewise.
46412 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
46413 $(abi-$(default-abi)-lib-soname) for soname if defined.
46414 ($(common-objpfx)gnu/lib-names.stmp): Generate from
46416 * Makefile (installed-stubs): Likewise.
46417 * include/stubs-biarch.h: Removed.
46418 * scripts/lib-names.awk: Only handle one library at a time.
46419 * scripts/soversions.awk: Remove WORDSIZE support.
46420 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46422 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46424 (syscall-list-default-condition): Likewise.
46425 (syscall-list-default-condition): Likewise.
46426 (syscall-list-includes): Likewise.
46427 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46428 syscall-list-* with abi-*. Handle undefined abi-variants.
46429 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46430 * sysdeps/unix/sysv/linux/i386/Implies: New file.
46431 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46432 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46433 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46434 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46436 (syscall-list-32-options): Likewise.
46437 (syscall-list-32-condition): Likewise.
46438 (syscall-list-64-options): Likewise.
46439 (syscall-list-64-condition): Likewise.
46440 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46442 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46445 (abi-64-ld-soname): New macro.
46446 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46447 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46450 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46451 * sysdeps/x86_64/x32/shlib-versions: Likewise.
46453 2012-05-30 Joseph Myers <joseph@codesourcery.com>
46455 * sysdeps/unix/sysv/linux/kernel-features.h
46456 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46457 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46458 include <kernel-features.h>.
46459 [!__NR_ftruncate64]: Remove conditional code.
46460 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46461 [__NR_ftruncate64]: Make code unconditional.
46462 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46463 * sysdeps/unix/sysv/linux/truncate64.c: Do not
46464 include <kernel-features.h>.
46465 [!__NR_ftruncate64]: Remove conditional code.
46466 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46467 [__NR_ftruncate64]: Make code unconditional.
46468 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46470 include <kernel-features.h>.
46471 [!__NR_ftruncate64]: Remove conditional code.
46472 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46473 [__NR_ftruncate64]: Make code unconditional.
46474 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46476 include <kernel-features.h>.
46477 [!__NR_ftruncate64]: Remove conditional code.
46478 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46479 [__NR_ftruncate64]: Make code unconditional.
46480 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46482 * configure.in (libc_cv_fpie): Weaken to a compile test using
46483 LIBC_TRY_CC_OPTION.
46484 * configure: Regenerated.
46486 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46501 2012-05-27 David S. Miller <davem@davemloft.net>
46503 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46505 (__Q_simulate_exceptions): Return void. Change to simulate
46506 exceptions by writing into the %fsr.
46507 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46508 (__Qp_handle_exceptions): Likewise.
46510 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46511 __Qp_handle_exceptions.
46512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46513 __Qp_handle_exceptions.
46514 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46515 as unused and give dummy FP_RND_NEAREST initializer.
46516 (FP_INHIBIT_RESULTS): Define.
46517 (___Q_simulate_exceptions): Update declaration.
46518 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46520 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46521 as unused and give dummy FP_RND_NEAREST initializer.
46522 (__Qp_handle_exceptions): Update declaration.
46523 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46526 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
46528 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46529 the temporary FPU control word.
46530 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46531 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46532 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46533 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46534 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46535 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46536 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46537 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46538 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46539 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46540 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46542 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46544 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46547 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
46549 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46550 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46551 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46552 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46554 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46555 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46558 2012-05-27 Ulrich Drepper <drepper@gmail.com>
46560 * po/h.po: Update from translation team.
46562 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
46564 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46566 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46567 handling of denormals.
46568 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46569 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46570 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46571 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46572 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46573 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46574 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46577 2012-05-26 Marek Polacek <polacek@redhat.com>
46580 * math/libm-test.inc (fma_test): Don't always expect underflow
46583 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46586 * elf/tst-execstack.c: Include stackinfo.h.
46587 (do_test): Adjust test case to ensure that pthread_getattr_np
46588 behaviour remains the same after marking stack executable.
46590 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46592 * sysdeps/unix/sysv/linux/kernel-features.h
46593 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46594 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46596 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46597 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46598 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46600 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46601 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46603 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
46605 * configure.in: Define the default includes to being none.
46606 * configure: Regenerated.
46608 2012-05-25 Roland McGrath <roland@hack.frob.com>
46610 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46611 * sysdeps/x86_64/setjmp.S: Likewise.
46612 * sysdeps/i386/bsd-setjmp.S: Likewise.
46613 * sysdeps/i386/bsd-_setjmp.S: Likewise.
46614 * sysdeps/i386/setjmp.S: Likewise.
46615 * sysdeps/i386/__longjmp.S: Likewise.
46616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46617 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46619 * include/stap-probe.h: New file.
46620 * configure.in: Handle --enable-systemtap.
46621 * configure: Regenerated.
46622 * config.h.in (USE_STAP_PROBE): New #undef.
46623 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46624 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46625 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46627 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46630 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46631 to 2.4.0 where earlier.
46632 * sysdeps/unix/sysv/linux/configure: Regenerated.
46633 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46634 <kernel-features.h>.
46635 [__ASSUME_32BITUIDS]: Make code unconditional.
46636 [!__ASSUME_32BITUIDS]: Remove conditional code.
46637 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46638 <kernel-features.h>.
46639 [__ASSUME_32BITUIDS]: Make code unconditional.
46640 [!__ASSUME_32BITUIDS]: Remove conditional code.
46641 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46642 [__ASSUME_32BITUIDS]: Make code unconditional.
46643 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46644 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46645 <kernel-features.h>.
46646 [__ASSUME_32BITUIDS]: Make code unconditional.
46647 [!__ASSUME_32BITUIDS]: Remove conditional code.
46648 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46649 <kernel-features.h>.
46650 [__ASSUME_32BITUIDS]: Make code unconditional.
46651 [!__ASSUME_32BITUIDS]: Remove conditional code.
46652 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46653 <kernel-features.h>.
46654 [__ASSUME_32BITUIDS]: Make code unconditional.
46655 [!__ASSUME_32BITUIDS]: Remove conditional code.
46656 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46657 <kernel-features.h>.
46658 [__ASSUME_32BITUIDS]: Make code unconditional.
46659 [!__ASSUME_32BITUIDS]: Remove conditional code.
46660 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46661 <kernel-features.h>.
46662 [__ASSUME_32BITUIDS]: Make code unconditional.
46663 [!__ASSUME_32BITUIDS]: Remove conditional code.
46664 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46665 <kernel-features.h>.
46666 [__ASSUME_32BITUIDS]: Make code unconditional.
46667 [!__ASSUME_32BITUIDS]: Remove conditional code.
46668 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46669 <kernel-features.h>.
46670 [__ASSUME_32BITUIDS]: Make code unconditional.
46671 [!__ASSUME_32BITUIDS]: Remove conditional code.
46672 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46673 <kernel-features.h>.
46674 [__ASSUME_32BITUIDS]: Make code unconditional.
46675 [!__ASSUME_32BITUIDS]: Remove conditional code.
46676 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46677 <kernel-features.h>.
46678 [__ASSUME_32BITUIDS]: Make code unconditional.
46679 [!__ASSUME_32BITUIDS]: Remove conditional code.
46680 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46681 <kernel-features.h>.
46682 [__ASSUME_32BITUIDS]: Make code unconditional.
46683 [!__ASSUME_32BITUIDS]: Remove conditional code.
46684 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46685 <kernel-features.h>.
46686 [__NR_setresgid] (__setresgid): Do not declare.
46687 [__ASSUME_32BITUIDS]: Make code unconditional.
46688 [!__ASSUME_32BITUIDS]: Remove conditional code.
46689 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46690 <kernel-features.h>.
46691 [__NR_setresuid] (__setresuid): Do not declare.
46692 [__ASSUME_32BITUIDS]: Make code unconditional.
46693 [!__ASSUME_32BITUIDS]: Remove conditional code.
46694 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46695 <kernel-features.h>.
46696 [__ASSUME_32BITUIDS]: Make code unconditional.
46697 [!__ASSUME_32BITUIDS]: Remove conditional code.
46698 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46699 <kernel-features.h>.
46700 [__ASSUME_32BITUIDS]: Make code unconditional.
46701 [!__ASSUME_32BITUIDS]: Remove conditional code.
46702 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46703 <kernel-features.h>.
46704 [__ASSUME_32BITUIDS]: Make code unconditional.
46705 [!__ASSUME_32BITUIDS]: Remove conditional code.
46706 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46707 <kernel-features.h>.
46708 [__ASSUME_32BITUIDS]: Make code unconditional.
46709 [!__ASSUME_32BITUIDS]: Remove conditional code.
46710 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46711 <kernel-features.h>.
46712 [__ASSUME_32BITUIDS]: Make code unconditional.
46713 [!__ASSUME_32BITUIDS]: Remove conditional code.
46714 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46715 <kernel-features.h>.
46716 [__ASSUME_32BITUIDS]: Make code unconditional.
46717 [!__ASSUME_32BITUIDS]: Remove conditional code.
46718 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46719 <kernel-features.h>.
46720 [__ASSUME_32BITUIDS]: Make code unconditional.
46721 [!__ASSUME_32BITUIDS]: Remove conditional code.
46722 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46723 <kernel-features.h>.
46724 [__ASSUME_32BITUIDS]: Make code unconditional.
46725 [!__ASSUME_32BITUIDS]: Remove conditional code.
46726 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46727 <kernel-features.h>.
46728 [__ASSUME_32BITUIDS]: Make code unconditional.
46729 [!__ASSUME_32BITUIDS]: Remove conditional code.
46730 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46731 <kernel-features.h>.
46732 [__ASSUME_32BITUIDS]: Make code unconditional.
46733 [!__ASSUME_32BITUIDS]: Remove conditional code.
46734 * sysdeps/unix/sysv/linux/kernel-features.h
46735 (__ASSUME_SETRESUID_SYSCALL): Remove.
46736 (__ASSUME_SETRESGID_SYSCALL): Likewise.
46737 (__ASSUME_32BITUIDS): Likewise.
46738 (__ASSUME_LDT_WORKS): Likewise.
46739 (__ASSUME_O_DIRECTORY): Likewise.
46740 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46741 architecture but not kernel version.
46742 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46743 (__ASSUME_MMAP2_SYSCALL): Likewise.
46744 (__ASSUME_STAT64_SYSCALL): Likewise.
46745 (__ASSUME_IPC64): Likewise.
46746 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46747 <kernel-features.h>.
46748 [__ASSUME_32BITUIDS]: Make code unconditional.
46749 [!__ASSUME_32BITUIDS]: Remove conditional code.
46750 * sysdeps/unix/sysv/linux/opendir.c: Do not include
46751 <kernel-features.h>.
46752 [__ASSUME_O_DIRECTORY]: Make code unconditional.
46753 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46754 132096]: Remove conditional code.
46755 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46756 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46757 <kernel-features.h>.
46758 [__ASSUME_32BITUIDS]: Make code unconditional.
46759 [!__ASSUME_32BITUIDS]: Remove conditional code.
46760 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46761 <kernel-features.h>.
46762 [__ASSUME_32BITUIDS]: Make code unconditional.
46763 [!__ASSUME_32BITUIDS]: Remove conditional code.
46764 * sysdeps/unix/sysv/linux/setegid.c: Do not include
46765 <kernel-features.h>.
46766 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46768 (__setresgid): Do not declare.
46769 [__ASSUME_32BITUIDS]: Make code unconditional.
46770 [!__ASSUME_32BITUIDS]: Remove conditional code.
46771 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46772 <kernel-features.h>.
46773 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46775 (__setresuid): Do not declare.
46776 [__ASSUME_32BITUIDS]: Make code unconditional.
46777 [!__ASSUME_32BITUIDS]: Remove conditional code.
46778 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46779 <kernel-features.h>.
46780 [__ASSUME_32BITUIDS]: Make code unconditional.
46781 [!__ASSUME_32BITUIDS]: Remove conditional code.
46782 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46783 <kernel-features.h>.
46784 [__ASSUME_32BITUIDS]: Make code unconditional.
46785 [!__ASSUME_32BITUIDS]: Remove conditional code.
46787 2012-05-25 Richard Henderson <rth@twiddle.net>
46789 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46790 dl_hwcap to ifunc resolver.
46791 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46793 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46794 dl_hwcap to ifunc resolver.
46795 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46797 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46800 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46801 for |x| <= 2**-26, not 2**-57.
46802 * math/libm-test.inc (acos_test): Do not allow spurious underflow
46805 2012-05-24 Jeff Law <law@redhat.com>
46807 * stdio-common/Makefile (tests): Add bug25.
46808 * stdio-common/bug25.c: New test.
46810 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46813 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46814 multiple of MALLOC_ALIGNMENT in size.
46815 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46817 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46819 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46821 (FILENAME_MAX): Use macro-int-constant.
46822 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
46823 (_IOFBF): Use macro-int-constant.
46824 (_IOLBF): Likewise.
46825 (_IONBF): Likewise.
46826 (SEEK_CUR): Likewise.
46827 (SEEK_END): Likewise.
46828 (SEEK_SET): Likewise.
46829 (TMP_MAX): Likewise.
46830 (EOF): Use macro-int-constant. Require < 0.
46831 (NULL): Use macro-constant. Require == 0.
46832 (stdin): Require type to be FILE *.
46833 (stdout): Likewise.
46834 (stderr): Likewise.
46835 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46836 macro-int-constant.
46837 (EXIT_SUCCESS): Likewise.
46838 (NULL): Use macro-constant. Require == 0.
46839 (RAND_MAX): Use macro-int-constant.
46840 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46841 [C99-based standards] (strtof): Require function.
46842 [C99-based standards] (strtold): Likewise.
46843 [C99-based standards] (strtoll): Likewise.
46844 [C99-based standards] (strtoull): Likewise.
46845 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46846 [ISO || ISO99 || ISO11] (limits.h): Likewise.
46847 [ISO || ISO99 || ISO11] (math.h): Likewise.
46848 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46849 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46850 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46852 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
46855 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46856 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46857 * intl/dgettext.c (DCGETTEXT): Likewise.
46858 * intl/gettext.c (DCGETTEXT): Likewise.
46859 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46860 * posix/regex_internal.h (gettext): Likewise.
46861 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46862 Remove declaration.
46863 * include/argz.h (__argz_count_internal)
46864 (__argz_stringify_internal): Remove declaration.
46865 (__argz_count, __argz_stringify): Declare hidden proto.
46866 * intl/dcgettext.c: Remove use of INTDEF.
46867 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46868 * string/argz-stringify.c: Likewise.
46869 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46870 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46871 Declare hidden proto.
46872 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46873 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46874 Declare hidden proto.
46875 * include/stdio.h (__asprintf_internal): Don't declare.
46876 (__asprintf): Don't define as macro. Declare hidden proto.
46877 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46878 (__fsetlocking): Declare hidden proto.
46879 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46880 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46882 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46883 (_IO_setlinebuf): Remove use of INTUSE.
46884 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46885 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46886 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46887 Remove declaration.
46888 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46889 (_IO_do_flush): Remove use of INTUSE.
46890 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46891 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46892 (_IO_adjust_column, _IO_least_wmarker)
46893 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46894 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46895 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46896 (_IO_default_doallocate, _IO_wdefault_doallocate)
46897 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46898 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46899 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46900 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46901 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46902 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46903 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46904 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46905 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46906 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46907 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46908 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46909 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46911 (_IO_flush_all_internal, _IO_adjust_column_internal)
46912 (_IO_default_uflow_internal, _IO_default_finish_internal)
46913 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46914 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46915 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46916 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46917 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46918 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46919 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46920 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46921 (_IO_file_close_internal, _IO_file_close_it_internal)
46922 (_IO_file_underflow_internal, _IO_file_overflow_internal)
46923 (_IO_file_init_internal, _IO_file_attach_internal)
46924 (_IO_file_fopen_internal, _IO_file_read_internal)
46925 (_IO_file_sync_internal, _IO_file_seek_internal)
46926 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46927 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46928 (_IO_str_underflow_internal, _IO_str_overflow_internal)
46929 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46930 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46931 (_IO_list_all_internal, _IO_link_in_internal)
46932 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46933 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46934 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46935 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46936 (_IO_do_write_internal, _IO_padn_internal)
46937 (_IO_getline_info_internal, _IO_getline_internal)
46938 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46939 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46940 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46941 (_IO_vfscanf_internal, _IO_vfprintf_internal)
46942 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46943 (_IO_init_internal, _IO_un_link_internal): Don't declare.
46944 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46945 with libc_hidden_ver, remove use of INTUSE.
46946 * libio/genops.c: Likewise.
46947 * libio/freopen.c: Likewise.
46948 * libio/freopen64.c: Likewise.
46949 * libio/iofclose.c: Likewise.
46950 * libio/iofdopen.c: Likewise.
46951 * libio/iofflush.c: Likewise.
46952 * libio/iofflush_u.c: Likewise.
46953 * libio/iofgets.c: Likewise.
46954 * libio/iofgets_u.c: Likewise.
46955 * libio/iofopen.c: Likewise.
46956 * libio/iofopncook.c: Likewise.
46957 * libio/iofread.c: Likewise.
46958 * libio/iofread_u.c: Likewise.
46959 * libio/ioftell.c: Likewise.
46960 * libio/iofwrite.c: Likewise.
46961 * libio/iogetline.c: Likewise.
46962 * libio/iogets.c: Likewise.
46963 * libio/iogetwline.c: Likewise.
46964 * libio/iopadn.c: Likewise.
46965 * libio/iopopen.c: Likewise.
46966 * libio/ioseekoff.c: Likewise.
46967 * libio/ioseekpos.c: Likewise.
46968 * libio/iosetbuffer.c: Likewise.
46969 * libio/iosetvbuf.c: Likewise.
46970 * libio/ioungetc.c: Likewise.
46971 * libio/ioungetwc.c: Likewise.
46972 * libio/iovdprintf.c: Likewise.
46973 * libio/iovsprintf.c: Likewise.
46974 * libio/iovsscanf.c: Likewise.
46975 * libio/memstream.c: Likewise.
46976 * libio/obprintf.c: Likewise.
46977 * libio/oldfileops.c: Likewise.
46978 * libio/oldiofclose.c: Likewise.
46979 * libio/oldiofdopen.c: Likewise.
46980 * libio/oldiofopen.c: Likewise.
46981 * libio/oldiopopen.c: Likewise.
46982 * libio/oldstdfiles.c: Likewise.
46983 * libio/putc.c: Likewise.
46984 * libio/setbuf.c: Likewise.
46985 * libio/setlinebuf.c: Likewise.
46986 * libio/stdfiles.c: Likewise.
46987 * libio/strops.c: Likewise.
46988 * libio/vasprintf.c: Likewise.
46989 * libio/vscanf.c: Likewise.
46990 * libio/vsnprintf.c: Likewise.
46991 * libio/vswprintf.c: Likewise.
46992 * libio/wfiledoalloc.c: Likewise.
46993 * libio/wfileops.c: Likewise.
46994 * libio/wgenops.c: Likewise.
46995 * libio/wmemstream.c: Likewise.
46996 * libio/wstrops.c: Likewise.
46997 * libio/__fpurge.c: Likewise.
46998 * libio/__fsetlocking.c: Likewise.
46999 * assert/assert.c: Likewise.
47000 * debug/fgets_chk.c: Likewise.
47001 * debug/fgets_u_chk.c: Likewise.
47002 * debug/fread_chk.c: Likewise.
47003 * debug/fread_u_chk.c: Likewise.
47004 * debug/gets_chk.c: Likewise.
47005 * debug/obprintf_chk.c: Likewise.
47006 * debug/vasprintf_chk.c: Likewise.
47007 * debug/vdprintf_chk.c: Likewise.
47008 * debug/vsnprintf_chk.c: Likewise.
47009 * debug/vsprintf_chk.c: Likewise.
47010 * malloc/mtrace.c: Likewise.
47011 * misc/error.c: Likewise.
47012 * misc/syslog.c: Likewise.
47013 * stdio-common/asprintf.c: Likewise.
47014 * stdio-common/fxprintf.c: Likewise.
47015 * stdio-common/getw.c: Likewise.
47016 * stdio-common/isoc99_fscanf.c: Likewise.
47017 * stdio-common/isoc99_scanf.c: Likewise.
47018 * stdio-common/isoc99_vfscanf.c: Likewise.
47019 * stdio-common/isoc99_vscanf.c: Likewise.
47020 * stdio-common/isoc99_vsscanf.c: Likewise.
47021 * stdio-common/printf-prs.c: Likewise.
47022 * stdio-common/printf_fp.c: Likewise.
47023 * stdio-common/printf_fphex.c: Likewise.
47024 * stdio-common/printf_size.c: Likewise.
47025 * stdio-common/putw.c: Likewise.
47026 * stdio-common/scanf.c: Likewise.
47027 * stdio-common/sprintf.c: Likewise.
47028 * stdio-common/tmpfile.c: Likewise.
47029 * stdio-common/vfprintf.c: Likewise.
47030 * stdio-common/vfscanf.c: Likewise.
47031 * stdlib/strfmon_l.c: Likewise.
47032 * sunrpc/openchild.c: Likewise.
47033 * sunrpc/xdr_stdio.c: Likewise.
47034 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47035 * sysdeps/mach/hurd/tmpfile.c: Likewise.
47037 2012-05-24 Roland McGrath <roland@hack.frob.com>
47039 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47041 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47042 in the third column, to generate for the shared library an IFUNC
47043 that uses _dl_vdso_vsym.
47044 * Makerules (COMPILE.c, compile-stdin.c): New variables.
47045 * Makeconfig (object-suffixes-noshared): New variable.
47047 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47048 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47049 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47050 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47053 * include/sys/time.h (__gettimeofday): Remove macro.
47054 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47055 * time/gettimeofday.c (__gettimeofday): Remove #undef.
47057 (__gettimeofday): Add libc_hidden_def.
47058 (gettimeofday): Add libc_hidden_weak.
47059 * sysdeps/mach/gettimeofday.c: Likewise.
47060 * sysdeps/posix/gettimeofday.c: Likewise.
47061 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47062 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47063 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47064 (__gettimeofday_internal): Remove strong_alias.
47065 (__gettimeofday): Add libc_hidden_def.
47066 (gettimeofday): Add libc_hidden_weak.
47067 * sysdeps/unix/syscalls.list (gettimeofday):
47068 Remove __gettimeofday_internal alias.
47070 2012-05-24 Daniel Jacobowitz <drow@false.org>
47071 H.J. Lu <hongjiu.lu@intel.com>
47074 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47075 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47076 (largebin_index_32_big): New.
47077 (largebin_index): Use it for 16-byte alignment.
47078 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
47079 correction with front_misalign.
47081 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
47083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47109 * scripts/data/c++-types-x32-linux-gnu.data: New file.
47110 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47112 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47116 * math/libm-test.inc (exp_test): Add test from bug 14036.
47117 (pow_test): Add test from bug 10846.
47119 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47121 (special_function): Do not include flags in test name.
47122 (parse_args): Likewise.
47123 * sysdeps/i386/fpu/libm-test-ulps: Update.
47124 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47125 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47126 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47129 * math/gen-libm-test.pl (%beautify): Add entries for underflow
47131 * math/libm-test.inc ("Philosophy"): Update comment about
47133 (UNDERFLOW_EXCEPTION): New macro.
47134 (UNDERFLOW_EXCEPTION_OK): Likewise.
47135 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47136 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47137 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47138 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47139 (INVALID_EXCEPTION_OK): Update value.
47140 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47141 (OVERFLOW_EXCEPTION_OK): Likewise.
47142 (IGNORE_ZERO_INF_SIGN): Likewise.
47143 (test_exceptions): Handle underflow exceptions.
47144 (acos_test): Update for underflow exception expectations.
47145 (cexp_test): Likewise.
47146 (clog_test): Likewise.
47147 (clog10_test): Likewise.
47148 (csqrt_test): Likewise.
47149 (ctan_test): Likewise.
47150 (ctanh_test): Likewise.
47151 (exp_test): Likewise.
47152 (exp10_test): Likewise.
47153 (exp2_test): Likewise.
47154 (expm1_test): Likewise.
47155 (fma_test): Likewise.
47156 (j0_test): Likewise.
47157 (jn_test): Likewise.
47158 (nexttoward_test): Likewise.
47159 (pow_test): Likewise.
47160 (scalbn_test): Likewise.
47161 (scalbln_test): Likewise.
47162 (tan_test): Likewise.
47163 (y1_test): Likewise.
47164 * sysdeps/i386/fpu/libm-test-ulps: Update.
47165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47167 2012-05-23 David S. Miller <davem@davemloft.net>
47169 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47170 (__libc_sigaction): Remove unused local variables.
47172 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47174 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47176 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
47178 mktime: avoid signed integer overflow
47179 * time/mktime.c (__mktime_internal): Do not mishandle the case
47180 where diff == INT_MIN.
47182 mktime: simplify computation of average
47183 * time/mktime.c (ranged_convert): Use new time_t_avg function
47184 instead of rolling our own (probably-slower) code.
47186 mktime: do not assume signed right shift propagates sign bit
47187 * time/mktime.c (isdst_differ): New static function.
47188 (__mktime_internal): No need to normalize tm_isdst now.
47189 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47192 mktime: merge another wrapv change from gnulib
47193 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47194 from some compilers.
47196 mktime: remove incorrect attempt at unusual arithmetics
47197 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47198 The code didn't really work on such machines anyway.
47199 (TYPE_MINIMUM): Assume two's complement.
47200 (twos_complement_arithmetic): Verify that long_int and time_t
47201 are two's complement (or unsigned, in the latter case).
47203 mktime: check signed shifts on long_int and time_t, too
47204 * time/mktime.c (SHR): Check that shifts work as desired
47205 on the types long_int and time_t too, as SHR is used on
47208 mktime: do not assume 'long' is wide enough
47209 * time/mktime.c (verify): Move decl up.
47210 (long_int): New type.
47211 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47212 to remove assumption in the code that 'long' is wide enough to
47213 store year values. This assumption is not true on x32 and on
47214 some non-glibc platforms.
47216 mktime: merge wrapv change from gnulib
47217 * time/mktime.c (WRAPV): New macro.
47218 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47219 (guess_time_tm, __mktime_internal): Do not assume that signed
47220 integer overflow wraps around; modern compilers generate code
47221 where this assumption is no longer valid.
47223 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47225 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47226 Replace "jmp L(pseudo_end)" with "ret".
47227 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47230 2012-05-23 Andreas Jaeger <aj@suse.de>
47232 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47233 * sysdeps/unix/sysv/linux/poll.c: Remove file.
47235 2012-05-23 Andreas Jaeger <aj@suse.de>
47236 Maximilian Attems <max@stro.at>
47238 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47241 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47243 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47244 code so that pseudo_end is just ret and the stack pointer is
47245 correct also for static library in error case.
47247 2012-05-23 Joseph Myers <joseph@codesourcery.com>
47249 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47250 move to syscalls.list.
47251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47256 * manual/install.texi (Running make install): Do not mention Linux
47257 kernel version for which pt_chown is not needed.
47258 (Linux): Do not mention problems with nscd with 2.0 kernels.
47259 * INSTALL: Regenerated.
47261 2012-05-23 Andreas Jaeger <aj@suse.de>
47263 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47264 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47266 * sysdeps/unix/sysv/linux/s390/bits/mman.h
47267 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47268 * sysdeps/unix/sysv/linux/sh/bits/mman.h
47269 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47270 * sysdeps/unix/sysv/linux/i386/bits/mman.h
47271 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47272 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47273 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47274 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47275 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47276 * sysdeps/unix/sysv/linux/bits/in.h
47277 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47279 2012-05-22 Roland McGrath <roland@hack.frob.com>
47281 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47282 (PREPARE_VERSION): Just use assert instead, it will be elided
47283 under [NDEBUG] anyway.
47285 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47287 * sysdeps/unix/sysv/linux/Makefile: Include
47288 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47289 (sysdep_routines): Remove sysctl.
47290 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47291 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47292 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47293 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47294 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47296 2012-05-22 Andreas Jaeger <aj@suse.de>
47298 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47299 that pseudo_end is just ret and the stack pointer is correct also
47300 for static library in error case.
47302 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
47305 * nss/nsswitch.c (defconfig_entries): New variable.
47306 (__nss_database_lookup): Don't leak defconfig entries.
47307 (nss_parse_service_list): Don't leak on error paths.
47308 (free_database_entries): New function.
47309 (free_defconfig): New function.
47310 (free_mem): Move common code to free_database_entries.
47312 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47314 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47316 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47318 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47319 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47320 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47322 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47323 (INTERNAL_SYSCALL_TYPES): Likewise.
47324 (LOAD_ARGS_TYPES_[1-6]): Likewise.
47325 (LOAD_REGS_TYPES_[1-6]): Likewise.
47326 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47327 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47329 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47331 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47332 copysignl for GLIBC_2_0.
47333 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47334 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47335 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47336 logbl for GLIBC_2_0.
47337 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47338 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47340 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47342 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47343 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47345 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47348 * time/mktime.c: Update copyright years.
47350 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
47352 mktime: merge comment-quoting-style change from gnulib
47353 * time/mktime.c: Quote 'like this' in comments.
47354 The GNU coding standards suggest that we no longer quote `like this',
47355 as "`" and "'" are typically rendered asymmetrically nowadays.
47356 The typical gnulib style is to quote 'like this' when quoting
47357 code, and "like this" when quoting English.
47359 * time/mktime.c (compile-command): Add "-I.".
47361 mktime: merge mktime-internal.h change from gnulib
47362 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47364 mktime: merge time_r change from gnulib
47365 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47367 mktime: merge DEBUG change from gnulib
47368 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47369 case system <time.h> has a #define.
47371 mktime: merge <sys/types.h> change from gnulib
47372 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47373 since <time.t> is now guaranteed to define time_t.
47375 mktime: merge HAVE_CONFIG_H change from gnulib
47376 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47378 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47380 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47383 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47385 (struct rusage): Use anonymous union to pad each field to
47388 2012-05-21 David S. Miller <davem@davemloft.net>
47390 * Makefules (o-iterator): Remove .s cases.
47391 (compile-command.s): Delete.
47392 (COMPILE.s): Delete.
47393 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47395 2012-05-21 Joseph Myers <joseph@codesourcery.com>
47397 * configure.in (libc_cv_predef_stack_protector): Only consider
47398 "foobar" and "__stack_chk_fail" lines in libc_undefs.
47399 * configure: Regenerated.
47401 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47404 New macro. Use R*LP on int and pointer.
47405 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47406 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47407 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47408 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47410 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47411 [__WORDSIZE_TIME64_COMPAT32] instead of
47412 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47413 (struct utmp): Likewise.
47414 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47415 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47417 (__WORDSIZE_TIME64_COMPAT32): This.
47418 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47419 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47420 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47421 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47422 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47423 (__WORDSIZE_TIME64_COMPAT32): New macro.
47425 2012-05-21 Andreas Jaeger <aj@suse.de>
47427 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47428 only if [SHARED]. Add prototype for __wcschr_ia32.
47430 2012-05-21 Roland McGrath <roland@hack.frob.com>
47432 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47433 of %rbp unmolested in the jmp_buf while mangling the low bits.
47434 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47435 unmolested high bits of %rbp while demangling the low bits.
47436 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47438 2012-05-21 Andreas Jaeger <aj@suse.de>
47440 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47441 * sunrpc/svc_simple.c: Use it for registerrpc.
47442 * sunrpc/xcrypt.c: Use it for passwd2des.
47444 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47446 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47448 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47449 Don't define if [__SYSCALL_WORDSIZE != 32].
47450 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47453 2012-05-21 Bruno Haible <bruno@clisp.org>
47454 Andreas Jaeger <aj@suse.de>
47456 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47457 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47458 inptr and inend for must_buffer_ch.
47459 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47460 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47461 * stdio-common/Makefile (tests): Remove bug15.
47462 (bug15-ENV): Remove macro.
47463 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47466 2012-05-19 Andreas Jaeger <aj@suse.de>
47467 Roland McGrath <roland@hack.frob.com>
47469 * manual/contrib.texi: Completely rewritten. It contains now an
47470 alphabetical list of contributors and their contributions.
47472 2012-05-21 Richard Henderson <rth@twiddle.net>
47474 * misc/getauxval.c (__getauxval): Use unsigned long int.
47475 * misc/sys/auxv.h: Include <sys/cdefs.h>.
47476 (getauxval): Use unsigned long int.
47478 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47480 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47482 2012-05-21 Roland McGrath <roland@hack.frob.com>
47484 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47485 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47486 __alignof__ (long double).
47488 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47492 2012-05-20 Richard Henderson <rth@twiddle.net>
47494 * misc/getauxval.c: New file.
47495 * misc/sys/auxv.h: New file.
47496 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47497 (routines): Add getauxval.
47498 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47499 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47500 * elf/dl-sysdep.c (_dl_auxv): Remove.
47501 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47502 * elf/dl-support.c (_dl_auxv): New variable.
47503 (_dl_aux_init): Initialize it.
47504 * manual/startup.texi (Auxiliary Vector): New node.
47505 * sysdeps/generic/bits/hwcap.h: New file.
47506 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47507 * sysdeps/powerpc/sysdep.h: ... here. Include it.
47508 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47509 * sysdeps/sparc/sysdep.h: ... here. Include it.
47510 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47511 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47517 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47523 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47527 2012-05-19 David S. Miller <davem@davemloft.net>
47529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47531 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47534 * math/s_ccosh.c: Include <float.h>
47535 (__ccosh): Avoid internal overflow calculating sinh and cosh
47536 values before multiplying by sin and cos values.
47537 * math/s_ccoshf.c: Likewise.
47538 * math/s_ccoshl.c: Likewise.
47539 * math/s_csin.c: Likewise.
47540 * math/s_csinf.c: Likewise.
47541 * math/s_csinl.c: Likewise.
47542 * math/s_csinh.c: Likewise.
47543 * math/s_csinhf.c: Likewise.
47544 * math/s_csinhl.c: Likewise.
47545 * math/libm-test.inc (ccos_test): Add more tests.
47546 (ccosh_test): Likewise.
47547 (csin_test): Likewise.
47548 (csinh_test): Likewise.
47549 * sysdeps/i386/fpu/libm-test-ulps: Update.
47550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47552 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
47554 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47555 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47557 * sysdeps/x86_64/x32/_itoa.h: Add comment.
47559 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47561 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47562 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47563 * sysdeps/powerpc/soft-fp/Versions: Likewise.
47564 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47565 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47566 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47567 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47568 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47569 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47570 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47571 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47572 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47573 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47574 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47575 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47576 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47577 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47578 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47579 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47580 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47581 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47582 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47583 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47584 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47585 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47586 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47587 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47588 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47589 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47590 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47591 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47593 2012-05-18 Andreas Jaeger <aj@suse.de>
47595 * csu/.gitignore: Delete.
47597 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47599 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47600 (timex): Use __syscall_slong_t.
47602 2012-05-18 Andreas Jaeger <aj@suse.de>
47603 Carlos O'Donell <carlos_odonell@mentor.com>
47605 * manual/install.texi (Configuring and compiling): Update
47606 description about files modified in the source directory.
47607 * INSTALL: Regenerated.
47609 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47611 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47612 value. Use "or" to set return value to -1.
47613 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47614 negate return value.
47616 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47618 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47619 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47620 failure if the compiler has Graphite support disabled.
47621 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47623 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47624 (CFLAGS-memmove.c): Likewise.
47625 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47628 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47630 * sysdeps/x86_64/x32/_itoa.h: New file.
47632 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47633 getdents system call only if kernel and user dirents have the
47634 same d_ino and d_off.
47636 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47637 LLONG_MAX != LONG_MAX.
47638 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47639 (_fitoa_word): Likewise.
47641 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47643 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47644 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47645 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47647 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47648 include <bits/wordsize.h>. Check __x86_64__ instead of
47650 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47651 if __x86_64__ is defined. Use anonymous union on fpstate.
47653 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47656 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
47658 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47659 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47660 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47661 Refer to _rtld_local_ro instead of _rtld_global_ro.
47662 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47664 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47666 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47668 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47669 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47670 of _rtld_global, and rtld_progname instead of _dl_argv[0].
47672 * sysdeps/powerpc/powerpc32/dl-machine.c
47673 (__elf_machine_runtime_setup) [PROF]: Don't reference
47676 2012-05-18 Andreas Jaeger <aj@suse.de>
47678 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47679 function only available for GCCs before 3.4 since GCC 3.4
47680 introduced a builtin.
47682 (llrintf): Likewise.
47683 (llrint): Likewise.
47690 (nearbyint): Likewise.
47691 (nearbyintf): Likewise.
47695 (floorf): Likewise.
47697 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47699 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47700 on both fields and cast pointer to __syscall_ulong_t.
47702 * bits/types.h (__fsword_t): New type.
47703 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47704 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47705 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47706 (__FSWORD_T_TYPE): Likewise.
47707 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47708 (__FSWORD_T_TYPE): Likewise.
47709 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47710 (__FSWORD_T_TYPE): Likewise.
47711 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47712 (__FSWORD_T_TYPE): Likewise.
47713 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47714 __SWORD_TYPE with __fsword_t.
47715 (statfs64): Likewise.
47717 2012-05-17 David S. Miller <davem@davemloft.net>
47719 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47721 2012-05-17 Andreas Jaeger <aj@suse.de>
47723 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47726 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47728 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47730 2012-05-17 Andreas Jaeger <aj@suse.de>
47732 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47735 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47737 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47739 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47741 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47742 * sysdeps/x86_64/tst-mallocalign1.c: New file.
47744 2012-05-17 Andreas Jaeger <aj@suse.de>
47745 Carlos O'Donell <carlos_odonell@mentor.com>
47748 * sysdeps/x86_64/multiarch/init-arch.h
47749 (bit_YMM_Usable): Rename to...
47750 (bit_AVX_Usable): ... this.
47751 (bit_FMA4_Usable): New macro.
47752 (bit_XMM_state): New macro.
47753 (bit_YMM_state): New macro.
47754 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47755 [__ASSEMBLER__] (index_AVX_Usable): ... this.
47756 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47757 (CPUID_OSXSAVE): New macro.
47758 (CPUID_AVX): New macro.
47759 (CPUID_FMA4): New macro.
47760 (index_YMM_Usable): Rename to...
47761 (index_AVX_Usable): ... this.
47762 (HAS_AVX): Use HAS_ARCH_FEATURE.
47763 (HAS_FMA4): Likewise.
47764 (HAS_YMM_USABLE): Remove.
47765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47766 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47768 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47769 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47770 * sysdeps/x86_64/multiarch/Makefile: Likewise.
47771 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47772 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47774 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47776 * math/libm-test.c: Support platforms without multiple rounding modes.
47777 * math/bug-nextafter.c: Support platforms without FP exceptions.
47778 * math/bug-nexttoward.c: Likewise.
47779 * math/test-fenv.c: Likewise.
47780 * math/test-misc.c: Likewise.
47781 * stdlib/bug-getcontext.c: Likewise.
47783 2012-05-17 Andreas Jaeger <aj@suse.de>
47785 * manual/examples/search.c (critter_cmp): Change signature to
47787 * manual/string.texi (Collation Functions): Likewise.
47789 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47791 * bits/types.h: Fold copyright years.
47792 * bits/typesizes.h: Likewise.
47793 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47794 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47795 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47796 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47797 * time/time.h: Likewise.
47799 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
47802 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47803 in instead of returning them. Return void.
47804 (__libc_mallinfo): Accumulate over all arenas.
47805 (__malloc_stats): Adjust for change in int_mallinfo interface.
47807 2012-05-16 Roland McGrath <roland@hack.frob.com>
47810 * configure.in (NM): Add AC_CHECK_TOOL for it.
47811 (libc_extra_cflags): New substituted variable.
47812 Check for -fstack-protector being used implicitly.
47813 * configure: Regenerated.
47814 * config.make.in (config-extra-cflags): New variable,
47815 gets @libc_extra_cflags@.
47816 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47819 * configure.in: Check for _FORTIFY_SOURCE being predefined.
47820 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47821 * configure: Regenerated.
47822 * config.make.in (CPPUNDEFS): New substituted variable.
47823 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47824 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47825 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47827 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47829 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47830 (mq_attr): Use __syscall_slong_t.
47832 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47834 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47835 Check __x86_64__ instead of __WORDSIZE.
47836 (_STAT_VER_LINUX): Likewise.
47837 (stat): Check __x86_64__ instead of __WORDSIZE. Use
47838 __syscall_ulong_t and __syscall_slong_t.
47839 (stat64): Likewise.
47841 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47843 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47845 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47847 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47849 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47851 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47854 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47855 include <bits/wordsize.h>. Check __x86_64__ instead of
47857 (greg_t): Use "__extension__ long long int" if __x86_64__ is
47859 (mcontext_t): Replace "unsigned long" with "unsigned long long".
47861 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47862 include <bits/wordsize.h>. Check __x86_64__ instead of
47864 (user_regs_struct): Use "__extension__ unsigned long long"
47865 instead of "unsigned long" if __x86_64__ is defined.
47866 (user): Likewise. Pad after pointer field if __ILP32__ is
47869 2012-05-16 Joseph Myers <joseph@codesourcery.com>
47871 * configure.in (makeinfo): Require version 4.5 or later. Allow
47873 * configure: Regenerated.
47874 * manual/install.texi (texinfo): Increase version requirement to
47876 * INSTALL: Regenerated.
47878 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47880 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47882 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47884 * sysdeps/x86_64/x32/ffs.c: New file.
47886 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47888 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47889 defined. Use __syscall_ulong_t.
47890 (shminfo): Use __syscall_ulong_t.
47891 (shm_info): Likewise.
47893 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47896 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47898 (msgqnum_t): Use __syscall_ulong_t.
47899 (msglen_t): Likewise.
47900 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
47903 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47904 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47906 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47908 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47909 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47911 * sysvipc/sys/msg.h (msgbuf): Replace long int with
47914 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47915 include <bits/wordsize.h>. Check __x86_64__ instead of
47918 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47919 "unsigned long long int" if __x86_64__ is defined.
47920 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47922 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47923 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47924 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47926 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47928 (GET_PC): Cast to uintptr_t first.
47929 (GET_FRAME): Likewise.
47930 (GET_STACK): Likewise.
47932 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47933 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47934 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47935 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47936 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47937 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47938 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47939 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47940 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47941 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47942 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47943 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47944 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47945 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47946 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47947 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47948 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47949 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47950 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47951 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47952 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47953 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47954 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47955 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47956 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47957 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47958 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47959 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47960 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47962 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
47964 * Makerules (+depfiles): Also collect depfiles from .oS in
47966 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47967 .oS, $(libnldbl-routines)).
47969 * Makerules (native-compile-mkdep-flags): Define.
47970 * sunrpc/Makefile (extra-objs): Add $(addprefix
47971 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47972 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47973 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
47974 calling $(make-target-directory).
47976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47978 * bits/types.h (__snseconds_t): Removed.
47979 * time/time.h (struct timespec): Replace __snseconds_t with
47981 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47982 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47984 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47985 (__SNSECONDS_T_TYPE): Likewise.
47986 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47987 (__SNSECONDS_T_TYPE): Likewise.
47988 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47989 (__SNSECONDS_T_TYPE): Likewise.
47991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47993 * sysdeps/mach/hurd/bits/typesizes.h
47994 (__SYSCALL_SLONG_TYPE): New macro.
47995 (__SYSCALL_ULONG_TYPE): Likewise.
47997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47999 * bits/types.h (__syscall_slong_t): New type.
48000 (__syscall_ulong_t): Likewise.
48002 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48003 (__SYSCALL_ULONG_TYPE): Likewise.
48004 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48005 (__SYSCALL_SLONG_TYPE): Likewise.
48006 (__SYSCALL_ULONG_TYPE): Likewise.
48007 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48008 (__SYSCALL_SLONG_TYPE): Likewise.
48009 (__SYSCALL_ULONG_TYPE): Likewise.
48010 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48011 (__SYSCALL_SLONG_TYPE): Likewise.
48012 (__SYSCALL_ULONG_TYPE): Likewise.
48014 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48016 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48017 Add sigaltstack-offsets.sym.
48018 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48019 <sigaltstack-offsets.h>.
48020 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
48021 longjmp_msg pointer.
48022 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
48023 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48025 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48027 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48029 * elf/stackguard-macros.h: Remove file.
48030 * sysdeps/generic/stackguard-macros.h: New file.
48031 * sysdeps/i386/stackguard-macros.h: Likewise.
48032 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48033 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48034 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48035 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48036 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48037 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48038 * sysdeps/x86_64/stackguard-macros.h: Likewise.
48039 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48040 <elf/stackguard-macros.h>.
48043 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48044 __aligned__ in attribute.
48045 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48046 (gregset_t): Likewise.
48048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48050 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48051 * sysdeps/x86_64/64/Implies-after: Here. New file.
48052 * sysdeps/x86_64/x32/Implies-after: New file.
48054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48056 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48057 and access return value for _dl_profile_fixup. Use R10_LP to
48060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48062 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48064 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48066 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48067 * sysdeps/x86_64/x32/sysdep.h: New file.
48069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48071 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48072 * sysdeps/x86_64/setjmp.S: Likewise.
48074 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48076 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48077 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48078 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48079 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48080 remove unused global constant.
48082 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
48084 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48085 include of <not-cancel.h>.
48087 2012-05-15 Roland McGrath <roland@hack.frob.com>
48089 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48091 2012-05-15 Jeff Law <law@redhat.com>
48092 Andreas Jaeger <aj@suse.de>
48095 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48097 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48098 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48099 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48100 code changing __hst_map_handle.map.
48102 2012-05-15 Roland McGrath <roland@hack.frob.com>
48104 * configure.in (sysnames): Look for Implies-before and Implies-after
48106 * configure: Regenerated.
48108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48110 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48111 8-byte data alignment with LP_SIZE alignment.
48113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48115 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48120 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48124 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48125 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48126 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48128 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48130 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48132 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48133 (stackinfo_sub_sp): Likewise.
48135 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48137 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48142 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48145 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48147 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48152 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48156 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48157 into R11_LP and load __x86_64_shared_cache_size_half into
48160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48162 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48165 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48167 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48169 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48173 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48174 powerpc32/power7/fpu/s_logb.c via #include.
48175 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48176 powerpc32/power7/fpu/s_logbf.c via #include.
48177 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48178 powerpc32/power7/fpu/s_logbl.c via #include.
48180 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48182 * README.libm: Remove file.
48184 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48186 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48187 count for x32. Use R*_LP and omit operand-size suffix.
48189 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48191 * shlib-versions: Move x86_64-.*-linux.* entries to ...
48192 * sysdeps/x86_64/64/shlib-versions: Here. New file.
48193 * sysdeps/x86_64/x32/shlib-versions: New file.
48195 2012-05-14 Roland McGrath <roland@hack.frob.com>
48197 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48198 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48199 Use _dl_fatal_printf instead.
48201 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48203 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48204 set if not set by the user. Do not allow for being unset.
48205 * sysdeps/unix/sysv/linux/configure: Regenerated.
48207 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48209 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48210 the `q' suffix from lea and replace .quad with ASM_ADDR.
48212 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48215 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
48217 (PTR_DEMANGLE): Likewise.
48219 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48221 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48223 (ASM_ADDR): Likewise.
48224 (RAX_LP): Likewise.
48225 (RBP_LP): Likewise.
48226 (RBX_LP): Likewise.
48227 (RCX_LP): Likewise.
48228 (RDI_LP): Likewise.
48229 (RSI_LP): Likewise.
48230 (RSP_LP): Likewise.
48233 (R10_LP): Likewise.
48234 (R10_LP): Likewise.
48235 (R11_LP): Likewise.
48236 (R12_LP): Likewise.
48237 (R13_LP): Likewise.
48238 (R14_LP): Likewise.
48239 (R15_LP): Likewise.
48241 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48243 * sysdeps/x86_64/x32/dl-machine.h: New file.
48245 2012-05-14 Andreas Jaeger <aj@suse.de>
48247 * manual/Makefile (subdir): Remove export of subdir.
48248 (all): Remove target.
48249 (.PHONY): Remove all from list.
48250 (mkinstalldirs): Remove.
48251 (.PHONY): Remove installdirs from list.
48252 ($(inst_infodir)/libc.info): Use make-target-directory.
48253 (installdirs): Remove.
48254 (subdir_%): Remove.
48255 (glibc-targets): Remove.
48258 ($(objpfx)stubs ../po/manual.pot): Remove.
48259 ($(objpfx)stamp%): Remove.
48260 (make-target-directory): Remove.
48261 (subdir_install): Remove.
48262 (routines): Remove.
48269 * manual/.gitignore: Remove, it's not needed anymore.
48270 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48272 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48274 (texis): Renamed to $(objpfx)texis.
48275 (texis-path): New, contains path to generated files.
48276 (chapters.%): Use texis-path for complete path, add extra argument
48278 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48279 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48280 (summary,texi, stamp-summary): Use complete path of
48281 files. Generate files in build dir.
48282 (dir-add.texi): Build in build dir.
48283 (libm-err.texi,stamp-libm-err): Likewise.
48284 (version.texi, stamp-version): Likewise.
48285 (.%c.texi): Likewise.
48286 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48287 (mostlyclean): Remove target.
48288 (realclean): Remove target.
48289 (generated): Add new variable with contents from mostlyclean and
48290 realclean, remove entries duplicated in common-mostlyclean, add
48291 stamp-libm-err and stamp-version.
48292 (generated-dirs): Add libc directory.
48293 ($(inst_infodir)/libc.info): Install files from build dir.
48295 * manual/install.texi (Configuring and compiling): Adjust since
48296 the info files are not part of the tar ball anymore.
48298 2012-05-14 Andreas Jaeger <aj@suse.de>
48300 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48303 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48306 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48307 to 2.2.0 where earlier.
48308 * sysdeps/unix/sysv/linux/configure: Regenerated.
48309 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48310 Remove conditional code.
48311 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48312 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48313 Remove conditional code.
48314 [!__NR_lchown]: Likewise.
48315 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48316 [__NR_lchown]: Likewise.
48317 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48318 comment referencing __ASSUME_LCHOWN_SYSCALL.
48319 * sysdeps/unix/sysv/linux/i386/sigaction.c
48320 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48321 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48322 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48323 Remove conditional code.
48324 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48325 (__protocol_available): Remove #if 0 code.
48326 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48328 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48329 * sysdeps/unix/sysv/linux/kernel-features.h
48330 (__ASSUME_GETCWD_SYSCALL): Don't define.
48331 (__ASSUME_REALTIME_SIGNALS): Likewise.
48332 (__ASSUME_PREAD_SYSCALL): Likewise.
48333 (__ASSUME_PWRITE_SYSCALL): Likewise.
48334 (__ASSUME_POLL_SYSCALL): Likewise.
48335 (__ASSUME_LCHOWN_SYSCALL): Likewise.
48336 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48338 (__ASSUME_SIOCGIFNAME): Don't define.
48339 (__ASSUME_MSG_NOSIGNAL): Likewise.
48340 (__ASSUME_SENDFILE): Define unconditionally.
48341 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48342 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48344 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48345 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48346 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48347 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48348 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48349 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48350 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48352 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48353 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48355 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48356 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48358 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48359 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48361 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48362 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48364 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48365 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48367 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48368 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48370 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48371 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48373 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48374 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48375 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48376 Remove conditional code.
48377 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48378 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48379 Remove conditional code.
48380 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48381 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48382 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48383 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48384 Remove conditional code.
48385 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48386 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48387 Remove conditional code.
48388 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48389 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48390 Remove conditional code.
48391 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48392 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48393 Remove conditional code.
48394 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48395 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48396 Remove conditional code.
48397 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48398 * sysdeps/unix/sysv/linux/sh/pwrite64.c
48399 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48400 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48401 * sysdeps/unix/sysv/linux/sigaction.c
48402 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48403 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48404 * sysdeps/unix/sysv/linux/sigpending.c
48405 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48406 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48407 * sysdeps/unix/sysv/linux/sigprocmask.c
48408 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48409 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48410 * sysdeps/unix/sysv/linux/sigsuspend.c
48411 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48412 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48413 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48414 (__libc_missing_rt_sigs): Remove.
48415 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48416 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48417 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48418 Remove conditional code.
48419 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48420 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48422 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48423 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48424 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48425 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48427 2012-05-14 Andreas Jaeger <aj@suse.de>
48429 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48430 it's not used in glibc.
48431 (__coshm1): Likewise.
48432 (__acosh1p): Likewise.
48435 * manual/string.texi (Copying and Concatenation): Add missing
48436 variable in concat example.
48437 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48439 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48442 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48443 __builtin_clzl with __builtin_clzll.
48445 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48448 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48451 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48453 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48454 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48455 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48456 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48458 2012-05-14 Mike Frysinger <vapier@gentoo.org>
48460 * NEWS: Update ia64 info.
48462 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
48464 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48467 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
48469 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48470 * sysdeps/unix/syscalls.list (dup3): Likewise.
48471 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48472 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48474 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48476 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48477 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48479 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48481 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48483 (TLS_IE): Use mov/add instead of movq/addq to load thread
48485 (TLS_GD_PREFIX): New.
48488 2012-05-11 David S. Miller <davem@davemloft.net>
48490 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48491 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48492 (_FPU_SETCW): Likewise.
48494 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48496 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48497 is 32-byte aligned.
48499 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
48502 * iconvdata/gb18030.c: Update tables.
48503 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
48504 characters specially.
48505 (BODY for TO_LOOP): Add encoding of missing ranges.
48507 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
48510 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48511 * sysdeps/mach/hurd/dup3.c: Likewise.
48512 * sysdeps/mach/hurd/readlinkat.c: Likewise.
48513 * sysdeps/powerpc/memmove.c:: Likewise.
48515 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48517 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48518 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48520 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48522 * elf/elf.h (R_X86_64_RELATIVE64): New.
48523 (R_X86_64_NUM): Updated.
48524 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48525 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
48526 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48527 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48528 tst-quad1pie tst-quad2pie
48529 (modules-names): Add tst-quadmod1 tst-quadmod2.
48530 ($(objpfx)tst-quad1): New dependency.
48531 ($(objpfx)tst-quad2): Likewise.
48532 ($(objpfx)tst-quad1pie): Likewise.
48533 ($(objpfx)tst-quad2pie): Likewise.
48534 * sysdeps/x86_64/tst-quad1.c: New file.
48535 * sysdeps/x86_64/tst-quad1pie.c: New file.
48536 * sysdeps/x86_64/tst-quad2.c: Likewise.
48537 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48538 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48539 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48540 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48541 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48543 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48545 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48546 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48547 * streams/stropts.h (t_scalar_t): Define type.
48549 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48550 (_PATH_PRESERVE): Set to "/var/lib".
48551 (_PATH_RWHODIR): Set to "/var/spool/rwho".
48553 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48556 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48557 if __dir_mkfile succeeded.
48559 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48560 checking for _hurd_dtablesize. Unlock it right after having
48561 finished _hurd_dtable allocation.
48563 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48565 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48566 * sysdeps/mach/hurd/configure: Regenerated.
48567 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48568 special-casing to...
48569 * sysdeps/gnu/configure.in: ... this new file.
48570 * sysdeps/unix/sysv/linux/configure: Regenerated.
48571 * sysdeps/gnu/configure: New generated file.
48573 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48574 for Linux: use nsec instead of usec, as well as:
48575 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48576 members of type struct timespec.
48577 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48579 (struct stat64): Likewise.
48580 (_STATBUF_ST_NSEC): New macro.
48581 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48583 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48584 __strtoul_internal rather than strtoul.
48586 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48588 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48591 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48593 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48594 which preserves existing values.
48595 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48597 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48599 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48600 TIMEOUT values. Return EINVAL for NFDS values either negative or
48601 greater than FD_SETSIZE.
48603 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48605 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48606 allocated, call __vm_protect to finish enabling the existing space, and
48607 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48608 allocate the remainder.
48610 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48612 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48613 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
48615 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48617 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48618 sysdeps/mach/hurd/readlink.c.
48620 * posix/tst-sysconf.c (posix_options): Only use
48621 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48622 _POSIX_SYNCHRONIZED_IO when they are defined
48623 * sysdeps/mach/hurd/bits/posix_opt.h:
48624 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48625 (_XOPEN_REALTIME): Undefine macro.
48626 (_XOPEN_REALTIME_THREADS): Undefine macro.
48627 (_XOPEN_SHM): Undefine macro.
48628 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48630 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48632 (_POSIX_ASYNC_IO): Undefine macro.
48633 (_POSIX_PRIORITIZED_IO): Undefine macro.
48634 (_POSIX_SPIN_LOCKS): Define macro to -1.
48636 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48637 SA_NODEFER, SA_RESETHAND.
48638 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48639 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48642 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48644 * elf/Makefile (pldd-modules): Define unconditionally.
48646 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48648 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48650 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48652 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48653 Return ENOENT when name is empty.
48654 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48656 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48658 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48660 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48662 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48664 Fix mlock in all cases except non-readable pages.
48665 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48666 instead of VM_PROT_ALL as parameter to __vm_wire function.
48668 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48669 (__mkdir): When path is `/', just fail with EEXIST.
48670 * sysdeps/mach/hurd/mkdirat.c: Likewise.
48672 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48674 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48675 <sys/uio.h> (for writev).
48676 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48677 and <sys/param.h> (for MIN).
48679 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48681 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48682 REQUESTED_TIME. Properly set the remaining time and return EINTR
48685 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48687 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48688 Depend on against $(link-rpcuserlibs).
48690 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48692 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48693 (__libc_stack_end): Do not use attribute_relro.
48694 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48695 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48696 to libthread-provided value.
48697 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48700 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48703 * bits/libc-lock.h (__libc_once_get): New macro.
48704 * sysdeps/mach/bits/libc-lock.h: Likewise.
48705 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48706 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48707 instead of using implementation details.
48709 * libio/fileops.c: Unconditionally include <kernel-features.h>.
48710 * libio/freopen.c: Likewise.
48711 * libio/freopen64.c: Likewise.
48712 * misc/syslog.c: Likewise.
48713 * nscd/connections.c: Likewise.
48714 * nscd/netgroupcache.c: Likewise.
48715 * sysdeps/posix/getcwd.c: Likewise.
48717 2012-05-10 Roland McGrath <roland@hack.frob.com>
48719 * math/w_ilogbf.c: Add #include <limits.h>.
48721 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48723 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48724 path instead of returning without unlocking.
48726 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48727 immediate-write ioctls.
48728 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48730 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48732 * sysdeps/mach/hurd/i386/init-first.c (init): Use
48733 __builtin_frame_address instead of making assumptions about the
48734 location of the return address relative to DATA. Force early load of
48735 the return address.
48736 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48737 __builtin_frame_address.
48740 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48741 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
48742 implement dup3 and do some further code clean-ups.
48743 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48744 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48746 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48748 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48750 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48751 HURD_CRITICAL_END around holding _hurd_dtable_lock.
48752 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48753 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48754 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48757 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48758 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
48759 when handler == SIG_ERR, not when handler != SIG_ERR.
48761 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48763 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48764 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48767 accept4 for GNU Hurd.
48768 * include/sys/socket.h (__libc_accept4): New prototype.
48769 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
48770 to implement __libc_accept4.
48771 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48773 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48775 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48776 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48777 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48778 signal-defines.sym.
48780 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48782 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48784 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48786 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48787 assertion on O_CLOEXEC flag.
48788 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48789 * hurd/intern-fd.c: Likewise.
48790 * hurd/port2fd.c: Likewise.
48792 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48795 * bits/in.h (IPV6_PKTINFO): Define new macro.
48796 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48798 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48803 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48804 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48805 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48806 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48807 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48808 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48809 * math/libm-test.inc (logb_test) : Additional logb tests.
48811 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
48812 Andreas Jaeger <aj@suse.de>
48814 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48815 * configure: Regenerated.
48816 * config.h.in (LINK_OBSOLETE_RPC): New macro.
48817 * config.make.in (link-obsolete-rpc): New substituted variable.
48818 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48819 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48820 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48821 (shared-only-routines): Don't set it under [link-obsolete-rpc],
48822 so that libc.a contains the symbols.
48823 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48824 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48825 * sunrpc/auth_none.c: Likewise.
48826 * sunrpc/auth_unix.c: Likewise.
48827 * sunrpc/authdes_prot.c: Likewise.
48828 * sunrpc/authuxprot.c: Likewise.
48829 * sunrpc/clnt_gen.c: Likewise.
48830 * sunrpc/clnt_perr.c: Likewise.
48831 * sunrpc/clnt_raw.c: Likewise.
48832 * sunrpc/clnt_simp.c: Likewise.
48833 * sunrpc/clnt_tcp.c: Likewise.
48834 * sunrpc/clnt_udp.c: Likewise.
48835 * sunrpc/clnt_unix.c: Likewise.
48836 * sunrpc/des_crypt.c: Likewise.
48837 * sunrpc/des_soft.c: Likewise.
48838 * sunrpc/get_myaddr.c: Likewise.
48839 * sunrpc/key_call.c: Likewise.
48840 * sunrpc/key_prot.c: Likewise.
48841 * sunrpc/netname.c: Likewise.
48842 * sunrpc/pm_getmaps.c: Likewise.
48843 * sunrpc/pm_getport.c: Likewise.
48844 * sunrpc/pmap_clnt.c: Likewise.
48845 * sunrpc/pmap_prot.c: Likewise.
48846 * sunrpc/pmap_prot2.c: Likewise.
48847 * sunrpc/pmap_rmt.c: Likewise.
48848 * sunrpc/publickey.c: Likewise.
48849 * sunrpc/rpc_cmsg.c: Likewise.
48850 * sunrpc/rpc_common.c: Likewise.
48851 * sunrpc/rpc_dtable.c: Likewise.
48852 * sunrpc/rpc_prot.c: Likewise.
48853 * sunrpc/rpc_thread.c: Likewise.
48854 * sunrpc/rtime.c: Likewise.
48855 * sunrpc/svc.c: Likewise.
48856 * sunrpc/svc_auth.c: Likewise.
48857 * sunrpc/svc_raw.c: Likewise.
48858 * sunrpc/svc_run.c: Likewise.
48859 * sunrpc/svc_tcp.c: Likewise.
48860 * sunrpc/svc_udp.c: Likewise.
48861 * sunrpc/svc_unix.c: Likewise.
48862 * sunrpc/svcauth_des.c: Likewise.
48863 * sunrpc/xcrypt.c: Likewise.
48864 * sunrpc/xdr.c: Likewise.
48865 * sunrpc/xdr_array.c: Likewise.
48866 * sunrpc/xdr_float.c: Likewise.
48867 * sunrpc/xdr_intXX_t.c: Likewise.
48868 * sunrpc/xdr_mem.c: Likewise.
48869 * sunrpc/xdr_rec.c: Likewise.
48870 * sunrpc/xdr_ref.c: Likewise.
48871 * sunrpc/xdr_sizeof.c: Likewise.
48872 * sunrpc/xdr_stdio.c: Likewise.
48874 2012-05-10 Roland McGrath <roland@hack.frob.com>
48876 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48877 change. Update copyright years.
48879 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48881 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48883 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
48884 Joseph Myers <joseph@codesourcery.com>
48885 Paul Pluzhnikov <ppluzhnikov@google.com>
48888 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48890 [cross-compiling] (extra-libs): Likewise.
48891 [cross-compiling] (extra-libs-others): Likewise.
48892 [cross-compiling] (librpcsvc-routines): Likewise.
48893 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48894 [cross-compiling] (omit-deps): Likewise.
48895 (sunrpc-CPPFLAGS): New variable.
48896 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48897 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48898 (cross-rpcgen-objs): New variable.
48899 (extra-objs): Append $(cross-rpcgen-objs).
48900 ($(cross-rpcgen-objs)): New rule.
48901 ($(objpfx)cross-rpcgen): Likewise.
48902 (rpcgen-cmd): Define to use $(built-program-file). Expand
48904 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48905 ($(objpfx)x%.stmp): Likewise.
48906 * sunrpc/proto.h [IS_IN_build] (_): Define.
48907 [IS_IN_build] (_libc_intl_domainname): Likewise.
48909 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48911 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48912 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48913 and R_X86_64_TPOFF64.
48915 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48917 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48918 sysdeps/unix/sysv/syscalls.list.
48921 * sysdeps/unix/sysv/syscalls.list: Remove file.
48923 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
48926 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48927 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48928 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48929 (__LC_IDENTIFICATION): Make these macros useful in #if
48930 expressions, as required by C99.
48932 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
48934 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48935 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
48938 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
48940 * stdlib/longlong.h: Updated from GCC.
48942 2012-05-09 Andreas Jaeger <aj@suse.de>
48944 * nscd/nscd.c (run_modes): Make named enum, reorder so that
48945 default is first entry.
48946 (run_mode): Set type.
48947 (main): Remove informal message about syslog.
48948 (options): Fix typo.
48951 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48954 (llrintf): Likewise.
48955 (llrint): Likewise.
48958 (nearbyint): Likewise.
48959 (nearbyintf): Likewise.
48961 2012-05-09 Andreas Jaeger <aj@suse.de>
48962 Pedro Alves <palves@redhat.com>
48964 * nscd/nscd.c (run_mode): Use enum.
48965 (main): Cleanup coding style issue.
48967 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
48968 Andreas Jaeger <aj@suse.de>
48970 * nscd/nscd.c (go_background): Replaced with...
48971 (run_mode): ... this.
48972 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48973 (options): Add -F --foreground.
48974 (main): Implement it.
48975 (parse_opt): Parse it.
48977 2012-05-09 Andreas Jaeger <aj@suse.de>
48980 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48981 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48982 -Wconversion warning.
48983 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48986 2012-05-09 Joseph Myers <joseph@codesourcery.com>
48988 * conform/data/locale.h-data (NULL): Use macro-constant. Require
48990 (LC_ALL): Use macro-int-constant.
48991 (LC_COLLATE): Likewise.
48992 (LC_CTYPE): Likewise.
48993 (LC_MESSAGES): Likewise.
48994 (LC_MONETARY): Likewise.
48995 (LC_NUMERIC): Likewise.
48996 (LC_TIME): Likewise.
48997 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48998 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48999 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49000 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49002 [C99-based standards] (float_t): Expect type.
49003 [C99-based standards] (double_t): Expect type.
49004 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
49006 [C99-based standards] (HUGE_VALL): Likewise.
49007 [C99-based standards] (INFINITY): Likewise.
49008 [C99-based standards] (NAN): Likewise.
49009 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49010 [C99-based standards] (FP_NAN): Likewise.
49011 [C99-based standards] (FP_NORMAL): Likewise.
49012 [C99-based standards] (FP_SUBNORMAL): Likewise.
49013 [C99-based standards] (FP_ZERO): Likewise.
49014 [C99-based standards] (FP_FAST_FMA): Use
49015 optional-macro-int-constant. Specify type. Require == 1.
49016 [C99-based standards] (FP_FAST_FMAF): Likewise.
49017 [C99-based standards] (FP_FAST_FMAL): Likewise.
49018 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49019 [C99-based standards] (FP_ILOGBNAN): Likewise.
49020 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49022 [C99-based standards] (MATH_ERREXCEPT): Likewise.
49023 [C99-based standards] (math_errhandling): Specify type.
49024 [ISO99 || ISO11] (signgam): Do not allow.
49025 [non-C99-based standards] (copysignf): Do not allow.
49026 [non-C99-based standards] (exp2f): Likewise.
49027 [non-C99-based standards] (log2f): Likewise.
49028 [non-C99-based standards] (modff): Allow.
49029 [non-C99-based standards] (erff): Do not allow.
49030 [non-C99-based standards] (erfcf): Likewise.
49031 [non-C99-based standards] (gammaf): Likewise.
49032 [non-C99-based standards] (hypotf): Likewise.
49033 [non-C99-based standards] (j0f): Likewise.
49034 [non-C99-based standards] (j1f): Likewise.
49035 [non-C99-based standards] (jnf): Likewise.
49036 [non-C99-based standards] (lgammaf): Likewise.
49037 [non-C99-based standards] (tgammaf): Likewise.
49038 [non-C99-based standards] (y0f): Likewise.
49039 [non-C99-based standards] (y1f): Likewise.
49040 [non-C99-based standards] (ynf): Likewise.
49041 [non-C99-based standards] (isnanf): Likewise.
49042 [non-C99-based standards] (acoshf): Likewise.
49043 [non-C99-based standards] (asinhf): Likewise.
49044 [non-C99-based standards] (atanhf): Likewise.
49045 [non-C99-based standards] (cbrtf): Likewise.
49046 [non-C99-based standards] (expm1f): Likewise.
49047 [non-C99-based standards] (ilogbf): Likewise.
49048 [non-C99-based standards] (log1pf): Likewise.
49049 [non-C99-based standards] (logbf): Likewise.
49050 [non-C99-based standards] (nextafterf): Likewise.
49051 [non-C99-based standards] (remainderf): Likewise.
49052 [non-C99-based standards] (rintf): Likewise.
49053 [non-C99-based standards] (scalbf): Likewise.
49054 [non-C99-based standards] (copysignl): Likewise.
49055 [non-C99-based standards] (exp2l): Likewise.
49056 [non-C99-based standards] (log2l): Likewise.
49057 [non-C99-based standards] (modfl): Allow.
49058 [non-C99-based standards] (erfl): Do not allow.
49059 [non-C99-based standards] (erfcl): Likewise.
49060 [non-C99-based standards] (gammal): Likewise.
49061 [non-C99-based standards] (hypotl): Likewise.
49062 [non-C99-based standards] (j0l): Likewise.
49063 [non-C99-based standards] (j1l): Likewise.
49064 [non-C99-based standards] (jnl): Likewise.
49065 [non-C99-based standards] (lgammal): Likewise.
49066 [non-C99-based standards] (tgammal): Likewise.
49067 [non-C99-based standards] (y0l): Likewise.
49068 [non-C99-based standards] (y1l): Likewise.
49069 [non-C99-based standards] (ynl): Likewise.
49070 [non-C99-based standards] (isnanl): Likewise.
49071 [non-C99-based standards] (acoshl): Likewise.
49072 [non-C99-based standards] (asinhl): Likewise.
49073 [non-C99-based standards] (atanhl): Likewise.
49074 [non-C99-based standards] (cbrtl): Likewise.
49075 [non-C99-based standards] (expm1l): Likewise.
49076 [non-C99-based standards] (ilogbl): Likewise.
49077 [non-C99-based standards] (log1pl): Likewise.
49078 [non-C99-based standards] (logbl): Likewise.
49079 [non-C99-based standards] (nextafterl): Likewise.
49080 [non-C99-based standards] (remainderl): Likewise.
49081 [non-C99-based standards] (rintl): Likewise.
49082 [non-C99-based standards] (scalbl): Likewise.
49083 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49084 [non-C99-based standards] (FP_*): Do not allow.
49085 [C99-based standards] (FP_*): Change to
49086 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49087 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49089 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49090 (SIG_ERR): Likewise.
49091 [X/Open-based standards] (SIG_HOLD): Likewise.
49092 (SIG_IGN): Likewise.
49093 (SIGABRT): Use macro-int-constant. Specify type. Require
49095 (SIGFPE): Likewise.
49096 (SIGILL): Likewise.
49097 (SIGINT): Likewise.
49098 (SIGSEGV): Likewise.
49099 (SIGTER): Likewise.
49100 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49101 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49102 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49103 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49104 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49105 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49106 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49107 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49108 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49109 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49110 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49111 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49112 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49113 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49114 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49115 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49116 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49117 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49118 [X/Open-based standards] (SIGTRAP): Likewise.
49119 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49120 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49121 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49122 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49123 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49126 2012-05-08 Ian Wienand <ianw@vmware.com>
49129 * time/tzset.c (__tzset_parse_tz): Update default rules for
49130 daylight time changes in the Energy Policy Act of 2005.
49132 2012-05-09 Andreas Jaeger <aj@suse.de>
49135 * elf/ldconfig.c (parse_conf): Change string to make clear that
49136 ldconfig only issued a warning if ld.so.conf does not exist.
49138 2012-05-08 David S. Miller <davem@davemloft.net>
49140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49141 movxtod instead of popping the value on the stack.
49143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49145 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
49147 * config.h.in: Add HAVE_ARM_PCS_VFP.
49149 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
49152 * include/features.h: Warn if user requests __FORTIFY_SOURCE
49153 checking but the checks are disabled for any reason.
49155 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
49157 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49158 and ELF64_R_TYPE with ELFW(R_TYPE).
49160 2012-05-08 Joseph Myers <joseph@codesourcery.com>
49162 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49163 (ulimit): Likewise.
49165 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49166 (settimeofday): Likewise.
49168 2012-05-08 Mike Frysinger <vapier@gentoo.org>
49170 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
49171 a struct th_u2 inside the union, and move tu_block/tu_code into
49172 a new th_u3 union of tu_block/tu_code inside of that. Move
49173 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
49174 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
49175 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49176 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49177 (th_stuff): Change to th_u1.tu_stuff.
49179 (th_msg): Change to th_u1.th_u2.tu_data.
49181 2012-05-07 David S. Miller <davem@davemloft.net>
49183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49186 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49187 (SETUP_PIC_REG): Use it.
49188 (SETUP_PIC_REG_LEAF): Use it.
49190 2012-05-07 Joseph Myers <joseph@codesourcery.com>
49194 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49196 (EXPL_FINITE): Likewise.
49197 (FLDLOG): Likewise.
49198 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49199 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49201 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49203 (EXPL_FINITE): Likewise.
49204 (FLDLOG): Likewise.
49205 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49206 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49208 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
49209 test of -max_value argument for long double.
49210 * sysdeps/i386/fpu/libm-test-ulps: Update.
49211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49213 2012-05-06 David S. Miller <davem@davemloft.net>
49215 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49216 quad soft-float symbols whose references which are compiler
49218 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49220 2012-05-06 Joseph Myers <joseph@codesourcery.com>
49224 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49226 (EXPL_FINITE): Likewise.
49227 (FLDLOG): Likewise.
49230 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49231 Adjust comments for base varying.
49232 (__expl_finite): Change alias to EXPL_FINITE.
49233 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49235 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49236 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49237 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49238 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49239 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49241 (EXPL_FINITE): Likewise.
49242 (FLDLOG): Likewise.
49245 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49246 Adjust comments for base varying.
49247 (__expl_finite): Change alias to EXPL_FINITE.
49248 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
49250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49253 * math/libm-test.inc (check_float_internal): Correct ulp
49254 calculation for subnormal expected results.
49256 2012-05-06 Andreas Jaeger <aj@suse.de>
49258 * Makeconfig (+math-flags): New, set to -frounding-math.
49259 (+cflags): Add +math-flags so that all of glibc gets compiled with
49262 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49264 2012-05-05 Joseph Myers <joseph@codesourcery.com>
49266 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49272 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49273 (__ieee754_expl): Allow for and saturate large arguments.
49274 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49275 (u_threshold): Likewise.
49276 (__exp): Call __ieee754_exp before checking for overflow and
49278 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49279 (u_threshold): Likewise.
49280 (__expf): Call __ieee754_expf before checking for overflow and
49282 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49283 (u_threshold): Likewise.
49284 (__expl): Call __ieee754_expl before checking for overflow and
49286 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49287 (__ieee754_expl): Allow for and saturate large arguments.
49288 * math/libm-test.inc (exp_test): Add another test. Do not allow
49289 missing overflow exception on overflow.
49290 (expm1_test): Do not allow missing overflow exception on overflow.
49292 * sysdeps/i386/fpu/e_expl.c: Move to ...
49293 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
49294 rather than using inline asm.
49295 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49296 * sysdeps/x86_64/fpu/e_expl.S: Copy from
49297 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49299 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49302 (signal): Likewise.
49306 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49308 * sysdeps/unix/syscalls.list (adjtime): Add entry from
49309 sysdeps/unix/common/syscalls.list.
49310 (fchmod): Likewise.
49311 (fchown): Likewise.
49312 (ftruncate): Likewise.
49313 (getrusage): Likewise.
49314 (gettimeofday): Likewise.
49315 (setpgid): Likewise.
49316 (setregid): Likewise.
49317 (setreuid): Likewise.
49318 (sigaction): Likewise.
49319 (truncate): Likewise.
49320 (vhangup): Likewise.
49321 * sysdeps/unix/common/syscalls.list: Remove file.
49322 * sysdeps/unix/bsd/Implies: Don't include unix/common.
49323 * sysdeps/unix/sysv/linux/Implies: Likewise.
49325 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
49327 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49329 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49333 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49336 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49339 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49342 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49345 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49348 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49351 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49355 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49359 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49362 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49366 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49370 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49372 * sysdeps/unix/common/bits/dirent.h: Remove file.
49373 * sysdeps/unix/common/bits/fcntl.h: Likewise.
49375 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49376 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49377 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49378 * sysdeps/unix/bsd/isatty.c: Likewise.
49379 * sysdeps/unix/bsd/tcdrain.c: Likewise.
49380 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49381 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49383 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49386 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49387 long double comparison inaccuracies.
49388 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49391 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
49393 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49394 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49396 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49399 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49400 nonzero digits before rounding a hex value.
49401 * stdlib/tst-strtod.c (tests): Add another test.
49403 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49405 * sysdeps/s390/fpu/libm-test-ulps: Update.
49407 2012-05-03 Andreas Jaeger <aj@suse.de>
49409 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49410 does not get optimized out.
49411 (malloc_opt_barrier): New.
49413 2012-05-03 Andreas Jaeger <aj@suse.de>
49414 Roland McGrath <roland@hack.frob.com>
49416 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49417 intermediate file deletion.
49418 (generated): Add .symlist files.
49420 2012-05-03 Joseph Myers <joseph@codesourcery.com>
49423 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49424 Redirect under this condition.
49425 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49426 [__USE_GNU] (__dprintf_chk): Not under this condition.
49427 [__USE_GNU] (__vdprintf_chk): Likewise.
49428 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49429 under this condition.
49430 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49431 [__USE_XOPEN2K8] (dprintf): Define under this condition.
49432 [__USE_XOPEN2K8] (vdprintf): Likewise.
49433 [__USE_GNU] (__dprintf_chk): Not under this condition.
49434 [__USE_GNU] (__vdprintf_chk): Likewise.
49435 [__USE_GNU] (dprintf): Likewise.
49436 [__USE_GNU] (vdprintf): Likewise.
49438 2012-05-03 Roland McGrath <roland@hack.frob.com>
49440 * elf/Makefile (common-generated): Set this instead of generated for
49441 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
49442 $(all-built-dso)-derived lists.
49444 2012-05-03 Andreas Jaeger <aj@suse.de>
49446 * sysdeps/i386/fpu/libm-test-ulps: Update.
49449 * FAQ.in: Likewise.
49450 * scripts/gen-FAQ.pl: Likewise.
49451 * manual/install.texi (Installation): Point to online location of
49453 * Makefile (files-for-dist): Remove FAQ.
49456 2012-05-02 Allan McRae <allan@archlinux.org>
49458 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49459 (LDFLAGS-reldepmod5.so): Likewise.
49460 (LDFLAGS-reldep6mod1.so): Likewise.
49461 (LDFLAGS-reldep6mod4.so): Likewise.
49462 (LDFLAGS-reldep8mod3.so): Likewise.
49463 (LDFLAGS-unload4mod1.so): Likewise.
49464 (LDFLAGS-unload4mod2.so): Likewise.
49465 (LDFLAGS-tst-initorder): Likewise.
49466 (LDFLAGS-tst-initordera2.so): Likewise.
49467 (LDFLAGS-tst-initordera3.so): Likewise.
49468 (LDFLAGS-tst-initordera4.so): Likewise.
49469 (LDFLAGS-tst-initorderb2.so): Likewise.
49470 (LDFLAGS-noload): Likewise.
49471 (LDFLAGS-next): Likewise.
49472 (LDFLAGS-order2mod1.so): Likewise.
49473 (LDFLAGS-order2mod2.so): Likewise.
49474 (LDFLAGS-tst-initorder2): Likewise.
49475 (LDFLAGS-tst-initorder2a.so): Likewise.
49476 (LDFLAGS-tst-initorder2b.so): Likewise.
49477 (LDFLAGS-tst-initorder2c.so): Likewise.
49478 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49480 2012-05-02 David S. Miller <davem@davemloft.net>
49482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49484 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
49487 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49489 2012-05-02 Andreas Jaeger <aj@suse.de>
49491 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49492 since we manipulate rounding mode.
49493 (CPPFLAGS-test-idouble.c): Likewise.
49494 (CPPFLAGS-test-ifloat.c): Likewise.
49495 (CFLAGS-test-ldouble.c): Likewise.
49496 (CFLAGS-test-double.c): Likewise.
49497 (CFLAGS-test-float.c): Likewise.
49498 (CFLAGS-test-misc.c): Likewise.
49499 (CFLAGS-test-test-fenv.c): Likewise.
49501 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49505 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49506 comparisons to determine direction to adjust input.
49508 2012-05-01 Roland McGrath <roland@hack.frob.com>
49510 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49511 output to the target.
49513 * scripts/localplt.awk: New file.
49514 * elf/Makefile ($(objpfx)check-localplt): Target removed.
49515 (check-localplt-CFLAGS): Variable removed.
49516 ($(all-built-dso:=.jmprel)): New static pattern rule.
49517 (generated): Add those targets.
49518 (localplt-built-dso): New variable.
49519 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49521 * elf/check-localplt.c: File removed.
49523 * scripts/check-execstack.awk: New file.
49524 * elf/Makefile ($(objpfx)check-execstack): Target removed.
49525 (check-execstack-CFLAGS): Variable removed.
49526 ($(objpfx)check-execstack.h): Target removed.
49527 ($(objpfx)execstack-default): New target.
49528 (generated): Add that instead of check-execstack.h.
49529 ($(all-built-dso:=.phdr)): New static pattern rule.
49530 (generated): Add those targets.
49531 * elf/check-execstack.c: File removed.
49533 * scripts/check-textrel.awk: New file.
49534 * elf/Makefile ($(objpfx)check-textrel): Target removed.
49535 (check-textrel-CFLAGS): Variable removed.
49536 (all-built-dso): Use := to define.o
49537 ($(all-built-dso:=.dyn)): New static pattern rule.
49538 (generated): Add those targets.
49539 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49540 * config.make.in (READELF): New substituted variable.
49541 * elf/check-textrel.c: File removed.
49543 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49545 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49547 * conform/data/ctype.h-data [C99-based standards] (isblank):
49549 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49550 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49551 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49552 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49553 Specify type. Require positive value.
49554 (EILSEQ): Likewise.
49555 (ERANGE): Likewise.
49556 [ISO || POSIX] (EILSEQ): Do not expect.
49557 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49558 Specify type. Require positive value.
49559 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49560 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49561 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49562 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49563 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49564 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49565 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49566 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49567 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49568 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49569 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49570 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49571 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49572 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49573 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49574 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49575 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49576 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49577 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49578 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49579 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49580 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49581 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49582 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49583 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49584 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49585 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49586 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49587 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49588 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49589 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49590 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49591 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49592 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49593 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49594 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49595 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49596 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49597 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49598 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49599 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49600 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49601 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49602 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49603 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49604 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49605 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49606 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49607 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49608 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49609 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49610 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49611 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49612 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49613 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49614 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49615 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49616 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49617 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49618 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49619 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49620 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49621 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49622 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49623 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49624 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49625 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49626 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49627 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49628 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49629 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49630 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49631 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49632 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49633 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49634 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49635 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49637 (FLT_ROUNDS): Expect as macro, not constant.
49638 (FLT_MANT_DIG): Use macro-int-constant.
49639 (DBL_MANT_DIG): Likewise.
49640 (LDBL_MANT_DIG): Likewise.
49641 (FLT_DIG): Likewise.
49642 (DBL_DIG): Likewise.
49643 (LDBL_DIG): Likewise.
49644 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
49645 (DBL_MIN_EXP): Likewise.
49646 (LDBL_MIN_EXP): Likewise.
49647 (FLT_MAX_EXP): Use macro-int-constant.
49648 (DBL_MAX_EXP): Likewise.
49649 (LDBL_MAX_EXP): Likewise.
49650 (FLT_MAX_10_EXP): Likewise.
49651 (DBL_MAX_10_EXP): Likewise.
49652 (LDBL_MAX_10_EXP): Likewise.
49653 (FLT_MAX): Use macro-constant.
49654 (DBL_MAX): Likewise.
49655 (LDBL_MAX): Likewise.
49656 (FLT_EPSILON): Use macro-constant. Give upper bound.
49657 (DBL_EPSILON): Likewise.
49658 (LDBL_EPSILON): Likewise.
49659 (FLT_MIN): Likewise.
49660 (DBL_MIN): Likewise.
49661 (LDBL_MIN): Likewise.
49662 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49663 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49664 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49665 [ISO11] (FLT_HAS_SUBNORM): Likewise.
49666 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49667 [ISO11] (DBL_DECIMAL_DIG): Likewise.
49668 [ISO11] (FLT_DECIMAL_DIG): Likewise.
49669 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49670 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49671 [ISO11] (FLT_TRUE_MIN): Likewise.
49672 [ISO11] (LDBL_TRUE_MIN): Likewise.
49673 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49674 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49675 (SCHAR_MIN): Use macro-int-constant. Specify type.
49676 (SCHAR_MAX): Likewise.
49677 (UCHAR_MAX): Likewise.
49678 (CHAR_MIN): Likewise.
49679 (CHAR_MAX): Likewise.
49680 (MB_LEN_MAX): Use macro-int-constant.
49681 (SHRT_MIN): Use macro-int-constant. Specify type.
49682 (SHRT_MAX): Likewise.
49683 (USHRT_MAX): Likewise.
49684 (INT_MAX): Likewise.
49685 (INT_MIN): Use macro-int-constant. Specify type. Make upper
49687 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
49689 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49691 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
49692 bound negative. Suffix upper bound with "L".
49693 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49695 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49697 [C99-based standards] (LLONG_MAX): Likewise.
49698 [C99-based standards] (ULLONG_MAX): Likewise.
49699 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
49701 [ISO11] (max_align_t): Require type.
49702 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49704 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49705 from $CFLAGS, without defining away __attribute__ calls.
49706 (checknamespace): Use $CFLAGS_namespace.
49708 * conform/conformtest.pl (@keywords): Only include C99 keywords
49709 for standards based on C99 or C11.
49711 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49713 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49716 * conform/conformtest.pl: Handle "macro-int-constant" and test for
49717 usability of symbols in #if.
49719 * conform/conformtest.pl: If macro or constant types start
49720 "promoted:", expect the symbol to be of the following type
49721 promoted by the integer promotions.
49723 * conform/conformtest.pl: Parse all "constant" and "macro" lines
49724 in one place. Also handle "macro-constant".
49726 * conform/conformtest.pl: Only accept expected macro values with
49727 "==". Parse all "macro" lines in one place.
49728 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49730 * conform/conformtest.pl: Handle braced types on "constant" lines
49731 instead of handling "typed-constant".
49732 * conform/data/signal.h-data: Use "constant" instead of
49735 * conform/conformtest.pl: Handle "optional-" at start of lines in
49736 one place rather than duplicating several cases. Handle each
49737 format of "macro" line with initial "optional-".
49739 * conform/conformtest.pl: Only accept expected constant or
49740 optional-constant values with "==". Parse all "constant" lines in
49741 one place. Parse all "optional-constant" lines in one place.
49742 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49743 * conform/data/fmtmsg.h-data: Likewise.
49744 * conform/data/netinet/in.h-data: Likewise.
49745 * conform/data/tar.h-data: Likewise.
49746 * conform/data/limits.h-data: Use "==" form on "constant" and
49747 "optional-constant" lines.
49749 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49750 Use -std=c99 for XOPEN2K.
49751 (@knownproblems): Remove.
49752 (newtoken): Don't check %isknown.
49754 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49755 Do not expect macro.
49756 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49757 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49758 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49759 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49760 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49761 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49762 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49763 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49764 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49765 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49766 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49767 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49768 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49769 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49770 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49771 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49772 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49773 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49774 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49775 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49776 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49777 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49778 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49779 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49780 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49781 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49782 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49783 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49784 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49785 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49786 [XPG3] (acosh): Likewise.
49787 [XPG3] (asinh): Likewise.
49788 [XPG3] (atanh): Likewise.
49789 [XPG3] (cbrt): Likewise.
49790 [XPG3] (expm1): Likewise.
49791 [XPG3] (ilogb): Likewise.
49792 [XPG3] (log1p): Likewise.
49793 [XPG3] (logb): Likewise.
49794 [XPG3] (nextafter): Likewise.
49795 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49796 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49797 [XPG3] (remainder): Likewise.
49798 [XPG3] (rint): Likewise.
49799 [XPG3 || XPG4 || UNIX98] (round): Likewise.
49800 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49801 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49802 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49803 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49804 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49805 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49806 [UNIX98 || XOPEN2K] (scalb): Expect.
49807 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49808 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49809 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49810 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49811 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49812 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49813 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49814 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49815 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49816 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49817 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49818 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49819 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49820 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49821 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49822 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49823 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49824 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49825 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49826 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49827 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49828 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49829 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49830 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49831 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49832 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49833 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49834 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49835 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49836 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49837 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49838 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49839 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49840 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49841 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49842 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49843 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49844 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49845 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49846 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49847 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49848 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49849 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49850 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49851 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49852 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49853 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49854 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49855 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49856 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49857 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49858 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49859 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49860 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49861 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49862 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49863 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49864 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49865 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49866 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49867 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49868 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49869 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49870 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49871 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49872 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49873 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49874 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49875 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49876 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49877 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49878 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49879 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49880 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49881 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49882 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49883 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49884 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49885 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49886 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49887 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49888 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49889 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49890 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49891 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49892 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49893 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49894 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49895 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49896 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49897 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49898 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49899 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49900 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49901 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49902 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49903 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49904 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49905 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49906 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49907 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49908 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49909 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49910 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49911 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49912 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49913 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49914 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49915 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49916 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49917 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49918 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49919 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49920 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49921 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49922 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49923 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49924 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49925 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49926 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49927 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49928 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49929 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49930 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49931 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49932 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49933 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49934 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49935 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49936 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49937 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49938 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49939 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49940 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49941 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49942 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49943 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49945 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49946 _XOPEN_SOURCE_EXTENDED for XPG4.
49948 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49950 * Makeconfig (localtime): Remove variable.
49951 (inst_localtime-file): Likewise.
49953 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49974 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49978 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49979 comparisons to determine direction to adjust input.
49980 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49981 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49982 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49984 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49986 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49988 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49989 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49991 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49993 * math/libm-test.inc (nexttoward_test): Add more tests.
49995 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49998 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49999 in version GLIBC_2.1, not GLIBC_2.0.
50000 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50003 2012-04-30 Joseph Myers <joseph@codesourcery.com>
50006 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50008 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50009 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50010 * math/libm-test.inc (acos_test): Add more tests.
50011 (asin_test): Likewise.
50012 * sysdeps/i386/fpu/libm-test-ulps: Update.
50013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50016 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50018 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50019 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50020 * math/libm-test.inc (acos_test_tonearest): New function.
50021 (acos_test_towardzero): Likewise.
50022 (acos_test_downward): Likewise.
50023 (acos_test_upward): Likewise.
50024 (asin_test_tonearest): Likewise.
50025 (asin_test_towardzero): Likewise.
50026 (asin_test_downward): Likewise.
50027 (asin_test_upward): Likewise.
50028 (main): Call the new functions.
50029 * sysdeps/i386/fpu/libm-test-ulps: Update.
50030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50034 * math/e_exp10.c: Include <float.h>.
50035 (__ieee754_exp10): Handle underflow here rather than multiplying
50036 large negative argument by M_LN10.
50037 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50039 * math/e_exp10l.c: Include <float.h>.
50040 (__ieee754_exp10l): Handle underflow here rather than multiplying
50041 large negative argument by M_LN10l.
50042 * math/libm-test.inc (exp10_test): Add another test. Do not allow
50043 spurious overflow exception on underflow.
50045 2012-04-29 Marek Polacek <polacek@redhat.com>
50047 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50048 (__fortify_function): New macro.
50049 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50050 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50051 __extern_always_inline.
50052 * libio/bits/stdio2.h: Likewise.
50053 * libio/bits/stdio.h: Likewise.
50054 * string/string.h: Likewise.
50055 * string/bits/string3.h: Likewise.
50056 * include/stdio.h: Likewise.
50057 * stdlib/bits/stdlib.h: Likewise.
50058 * stdlib/stdlib.h: Likewise.
50059 * rt/bits/mqueue2.h: Likewise.
50060 * rt/mqueue.h: Likewise.
50061 * posix/bits/unistd.h: Likewise.
50062 * posix/unistd.h: Likewise.
50063 * io/bits/poll2.h: Likewise.
50064 * io/bits/fcntl2.h: Likewise.
50065 * io/fcntl.h: Likewise.
50066 * io/sys/poll.h: Likewise.
50067 * misc/bits/syslog.h: Likewise.
50068 * misc/bits/syslog-ldbl.h: Likewise.
50069 * misc/sys/syslog.h: Likewise.
50070 * socket/bits/socket2.h: Likewise.
50071 * socket/sys/socket.h: Likewise.
50072 * debug/tst-chk1.c: Likewise.
50073 * wcsmbs/bits/wchar2.h: Likewise.
50074 * wcsmbs/bits/wchar-ldbl.h: Likewise.
50075 * wcsmbs/wchar.h: Likewise.
50077 2012-04-29 Andreas Jaeger <aj@suse.de>
50079 * Makerules (tests): Remove enable-check-abi protection.
50080 (check-abi-warn): Remove.
50081 (check-abi-%): Remove check-abi-warn usage.
50083 * configure.in: Remove check-abi configure option.
50084 * configure: Regenerated.
50085 * config.make.in (enable-check-abi): Remove.
50087 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
50090 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50091 double functions to double *_finite functions.
50094 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50095 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50097 * stdio-common/Makefile (tests): Add tst-sprintf3.
50098 * stdio-common/tst-sprintf3.c: New file.
50100 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50101 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50103 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50105 * conform/conformtest.pl: Remove duplicate typed-constant
50108 2012-04-28 David S. Miller <davem@davemloft.net>
50110 * Makerules (%.abilist): Add vpath on sysdep_dirs.
50111 (check-abi-%): Remove AWK script prerequisite and explicit
50113 (check-abi): Rewrite to just diff the symlist with the abilist.
50114 (config-tls, config-abi-config): Delete, no longer used.
50115 (update-abi-%): Remove AWK script and explicit abilist directory.
50116 (update-abi): Rewrite to simply compare and conditionally copy the
50117 symlist and the sysdep abilist file. Remove update-abi-config
50119 * abilist/ld.abilist: Remove.
50120 * abilist/libBrokenLocale.abilist: Remove.
50121 * abilist/libanl.abilist: Remove.
50122 * abilist/libcrypt.abilist: Remove.
50123 * abilist/libdl.abilist: Remove.
50124 * abilist/librt.abilist: Remove.
50125 * abilist/libthread_db.abilist: Remove.
50126 * abilist/libutil.abilist: Remove.
50127 * scripts/extract-abilist.awk: Remove.
50128 * scripts/merge-abilist.awk: Remove.
50129 * sysdeps/generic/libcidn.abilist: New file.
50130 * sysdeps/generic/libnss_compat.abilist: New file.
50131 * sysdeps/generic/libnss_db.abilist: New file.
50132 * sysdeps/generic/libnss_dns.abilist: New file.
50133 * sysdeps/generic/libnss_files.abilist: New file.
50134 * sysdeps/generic/libnss_hesiod.abilist: New file.
50135 * sysdeps/generic/libnss_nis.abilist: New file.
50136 * sysdeps/generic/libnss_nisplus.abilist: New file.
50137 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50138 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50139 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50141 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50142 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50143 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50144 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50145 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50146 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50147 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50148 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50149 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50151 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50152 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50153 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50154 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50156 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50157 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50158 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50159 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50160 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50161 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50163 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50164 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50165 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50167 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50190 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50192 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50270 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50271 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50272 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50275 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50276 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50277 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50278 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50279 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50280 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50281 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50282 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50283 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50335 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50337 * conform/conformtest.pl: Fix typo in handling typed-constant from
50340 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50342 * README: Cut down references to pre-2.6 Linux kernels and
50343 Linuxthreads. Update lists of configurations in libc and ports
50344 and sort alphabetically. Say "or newer" with Linux kernel version
50347 * config.h.in [IS_IN_build]: Allow compiling without optimization.
50349 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50352 * math/libm-test.inc (logb_test_downward): New test to expose
50353 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50356 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50359 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50361 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50362 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50364 2012-04-26 Joseph Myers <joseph@codesourcery.com>
50366 * sysdeps/unix/i386/brk.S: Remove file.
50367 * sysdeps/unix/i386/dl-brk.S: Likewise.
50368 * sysdeps/unix/i386/pipe.S: Likewise.
50369 * sysdeps/unix/i386/sigreturn.S: Likewise.
50370 * sysdeps/unix/i386/syscall.S: Likewise.
50371 * sysdeps/unix/i386/vfork.S: Likewise.
50372 * sysdeps/unix/i386/wait.S: Likewise.
50374 * sysdeps/unix/common/tcsendbrk.c: Move to ...
50375 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50377 * configure.in (arm*-none*): Do not allow without
50378 --enable-hacker-mode.
50379 (netbsd*): Remove case setting base_os.
50380 (386bsd*): Likewise.
50381 (freebsd*): Likewise.
50384 (sunos*): Likewise.
50385 (ultrix*): Likewise.
50386 (newsos*): Likewise.
50387 (dynix*): Likewise.
50393 (minix*): Likewise.
50394 (irix4*): Likewise.
50395 (irix6*): Likewise.
50396 (solaris[2-9]*): Likewise.
50398 * configure: Regenerated.
50400 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50403 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50404 overflow or cancellation in calculating denominator.
50405 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50406 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50407 down expression to avoid unexpected rounding in newer GCCs.
50408 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50410 2012-04-26 David S. Miller <davem@davemloft.net>
50412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50413 long-double compat symbols.
50414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50428 2012-04-25 David S. Miller <davem@davemloft.net>
50430 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50431 HWCAP_* values only after the memory barriers have been defined.
50432 (atomic_full_barrier): Define.
50433 (atomic_read_barrier): Define.
50434 (atomic_write_barrier): Define.
50436 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50438 * shlib-versions: Add libgcc_s version information.
50439 * sysdeps/generic/libgcc_s.h: Remove.
50440 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50442 * sysdeps/gnu/unwind-resume.c: Likewise.
50443 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50445 2012-04-25 David S. Miller <davem@davemloft.net>
50447 * sysdeps/unix/sparc/brk.S: Delete.
50448 * sysdeps/unix/sparc/dl-brk.S: Delete.
50449 * sysdeps/unix/sparc/pipe.S: Delete.
50450 * sysdeps/unix/sparc/sysdep.S: Delete.
50451 * sysdeps/unix/sparc/sysdep.h: Delete.
50452 * sysdeps/unix/sparc/vfork.S: Delete.
50453 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50454 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50455 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50456 (ret_ERRVAL, r0, r1, MOVE): Define.
50457 (JUMPTARGET): Remove.
50458 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50459 sysdeps/unix/sparc/sysdep.h
50460 (ENTRY, END): Remove.
50461 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50463 2012-04-25 Joseph Myers <joseph@codesourcery.com>
50465 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50466 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50469 * timezone/README: Update upstream location and email address for
50471 * timezone/zdump.c: Update from tzcode 2012b.
50472 * timezone/zic.c: Likewise.
50474 * configure.in (libc_cv_as_needed): Remove test.
50475 * configure: Regenerated.
50476 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50477 conditional definition.
50478 [$(have-as-needed) != yes] (no-as-needed): Likewise.
50479 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50480 * config.make.in (have-as-needed): Remove variable.
50482 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50483 Paul Pluzhnikov <ppluzhnikov@google.com>
50485 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50488 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
50490 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50491 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50492 * sysdeps/sh/strlen.S: Likewise.
50494 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50496 * sysdeps/unix/fork.S: Remove file.
50497 * sysdeps/unix/i386/fork.S: Likewise.
50498 * sysdeps/unix/sparc/fork.S: Likewise.
50500 * sysdeps/unix/system.c: Remove file.
50501 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50503 * sysdeps/unix/getegid.S: Remove file.
50504 * sysdeps/unix/geteuid.S: Likewise.
50506 2012-04-24 Roland McGrath <roland@hack.frob.com>
50508 * scripts/check-localplt.awk: New file.
50509 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50511 * scripts/data/localplt-generic.data: Add a comment.
50513 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50514 NODE when __dir_mkfile failed.
50515 * sysdeps/mach/hurd/symlinkat.c: Likewise.
50516 Reported by Ludovic Courtès <ludo@gnu.org>.
50518 2012-04-24 Andreas Jaeger <aj@suse.de>
50520 * Makerules (common-clean): Also remove gen-as-const-headers
50523 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50525 * Makerules (native-compile): Do not change working directory for
50526 build. Use $(OUTPUT_OPTION) in command.
50527 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50529 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50532 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50533 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50534 * math/libm-test.inc (floor_test): Add more tests.
50535 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50537 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50539 * sysdeps/unix/getdents.c: Remove file.
50540 * sysdeps/unix/sysv/getdents.c: Likewise.
50541 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50543 * sysdeps/unix/syscalls.list (madvise): Add syscall from
50544 sysdeps/unix/mman/syscalls.list.
50546 (mprotect): Likewise.
50548 (munmap): Likewise.
50549 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50550 * sysdeps/unix/mman/syscalls.list: Remove.
50551 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50553 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50554 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50555 * configure: Regenerated.
50556 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50557 $(libgcc_s_suffix).
50558 * config.make.in (libgcc_s_suffix): Remove variable.
50560 2012-04-23 Joseph Myers <joseph@codesourcery.com>
50562 * sysdeps/unix/sysv/gethostname.c: Move to ...
50563 * sysdeps/posix/gethostname.c: ... here.
50565 * sysdeps/unix/execve.S: Remove file.
50567 * sysdeps/unix/_exit.S: Remove file.
50569 2012-04-23 Andreas Jaeger <aj@suse.de>
50572 * manual/Makefile: Remove make dist support, there's no
50573 need for a stand-alone documentation tar ball.
50574 (TEXI2DVI): Define always, it's not in Makeconfig.
50577 (edition): Removed.
50578 (glibc-doc-$(edition).tar): Removed
50582 (ETAGS): Remove, it's in Makeconfig.
50583 (move-if-change): Remove, it's in Makeconfig.
50585 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
50588 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50589 (strtod, strtof, strtold, strtol, strtoul, strtoq)
50590 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50591 (strtod_l, strtof_l, strtold_l): Remove __wur.
50592 It is not necessarily an error to ignore strtol's return value.
50593 One can reliably look at the stored endptr to decide whether
50594 the number had valid syntax.
50596 2012-04-21 Andreas Jaeger <aj@suse.de>
50599 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50601 2012-04-21 Joseph Myers <joseph@codesourcery.com>
50603 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50604 * sysdeps/unix/sysv/Versions: Remove file.
50606 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
50609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50611 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
50614 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50615 version from __vm86.
50617 2012-04-20 Joseph Myers <joseph@codesourcery.com>
50619 * sysdeps/unix/common/lxstat.c: Remove file.
50620 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50622 * sysdeps/unix/sysv/Makefile: Remove file.
50624 * sysdeps/unix/sysv/direct.h: Remove file.
50626 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50627 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50628 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50629 * sysdeps/unix/sysv/bits/signum.h: Likewise.
50630 * sysdeps/unix/sysv/bits/stat.h: Likewise.
50631 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50632 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50634 * sysdeps/unix/sysv/setrlimit.c: Remove file.
50636 * sysdeps/unix/xmknod.c: Remove file.
50637 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50639 * sysdeps/unix/sysv/settimeofday.c: Remove file.
50641 * sysdeps/unix/sysv/i386/time.S: Remove file.
50643 * sysdeps/unix/fxstat.c: Remove file.
50644 * sysdeps/unix/xstat.c: Likewise.
50645 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50647 * sysdeps/unix/sysv/sigaction.c: Remove file.
50649 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50650 (sysdep_headers): Remove variable.
50651 [termio.h not in sysdep_headers] (generated): Likewise.
50652 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50653 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50654 * sysdeps/unix/sysv/tcdrain.c: Likewise.
50655 * sysdeps/unix/sysv/tcflow.c: Likewise.
50656 * sysdeps/unix/sysv/tcflush.c: Likewise.
50657 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50658 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50659 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50660 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50661 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50663 * sysdeps/unix/siglist.c: Remove file.
50665 * sysdeps/unix/getppid.S: Remove file.
50667 * sysdeps/unix/mkdir.c: Remove file.
50668 * sysdeps/unix/rmdir.c: Likewise.
50670 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
50672 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50674 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50675 errlist-compat value.
50677 2012-04-18 David S. Miller <davem@davemloft.net>
50679 * sysdeps/generic/memcopy.h (reg_char): Delete.
50680 * debug/strcat_chk.c: Use char, not reg_char.
50681 * debug/strcpy_chk.c: Likewise.
50682 * debug/strncat_chk.c: Likewise.
50683 * debug/strncpy_chk.c: Likewise.
50684 * string/memchr.c: Likewise.
50685 * string/memrchr.c: Likewise.
50686 * string/rawmemchr.c: Likewise.
50687 * string/strcat.c: Likewise.
50688 * string/strchr.c: Likewise.
50689 * string/strchrnul.c: Likewise.
50690 * string/strcmp.c: Likewise.
50691 * string/strcpy.c: Likewise.
50692 * string/strncat.c: Likewise.
50693 * string/strncmp.c: Likewise.
50694 * string/strncpy.c: Likewise.
50696 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50698 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50699 __builtin_memcopy is called when src and dest ranges are known to not
50702 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50704 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50705 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50706 fwd_align_merge macro call.
50707 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50708 bwd_align_merge macro call.
50709 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50711 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50713 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50714 bwd_align_merge macros.
50715 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50716 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50717 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50719 2012-04-18 David S. Miller <davem@davemloft.net>
50721 * sysdeps/sparc/sparc64/memcopy.h: Delete.
50723 2012-04-18 Andreas Jaeger <aj@suse.de>
50726 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50727 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50728 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50730 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50731 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50732 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50734 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50735 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50736 Adjust for changed ldbl-128 files.
50738 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50739 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50740 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50742 2012-04-17 David S. Miller <davem@davemloft.net>
50744 * sysdeps/sparc/sparc32/memcopy.h: Delete.
50746 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
50748 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50749 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50750 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50751 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50752 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50753 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50755 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50758 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50759 * math/libm-test.inc: Add ilogb errno and exception tests.
50760 * math/w_ilogb.c: New file: ilogb wrapper.
50761 * math/w_ilogbf.c: New file: ilogbf wrapper.
50762 * math/w_ilogbl.c: New file: ilogbl wrapper.
50763 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50764 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50765 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50766 exception being thrown with 0.0 as argument.
50767 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50768 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50769 exception being thrown with 0.0 as argument.
50770 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50771 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50772 exception being thrown with 0.0 as argument.
50773 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50774 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50775 exception being thrown with 0.0 as argument.
50776 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50777 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50778 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50779 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50780 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50781 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50782 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50783 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50784 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50786 2012-04-17 Petr Baudis <pasky@ucw.cz>
50788 * include/sys/uio.h: Change __vector to __iovec to avoid clash
50791 2012-04-16 Marek Polacek <polacek@redhat.com>
50793 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50795 2012-04-16 Marek Polacek <polacek@redhat.com>
50797 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50798 operands of fdivp instruction.
50800 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50802 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50803 * elf/tst-auditmod3b.c: Likewise.
50804 * elf/tst-auditmod4b.c: Likewise.
50805 * elf/tst-auditmod5b.c: Likewise.
50806 * elf/tst-auditmod6b.c: Likewise.
50807 * elf/tst-auditmod6c.c: Likewise.
50808 * elf/tst-auditmod7b.c: Likewise.
50809 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50810 * sysdeps/x86_64/preconfigure.in: Likewise.
50811 * sysdeps/x86_64/preconfigure: Regenerated.
50813 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50815 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50818 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
50820 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50821 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50823 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
50826 * locale/iso-639.def: Fix gl language name. Spotted by
50829 2012-04-12 Roland McGrath <roland@hack.frob.com>
50832 * libio/libio.h (__io_write_fn): Update comment.
50834 2012-04-12 Petr Baudis <pasky@ucw.cz>
50837 * stdio.texi (Hook Functions): The user provided writer function
50838 is not allowed to return -1.
50840 2012-04-11 David S. Miller <davem@davemloft.net>
50842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50844 2012-04-11 Mike Frysinger <vapier@gentoo.org>
50846 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50847 Add a leading slash to rtkaio.
50849 2012-04-11 Jim Meyering <meyering@redhat.com>
50852 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50853 It is not necessarily an error to ignore fwrite's return
50854 value. One can reliably use ferror to test for errors after
50857 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50859 * bits/types.h (__snseconds_t): New type.
50860 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50862 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50863 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50864 (__SNSECONDS_T_TYPE): Likewise.
50865 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50866 (__SNSECONDS_T_TYPE): Likewise.
50867 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50868 (__SNSECONDS_T_TYPE): Likewise.
50870 2012-04-10 Andreas Jaeger <aj@suse.de>
50873 * manual/time.texi (Processor Time): Return type of times is
50874 elapsed real time since an arbitrary point in the past.
50875 (CPU Time): Move CLK_TCK from here...
50876 (Processor Time): ...to here. Correct description.
50877 * manual/conf.texi (Constants for Sysconf): Correct description of
50880 2012-04-10 David S. Miller <davem@davemloft.net>
50883 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50884 where the is a gap between DT_REL(A) and DT_JMPREL.
50886 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50888 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50889 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50890 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50892 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50894 * elf/dl-support.c (_dl_inhibit_cache): New variable.
50895 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50896 (dl_main): Handle --inhibit-cache.
50897 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50899 * elf/dl-load.c (_dl_map_object): Use it.
50900 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50902 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50905 * sysdeps/i386/fpu/e_powl.S (p78): New object.
50906 (__ieee754_powl): Saturate large exponents rather than testing for
50907 overflow of y*log2(x).
50908 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50909 * math/libm-test.inc (pow_test): Do not permit spurious overflow
50913 * math/s_ctan.c: Include <float.h>.
50914 (__ctan): Avoid internal overflow or cancellation in calculating
50916 * math/s_ctanf.c: Likewise.
50917 * math/s_ctanl.c: Likewise.
50918 * math/s_ctanh.c: Likewise.
50919 * math/s_ctanhf.c: Likewise.
50920 * math/s_ctanhl.c: Likewise.
50921 * math/libm-test.inc (ctan_test): Add more tests.
50922 (ctanh_test): Likewise.
50923 * sysdeps/i386/fpu/libm-test-ulps: Update.
50924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50926 2012-04-09 Andreas Jaeger <aj@suse.de>
50929 * manual/filesys.texi (Directory Entries): Mention that d_namlen
50930 is an optional BSD extension.
50933 * manual/stdio.texi (Opening Streams): Document additional fopen
50936 2012-04-09 Roland McGrath <roland@hack.frob.com>
50938 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50939 %eax without telling the compiler.
50941 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
50944 * manual/install.texi: Use sourceware.org.
50946 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50949 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50950 (__ieee754_pow): Generate overflow and underflow using huge*huge
50951 and tiny*tiny rather than just returning constant infinity or zero
50952 for large exponents.
50953 * math/libm-test.inc (pow_test): Require overflow exceptions for
50954 applicable cases of large exponents.
50957 * sysdeps/i386/fpu/e_pow.S (p10): New object.
50958 (__ieee754_pow): Use iterative multiplication algorithm only for
50959 integer exponents with absolute value below 1024. Check for odd
50960 integer exponents when using algorithm for real exponents.
50961 * math/libm-test.inc (pow_test): Add more tests.
50962 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50964 2012-04-08 Joseph Myers <joseph@codesourcery.com>
50967 * math/libm-test.inc (exp_test): Do not allow overflow exception
50970 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
50973 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50974 instead of __kernel_standard_f.
50976 2012-04-08 Mike Frysinger <vapier@gentoo.org>
50978 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50979 * sysdeps/x86_64/memset_chk.S: Likewise.
50981 2012-04-08 Andreas Jaeger <aj@suse.de>
50984 * manual/startup.texi (Environment Access): Describe return value
50985 for putenv and setenv.
50988 * manual/filesys.texi (Directory Entries): Add description for
50992 * manual/filesys.texi (Directory Entries): Clarify that it's file
50993 system not operating system in the description of DT_UNKNOWN.
50996 * manual/syslog.texi (closelog): Fix reference, it's openlog.
50998 2012-04-08 Stephen Compall <s11@member.fsf.org>
51001 * manual/llio.texi (Opening and Closing Files): Add cross
51002 reference to explain mode argument.
51004 2012-04-07 Mike Frysinger <vapier@gentoo.org>
51006 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51007 * sysdeps/x86_64/memset_chk.S: Likewise.
51009 2012-04-07 David S. Miller <davem@davemloft.net>
51011 * elf/elf.h (R_SPARC_WDISP10): Define.
51012 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51014 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51015 R_SPARC_SIZE64 and R_SPARC_H34.
51017 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
51019 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51020 conditions and remove no longer applicable assertion.
51022 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51024 * bits/byteswap.h: Include <features.h>.
51025 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51026 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51028 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51030 * bits/byteswap.h (__bswap_16): Removed.
51031 Include <bits/byteswap-16.h> to get __bswap_16.
51032 * sysdeps/i386/bits/byteswap.h: Likewise.
51033 * sysdeps/s390/bits/byteswap.h: Likewise.
51034 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51035 * bits/byteswap-16.h: New file.
51036 * sysdeps/i386/bits/byteswap-16.h: Likewise.
51037 * sysdeps/s390/bits/byteswap-16.h: Likewise.
51038 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51039 * string/Makefile (headers): Add bits/byteswap-16.h.
51041 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51044 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51046 * nss/Makefile (tests-static, tests): Add tst-nss-static.
51047 * nss/tst-nss-static.c: New.
51049 2012-04-06 Robert Millan <rmh@gnu.org>
51052 * manual/llio.texi (File Position Primitive): lseek
51053 refers to WHENCE when it really means OFFSET.
51055 2012-04-06 Andreas Jaeger <aj@suse.de>
51057 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51058 strncmp declarations.
51060 * abilist/libc.abilist: Add __poll and __ppoll.
51062 2012-04-05 David S. Miller <davem@davemloft.net>
51064 * scripts/check-local-headers.sh: Accept a host triplet in the
51065 path matched by the exclude regexp.
51067 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51069 * sysdeps/powerpc/powerpc32/dl-machine.h
51070 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51071 * sysdeps/s390/s390-32/dl-machine.h
51072 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51073 * sysdeps/sparc/sparc32/dl-machine.h
51074 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51075 * sysdeps/sparc/sparc64/dl-machine.h
51076 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51078 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51080 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51081 undefined symbol errors.
51083 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51086 2012-04-05 Michael Matz <matz@suse.de>
51089 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51091 2012-04-05 Andreas Jaeger <aj@suse.de>
51094 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51097 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51099 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51100 which ROUND is no valid rounding mode.
51102 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51104 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51106 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51108 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51110 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51111 an exception using FPU order intentionally.
51113 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51115 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51116 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51117 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51118 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51120 2012-04-05 Simon Josefsson <simon@josefsson.org>
51123 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51124 EINVAL when BUFLEN is too smal.
51126 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
51129 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51130 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51132 2012-04-03 Andreas Jaeger <aj@suse.de>
51135 * manual/setjmp.texi (System V contexts): Fix sentence.
51138 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51139 New macro for this case.
51140 [!__GNUC__] (__bswap_64): New inline function for this case.
51141 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51142 * bits/byteswap.h: Likewise.
51143 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51144 ull, guard with __GLIBC_HAVE_LONG_LONG.
51146 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51147 __GLIBC_HAVE_LONG_LONG.
51149 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51150 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51152 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51155 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51156 inptr and inend, rather than using last_ch.
51158 2012-04-02 David S. Miller <davem@davemloft.net>
51160 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51161 * stdio-common/printf-parse.h (read_int): Change return type to
51162 'int', return -1 on INT_MAX overflow.
51163 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51164 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
51165 overflows INT_MAX. Check for overflow of in-format-string precision
51166 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
51167 SIZE_MAX not INT_MAX for integer overflow test.
51168 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51169 skip the construct in the format string but do not record anything.
51170 * stdio-common/bug22.c: Adjust to test both width/prevision
51171 INT_MAX overflow as well as total length INT_MAX overflow. Check
51172 explicitly for proper errno values.
51174 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
51176 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51178 * string/test-strcmp.c [! WIDE]: Likewise.
51179 * time/tst-mktime2.c: Likewise for INT_MAX.
51180 * string/test-string.h: #include <sys/param.h> for MIN.
51182 * csu/init-first.c (__libc_init_first): Call __ctype_init.
51183 * sysdeps/i386/init-first.c (init): Likewise.
51184 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51185 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51186 * sysdeps/sh/init-first.c (init): Likewise.
51188 2012-04-01 Ulrich Drepper <drepper@gmail.com>
51190 * po/ru.po: Update from translation team.
51191 * po/vi.po: Likewise.
51193 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
51195 * resolv/nss_dns/dns-host.c: Merge copyright years.
51197 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51199 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51200 Optimize memcpy with prefetch if
51201 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
51202 src, dst pointers have unequal 16 byte alignments.
51204 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51207 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51208 from a CNAME entry and return the minimum ttl for the query.
51209 (gaih_getanswer_slice): Likewise.
51211 2012-03-30 Jeff Law <law@redhat.com>
51213 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51215 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51216 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51218 * resolv/nss_dns/dns-host.c: Update copyright year.
51220 2012-03-30 Ulrich Drepper <drepper@gmail.com>
51222 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51223 requests to save a system call. Fix check that all bytes are sent.
51225 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51226 comments for sendmmsg.
51228 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51231 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51232 with only 1 character between 0x0041 and 0x01b0.
51233 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51234 * wcsmbs/tst-mbsnrtowcs.c: New file.
51236 2012-03-29 David S. Miller <davem@davemloft.net>
51238 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51239 small copies by hand.
51241 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51244 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51245 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51248 2012-03-28 David S. Miller <davem@davemloft.net>
51250 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51251 that branches into memcpy.
51252 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51253 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51254 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51255 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51256 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51258 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51259 implementation too.
51260 * sysdeps/sparc/mempcpy.S: New file.
51262 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51263 the IFUNC routine in the libc case.
51264 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51266 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51267 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51268 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51269 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51270 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51271 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51272 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51273 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51275 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51276 loop to 256 bytes instead of 64 bytes and fix test signedness.
51278 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51279 * sysdeps/sparc/sparc32/Makefile: rather than here...
51280 * sysdeps/sparc/sparc64/Makefile: and here.
51282 2012-03-28 Ulrich Drepper <drepper@gmail.com>
51284 * malloc/mallocbug.c: Avoid warnings about unused variables.
51286 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51289 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51290 in the right place. Discard and retry query if response is
51291 larger than input buffer size.
51293 2012-03-28 Joseph Myers <joseph@codesourcery.com>
51298 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51299 x for large integer exponent.
51300 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51301 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
51302 sign of result as needed afterwards.
51303 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51304 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51305 result for underflowing pow the same as for overflow.
51306 (__kernel_standard_l): Handle powl overflow and underflow here
51307 rather than calling __kernel_standard.
51308 * math/libm-test.inc (pow_test): Add more tests.
51323 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51324 * sysdeps/ieee754/k_standard.c: Include <float.h>.
51325 (__kernel_standard_l): New function.
51326 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51328 * math/w_acosl.c (__acosl): Likewise.
51329 * math/w_asinl.c (__asinl): Likewise.
51330 * math/w_atan2l.c (__atan2l): Likewise.
51331 * math/w_atanhl.c (__atanhl): Likewise.
51332 * math/w_coshl.c (__coshl): Likewise.
51333 * math/w_exp10l.c (__exp10l): Likewise.
51334 * math/w_exp2l.c (__exp2l): Likewise.
51335 * math/w_fmodl.c (__fmodl): Likewise.
51336 * math/w_hypotl.c (__hypotl): Likewise.
51337 * math/w_j0l.c (__j0l, __y0l): Likewise.
51338 * math/w_j1l.c (__j1l, __y1l): Likewise.
51339 * math/w_jnl.c (__jnl, __ynl): Likewise.
51340 * math/w_lgammal.c (__lgammal): Likewise.
51341 * math/w_log10l.c (__log10l): Likewise.
51342 * math/w_log2l.c (__log2l): Likewise.
51343 * math/w_logl.c (__logl): Likewise.
51344 * math/w_powl.c (__powl): Likewise.
51345 * math/w_remainderl.c (__remainderl): Likewise.
51346 * math/w_scalbl.c (sysv_scalbl): Likewise.
51347 * math/w_sinhl.c (__sinhl): Likewise.
51348 * math/w_sqrtl.c (__sqrtl): Likewise.
51349 * math/w_tgammal.c (__tgammal): Likewise.
51350 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51351 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51352 * math/libm-test.inc (acos_test): Add more tests.
51353 (acosh_test): Likewise.
51354 (asin_test): Likewise.
51355 (atanh_test): Likewise.
51356 (exp_test): Likewise.
51357 (exp10_test): Likewise.
51358 (exp2_test): Likewise.
51359 (expm1_test): Likewise.
51360 (lgamma_test): Likewise.
51361 (log_test): Likewise.
51362 (log10_test): Likewise.
51363 (log1p_test): Likewise.
51364 (log2_test): Likewise.
51365 (pow_test): Do not allow some spurious overflow exceptions.
51366 (sqrt_test): Add more tests.
51367 (tgamma_test): Likewise.
51368 (y0_test): Likewise.
51369 (y1_test): Likewise.
51370 (yn_test): Likewise.
51372 2012-03-27 Anton Blanchard <anton@samba.org>
51374 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51376 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51377 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51378 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51380 2012-03-27 David S. Miller <davem@davemloft.net>
51382 * conform/Makefile: Run run-conformtest.sh using $(BASH).
51384 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51385 have-as-vis3 check.
51387 2012-03-27 Andreas Jaeger <aj@suse.de>
51389 * sysdeps/x86_64/elf/configure.in: Moved to ...
51390 * sysdeps/x86_64/configure.in: ... here.
51391 * sysdeps/x86_64/elf/start.S: Moved to ...
51392 * sysdeps/x86_64/start.S: ... here.
51393 * sysdeps/x86_64/elf/configure: Delete.
51395 * sysdeps/x86_64/configure.in: Merge contents from
51396 sysdeps/i386/configure.in (without i686 check).
51398 * sysdeps/i386/elf/Versions: Merge into ...
51399 * sysdeps/i386/Versions: ... this.
51400 * sysdeps/i386/elf/Versions: Delete file.
51401 * sysdeps/i386/elf/start.S: Moved to ...
51402 * sysdeps/i386/start.S: ...here.
51403 * sysdeps/i386/elf/configure.in: Merge into...
51404 * sysdeps/i386/configure.in: ...here.
51405 * sysdeps/i386/elf/configure.in: Delete file.
51406 * sysdeps/i386/elf/configure: Delete file.
51408 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51409 * debug/backtracesyms.c: ... here.
51410 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51411 * debug/backtracesymsfd.c: ... here.
51412 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51413 * sysdeps/generic/ifunc-sel.h: ... here.
51415 * sysdeps/unix/i386/start.c: Delete file.
51416 * sysdeps/unix/sparc/start.c: Delete file.
51417 * sysdeps/unix/start.c: Delete file.
51419 * sysdeps/sh/elf/configure.in: Moved to ...
51420 * sysdeps/sh/configure.in: ... here.
51421 * sysdeps/sh/elf/start.S: Moved to ...
51422 * sysdeps/sh/start.S: ... here.
51423 * sysdeps/sh/elf/configure: Delete file.
51425 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51426 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51427 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51428 * sysdeps/powerpc/powerpc64/entry.h: ... here.
51429 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51430 * sysdeps/powerpc/powerpc64/start.S: here.
51431 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51432 * sysdeps/powerpc/powerpc64/Makefile: ... this.
51433 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51434 * sysdeps/powerpc/powerpc64/configure.in: ... this.
51435 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51437 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51438 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51439 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51440 * sysdeps/powerpc/powerpc32/start.S: ... here.
51441 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51442 * sysdeps/powerpc/powerpc32/configure.in: ... this.
51443 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51445 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51446 * sysdeps/powerpc/ifunc-sel.h: ... here.
51447 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51448 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51450 * sysdeps/sparc/elf/configure.in: Moved to ...
51451 * sysdeps/sparc/configure.in: ... here.
51452 * sysdeps/sparc/elf/configure: Delete file.
51453 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51454 * sysdeps/sparc/sparc32/start.S: ... here.
51455 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51456 * sysdeps/sparc/sparc64/start.S: ... here.
51457 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51458 * sysdeps/sparc/sparc32/Makefile: ... this.
51459 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51460 * sysdeps/sparc/sparc64/Makefile: ... this.
51462 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51463 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51464 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51465 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51466 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51467 * sysdeps/s390/s390-32/setjmp.S: ... here.
51468 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51469 * sysdeps/s390/s390-32/configure.in: ... here.
51470 * sysdeps/s390/s390-32/elf/configure: Delete file.
51471 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51472 * sysdeps/s390/s390-32/start.S: ... here.
51474 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51475 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51476 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51477 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51478 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51479 * sysdeps/s390/s390-64/setjmp.S: ... here.
51480 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51481 * sysdeps/s390/s390-64/configure.in: ... here
51482 * sysdeps/s390/s390-64/elf/configure: Delete file.
51483 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51484 * sysdeps/s390/s390-64/start.S: ... here.
51485 * sysdeps/s390/s390-64/elf/configure: Delete.
51487 * configure.in: Remove support for elf directories in sysdeps.
51489 * configure: Regenerated.
51490 * sysdeps/i386/configure: Regenerated.
51491 * sysdeps/powerpc/powerpc32/configure: Regenerated.
51492 * sysdeps/powerpc/powerpc64/configure: Regenerated.
51493 * sysdeps/s390/s390-32/configure: Regenerated.
51494 * sysdeps/s390/s390-64/configure: Regenerated.
51495 * sysdeps/sh/configure: Regenerated.
51496 * sysdeps/sparc/configure: Regenerated.
51497 * sysdeps/x86_64/configure: Regenerated.
51499 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
51501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51503 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51504 denormal result into account.
51506 2012-03-25 Roland McGrath <roland@hack.frob.com>
51508 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51509 Reported by Allan McRae <allan@archlinux.org>.
51511 2012-03-23 Jeff Law <law@redhat.com>
51513 * nss/getnssent.c (__nss_getent): Fix typo.
51515 2012-03-23 David S. Miller <davem@davemloft.net>
51517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51519 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
51521 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51522 to pad to uint64_t for each field.
51523 (dl_tls_index): Replace unsigned long with uint64_t.
51525 2012-03-23 Daniel Jacobowitz <dmj@google.com>
51526 Paul Pluzhnikov <ppluzhnikov@google.com>
51529 * grp/Makefile (otherlibs): Don't set it.
51530 * inet/Makefile (otherlibs): Likewise.
51531 * login/Makefile (otherlibs): Likewise.
51532 * nscd/Makefile (otherlibs): Likewise.
51533 * posix/Makefile (otherlibs): Likewise.
51534 * pwd/Makefile (otherlibs): Likewise.
51535 * rt/Makefile (otherlibs): Likewise.
51536 * sunrpc/Makefile (otherlibs): Likewise.
51537 * nss/Makefile (otherlibs): Likewise.
51538 Add libnss_files to routines and static-only-routines.
51539 ($(objpfx)getent): Remove rule.
51540 * resolv/Makefile: Add libnss_dns and libresolv to routines and
51541 static-only-routines.
51543 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51546 * math/s_cexp.c: Include <float.h>.
51547 (__cexp): Handle exp result overflowing not necessarily
51548 overflowing both real and imaginary parts of result.
51549 * math/s_cexpf.c: Likewise.
51550 * math/s_cexpl.c: Likewise.
51551 * math/libm-test.inc (cexp_test): Add more tests.
51552 * sysdeps/i386/fpu/libm-test-ulps: Update.
51553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51555 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51557 * include/link.h (ELFW): New macro.
51558 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51559 Replace ELF64_R_TYPE with ELFW(R_TYPE).
51561 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51563 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51566 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51568 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51570 (struct La_x32_retval): Likewise.
51572 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51574 * sysdeps/x86_64/preconfigure.in: New file.
51575 * sysdeps/x86_64/preconfigure: New generated file.
51577 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51580 * math/e_exp2l.c: Include <float.h>.
51581 (__ieee754_exp2l): Handle overflow and underflow cases
51582 separately. Only pass fractional part of argument to
51584 * math/libm-test.inc (exp2_test): Add more tests.
51586 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51587 negating x to take absolute value.
51588 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51590 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51591 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51593 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51594 computing low part if x was negated.
51595 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51597 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51599 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51600 la_x32_gnu_pltexit.
51601 (pltexit): Cast int_retval to ptrdiff_t.
51602 * elf/tst-auditmod3b.c: Likewise.
51603 * elf/tst-auditmod4b.c: Likewise.
51604 * elf/tst-auditmod5b.c: Likewise.
51605 * elf/tst-auditmod6b.c: Likewise.
51606 * elf/tst-auditmod6c.c: Likewise.
51607 * elf/tst-auditmod7b.c: Likewise.
51609 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51610 and x32_gnu_pltexit.
51612 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51613 __ELF_NATIVE_CLASS.
51614 (La_x32_regs): New macro.
51615 (La_x32_retval): Likewise.
51616 (la_x32_gnu_pltenter): New function prototype.
51617 (la_x32_gnu_pltexit): Likewise.
51619 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
51621 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51626 * configure.in (libc_cv_cc_nofma): Check for option to disable
51627 generation of FMA instructions.
51628 * configure: Regenerate.
51629 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51630 * sysdeps/ieee754/dbl-64/Makefile: New file.
51631 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51632 Remove brandred-fma4.
51633 (CFLAGS-brandred-fma4.c): Remove.
51634 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51635 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51637 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51640 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51642 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51643 LLONG_MAX != LONG_MAX.
51644 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51645 (_fitoa_word): Likewise.
51646 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51647 LLONG_MAX != LONG_MAX.
51648 * stdio-common/_itowa.h: Include <_itoa.h>.
51649 (_itowa_word): Use _ITOA_WORD_TYPE on value.
51650 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
51651 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
51652 only if not defined.
51653 (_ITOA_WORD_TYPE): Likewise.
51654 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51655 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51657 2012-03-21 David S. Miller <davem@davemloft.net>
51659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51661 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51663 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51664 of x86_64 when setting libc_cv_slibdir, libdir and
51666 * sysdeps/unix/sysv/linux/configure: Regenerated.
51668 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51670 * manual/lang.texi (Old Varargs): Remove section.
51671 (How Variadic): Update menu.
51672 (va_start): Do not mention varargs.h.
51674 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51675 Joseph Myers <joseph@codesourcery.com>
51677 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51679 * configure: Regenerated.
51681 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51683 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51684 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51687 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51690 * Makefile (files-for-dist): Remove NOTES.
51691 (NOTES): Remove rule.
51692 * README: Don't refer to NOTES.
51693 * manual/creature.texi: Don't include macros.texi.
51694 * manual/intro.texi (creature.texi): Remove comment referring to
51697 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51698 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51699 * configure: Regenerated.
51700 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51701 LIBC_TRY_CC_OPTION.
51702 (libc_cv_as_i686): Likewise.
51703 (libc_cv_cc_avx): Likewise.
51704 (libc_cv_cc_sse2avx): Likewise.
51705 (libc_cv_cc_fma4): Likewise.
51706 (libc_cv_cc_novzeroupper): Likewise.
51707 * sysdeps/i386/configure: Regenerated.
51710 * sysdeps/i386/fpu/s_cexp.S: Remove.
51711 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51712 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51713 * math/libm-test.inc (cexp_test): Add more tests.
51714 * sysdeps/i386/fpu/libm-test-ulps: Update.
51715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51717 2012-03-21 Allan McRae <allan@archlinux.org>
51719 * timezone/Makefile: Do not install iso3166.tab and zone.tab
51721 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51724 * math/w_exp2.c: Do not include <float.h>.
51725 (o_threshold, u_threshold): Remove.
51726 (__exp2): Calculate result before checking finiteness and calling
51728 * math/w_exp2f.c: Likewise.
51729 * math/w_exp2l.c: Likewise.
51730 * math/libm-test.inc (exp2_test): Require overflow exception for
51734 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51735 range of signed 64-bit integers before using fistpll. Remove
51736 checks for whether integers fit in mantissa bits.
51737 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51738 the range of signed 32-bit integers before using fistpl. Remove
51739 checks for whether integers fit in mantissa bits.
51740 * sysdeps/i386/fpu/e_powl.S (p64): New object.
51741 (__ieee754_powl): Test for y outside the range of signed 64-bit
51742 integers before using fistpll. Reduce 64-bit values to 63-bit
51744 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51745 divide-by-zero is raised for zero to large negative powers.
51746 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51747 (__ieee754_powl): Test for y outside the range of signed 64-bit
51748 integers before using fistpll. Reduce 64-bit values to 63-bit
51750 * math/libm-test.inc (pow_test): Add more tests.
51752 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51754 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51755 <stdio-common/_itoa.h>.
51756 * debug/segfault.c: Likewise.
51757 * elf/dl-cache.c: Likewise.
51758 * elf/dl-minimal.c: Likewise.
51759 * elf/dl-misc.c: Likewise.
51760 * elf/dl-sysdep.c: Likewise.
51761 * elf/dl-version.c: Likewise.
51762 * elf/rtld.c: Likewise.
51763 * hurd/hurdsock.c: Likewise.
51764 * hurd/lookup-retry.c: Likewise.
51765 * malloc/malloc.c: Likewise.
51766 * malloc/mtrace.c: Likewise.
51767 * nscd/nscd_getgr_r.c: Likewise.
51768 * nscd/nscd_getpw_r.c: Likewise.
51769 * nscd/nscd_getserv_r.c: Likewise.
51770 * posix/getopt_init.c: Likewise.
51771 * posix/wordexp.c: Likewise.
51772 * stdio-common/_itoa.c: Likewise.
51773 * stdio-common/printf_fphex.c: Likewise.
51774 * stdio-common/vfprintf.c: Likewise.
51775 * string/_strerror.c: Likewise.
51776 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51777 * sysdeps/i386/i686/hp-timing.h: Likewise.
51778 * sysdeps/mach/_strerror.c: Likewise.
51779 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51780 * sysdeps/mach/hurd/sethostid.c: Likewise.
51781 * sysdeps/mach/hurd/xmknodat.c: Likewise.
51782 * sysdeps/mach/xpg-strerror.c: Likewise.
51783 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51784 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51785 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51786 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51787 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51788 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51789 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51790 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51791 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51792 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51793 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51794 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51795 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51796 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51797 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51798 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51799 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51800 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51801 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51802 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51803 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51805 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51807 * stdio-common/_itoa.h: Moved to ...
51808 * sysdeps/generic/_itoa.h: Here.
51810 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51812 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51813 instead of "_itoa.h" and "_itowa.h".
51814 * stdio-common/vfprintf.: Likewise.
51816 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51818 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51820 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51821 (__signbit): Likwise.
51822 (llrintf): Likwise.
51825 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51827 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51830 2012-03-20 Joseph Myers <joseph@codesourcery.com>
51832 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51833 OVERFLOW_EXCEPTION_OK.
51834 * math/libm-test.inc ("Philosophy"): Update comment about
51836 (OVERFLOW_EXCEPTION): Define.
51837 (OVERFLOW_EXCEPTION_OK): Likewise.
51838 (INVALID_EXCEPTION_OK): Renumber.
51839 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51840 (IGNORE_ZERO_INF_SIGN): Likewise.
51841 (test_exceptions): Handle FE_OVERFLOW.
51842 (exp10_test): Expect overflow exceptions.
51843 (exp2_test): Likewise.
51844 (expm1_test): Likewise.
51845 (nextafter_test): Likewise.
51846 (pow_test): Likewise.
51847 (scalbn_test): Likewise.
51848 (scalbln_test): Likewise.
51850 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51852 * sysdeps/x86_64/bits/atomic.h
51853 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51855 (atomic_exchange_acq): Likewise.
51856 (__arch_exchange_and_add_body): Likewise.
51857 (__arch_add_body): Likewise.
51858 (atomic_add_negative): Likewise.
51859 (atomic_add_zero): Likewise.
51861 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51863 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51864 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51866 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51868 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51869 Check __x86_64__ instead of __WORDSIZE.
51871 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51873 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51875 2012-03-19 David S. Miller <davem@davemloft.net>
51877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51879 * sysdeps/sparc/fpu/fenv_private.h: New file.
51880 * sysdeps/sparc/fpu/math_private.h: Use it.
51881 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51883 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51884 (libc_feholdexcept_setroundl): Remove.
51885 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51887 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51888 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51890 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51892 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51893 int64_t instead of long int.
51894 (INSERT_WORDS64): Likwise.
51896 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51898 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51899 _Unwind_GetCFA return to _Unwind_Ptr first.
51901 2012-03-19 Joseph Myers <joseph@codesourcery.com>
51904 * math/s_clog.c: Include <float.h>.
51905 (__clog): Scale large or subnormal inputs.
51906 * math/s_clogf.c: Likewise.
51907 * math/s_clogl.c: Likewise.
51908 * math/s_clog10.c: Include <float.h>.
51909 (M_LOG10_2): Define.
51910 (__clog10): Scale large or subnormal inputs.
51911 * math/s_clog10f.c: Likewise.
51912 * math/s_clog10l.c: Likewise.
51913 * math/libm-test.inc (clog_test): Add more tests.
51914 (clog10_test): Likewise.
51915 * sysdeps/i386/fpu/libm-test-ulps: Update.
51916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51919 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51921 * math/libm-test.inc (atan2_test): Add another test.
51923 * Makerules (common-objdir-compile): Remove.
51924 * sysdeps/unix/Makefile (config-generated): Do not add
51925 $(unix-generated) to variable.
51926 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51927 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51929 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51931 [generic bits/local_lim.h] (before-compile): Do not append to
51933 [generic bits/local_lim.h] (common-generated): Likewise.
51934 [generic sys/param.h] (before-compile): Do not append to variable.
51935 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51936 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51937 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51938 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51940 [generic sys/param.h] (sys/param.h-includes): Remove variable.
51941 [generic sys/param.h] (sys/param.h-includes): Remove rule.
51942 [generic sys/param.h] ($(addprefix
51943 $(common-objpfx),$(sys/param.h-includes))): Likewise.
51944 [generic sys/param.h] (common-generated): Do not append to
51946 [generic sys/param.h] (sysdep_headers): Likewise.
51947 [generic bits/errno.h] (before-compile): Do not append to
51949 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51951 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51952 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51953 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51954 [generic bits/errno.h] (common-generated): Do not append to
51956 [generic bits/ioctls.h] (before-compile): Do not append to
51958 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51960 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51961 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51962 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51964 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51965 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51966 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51967 [generic bits/ioctls.h] (common-generated): Do not append to
51969 [generic sys/syscall.h] (syscall.h): Remove variable.
51970 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51972 [generic sys/syscall.h] (before-compile): Do not append to
51974 [generic sys/syscall.h] (common-generated): Likewise.
51975 * sysdeps/unix/errnos-tmpl.c: Remove file.
51976 * sysdeps/unix/errnos.awk: Likewise.
51977 * sysdeps/unix/ioctls-tmpl.c: Likewise.
51978 * sysdeps/unix/ioctls.awk: Likewise.
51979 * sysdeps/unix/mk-local_lim.c: Likewise.
51980 * sysdeps/unix/snarf-ioctls: Likewise.
51982 2012-03-19 Richard Henderson <rth@twiddle.net>
51984 * sysdeps/i386/fpu/fenv_private.h: New file.
51985 * sysdeps/i386/fpu/math_private.h: Use it.
51986 (math_opt_barrier, math_force_eval): Remove.
51987 (libc_feholdexcept_setround_53bit): Remove.
51988 (libc_feupdateenv_53bit): Remove.
51989 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51990 (math_opt_barrier, math_force_eval): Remove.
51991 (libc_feholdexcept): Remove.
51992 (libc_feholdexcept_setround): Remove.
51993 (libc_fetestexcept, libc_fesetenv): Remove.
51994 (libc_feupdateenv_test): Remove.
51995 (libc_feupdateenv, libc_feholdsetround): Remove.
51996 (libc_feresetround): Remove.
51998 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51999 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52001 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52002 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52003 (libc_feupdateenv_testl): New.
52004 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52005 (libc_feupdateenv_testf): New.
52006 (libc_feupdateenv): Use libc_feupdateenv_test.
52007 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52008 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52010 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52011 (libc_feholdsetroundf, libc_feholdsetroundl): New.
52012 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52013 (libc_feresetround_noex): New.
52014 (libc_feresetround_noexf): New.
52015 (libc_feresetround_noexl): New.
52016 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52017 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52018 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52019 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52021 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52022 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52024 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52025 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52026 SET_RESTORE_ROUND_NOEX.
52027 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52028 SET_RESTORE_ROUND_NOEXF.
52029 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52030 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52031 (libc_feholdsetroundf): New.
52032 (libc_feresetround, libc_feresetroundf): New.
52034 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52035 (libc_feholdexcept_setround_53bit): Convert from macro to function.
52036 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
52038 * sysdeps/generic/math_private.h: Include <fenv.h>.
52039 (default_libc_feholdexcept): New.
52040 (default_libc_feholdexcept_setround): New.
52041 (default_libc_fesetenv, default_libc_feupdateenv): New.
52042 (libc_feholdexcept): Only define if undefined.
52043 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52044 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52045 (libc_feholdexcept_setroundl): Likewise.
52046 (libc_feholdexcept_setround_53bit): Likewise.
52047 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52048 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52049 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52050 (libc_feupdateenv_53bit): Likewise.
52051 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52052 (libc_feholdexcept): Convert from macro to inline function.
52053 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52054 (libc_fesetenv, libc_feupdateenv): Likewise.
52056 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52057 not previously defined.
52058 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52059 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52060 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52061 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52062 * sysdeps/ieee754/flt-32/math_private.h: New file.
52063 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52064 math_private.h below SET_FLOAT_WORD.
52065 (__isnan, __isinf_ns, __finite): Remove.
52066 (__isnanf, __isinf_nsf, __finitef): Remove.
52068 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
52070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52072 2012-03-17 David S. Miller <davem@davemloft.net>
52075 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52078 2012-03-16 David S. Miller <davem@davemloft.net>
52080 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52084 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52086 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52087 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52088 sysdep_routines when subdir is sysvipc.
52089 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52090 __getshmlba helper.
52092 * sysdeps/sparc/fpu/libm-test/ulps: Update.
52094 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52096 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52099 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52101 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52102 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52103 (__lround): Renamed to ...
52104 (__llround): This. Replace long int with long long int.
52105 Define lround functions as aliases of llround functions.
52106 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52108 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52110 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52111 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
52112 adresses to uintptr_t. Replace "long int" and "unsigned long
52113 int" with "greg_t" on va_arg.
52115 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52117 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52118 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52120 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52121 Move e_machine check before EI_CLASS check. Handle x32
52122 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52123 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52124 SKIP_EM_IA_64 and include
52125 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52127 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52128 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52129 (add_system_dir): New macro.
52131 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52132 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52134 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52145 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52147 * math/w_j0f.c (j0f): Likewise.
52149 * math/w_j0l.c (__j0l): Likewise.
52151 * math/w_j1.c (j1): Likewise.
52153 * math/w_j1f.c (j1f): Likewise.
52155 * math/w_j1l.c (__j1l): Likewise.
52157 * math/w_jn.c (jn): Likewise.
52159 * math/w_jnf.c (jnf): Likewise.
52161 * math/w_jnl.c (__jnl): Likewise.
52163 * math/libm-test.inc (j0_test): Add more tests.
52164 (j1_test): Likewise.
52165 (jn_test): Likewise. Add trailing semicolon to existing test.
52166 (y0_test): Likewise.
52167 (y1_test): Likewise.
52168 * sysdeps/i386/fpu/libm-test-ulps: Update.
52169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52173 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52174 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52175 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52176 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52177 (__tanl): Set errno for infinite argument.
52178 * sysdeps/i386/fpu/mptan.c: Remove.
52179 * sysdeps/i386/fpu/s_tan.S: Likewise.
52180 * sysdeps/i386/fpu/s_tanl.S: Likewise.
52181 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52182 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52183 * math/libm-test.inc (tan_test): Add more tests and enable more
52184 tests for double and long double.
52185 * sysdeps/i386/fpu/libm-test-ulps: Update.
52186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52188 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
52190 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52191 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52193 2012-03-16 Roland McGrath <roland@hack.frob.com>
52195 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52196 * configure.in: Use it for both main tree and add-ons.
52197 * configure: Regenerated.
52199 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52201 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52203 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52205 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52209 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52210 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52211 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52212 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52213 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52215 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52216 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52217 != 0 for prec == 2.
52218 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52219 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52220 * sysdeps/i386/fpu/s_cosl.S: Likewise.
52221 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52222 * sysdeps/i386/fpu/s_sinl.S: Likewise.
52223 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52224 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52225 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52226 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52227 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52228 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52229 * math/libm-test.inc (cos_test): Add more tests and enable more
52230 tests for long double.
52231 (sin_test): Likewise.
52232 (sincos_test): Likewise.
52233 * sysdeps/i386/fpu/libm-test-ulps: Update.
52234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52236 2012-03-16 David S. Miller <davem@davemloft.net>
52238 * sysdeps/sparc/fpu/math_private.h: New file.
52240 2012-03-15 David S. Miller <davem@davemloft.net>
52242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52252 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52256 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52257 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52259 * sysdeps/sparc/sparc-ifunc.h: New file.
52260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52298 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52299 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52300 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52301 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52302 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52303 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52305 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52307 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52311 2012-03-15 Andreas Jaeger <aj@suse.de>
52314 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52315 ieee754/flt-32 implementation for sin, cos and sincos.
52316 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52317 * sysdeps/i386/fpu/s_cosf.S: Likewise.
52318 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52319 * sysdeps/i386/fpu/s_sinf.S: Likewise.
52320 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52321 ieee754/flt-32 implementation for tan.
52323 * math/libm-test.inc (cos_test): Enable some large input tests for
52325 (sin_test): Likewise.
52326 (sincos_test): Likewise.
52327 (tan_test): Add tests for large input.
52329 * sysdeps/i386/fpu/libm-test-ulps: Update.
52331 2012-03-15 Andreas Jaeger <aj@suse.de>
52334 * math/libm-test.inc (cos_test): Add more test cases.
52335 (sin_test): Likewise.
52336 (sincos_test): Likewise.
52338 2012-03-15 Andreas Jaeger <aj@suse.de>
52341 * math/libm-test.inc (cos_test): Add a test case for large input
52343 (sin_test): Likewise.
52344 (sincos_test): Likewise.
52346 2012-03-15 Andreas Jaeger <aj@suse.de>
52347 Joseph Myers <joseph@codesourcery.com>
52350 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52351 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52352 * sysdeps/i386/fpu/branred.c: Likewise.
52353 * sysdeps/i386/fpu/dosincos.c: Likewise.
52354 * sysdeps/i386/fpu/mpa.c: Likewise.
52355 * sysdeps/i386/fpu/s_cos.S: Likewise.
52356 * sysdeps/i386/fpu/s_sin.S: Likewise.
52357 * sysdeps/i386/fpu/s_sincos.S: Likewise.
52358 * sysdeps/i386/fpu/sincos32.c: Likewise.
52360 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52362 (libc_feupdateenv_53bit): Define.
52363 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52365 (libc_feupdateenv_53bit): Define.
52367 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52368 53 bit (without extend i386 double precision).
52370 * math/libm-test.inc (sincos_test): Add tests for large input.
52374 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52376 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52380 2012-03-15 David S. Miller <davem@davemloft.net>
52382 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52383 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52384 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52385 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52409 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52410 fmin/fmax sysdep routines.
52411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52413 2012-03-14 David S. Miller <davem@davemloft.net>
52415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52419 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52420 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52421 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52422 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52435 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52436 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52437 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52438 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52439 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52440 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52441 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52442 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52443 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52487 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52492 * sysdeps/sparc/configure.in: New file.
52493 * sysdeps/sparc/configure: Generate.
52494 * configure.in (libc_cv_sparc_as_vis3): Substitute.
52495 * configure: Regenerate.
52496 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52497 * config.make.in (have-as-vis3): New.
52498 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52499 available use -Av9d instead of -Av9a.
52500 * sysdeps/sparc/sparc64/Makefile: Likewise.
52501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52510 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52511 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52512 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52513 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52514 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52516 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52517 fzeros/fnegs to load 0x80000000 into a float register instead of
52519 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52521 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52525 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52526 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52527 ($(inst_includedir)/bits/syscall.h): Remove rule.
52528 ($(objpfx)bits/syscall.d): Include instead of
52529 $(objpfx)syscall-list.d.
52530 (generated): Change syscall-list.h and syscall-list.d to
52531 bits/syscall.h and bits/syscall.d.
52533 2012-03-14 Roland McGrath <roland@hack.frob.com>
52536 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52538 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52541 * math/s_csqrt.c: Include <float.h>.
52542 (__csqrt): Scale large or subnormal inputs.
52543 * math/s_csqrtf.c: Likewise.
52544 * math/s_csqrtl.c: Likewise.
52545 * math/libm-test.inc (csqrt_test): Add more tests.
52546 * sysdeps/i386/fpu/libm-test-ulps: Update.
52547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52550 * math/libm-test.inc (hypot_test): Add more tests.
52552 2012-03-13 David S. Miller <davem@davemloft.net>
52555 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52556 double-precision for the calculation instead of scaling.
52558 2012-03-13 Joseph Myers <joseph@codesourcery.com>
52560 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52561 manipulate bits before adding and subtracting TWO52[sx].
52562 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52563 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52565 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52567 2012-03-13 David S. Miller <davem@davemloft.net>
52569 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52570 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52571 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52572 rtld-global-offsets.h
52573 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52575 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52578 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52580 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52581 'err' in the ifdef scope in which it is actually used.
52583 * nss/nss_db/db-init.c: Include string.h
52585 2012-03-12 David S. Miller <davem@davemloft.net>
52587 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52588 masking out of the most significant byte of random value used.
52589 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52590 Fix coding style in previous change.
52592 * sysdeps/unix/sysv/linux/kernel-features.h
52593 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52594 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52596 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52599 2012-03-11 David S. Miller <davem@davemloft.net>
52601 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52602 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52603 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52604 for 'resultvar' otherwise things get truncated on 64-bit.
52606 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52607 Fix masking out of the most significant byte of random value used.
52609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52611 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
52613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52615 2012-03-09 David S. Miller <davem@davemloft.net>
52617 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52618 variables with appropriate CPP guards.
52619 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52620 from the frame pointer, not the stack pointer. Correct layout
52621 comments. Fix test on resulting framesize and the management of
52622 the outregs buffer for pltexit. Preserve floating point return
52623 values across _dl_call_pltexit call.
52624 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52625 framesize and the management of the outregs buffer for pltexit.
52626 Preserve floating point return values across _dl_call_pltexit
52628 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52629 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52630 (la_sparc64_gnu_pltexit): New functions.
52631 (print_exit): Fix format string for return register value.
52633 2012-03-10 Joseph Myers <joseph@codesourcery.com>
52635 * sunrpc/Makefile (others): Add rpcgen.
52636 ($(objpfx)rpcgen): Remove special build rule and dependency on
52638 * sunrpc/rpcgen.c: New file.
52640 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
52643 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52644 * stdio-common/bug-vfprintf-nargs.c: Likewise.
52645 * sysdeps/i386/crti.S: Likewise.
52646 * sysdeps/i386/crtn.S: Likewise.
52647 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52648 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52649 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52650 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52651 * sysdeps/sh/crti.S: Likewise.
52652 * sysdeps/sh/crtn.S: Likewise.
52653 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52656 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52658 * locale/programs/locfile-kw.gperf: Likewise.
52659 * locale/programs/charmap-kw.h: Regenerated.
52660 * locale/programs/locfile-kw.h: Likewise.
52663 * intl/plural.y: Replace FSF snail mail address with URL.
52664 * intl/plural.c: Regenerated.
52666 2012-03-09 Richard Henderson <rth@twiddle.net>
52668 * include/math_private.h: Remove file.
52669 * math/math_private.h: Move file ...
52670 * sysdeps/generic/math_private.h: ... here.
52672 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52673 * sysdeps/powerpc/fpu/math_private.h: Likewise.
52674 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52676 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52677 and <math_private.h>.
52678 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52679 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52680 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52681 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52682 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52683 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52684 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52685 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52686 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52687 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52689 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52690 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52691 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52692 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52693 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52694 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52695 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52696 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52697 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52699 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52700 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52701 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52702 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52703 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52704 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52705 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52706 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52707 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52708 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52710 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52711 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52712 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52713 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52714 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52715 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52716 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52717 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52718 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52719 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52720 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52721 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52722 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52723 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52724 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52725 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52726 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52727 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52728 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52729 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52730 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52731 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52732 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52733 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52734 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52735 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52736 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52737 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52738 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52739 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52740 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52741 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52742 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52743 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52744 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52745 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52746 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52747 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52748 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52749 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52750 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52751 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52752 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52753 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52754 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52755 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52756 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52757 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52758 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52759 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52760 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52761 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52762 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52764 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52765 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52766 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52767 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52768 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52769 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52770 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52771 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52772 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52773 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52774 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52775 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52776 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52777 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52778 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52779 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52780 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52781 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52782 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52783 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52784 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52785 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52786 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52787 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52788 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52789 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52790 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52791 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52792 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52793 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52794 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52795 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52796 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52797 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52798 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52799 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52800 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52801 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52802 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52803 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52804 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52805 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52806 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52807 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52808 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52809 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52810 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52811 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52812 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52813 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52814 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52815 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52816 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52817 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52818 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52819 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52820 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52821 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52822 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52823 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52824 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52825 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52826 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52827 * sysdeps/ieee754/k_standard.c: Likewise.
52828 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52829 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52830 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52831 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52832 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52833 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52834 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52835 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52836 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52837 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52838 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52839 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52840 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52841 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52842 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52843 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52844 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52845 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52846 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52847 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52848 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52849 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52850 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52851 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52852 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52853 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52854 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52855 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52856 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52857 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52858 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52859 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52860 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52861 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52862 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52863 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52864 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52865 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52866 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52867 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52868 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52869 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52870 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52871 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52872 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52873 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52874 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52875 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52876 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52877 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52878 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52879 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52880 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52881 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52882 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52883 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52884 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52885 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52886 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52887 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52888 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52889 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52890 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52891 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52892 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52893 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52894 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52895 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52896 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52897 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52898 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52899 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52900 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52901 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52902 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52903 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52904 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52905 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52906 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52907 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52908 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52909 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52910 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52911 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52912 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52913 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52914 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52915 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52916 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52917 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52918 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52919 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52920 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52921 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52922 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52923 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52924 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52925 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52926 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52927 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52928 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52929 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52930 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52931 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52932 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52933 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52934 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52935 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52936 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52937 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52938 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52939 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52940 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52941 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52942 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52943 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52944 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52945 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52946 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52947 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52948 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52949 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52950 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52951 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52952 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52953 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52954 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52955 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52956 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52957 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52958 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52959 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52960 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52961 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52962 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52963 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52964 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52965 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52966 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52967 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52968 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52969 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52970 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52971 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52972 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52973 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52974 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52975 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52976 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52977 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52978 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52979 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52980 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52981 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52982 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52983 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52984 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52985 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52986 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52987 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52988 * sysdeps/ieee754/s_lib_version.c: Likewise.
52989 * sysdeps/ieee754/s_matherr.c: Likewise.
52990 * sysdeps/ieee754/s_signgam.c: Likewise.
52991 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52992 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52993 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52994 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52995 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52996 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52997 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52998 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52999 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53000 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53001 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53002 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53003 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53004 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53005 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53006 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53007 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53008 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53009 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53010 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53011 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53013 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53015 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53016 * sunrpc/rpc_main.c: Likewise.
53017 * sunrpc/rpc_svcout.c: Likewise.
53019 2012-03-09 David S. Miller <davem@davemloft.net>
53021 * include/math_private.h: New file.
53023 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53025 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53026 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53027 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53028 from <bits/socket_type.h>.
53029 (enum __socket_type): Don't define here.
53030 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53032 bits/socket_type.h.
53035 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53036 checking __USE_GNU.
53038 * Makerules ($(inst_includedir)/%.h): New rule.
53039 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53040 (install-others): Remove variable setting.
53041 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53043 2012-03-08 Richard Henderson <rth@twiddle.net>
53045 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53046 from macro to inline function; merge with the
53047 !__LIBC_INTERNAL_MATH_INLINES version.
53048 (__ieee754_sqrtf): Likewise.
53050 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53051 to inline function.
53052 (__rintf, __floor, __floorf): Likewise.
53054 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53055 macro to inline function.
53056 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53058 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53059 not <math/math_private.h>.
53061 2012-03-08 David S. Miller <davem@davemloft.net>
53063 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53065 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53067 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
53069 * resolv/gai_misc.c (handle_requests): Fix struct timespec
53071 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53072 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53074 2012-03-08 Ulrich Drepper <drepper@gmail.com>
53076 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
53077 be defined individually, they must be defined as a block. Define
53078 S for printing a string instead of hidint the different by using a
53079 macro for adding the 'l'.
53080 * stdio-common/tst-fphex-wide.c: Adjust.
53082 2012-03-07 Marek Polacek <polacek@redhat.com>
53084 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53086 2012-03-08 Marek Polacek <polacek@redhat.com>
53089 * stdio-common/Makefile (tests): Add tst-fphex-wide.
53090 * stdio-common/tst-fphex.c: Define a few macros to make the
53091 test reusable. Use them.
53092 * stdio-common/tst-fphex-wide.c: New file.
53094 2012-03-08 Joseph Myers <joseph@codesourcery.com>
53097 * manual/macros.texi (gnusystems): New macro.
53098 (nongnusystems): Likewise.
53099 (gnulinuxhurdsystems): Likewise.
53100 (gnuhurdsystems): Likewise..
53101 (gnulinuxsystems): Likewise.
53102 * manual/charset.texi: Use new macros or @theglibc{} to refer to
53103 variants of the GNU system, not "GNU system".
53104 * manual/conf.texi: Likewise.
53105 * manual/errno.texi: Likewise. Update example of errno macro
53107 * manual/filesys.texi: Likewise.
53108 (getumask): Document as specific to GNU/Hurd.
53109 * manual/install.texi: Likewise. Reword some references to
53111 * manual/intro.texi: Likewise.
53112 * manual/io.texi: Likewise.
53113 (File Name Portability): Detail which constraints are inapplicable
53114 to all GNU systems and which are only inapplicable to GNU/Hurd.
53115 * manual/job.texi: Likewise.
53116 * manual/llio.texi: Likewise.
53117 (O_NOCTTY): Document as present on GNU/Linux.
53118 * manual/maint.texi: Likewise.
53119 * manual/memory.texi: Likewise.
53120 * manual/pattern.texi: Likewise.
53121 * manual/pipe.texi: Likewise.
53122 * manual/process.texi: Likewise.
53123 * manual/resource.texi: Likewise.
53124 (RUSAGE_CHILDREN): Remove statement about specifying a particular
53126 * manual/setjmp.texi: Likewise.
53127 * manual/signal.texi: Likewise.
53128 * manual/startup.texi: Likewise.
53129 * manual/stdio.texi: Likewise.
53130 * manual/terminal.texi: Likewise.
53131 (ONLCR): Document as POSIX.
53132 (OXTABS): Document availability on GNU/Linux as XTABS.
53133 (ONOEOT): Document availability separately from other bits.
53134 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53135 * manual/time.texi: Likewise.
53136 * manual/users.texi: Likewise.
53137 * INSTALL: Regenerated.
53138 * sysdeps/gnu/errlist.c: Regenerated.
53140 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53141 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53142 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
53144 * configure: Regenerated.
53146 2012-03-07 Joseph Myers <joseph@codesourcery.com>
53148 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53149 default includes instead of AC_HEADER_CHECK.
53150 * sysdeps/i386/configure: Regenerated.
53153 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53154 * math/s_cacoshf.c (__cacoshf): Likewise.
53155 * math/s_cacoshl.c (__cacoshl): Likewise.
53156 * math/s_casinh.c (__casinh): Set signs of result from argument.
53157 * math/s_casinhf.c (__casinhf): Likewise.
53158 * math/s_casinhl.c (__casinhl): Likewise.
53159 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53160 (casinh_test): Add more tests.
53161 * sysdeps/i386/fpu/libm-test-ulps: Update.
53162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53164 2012-03-07 Ulrich Drepper <drepper@gmail.com>
53166 * po/zh_TW.po: Update from translation team.
53168 * login/Makefile (distribute): Remove variable.
53169 * catgets/Makefile: Likewise.
53170 * mach/Makefile: Likewise.
53171 * malloc/Makefile: Likewise.
53172 * misc/Makefile: Likewise.
53173 * iconv/Makefile: Likewise.
53174 * nscd/Makefile: Likewise.
53175 * hurd/Makefile: Likewise.
53176 * manual/Makefile: Likewise.
53177 * locale/Makefile: Likewise.
53178 * intl/Makefile: Likewise.
53179 * conform/Makefile: Likewise.
53180 * nss/Makefile: Likewise.
53181 * time/Makefile: Likewise.
53182 * soft-fp/Makefile: Likewise.
53183 * dirent/Makefile: Likewise.
53184 * gmon/Makefile: Likewise.
53185 * po/Makefile: Likewise.
53186 * rt/Makefile: Likewise.
53187 * socket/Makefile: Likewise.
53188 * math/Makefile: Likewise.
53189 * signal/Makefile: Likewise.
53190 * debug/Makefile: Likewise.
53191 * elf/Makefile: Likewise.
53192 * timezone/Makefile: Likewise.
53193 * stdlib/Makefile: Likewise.
53194 * iconvdata/Makefile: Likewise.
53195 * sunrpc/Makefile: Likewise.
53196 * io/Makefile: Likewise.
53197 * argp/Makefile: Likewise.
53198 * inet/Makefile: Likewise.
53199 * hesiod/Makefile: Likewise.
53200 * grp/Makefile: Likewise.
53201 * csu/Makefile: Likewise.
53202 * wctype/Makefile: Likewise.
53203 * crypt/Makefile: Likewise.
53204 * libio/Makefile: Likewise.
53205 * string/Makefile: Likewise.
53206 * nis/Makefile: Likewise.
53207 * resolv/Makefile: Likewise.
53208 * stdio-common/Makefile: Likewise.
53209 * wcsmbs/Makefile: Likewise.
53210 * dlfcn/Makefile: Likewise.
53211 * posix/Makefile: Likewise.
53214 * timezone/Makefile: Don't install timezone files, just the programs
53217 2012-03-06 Ulrich Drepper <drepper@gmail.com>
53219 * nss/databases.def: Add missing gshadow entry.
53221 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
53223 2012-03-06 Marek Polacek <polacek@redhat.com>
53226 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53227 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53228 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53229 * stdio-common/tst-long-dbl-fphex.c: New file.
53231 2012-03-06 David S. Miller <davem@davemloft.net>
53233 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53234 (set_obp_int): New function.
53235 (get_obp_int): New function.
53236 (__get_clockfreq_via_dev_openprom): Likewise.
53237 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53238 Avoid unused variable warnings on 'val' and use builtin_expect.
53239 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53241 (INLINE_CLONE_SYSCALL): Likewise.
53243 2012-03-05 David S. Miller <davem@davemloft.net>
53245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53247 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
53249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53251 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53252 only for |x| >= 40.
53253 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53255 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
53257 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53258 Replace gettimeofday with __vdso_gettimeofday.
53260 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53261 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53262 __vdso_clock_gettime and __vdso_getcpu.
53264 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53265 time with __vdso_time.
53267 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53269 * manual/lang.texi (size_t): Note types to which size_t may be
53270 equivalent with the GNU C Library, but do not describe when
53271 differences between them are significant.
53273 2012-03-05 Andreas Jaeger <aj@suse.de>
53275 * sysdeps/i386/fpu/libm-test-ulps: Update.
53277 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53280 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53281 (__ieee754_pow): Save and restore rounding mode and use
53282 round-to-nearest for main computations.
53283 * math/libm-test.inc (pow_test_tonearest): New function.
53284 (pow_test_towardzero): Likewise.
53285 (pow_test_downward): Likewise.
53286 (pow_test_upward): Likewise.
53287 (main): Call the new functions.
53288 * sysdeps/i386/fpu/libm-test-ulps: Update.
53289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53292 * math/libm-test.inc (cosh_test_tonearest): New function.
53293 (cosh_test_towardzero): Likewise.
53294 (cosh_test_downward): Likewise.
53295 (cosh_test_upward): Likewise.
53296 (sinh_test_tonearest): Likewise.
53297 (sinh_test_towardzero): Likewise.
53298 (sinh_test_downward): Likewise.
53299 (sinh_test_upward): Likewise.
53300 (main): Call the new functions.
53301 * sysdeps/i386/fpu/libm-test-ulps: Update.
53302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53304 2012-03-05 Tom de Vries <tom@codesourcery.com>
53306 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53307 default stack guard is set in last bytes.
53308 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53310 2012-03-05 Kees Cook <keescook@chromium.org>
53312 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53315 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53316 possibly allocate from heap instead of stack.
53317 * stdio-common/bug-vfprintf-nargs.c: New file.
53318 * stdio-common/Makefile (tests): Add nargs overflow test.
53320 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
53322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53324 2012-03-03 Marek Polacek <polacek@redhat.com>
53326 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53327 * math/math_private.h: Likewise.
53328 * stdlib/tst-strtod.c: Likewise.
53329 * sysdeps/i386/i486/bits/atomic.h: Likewise.
53330 * sysdeps/x86_64/bits/atomic.h: Likewise.
53332 2012-03-02 David S. Miller <davem@davemloft.net>
53334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53338 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53339 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53340 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53341 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53343 2012-03-02 Roland McGrath <roland@hack.frob.com>
53346 * manual/examples/README: New file, says the example source files
53347 can be used under GPL>=2.
53348 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53349 line containing just "*/".
53350 * manual/examples/add.c: Add copyright header (GPL>=2).
53351 * manual/examples/argp-ex1.c: Likewise.
53352 * manual/examples/argp-ex2.c: Likewise.
53353 * manual/examples/argp-ex3.c: Likewise.
53354 * manual/examples/argp-ex4.c: Likewise.
53355 * manual/examples/atexit.c: Likewise.
53356 * manual/examples/db.c: Likewise.
53357 * manual/examples/dir.c: Likewise.
53358 * manual/examples/dir2.c: Likewise.
53359 * manual/examples/execinfo.c: Likewise.
53360 * manual/examples/filecli.c: Likewise.
53361 * manual/examples/filesrv.c: Likewise.
53362 * manual/examples/fmtmsgexpl.c: Likewise.
53363 * manual/examples/genpass.c: Likewise.
53364 * manual/examples/inetcli.c: Likewise.
53365 * manual/examples/inetsrv.c: Likewise.
53366 * manual/examples/isockad.c: Likewise.
53367 * manual/examples/longopt.c: Likewise.
53368 * manual/examples/memopen.c: Likewise.
53369 * manual/examples/memstrm.c: Likewise.
53370 * manual/examples/mkfsock.c: Likewise.
53371 * manual/examples/mkisock.c: Likewise.
53372 * manual/examples/mygetpass.c: Likewise.
53373 * manual/examples/pipe.c: Likewise.
53374 * manual/examples/popen.c: Likewise.
53375 * manual/examples/rprintf.c: Likewise.
53376 * manual/examples/search.c: Likewise.
53377 * manual/examples/select.c: Likewise.
53378 * manual/examples/setjmp.c: Likewise.
53379 * manual/examples/sigh1.c: Likewise.
53380 * manual/examples/sigusr.c: Likewise.
53381 * manual/examples/stpcpy.c: Likewise.
53382 * manual/examples/strdupa.c: Likewise.
53383 * manual/examples/strftim.c: Likewise.
53384 * manual/examples/strncat.c: Likewise.
53385 * manual/examples/subopt.c: Likewise.
53386 * manual/examples/swapcontext.c: Likewise.
53387 * manual/examples/termios.c: Likewise.
53388 * manual/examples/testopt.c: Likewise.
53389 * manual/examples/testpass.c: Likewise.
53390 * manual/examples/timeval_subtract.c: Likewise.
53393 * manual/time.texi (Elapsed Time): Move timeval_subtract example
53395 * manual/timeval_subtract.c.texi: ... here, new file.
53397 2012-03-02 David S. Miller <davem@davemloft.net>
53399 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53401 2012-03-02 Joseph Myers <joseph@codesourcery.com>
53404 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53405 (__sin): Save and restore rounding mode and use round-to-nearest
53406 for all computations.
53407 (__cos): Save and restore rounding mode and use round-to-nearest
53408 for all computations.
53409 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53411 (tan): Save and restore rounding mode and use round-to-nearest for
53413 * math/libm-test.inc (cos_test_tonearest): New function.
53414 (cos_test_towardzero): Likewise.
53415 (cos_test_downward): Likewise.
53416 (cos_test_upward): Likewise.
53417 (sin_test_tonearest): Likewise.
53418 (sin_test_towardzero): Likewise.
53419 (sin_test_downward): Likewise.
53420 (sin_test_upward): Likewise.
53421 (tan_test_tonearest): Likewise.
53422 (tan_test_towardzero): Likewise.
53423 (tan_test_downward): Likewise.
53424 (tan_test_upward): Likewise.
53425 (main): Call the new functions.
53426 * sysdeps/i386/fpu/libm-test-ulps: Update.
53427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53430 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53431 small n, then large n, before computing and testing k+n.
53432 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53433 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53435 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53437 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53438 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53439 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53440 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53441 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53442 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53443 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53444 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53445 * math/libm-test.inc (scalbn_test): Add more tests.
53446 (scalbln_test): Likewise.
53448 * manual/filesys.texi (mode_t): Describe constraints on size and
53449 signedness, not exact equivalence to a particular type.
53451 (ino64_t): Likewise.
53453 (nlink_t): Likewise.
53454 (blkcnt_t): Likewise.
53455 (blkcnt64_t): Likewise.
53456 * manual/llio.texi (off_t): Likewise.
53459 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53460 (__ieee754_exp): Save and restore rounding mode and use
53461 round-to-nearest for all computations.
53462 * math/libm-test.inc (exp_test_tonearest): New function.
53463 (exp_test_towardzero): Likewise.
53464 (exp_test_downward): Likewise.
53465 (exp_test_upward): Likewise.
53466 (main): Call the new functions.
53467 * sysdeps/i386/fpu/libm-test-ulps: Update.
53468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53470 2012-03-01 Chris Demetriou <cgd@google.com>
53472 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53473 have predictable order.
53475 2012-03-01 David S. Miller <davem@davemloft.net>
53477 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53479 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53480 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53481 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53482 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53484 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53485 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53486 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53488 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53489 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53490 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53491 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53492 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53496 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53497 * sysdeps/sparc/fpu/libm-test-ulps: to here.
53498 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53500 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53501 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53502 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53503 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53504 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53505 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53506 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53507 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53508 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53509 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53510 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53511 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53512 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53513 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53514 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53515 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53516 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53517 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53518 * sysdeps/sparc/elf/configure: Regenerated.
53520 2012-03-01 Joseph Myers <joseph@codesourcery.com>
53522 * configure.in (AS, LD): Require binutils 2.20 or later.
53523 * configure: Regenerated.
53524 * manual/install.texi (Tools for Compilation): Give binutils 2.20
53525 as required minimum version.
53526 * INSTALL: Regenerated.
53530 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53531 before squaring exponent.
53532 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53533 bottom long double and 27 bits of top long double before squaring
53535 * math/libm-test.inc (erfc_test): Add more tests.
53536 * sysdeps/i386/fpu/libm-test-ulps: Update.
53537 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53540 2012-03-01 Kai Tietz <ktietz@redhat.com>
53542 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53543 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53544 containing bit-fields.
53545 * soft-fp/extended.h (_FP_UNION_E): Likewise.
53546 * soft-fp/single.h (_FP_UNION_S): Likewise.
53547 * soft-fp/double.h (_FP_UNION_D): Likewise.
53549 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53552 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53553 not include ../strcmp.S.
53554 [USE_AS_STRNCASECMP_L]: Likewise.
53555 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53556 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53557 * sysdeps/i386/i686/multiarch/strncase_l-c.c
53558 (__strncasecmp_l_ia32): Define as alias to
53559 __strncasecmp_l_nonascii.
53562 * math/libm-test.inc (expm1_test): Add test for bug 5794.
53563 * sysdeps/i386/fpu/libm-test-ulps: Update.
53564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53566 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53569 2012-02-29 Jeff Law <law@redhat.com>
53571 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53572 out of bounds read.
53574 2012-02-29 Marek Polacek <polacek@redhat.com>
53577 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53578 * elf/Makefile: Add rules to run tst-unused-dep.out.
53580 2012-02-28 David S. Miller <davem@davemloft.net>
53582 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53583 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53584 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53585 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53586 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53587 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53589 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53591 * math/libm-test.inc (llround_test): Move one test from
53592 lround_test. Use TEST_f_L in moved test.
53593 (lround_test): Move misplaced test to llround_test. Add testcase
53596 2012-02-28 Ulrich Drepper <drepper@gmail.com>
53598 * sysdeps/x86_64/fpu/e_expf.S: New file.
53599 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53601 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
53604 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53605 of remain_len that may cause incomplete multi-byte character and
53607 * posix/bug-regex33.c: New file.
53608 * posix/Makefile (tests): Add bug-regex33.
53610 2012-02-28 Joseph Myers <joseph@codesourcery.com>
53612 * manual/macros.texi: New file.
53613 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53614 * manual/libc.texinfo: Include macros.texi.
53615 * manual/creatute.texi: Likewise.
53616 * manual/install.texi: Likewise.
53617 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53618 @glibcadj{} in references to the GNU C Library.
53619 * manual/charset.texi: Likewise.
53620 * manual/conf.texi: Likewise.
53621 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
53622 when not using those macros.
53623 * manual/creature.texi: Likewise.
53624 * manual/crypt.texi: Likewise.
53625 * manual/errno.texi: Likewise.
53626 * manual/filesys.texi: Likewise.
53627 * manual/header.texi: Likewise.
53628 * manual/install.texi: Likewise.
53629 * manual/intro.texi: Likewise.
53630 * manual/io.texi: Likewise.
53631 * manual/job.texi: Likewise.
53632 * manual/lang.texi: Likewise.
53633 * manual/libc.texiinfo: Likewise.
53634 * manual/llio.texi: Likewise.
53635 * manual/locale.texi: Likewise.
53636 * manual/maint.texi: Likewise.
53637 * manual/math.texi: Likewise.
53638 * manual/memory.texi: Likewise.
53639 * manual/message.texi: Likewise.
53640 * manual/nss.texi: Likewise.
53641 * manual/pattern.texi: Likewise.
53642 * manual/process.texi: Likewise.
53643 * manual/resource.texi: Likewise.
53644 * manual/search.texi: Likewise.
53645 * manual/setjmp.texi: Likewise.
53646 * manual/signal.texi: Likewise.
53647 * manual/socket.texi: Likewise.
53648 * manual/startup.texi: Likewise.
53649 * manual/stdio.texi: Likewise.
53650 * manual/string.texi: Likewise.
53651 * manual/sysinfo.texi: Likewise.
53652 * manual/syslog.texi: Likewise.
53653 * manual/terminal.texi: Likewise.
53654 * manual/time.texi: Likewise.
53655 * manual/users.texi: Likewise.
53656 * INSTALL: Regenerated.
53657 * NOTES: Regenerated.
53658 * sysdeps/gnu/errlist.c: Regenerated.
53660 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
53662 * include/dirent.h: Include <dirstream.h> before
53665 2012-02-28 David S. Miller <davem@davemloft.net>
53667 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53668 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53669 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53670 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53672 2012-02-27 David S. Miller <davem@davemloft.net>
53674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53676 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53677 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53680 frame pointer instead of stack pointer relative arg slot.
53681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53682 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53683 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53685 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
53688 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53690 2012-02-27 David S. Miller <davem@davemloft.net>
53692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53696 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53697 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53698 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53699 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53701 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53703 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53704 later. Allow versions 5-9.
53705 * configure: Regenerated.
53706 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53707 required minimum version and 4.6 as recommended version. Do not
53708 mention bugs in GCC 2.7 and 2.8.
53709 * INSTALL: Regenerated.
53711 2012-02-27 David S. Miller <davem@davemloft.net>
53713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53717 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53718 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53719 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53720 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53722 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53723 manipulate bits before adding and subtracting TWO112[sx].
53724 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53726 2012-02-27 Roland McGrath <roland@hack.frob.com>
53729 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53730 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53731 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53732 being in POSIX, because they are in 1003.1-2008.
53734 * rt/tst-aio.c: Include <fcntl.h>.
53735 * rt/tst-aio7.c: Likewise.
53736 * rt/tst-aio64.c: Likewise.
53738 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53740 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53742 * manual/install.texi (--with-headers): Describe headers as
53743 interface headers, not private headers.
53744 (Specific advice for GNU/Linux systems): Describe use of headers
53745 from "make headers_install", not private headers from older
53747 * INSTALL: Regenerated.
53748 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53750 * sysdeps/unix/sysv/linux/configure: Regenerated.
53752 * manual/llio.texi (fclean): Remove documentation.
53754 * manual/Makefile (libc-texi-generated): New variable. Include
53756 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53757 $(libc-texi-generated), not duplicated list of files.
53758 (version.texi, stamp-version): New rules.
53759 (realclean): Remove $(libc-texi-generated), not individual files
53760 from that list. Do not remove dir-add.texinfo.
53761 * manual/libc.texinfo: Comment out uses of edition numbers and
53762 references to printed manual. Remove last-updated dates.
53763 (EDITION): Comment out.
53765 (VERSION, UPDATED): Remove.
53766 (version.texi): Include.
53768 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
53770 * sysdeps/posix/spawni.c: Include <signal.h>.
53771 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53772 * sysdeps/pthread/aio_fsync.c: Likewise.
53774 2012-02-26 Ulrich Drepper <drepper@gmail.com>
53776 * conform/Makefile (tests): Run only when not cross-compiling and
53777 when fast-check is not defined.
53779 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53780 * conform/data/limits.h-data: Fixes for POSIX2008.
53781 * conform/run-conformtest.sh: Run all tests.
53782 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53784 * include/bits/dlfcn.h: Likewise.
53785 * include/langinfo.h: Likewise.
53786 * include/monetary.h: Likewise.
53787 * include/sys/poll.h: Likewise.
53789 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53791 * posix/spawn.h: Define __need_sigset_t.
53792 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53793 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53794 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
53795 to get sigevent_t only.
53796 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53797 only for __USE_GNU.
53798 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53799 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53800 process_vm_writev only for __USE_GNU.
53801 * termios/termios.h: Declare tcgetsid also for POSIX2008.
53803 * conform/Makefile: For now ignore errors from run-conformtest.
53804 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
53805 POSIX to avoid namespace pollution. Don't prepend headers.
53806 * conform/data/aio.h-data: Fixes for POSIX testing.
53807 * conform/data/fcntl.h-data: Likewise.
53808 * conform/data/glob.h-data: Likewise.
53809 * conform/data/grp.h-data: Likewise.
53810 * conform/data/pthread.h-data: Likewise.
53811 * conform/data/pwd.h-data: Likewise.
53812 * conform/data/signal.h-data: Likewise.
53813 * conform/data/spawn.h-data: Likewise.
53814 * conform/data/stdio.h-data: Likewise.
53815 * conform/data/stdlib.h-data: Likewise.
53816 * conform/data/stropts.h-data: Likewise.
53817 * conform/data/sys/mman.h-data: Likewise.
53818 * conform/data/sys/stat.h-data: Likewise.
53819 * conform/data/sys/types.h-data: Likewise.
53820 * conform/data/sys/wait.h-data: Likewise.
53821 * conform/data/time.h-data: Likewise.
53822 * conform/data/unistd.h-data: Likewise.
53823 * conform/data/utime.h-data: Likewise.
53825 * io/sys/stat.h: fchmod was always in POSIX.
53826 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53827 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53828 * rt/aio.h: Define __need_timespec before including <time.h>.
53829 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53830 struct. Add forward declaration of pthread_attr_t and use it in
53832 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53833 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53834 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53835 always remove CLK_TCK definition.
53837 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
53839 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53841 2012-02-25 Ulrich Drepper <drepper@gmail.com>
53843 * conform/run-conformtest.sh: New file.
53844 * conform/Makefile: Run run-conformtest for tests.
53845 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
53848 * conform/data/uchar.h-data: New file.
53849 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53850 * conform/data/arpa/inet.h-data: Likewise.
53851 * conform/data/assert.h-data: Likewise.
53852 * conform/data/complex.h-data: Likewise.
53853 * conform/data/cpio.h-data: Likewise.
53854 * conform/data/ctype.h-data: Likewise.
53855 * conform/data/dirent.h-data: Likewise.
53856 * conform/data/dlfcn.h-data: Likewise.
53857 * conform/data/errno.h-data: Likewise.
53858 * conform/data/fcntl.h-data: Likewise.
53859 * conform/data/float.h-data: Likewise.
53860 * conform/data/fmtmsg.h-data: Likewise.
53861 * conform/data/fnmatch.h-data: Likewise.
53862 * conform/data/ftw.h-data: Likewise.
53863 * conform/data/glob.h-data: Likewise.
53864 * conform/data/grp.h-data: Likewise.
53865 * conform/data/iconv.h-data: Likewise.
53866 * conform/data/inttypes.h-data: Likewise.
53867 * conform/data/langinfo.h-data: Likewise.
53868 * conform/data/libgen.h-data: Likewise.
53869 * conform/data/limits.h-data: Likewise.
53870 * conform/data/locale.h-data: Likewise.
53871 * conform/data/math.h-data: Likewise.
53872 * conform/data/monetary.h-data: Likewise.
53873 * conform/data/mqueue.h-data: Likewise.
53874 * conform/data/ndbm.h-data: Likewise.
53875 * conform/data/net/if.h-data: Likewise.
53876 * conform/data/netdb.h-data: Likewise.
53877 * conform/data/netinet/in.h-data: Likewise.
53878 * conform/data/nl_types.h-data: Likewise.
53879 * conform/data/poll.h-data: Likewise.
53880 * conform/data/pthread.h-data: Likewise.
53881 * conform/data/pwd.h-data: Likewise.
53882 * conform/data/regex.h-data: Likewise.
53883 * conform/data/sched.h-data: Likewise.
53884 * conform/data/search.h-data: Likewise.
53885 * conform/data/semaphore.h-data: Likewise.
53886 * conform/data/setjmp.h-data: Likewise.
53887 * conform/data/signal.h-data: Likewise.
53888 * conform/data/spawn.h-data: Likewise.
53889 * conform/data/stdarg.h-data: Likewise.
53890 * conform/data/stdio.h-data: Likewise.
53891 * conform/data/stdlib.h-data: Likewise.
53892 * conform/data/string.h-data: Likewise.
53893 * conform/data/strings.h-data: Likewise.
53894 * conform/data/stropts.h-data: Likewise.
53895 * conform/data/sys/ipc.h-data: Likewise.
53896 * conform/data/sys/mman.h-data: Likewise.
53897 * conform/data/sys/msg.h-data: Likewise.
53898 * conform/data/sys/resource.h-data: Likewise.
53899 * conform/data/sys/select.h-data: Likewise.
53900 * conform/data/sys/sem.h-data: Likewise.
53901 * conform/data/sys/shm.h-data: Likewise.
53902 * conform/data/sys/socket.h-data: Likewise.
53903 * conform/data/sys/stat.h-data: Likewise.
53904 * conform/data/sys/statvfs.h-data: Likewise.
53905 * conform/data/sys/time.h-data: Likewise.
53906 * conform/data/sys/timeb.h-data: Likewise.
53907 * conform/data/sys/times.h-data: Likewise.
53908 * conform/data/sys/types.h-data: Likewise.
53909 * conform/data/sys/uio.h-data: Likewise.
53910 * conform/data/sys/un.h-data: Likewise.
53911 * conform/data/sys/utsname.h-data: Likewise.
53912 * conform/data/sys/wait.h-data: Likewise.
53913 * conform/data/syslog.h-data: Likewise.
53914 * conform/data/tar.h-data: Likewise.
53915 * conform/data/termios.h-data: Likewise.
53916 * conform/data/utime.h-data: Likewise.
53917 * conform/data/utmpx.h-data: Likewise.
53918 * conform/data/varargs.h-data: Likewise.
53919 * conform/data/wchar.h-data: Likewise.
53920 * conform/data/wctype.h-data: Likewise.
53921 * conform/data/wordexp.h-data: Likewise.
53923 * include/stropts.h: New file.
53924 * include/uchar.h: New file.
53925 * include/aio.h: Changes to allow conformtest.pl to use the headers.
53926 * include/assert.h: Likewise.
53927 * include/ctype.h: Likewise.
53928 * include/dirent.h: Likewise.
53929 * include/dlfcn.h: Likewise.
53930 * include/fcntl.h: Likewise.
53931 * include/fnmatch.h: Likewise.
53932 * include/glob.h: Likewise.
53933 * include/grp.h: Likewise.
53934 * include/libio.h: Likewise.
53935 * include/locale.h: Likewise.
53936 * include/math.h: Likewise.
53937 * include/net/if.h: Likewise.
53938 * include/netdb.h: Likewise.
53939 * include/netinet/in.h: Likewise.
53940 * include/pthread.h: Likewise.
53941 * include/pwd.h: Likewise.
53942 * include/regex.h: Likewise.
53943 * include/sched.h: Likewise.
53944 * include/search.h: Likewise.
53945 * include/setjmp.h: Likewise.
53946 * include/signal.h: Likewise.
53947 * include/stdio.h: Likewise.
53948 * include/stdlib.h: Likewise.
53949 * include/string.h: Likewise.
53950 * include/sys/cdefs.h: Likewise.
53951 * include/sys/mman.h: Likewise.
53952 * include/sys/msg.h: Likewise.
53953 * include/sys/resource.h: Likewise.
53954 * include/sys/select.h: Likewise.
53955 * include/sys/socket.h: Likewise.
53956 * include/sys/stat.h: Likewise.
53957 * include/sys/statvfs.h: Likewise.
53958 * include/sys/time.h: Likewise.
53959 * include/sys/times.h: Likewise.
53960 * include/sys/uio.h: Likewise.
53961 * include/sys/utsname.h: Likewise.
53962 * include/sys/wait.h: Likewise.
53963 * include/termios.h: Likewise.
53964 * include/time.h: Likewise.
53965 * include/ulimit.h: Likewise.
53966 * include/unistd.h: Likewise.
53967 * include/utime.h: Likewise.
53968 * include/wchar.h: Likewise.
53969 * include/wctype.h: Likewise.
53970 * include/wordexp.h: Likewise.
53972 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53974 * time/time.h: TIME_UTC must be a macro.
53975 Make timespec_get available for ISO C11 only as well.
53977 2012-02-24 Ulrich Drepper <drepper@gmail.com>
53979 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53980 Reported by Peng Haitao <penght@cn.fujitsu.com>.
53982 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53984 * configure.in: Use -o not -a in test for unsupported multi-arch.
53986 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53988 * manual/texinfo.tex: Update to version 2012-01-19.16.
53990 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53992 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53994 2012-02-24 Roland McGrath <roland@hack.frob.com>
53997 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53998 * manual/fdl-1.3.texi: New file.
53999 * manual/fdl-1.1.texi: File removed.
54002 * manual/libc.texinfo (FDL_VERSION): New @set.
54003 Use it for mention of FDL in cover text.
54004 (Documentation License): Use it in @include file name.
54006 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54007 Roland McGrath <roland@hack.frob.com>
54010 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54011 (not LONG_LONG_MAX and LONG_LONG_MIN.
54012 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54013 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
54015 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54017 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54021 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54022 manipulate bits before adding and subtracting TWO23[sx].
54023 * math/libm-test.inc (nearbyint_test): Add more tests.
54025 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54028 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54029 bits before adding and subtracting TWO23[sx].
54030 * math/libm-test.inc (rint_test): Add more tests.
54031 (rint_test_tonearest): Likewise.
54032 (rint_test_towardzero): Likewise.
54033 (rint_test_downward): Likewise.
54034 (rint_test_upward: Likewise.
54036 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54039 * include/stdc-predef.h: New file. Extracted from features.h.
54040 * include/features.h: Include stdc-predef.h.
54041 * Makefile (headers): Add stdc-predef.h.
54042 * CONFORMANCE (Compiler limitations): Update.
54044 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54046 * manual/libc.texinfo (VERSION, UPDATED): Revert.
54048 2012-02-21 David S. Miller <davem@davemloft.net>
54050 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54051 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54053 2012-02-20 David S. Miller <davem@davemloft.net>
54055 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54056 using a normal save/restore sequence, rather than allocating a
54057 dummy stack frame just to store a frame pointer and restore.
54058 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54060 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54062 * manual/install.texi: Fix stray word in line-wrapped comment.
54064 2012-02-20 David S. Miller <davem@davemloft.net>
54066 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54067 both binutils and gcc support GOTDATA.
54069 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54070 "rd %pc" in the PIC register setup sequences.
54072 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54073 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54074 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54075 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54076 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54077 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54078 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54079 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54081 (SYSCALL_ERROR_HANDLER): Likewise.
54082 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54083 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54084 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54085 (SYSCALL_ERROR_HANDLER): Likewise.
54087 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54088 (HAVE_GCC_GOTDATA): New.
54089 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54090 relocation support in both binutils and gcc.
54091 * sysdeps/sparc/elf/configure: Regenerate.
54093 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54094 * sysdeps/sparc/sparc32/elf/configure: Delete.
54095 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54096 * sysdeps/sparc/sparc64/elf/configure: Delete.
54097 * sysdeps/sparc/elf/configure.in: New file.
54098 * sysdeps/sparc/elf/configure: Generate.
54100 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54101 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54102 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54103 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54104 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54106 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54108 * manual/install.texi: Do not mention specific glibc version
54110 * manual/libc.texinfo (VERSION, UPDATED): Update.
54111 (@copying): Use @copyright{} and range of years.
54113 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54116 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54117 [crti.S not in sysdirs] (generated): Do not append.
54118 [crti.S not in sysdirs] (omit-deps): Likewise.
54119 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54120 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54121 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54122 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54123 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54125 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54126 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54127 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54128 * csu/defs.awk: Remove file.
54129 * sysdeps/generic/initfini.c: Likewise.
54130 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54132 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54135 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54137 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54138 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54139 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54140 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54141 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54142 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54144 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54145 (__EPOLL_PACKED): Define to empty if not defined by
54147 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54151 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54153 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54154 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54155 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54156 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54158 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54162 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54164 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54166 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54167 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54168 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54171 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
54173 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54174 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54176 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
54178 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54179 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54181 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54183 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54186 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
54188 * math/w_acos.c: Use non-signaling floating-point comparisons.
54189 * math/w_acosf.c: Likewise.
54190 * math/w_acosh.c: Likewise.
54191 * math/w_acoshf.c: Likewise.
54192 * math/w_acoshl.c: Likewise.
54193 * math/w_acosl.c: Likewise.
54194 * math/w_asin.c: Likewise.
54195 * math/w_asinf.c: Likewise.
54196 * math/w_asinl.c: Likewise.
54197 * math/w_atanh.c: Likewise.
54198 * math/w_atanhf.c: Likewise.
54199 * math/w_atanhl.c: Likewise.
54200 * math/w_exp2.c: Likewise.
54201 * math/w_exp2f.c: Likewise.
54202 * math/w_exp2l.c: Likewise.
54203 * math/w_j0.c: Likewise.
54204 * math/w_j0f.c: Likewise.
54205 * math/w_j0l.c: Likewise.
54206 * math/w_j1.c: Likewise.
54207 * math/w_j1f.c: Likewise.
54208 * math/w_j1l.c: Likewise.
54209 * math/w_jn.c: Likewise.
54210 * math/w_jnf.c: Likewise.
54211 * math/w_log.c: Likewise.
54212 * math/w_log10.c: Likewise.
54213 * math/w_log10f.c: Likewise.
54214 * math/w_log10l.c: Likewise.
54215 * math/w_log2.c: Likewise.
54216 * math/w_log2f.c: Likewise.
54217 * math/w_log2l.c: Likewise.
54218 * math/w_logf.c: Likewise.
54219 * math/w_logl.c: Likewise.
54220 * math/w_sqrt.c: Likewise.
54221 * math/w_sqrtf.c: Likewise.
54222 * math/w_sqrtl.c: Likewise.
54223 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54224 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54225 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54226 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54227 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54229 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54232 * manual/string.texi (strnlen): Use correct parameter name in
54233 equivalent expression.
54235 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54238 * manual/users.texi (seteuid): Consistently use neweuid for
54241 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54244 * manual/nss.texi (Services in the NSS configuration): Correct
54245 list of services in example configuration file.
54247 2012-02-19 Nick Bowler <nbowler@draconx.ca>
54250 * manual/arith.texi: Remove statements about negative zero
54251 behaving identically to zero.
54253 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54256 * manual/install.texi: Do not document upgrading from libc5.
54258 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54261 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54263 2012-02-18 David S. Miller <davem@davemloft.net>
54265 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54266 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54267 %o7 across the call.
54268 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54271 SETUP_PIC_REG_LEAF.
54272 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54273 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54274 * sysdeps/sparc/crtn.S: Likewise.
54276 2012-02-17 Ulrich Drepper <drepper@gmail.com>
54278 * aout/Makefile: Remove.
54280 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
54283 * manual/examples/argp-ex1.c (main): Format definition in GNU
54285 * manual/examples/argp-ex2.c (main): Likewise.
54286 * manual/examples/argp-ex3.c (main): Likewise.
54287 * manual/examples/argp-ex4.c (main): Likewise.
54288 * manual/examples/longopt.c (main): Use new-style prototype
54290 * manual/examples/strncat.c (main): Specify return type and use
54291 (void) for arguments.
54292 * manual/examples/subopt.c (main): Use char **argv argument.
54294 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54297 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54300 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
54303 * manual/string.texi (strchr): Change when strchrnul is
54306 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
54309 * manual/locale.texi (setlocale): Document LOCPATH.
54311 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54314 * manual/process.texi (execle): Move @dots{} before last argument.
54316 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
54319 * manual/charset.texi (Generic Charset Conversion): Fix typo
54320 (LC_TYPE -> LC_CTYPE).
54322 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
54325 * manual/arith.texi (scalbn): Use @var{} on parameter names.
54326 (scalbnf): Likewise.
54327 (scalbnl): Likewise.
54328 (scalbln): Likewise.
54329 (scalblnf): Likewise.
54330 (scalblnl): Likewise.
54331 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54332 (vwarnx): Likewise.
54335 * manual/filesys.texi (telldir): Use braces around return type.
54336 * manual/llio.texi (mmap): Add space after comma.
54337 (mmap64): Likewise.
54338 * manual/math.texi (jn): Use @var{} on parameter names.
54344 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54346 * manual/resource.texi (ulimit): Use @dots{} instead of literal
54348 (sched_get_priority_min): Remove semicolon on @deftypefun line.
54349 (sched_get_priority_max): Likewise.
54350 * manual/signal.texi (sigvec): Add space after comma.
54351 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54353 (if_indextoname): Likewise.
54354 (if_freenameindex): Likewise.
54355 (sendto): Use ',' instead of '.' in prototype.
54356 * manual/startup.texi (syscall): Use @dots{} instead of literal
54358 * manual/stdio.texi (__fpending): Separate initial words of
54359 paragraph from @deftypefun line.
54360 * manual/syslog.texi (syslog): Use @dots{} instead of literal
54362 (vsyslog): Use @var{} on parameter names.
54363 * manual/terminal.texi (stty): Use @var{} on parameter names.
54364 * manual/users.texi (getutmp): Use @var{} on parameter names.
54365 (getutmpx): Likewise.
54367 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54370 * manual/stdio.texi (fopen): Fix typos in description of
54373 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
54376 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54377 get clock_id definition.
54379 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
54382 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54383 (madvise): Cast every argument to void on its own.
54385 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54388 * manual/startup.texi (Exit Status): Fix typo.
54390 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54393 * manual/examples/argp-ex1.c: Include <stdlib.h>.
54394 * manual/examples/argp-ex2.c: Likewise.
54395 * manual/examples/argp-ex3.c: Likewise.
54397 2012-02-16 Richard Henderson <rth@redhat.com>
54399 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54400 * sysdeps/s390/s390-32/initfini.c: Remove.
54401 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54402 * sysdeps/s390/s390-64/initfini.c: Remove.
54404 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54406 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54407 compiler output for sysdeps/generic/initfini.c.
54408 * sysdeps/sh/elf/initfini.c: Remove file.
54410 2012-02-16 David S. Miller <davem@davemloft.net>
54413 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54415 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54416 * sysdeps/sparc/crti.S: New file.
54417 * sysdeps/sparc/crtn.S: New file.
54418 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54419 * sysdeps/sparc/sparc64/Makefile: Likewise.
54421 2012-02-15 Mike Frysinger <vapier@gentoo.org>
54424 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54426 2012-02-15 Roland McGrath <roland@hack.frob.com>
54429 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54431 * mach/devstream.c (cookie_io_functions_t): Macro removed.
54432 (write, read, close): Likewise.
54433 Patch by Aurelien Jarno <aurelien@aurel32.net>.
54435 2012-02-15 Joseph Myers <joseph@codesourcery.com>
54437 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54438 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54439 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54440 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54442 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54443 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54446 2012-02-14 Marek Polacek <polacek@redhat.com>
54448 * sysdeps/x86_64/crti.S: New file.
54449 * sysdeps/x86_64/crtn.S: New file.
54450 * sysdeps/x86_64/elf/initfini.c: Remove file.
54452 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54454 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54455 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54456 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54457 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54459 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54463 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54465 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54466 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54467 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54468 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54470 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54474 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
54476 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54477 __feraiseexcept instead of feraiseexcept.
54479 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54480 nanosleep invocations.
54481 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54482 strings, and add error checking for a nanosleep invocations.
54484 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
54486 Replace FSF snail mail address with URLs, as per GNU coding standards.
54487 Most of the snail mail addresses were wrong anyway, and omitting
54488 them makes the source code easier to maintain. Almost all of the
54489 changes are to license notices and to locale LC_IDENTIFICATION
54490 addresses, except for this one:
54491 * manual/libc.texinfo: In "Published by", give the FSF's URL,
54492 not its snail mail address.
54494 2012-02-09 Richard Henderson <rth@twiddle.net>
54496 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54497 of kernel-features.h.
54499 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54501 2012-02-08 Marek Polacek <polacek@redhat.com>
54503 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54504 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54505 * sysdeps/gnu/_G_config.h: Likewise.
54506 * sysdeps/generic/_G_config.h: Likewise.
54508 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
54510 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54514 * sysdeps/powerpc/powerpc32/crti.S: New file.
54515 * sysdeps/powerpc/powerpc32/crtn.S: New file.
54516 * sysdeps/powerpc/powerpc64/crti.S: New file.
54517 * sysdeps/powerpc/powerpc64/crtn.S: New file.
54519 * Makeconfig (have-initfini): Don't set.
54520 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54521 * configure.in (nopic_initfini): Don't substitute.
54522 * config.h.in (HAVE_INITFINI): Don't #undef.
54523 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54524 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54526 2012-02-08 Joseph Myers <joseph@codesourcery.com>
54528 Support crti.S and crtn.S provided directly by architectures.
54529 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54530 [crti.S in sysdirs] (omit-deps): Likewise.
54531 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54532 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54533 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54534 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54535 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54536 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54537 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54538 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54539 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54540 compiler output for sysdeps/generic/initfini.c.
54541 * sysdeps/i386/elf/Makefile: Remove file.
54542 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54544 2012-02-07 Marek Polacek <polacek@redhat.com>
54546 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54547 * sysdeps/gnu/_G_config.h: Likewise.
54548 * sysdeps/mach/hurd/_G_config.h: Likewise.
54550 2012-02-07 Marek Polacek <polacek@redhat.com>
54552 * math/Makefile (tests): Add tst-CMPLX2.
54553 * math/tst-CMPLX2.c: New file.
54555 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
54557 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54559 * math/libm-test.inc (jn_test): Add missing L suffix.
54561 2012-02-06 Marek Polacek <polacek@redhat.com>
54563 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54564 * sysdeps/i386/fpu/e_powf.S: Likewise.
54565 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54566 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54567 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54568 * sysdeps/i386/fpu/e_pow.S: Likewise.
54569 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54570 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54571 * sysdeps/i386/fpu/s_expm1.S: Likewise.
54572 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54573 * sysdeps/i386/fpu/e_log2.S: Likewise.
54574 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54575 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54576 * sysdeps/i386/fpu/e_powl.S: Likewise.
54577 * sysdeps/i386/fpu/s_log1p.S: Likewise.
54578 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54579 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54580 * sysdeps/i386/fpu/e_logl.S: Likewise.
54581 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54582 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54583 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54584 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54585 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54586 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54587 * sysdeps/i386/fpu/e_log.S: Likewise.
54588 * sysdeps/i386/fpu/s_cexp.S: Likewise.
54589 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54590 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54591 * sysdeps/i386/fpu/e_logf.S: Likewise.
54592 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54593 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54594 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54595 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54596 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54597 * sysdeps/i386/fpu/e_log10.S: Likewise.
54598 * sysdeps/i386/fpu/s_frexp.S: Likewise.
54599 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54600 * sysdeps/i386/fpu/s_asinh.S: Likewise.
54601 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54602 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54603 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54604 * sysdeps/i386/asm-syntax.h: Likewise.
54605 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54606 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54607 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54608 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54609 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54610 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54611 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54612 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54613 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54614 * sysdeps/powerpc/sysdep.h: Likewise.
54615 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54616 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54618 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54621 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54623 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54625 * sysdeps/i386/sysdep.h: Include <features.h>.
54626 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54629 2012-02-05 Joseph Myers <joseph@codesourcery.com>
54631 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54633 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54636 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54638 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54639 (SETUP_PIC_REG): Use GET_PC_THUNK.
54640 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54643 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54645 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54646 for non-PIC compilation.
54647 (SETUP_PIC_REG): Add .p2align directive.
54648 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54649 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54650 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54651 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54652 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54653 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54654 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54655 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54656 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54657 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54658 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54659 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54660 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54661 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54662 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54663 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54664 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54665 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54666 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54667 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54668 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54669 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54670 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54671 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54672 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54673 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54674 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54675 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54676 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54677 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54678 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54679 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54680 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54681 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54682 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54683 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54684 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54685 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54686 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54687 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54688 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54690 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54692 * math/tst-CMPLX.c: Include <stdio.h>.
54694 2012-01-31 Joseph Myers <joseph@codesourcery.com>
54696 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54698 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54699 * sysdeps/sparc/bits/mathdef.h: Likewise.
54701 2012-01-31 Marek Polacek <polacek@redhat.com>
54703 * libio/libio.h: Don't define _PARAMS.
54704 * locale/programs/config.h: Don't define PARAMS.
54705 * stdlib/strtol_l.c: Likewise.
54706 (__strtol_l): Remove PARAMS from the prototype.
54708 2012-01-31 Ulrich Drepper <drepper@gmail.com>
54710 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
54711 names. Just use the correct names. Remove unnecessary wrapper
54713 * malloc/arena.c: Likewise.
54714 * malloc/hooks.c: Likewise.
54716 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54717 ARENA_TEST says not to. Simplify test for creation of a new arena.
54718 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54720 2012-01-30 Ulrich Drepper <drepper@gmail.com>
54722 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54724 (update_get_addr): New function.
54725 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54726 GET_ADDR_MODULE parameter.
54728 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54730 * crypt/cert.c: Remove __STDC__ conditionals.
54731 * crypt/crypt-entry.c: Likewise.
54732 * crypt/crypt_util.c: Likewise.
54733 * libio/filedoalloc.c: Likewise.
54734 * libio/fileops.c: Likewise.
54735 * libio/genops.c: Likewise.
54736 * libio/iofclose.c: Likewise.
54737 * libio/iofdopen.c: Likewise.
54738 * libio/iofopen.c: Likewise.
54739 * libio/iofopen64.c: Likewise.
54740 * libio/iogetdelim.c: Likewise.
54741 * libio/iopopen.c: Likewise.
54742 * libio/obprintf.c: Likewise.
54743 * libio/oldfileops.c: Likewise.
54744 * libio/oldiofclose.c: Likewise.
54745 * libio/oldiofdopen.c: Likewise.
54746 * libio/oldiofopen.c: Likewise.
54747 * libio/oldiopopen.c: Likewise.
54748 * libio/wfiledoalloc.c: Likewise.
54749 * libio/wgenops.c: Likewise.
54750 * locale/programs/xmalloc.c: Likewise.
54751 * misc/syslog.c: Likewise.
54752 * stdio-common/xbug.c: Likewise.
54753 * string/memchr.c: Likewise.
54754 * string/memcmp.c: Likewise.
54755 * string/memrchr.c: Likewise.
54756 * string/rawmemchr.c: Likewise.
54757 * sysdeps/posix/getcwd.c: Likewise.
54758 * time/strftime_l.c: Likewise.
54760 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54762 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54763 * config.make.in (config-cflags-sse2avx): Define.
54764 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54767 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
54769 * scripts/config.guess: Update from upstream config git repository.
54770 * scripts/config.sub: Likewise.
54772 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
54774 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54776 (R_TILEPRO_*, R_TILEGX_*): New macros.
54778 * scripts/firstversions.awk: Fix bug in version range handling.
54780 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54782 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54784 * include/sys/epoll.h: New file.
54785 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54788 2012-01-28 Ulrich Drepper <drepper@gmail.com>
54790 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54791 Avoid unnecessary __WORDSIZE == 64 test.
54792 (fmaxf): Use VEX format if possible.
54797 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54798 * math/math_private.h: Remove libc_fegetround* and
54800 * sysdeps/i386/configure.in: Check for -msse2avx.
54801 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54802 also if SSE2AVX is defined.
54803 Remove libc_fegetround* and libc_fesetround*.
54804 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54805 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
54806 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54808 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54809 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54810 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54811 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54812 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54814 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54816 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54818 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54820 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54822 2012-01-27 Ulrich Drepper <drepper@gmail.com>
54825 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54827 * Makeconfig (libm): Define.
54828 * elf/Makefile: Add rules to build and run tst-relsort1.
54829 * elf/tst-relsort1.c: New file.
54830 * elf/tst-relsort1mod1.c: New file.
54831 * elf/tst-relsort1mod2.c: New file.
54833 2012-01-27 Joseph Myers <joseph@codesourcery.com>
54835 * math/s_ldexp.c: Remove __STDC__ conditionals.
54836 * math/s_ldexpf.c: Likewise.
54837 * math/s_ldexpl.c: Likewise.
54838 * math/s_nextafter.c: Likewise.
54839 * math/s_nexttowardf.c: Likewise.
54840 * math/s_significand.c: Likewise.
54841 * math/s_significandf.c: Likewise.
54842 * math/s_significandl.c: Likewise.
54843 * math/w_jnl.c: Likewise.
54844 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54845 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54846 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54847 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54848 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54849 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54850 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54851 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54852 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54853 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54854 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54855 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54856 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54857 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54858 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54859 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54860 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54861 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54862 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54863 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54864 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54865 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54866 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54867 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54868 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54869 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54870 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54871 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54872 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54873 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54874 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54875 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54876 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54877 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54878 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54879 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54880 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54881 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54882 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54883 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54884 * sysdeps/ieee754/k_standard.c: Likewise.
54885 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54886 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54887 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54888 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54889 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54890 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54891 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54892 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54893 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54894 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54895 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54896 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54897 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54898 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54899 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54900 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54901 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54902 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54903 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54904 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54905 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54906 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54907 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54908 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54909 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54910 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54911 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54912 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54913 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54914 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54915 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54916 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54917 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54918 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54919 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54920 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54921 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54922 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54923 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54924 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54925 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54926 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54927 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54928 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54929 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54930 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54931 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54932 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54933 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54934 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54935 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54936 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54937 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54938 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54939 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54940 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54941 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54942 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54943 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54944 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54945 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54946 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54947 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54948 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54949 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54950 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54951 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54952 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54953 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54954 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54955 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54956 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54957 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54958 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54959 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54960 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54961 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54962 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54963 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54964 * sysdeps/ieee754/s_matherr.c: Likewise.
54965 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54966 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54967 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54968 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54970 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54972 * crypt/md5.h: Remove __STDC__ conditionals.
54973 * libio/libioP.h: Likewise.
54974 * locale/programs/config.h: Likewise.
54975 * sysdeps/generic/sysdep.h: Likewise.
54976 * sysdeps/i386/asm-syntax.h: Likewise.
54977 * sysdeps/s390/asm-syntax.h: Likewise.
54978 * sysdeps/unix/sysdep.h: Likewise.
54979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54982 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54984 * libio/libio.h: Remove __STDC__ conditionals.
54985 * malloc/obstack.h: Likewise.
54986 * math/complex.h: Likewise.
54987 * math/math.h: Likewise.
54988 * sysdeps/generic/_G_config.h: Likewise.
54989 * sysdeps/gnu/_G_config.h: Likewise.
54990 * sysdeps/mach/hurd/_G_config.h: Likewise.
54991 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54992 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54993 * sysdeps/sparc/bits/mathdef.h: Likewise.
54995 2012-01-26 Ulrich Drepper <drepper@gmail.com>
54998 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54999 Clean up HAS_* macros.
55000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55001 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55003 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55005 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55006 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55007 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55008 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55009 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55011 2012-01-25 Joseph Myers <joseph@codesourcery.com>
55013 * elf/tst-unique3.cc (gets): Remove declaration.
55014 * elf/tst-unique3lib.cc (gets): Likewise.
55015 * elf/tst-unique3lib2.cc (gets): Likewise.
55016 * elf/tst-unique4.cc (gets): Likewise.
55018 2012-01-24 Ulrich Drepper <drepper@gmail.com>
55020 * include/stdio.h: Add C++ protection. Add gets declarations and
55022 * debug/tst-chk1.c: Don't declare gets here.
55023 * stdio-common/tst-gets.c: Likewise.
55025 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55027 * posix/glob: Remove directory.
55029 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55031 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55033 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
55035 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55036 of the non-standard EPFNOSUPPORT.
55038 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
55040 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55041 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55042 ANYWHERE set to 1 only on KERN_NO_SPACE error.
55044 2012-01-21 Ulrich Drepper <drepper@gmail.com>
55046 * wcsmbs/uchar.h: Test __STDC_VERSION__.
55048 2012-01-20 Ulrich Drepper <drepper@gmail.com>
55050 * nscd/aicache.c (addhstaiX): Do not cache negative results of
55052 * nscd/grpcache.c (cache_addgr): Likewise.
55053 * nscd/hstcache.c (cache_addhst): Likewise.
55054 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55055 * nscd/pwdcache.c (cache_addpw): Likewise.
55056 * nscd/servicescache.c (cache_addserv): Likewise.
55058 2012-01-16 Ulrich Drepper <drepper@gmail.com>
55060 * malloc/malloc.c: Various cleanups.
55061 * malloc/hooks.c: Likewise.
55063 * stdlib/Makefile (tests): Add bug-fmtmsg1.
55064 * stdlib/bug-fmtmsg1.c: New file.
55066 * stdlib/fmtmsg.c (init): Add missing unlock.
55067 Patch by Peng Haitao <penght@cn.fujitsu.com>.
55069 2012-01-12 Marek Polacek <polacek@redhat.com>
55071 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55074 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55076 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55077 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55078 macro to ensure uniqueness of label name.
55079 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55080 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55082 2012-01-11 Ulrich Drepper <drepper@gmail.com>
55084 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55086 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55087 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55088 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55089 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55091 2012-01-10 Ulrich Drepper <drepper@gmail.com>
55093 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55095 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55096 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55097 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55099 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55101 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55102 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55103 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55104 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55106 * math/bits/math-finite.h: Add ldexp support.
55108 2012-01-10 Marek Polacek <polacek@redhat.com>
55110 * locale/programs/localedef.h (show_archive_content): Add noreturn
55113 2012-01-09 Ulrich Drepper <drepper@gmail.com>
55115 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55117 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55119 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55121 * io/Makefile (headers): Add bits/poll2.h.
55123 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
55125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55126 typo #include statement.
55128 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55130 * include/sys/cdefs.h: Define __attribute_alloc_size.
55131 * catgets/gencat.c: Add alloc_size attribute and apply consistently
55132 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55133 * elf/pldd.c: Likewise.
55134 * iconv/iconv_charmap.c: Likewise.
55135 * iconv/iconvconfig.c: Likewise.
55136 * iconv/strtab.c: Likewise.
55137 * locale/programs/locale.c: Likewise.
55138 * locale/programs/localedef.h: Likewise.
55139 * locale/programs/simple-hash.c: Likewise.
55140 * nscd/nscd.h: Likewise.
55141 * nss/makedb.c: Likewise.
55142 * sysdeps/generic/ldconfig.h: Likewise.
55143 * locale/programs/localedef.c: Remove xmalloc prototype.
55144 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55146 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55148 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55151 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55153 * math/Makefile (tests): Add tst-CMPLX.
55154 * math/tst-CMPLX.c: New file.
55156 * math/complex.h (CMPLXL): Fix typo.
55158 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55159 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55161 * debug/tst-chk1.c: Add poll and ppoll tests.
55162 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55163 * include/sys/poll.h: Add hidden proto for ppoll.
55164 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55165 * sysdeps/mach/hurd/ppoll.c: Likewise.
55166 * io/ppoll.c: Likewise.
55167 * debug/poll_chk.c: New file.
55168 * debug/ppoll_chk.c: New file.
55169 * include/bits/poll2.h: New file.
55170 * io/bits/poll2.h: New file.
55173 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55175 * configure.in: static is always set to yes. Remove.
55176 * config.make.in: Don't set build-static.
55177 * Makeconfig: Remove use of build-static.
55178 * dlfcn/Makefile: Likewise.
55179 * elf/Makefile: Likewise.
55180 * math/Makefile: Likewise.
55181 * misc/Makefile: Likewise.
55182 * nptl/Makefile: Likewise.
55183 * sysdeps/mach/hurd/Makefile: Likewise.
55185 * configure.in: PWD_P is not used anymore.
55186 * config.make.in: Remove PWD_P entry.
55188 * configure.in: Remove last remnants of RANLIB.
55189 No need to check for signed size_t anymore.
55190 Don't set libc_commonpagesize and libc_relro_required here for Alpha
55192 Remove __builtin_expect test because we require at least gcc 3.4.
55193 * aclocal.m4: Likewise.
55195 * wcsmbs/mbrtoc16.c: Implement using towc function.
55196 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55197 * wcsmbs/wcsmbsload.c: Likewise.
55198 * iconv/gconv_simple.c: Likewise.
55199 * iconv/gconv_int.h: Likewise.
55200 * iconv/gconv_builtin.h: Likewise.
55201 * iconv/iconv_prog.c: Remove CHAR16 handling.
55203 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55205 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55207 * configure.in: Remove --with-elf and --enable-bounded options.
55208 Dont set base_machine for ia64. More non-ELF conditions removed.
55209 Remove testing and setting of leading underscore information.
55210 * config.make.in (build-bounded): Set to no.
55211 * config.h.in: Remove NO_UNDERSCORES entry.
55212 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
55214 * csu/start.c: Remove !NO_UNDERSCORE code.
55215 * locale/localeinfo.h: Likewise.
55216 * sysdeps/generic/machine-gmon.h: Likewise.
55217 * sysdeps/generic/sysdep.h: Likewise.
55218 * sysdeps/i386/sysdep.h: Likewise.
55219 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55220 * sysdeps/mach/sysdep.h: Likewise.
55221 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55222 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55223 * sysdeps/sh/sysdep.h: Likewise.
55224 * sysdeps/sparc/sparc32/alloca.S: Likewise.
55225 * sysdeps/unix/i386/sysdep.S: Likewise.
55226 * sysdeps/unix/sparc/start.c: Likewise.
55227 * sysdeps/unix/sparc/sysdep.S: Likewise.
55228 * sysdeps/unix/sparc/sysdep.h: Likewise.
55229 * sysdeps/unix/start.c: Likewise.
55230 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55231 * sysdeps/x86_64/sysdep.h: Likewise.
55233 2012-01-07 Ulrich Drepper <drepper@gmail.com>
55236 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55238 * argp/argp-fmtstream.h: Use const instead __const.
55239 * argp/argp.h: Likewise.
55240 * assert/assert.h: Likewise.
55241 * bits/fenv.h: Likewise.
55242 * bits/sched.h: Likewise.
55243 * bits/sigset.h: Likewise.
55244 * bits/sigthread.h: Likewise.
55245 * catgets/nl_types.h: Likewise.
55246 * conform/data/pthread.h-data: Likewise.
55247 * crypt/crypt-private.h: Likewise.
55248 * crypt/crypt.h: Likewise.
55249 * crypt/crypt_util.c: Likewise.
55250 * ctype/ctype.h: Likewise.
55251 * debug/execinfo.h: Likewise.
55252 * debug/mbsnrtowcs_chk.c: Likewise.
55253 * debug/mbsrtowcs_chk.c: Likewise.
55254 * debug/wcsnrtombs_chk.c: Likewise.
55255 * debug/wcsrtombs_chk.c: Likewise.
55256 * debug/wcstombs_chk.c: Likewise.
55257 * dirent/dirent.h: Likewise.
55258 * dlfcn/dlfcn.h: Likewise.
55259 * elf/neededtest4.c: Likewise.
55260 * grp/grp.h: Likewise.
55261 * gshadow/gshadow.h: Likewise.
55262 * iconv/gconv.h: Likewise.
55263 * iconv/gconv_int.h: Likewise.
55264 * iconv/gconv_simple.c: Likewise.
55265 * iconv/iconv.h: Likewise.
55266 * iconv/loop.c: Likewise.
55267 * iconv/skeleton.c: Likewise.
55268 * include/aio.h: Likewise.
55269 * include/aliases.h: Likewise.
55270 * include/argz.h: Likewise.
55271 * include/arpa/inet.h: Likewise.
55272 * include/assert.h: Likewise.
55273 * include/dirent.h: Likewise.
55274 * include/dlfcn.h: Likewise.
55275 * include/execinfo.h: Likewise.
55276 * include/fcntl.h: Likewise.
55277 * include/fenv.h: Likewise.
55278 * include/glob.h: Likewise.
55279 * include/grp.h: Likewise.
55280 * include/libintl.h: Likewise.
55281 * include/mntent.h: Likewise.
55282 * include/netdb.h: Likewise.
55283 * include/pwd.h: Likewise.
55284 * include/rpc/netdb.h: Likewise.
55285 * include/sched.h: Likewise.
55286 * include/search.h: Likewise.
55287 * include/shadow.h: Likewise.
55288 * include/signal.h: Likewise.
55289 * include/stdio.h: Likewise.
55290 * include/stdlib.h: Likewise.
55291 * include/string.h: Likewise.
55292 * include/sys/socket.h: Likewise.
55293 * include/sys/stat.h: Likewise.
55294 * include/sys/statfs.h: Likewise.
55295 * include/sys/statvfs.h: Likewise.
55296 * include/sys/syslog.h: Likewise.
55297 * include/sys/time.h: Likewise.
55298 * include/sys/uio.h: Likewise.
55299 * include/time.h: Likewise.
55300 * include/unistd.h: Likewise.
55301 * include/utmp.h: Likewise.
55302 * include/wchar.h: Likewise.
55303 * include/wctype.h: Likewise.
55304 * inet/aliases.h: Likewise.
55305 * inet/arpa/inet.h: Likewise.
55306 * inet/netinet/ether.h: Likewise.
55307 * inet/netinet/in.h: Likewise.
55308 * intl/libintl.h: Likewise.
55309 * io/bits/fcntl2.h: Likewise.
55310 * io/fcntl.h: Likewise.
55311 * io/ftw.h: Likewise.
55312 * io/sys/poll.h: Likewise.
55313 * io/sys/stat.h: Likewise.
55314 * io/sys/statfs.h: Likewise.
55315 * io/sys/statvfs.h: Likewise.
55316 * io/utime.h: Likewise.
55317 * libio/bits/stdio.h: Likewise.
55318 * libio/bits/stdio2.h: Likewise.
55319 * libio/libio.h: Likewise.
55320 * libio/libioP.h: Likewise.
55321 * libio/stdio.h: Likewise.
55322 * locale/lc-ctype.c: Likewise.
55323 * locale/locale.h: Likewise.
55324 * login/utmp.h: Likewise.
55325 * malloc/arena.c: Likewise.
55326 * malloc/malloc.c: Likewise.
55327 * malloc/malloc.h: Likewise.
55328 * malloc/mcheck.c: Likewise.
55329 * malloc/mtrace.c: Likewise.
55330 * math/bits/mathcalls.h: Likewise.
55331 * math/fenv.h: Likewise.
55332 * math/math_private.h: Likewise.
55333 * misc/bits/error.h: Likewise.
55334 * misc/bits/syslog.h: Likewise.
55335 * misc/err.h: Likewise.
55336 * misc/error.h: Likewise.
55337 * misc/fstab.h: Likewise.
55338 * misc/mntent.h: Likewise.
55339 * misc/regexp.h: Likewise.
55340 * misc/search.h: Likewise.
55341 * misc/sgtty.h: Likewise.
55342 * misc/sys/mman.h: Likewise.
55343 * misc/sys/syslog.h: Likewise.
55344 * misc/sys/uio.h: Likewise.
55345 * misc/sys/xattr.h: Likewise.
55346 * misc/ttyent.h: Likewise.
55347 * nis/rpcsvc/ypclnt.h: Likewise.
55348 * nss/nss.h: Likewise.
55349 * posix/bits/unistd.h: Likewise.
55350 * posix/fnmatch.h: Likewise.
55351 * posix/glob.h: Likewise.
55352 * posix/sched.h: Likewise.
55353 * posix/spawn.h: Likewise.
55354 * posix/sys/wait.h: Likewise.
55355 * posix/unistd.h: Likewise.
55356 * posix/wordexp.h: Likewise.
55357 * pwd/pwd.h: Likewise.
55358 * resolv/netdb.h: Likewise.
55359 * resource/sys/resource.h: Likewise.
55360 * rt/aio.h: Likewise.
55361 * rt/bits/mqueue2.h: Likewise.
55362 * rt/mqueue.h: Likewise.
55363 * shadow/shadow.h: Likewise.
55364 * signal/signal.h: Likewise.
55365 * socket/send.c: Likewise.
55366 * socket/sendto.c: Likewise.
55367 * socket/sys/socket.h: Likewise.
55368 * stdio-common/printf.h: Likewise.
55369 * stdlib/bits/stdlib.h: Likewise.
55370 * stdlib/fmtmsg.h: Likewise.
55371 * stdlib/monetary.h: Likewise.
55372 * stdlib/stdlib.h: Likewise.
55373 * stdlib/ucontext.h: Likewise.
55374 * streams/stropts.h: Likewise.
55375 * string/argz.h: Likewise.
55376 * string/bits/string2.h: Likewise.
55377 * string/string.h: Likewise.
55378 * string/strings.h: Likewise.
55379 * sunrpc/rpc/auth.h: Likewise.
55380 * sunrpc/rpc/auth_des.h: Likewise.
55381 * sunrpc/rpc/clnt.h: Likewise.
55382 * sunrpc/rpc/netdb.h: Likewise.
55383 * sunrpc/rpc/pmap_clnt.h: Likewise.
55384 * sunrpc/rpc/xdr.h: Likewise.
55385 * sysdeps/generic/inttypes.h: Likewise.
55386 * sysdeps/generic/net/if.h: Likewise.
55387 * sysdeps/generic/sys/swap.h: Likewise.
55388 * sysdeps/gnu/net/if.h: Likewise.
55389 * sysdeps/gnu/utmpx.h: Likewise.
55390 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55391 * sysdeps/i386/i486/bits/string.h: Likewise.
55392 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55393 * sysdeps/s390/bits/string.h: Likewise.
55394 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55395 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55396 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55397 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55398 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55399 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55400 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55401 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55402 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55403 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55404 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55405 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55406 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55407 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55408 * sysdeps/unix/sysv/linux/readv.c: Likewise.
55409 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55410 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55411 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55412 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55413 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55414 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55415 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55416 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55417 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55418 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55419 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55420 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55421 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55422 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55423 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55424 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55425 * sysvipc/sys/ipc.h: Likewise.
55426 * sysvipc/sys/msg.h: Likewise.
55427 * sysvipc/sys/sem.h: Likewise.
55428 * sysvipc/sys/shm.h: Likewise.
55429 * termios/termios.h: Likewise.
55430 * time/sys/time.h: Likewise.
55431 * time/time.h: Likewise.
55432 * wcsmbs/bits/wchar2.h: Likewise.
55433 * wcsmbs/uchar.h: Likewise.
55434 * wcsmbs/wchar.h: Likewise.
55435 * wctype/wctype.h: Likewise.
55438 * Makeconfig: Remove all but ELF support including AIX support.
55439 * Makerules: Likewise.
55440 * config.h.in: Likewise.
55441 * config.make.in: Likewise.
55442 * configure: Likewise.
55443 * configure.in: Likewise.
55444 * csu/Makefile: Likewise.
55445 * csu/version.c: Likewise.
55446 * debug/Makefile: Likewise.
55447 * dlfcn/Makefile: Likewise.
55448 * elf/Makefile: Likewise.
55449 * extra-lib.mk: Likewise.
55450 * iconv/Makefile: Likewise.
55451 * include/libc-symbols.h: Likewise.
55452 * include/shlib-compat.h: Likewise.
55453 * resolv/Makefile: Likewise.
55454 * resolv/res_libc.c: Likewise.
55455 * rt/Makefile: Likewise.
55456 * sysdeps/i386/asm-syntax.h: Likewise.
55457 * sysdeps/i386/sysdep.h: Likewise.
55458 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55459 * sysdeps/mach/sysdep.h: Likewise.
55460 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55461 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55462 * sysdeps/s390/asm-syntax.h: Likewise.
55463 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55464 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55465 * sysdeps/sh/sysdep.h: Likewise.
55466 * sysdeps/unix/sparc/sysdep.h: Likewise.
55467 * sysdeps/wordsize-32/divdi3.c: Likewise.
55468 * sysdeps/x86_64/sysdep.h: Likewise.
55470 * argp/Versions: Remove _argp_unlock_xxx.
55473 * abilist/ld.abilist: Update. Adjust for removal of tls option.
55474 * abilist/libBrokenLocale.abilist: Likewise.
55475 * abilist/libanl.abilist: Likewise.
55476 * abilist/libc.abilist: Likewise.
55477 * abilist/libcrypt.abilist: Likewise.
55478 * abilist/libdl.abilist: Likewise.
55479 * abilist/libm.abilist: Likewise.
55480 * abilist/libnsl.abilist: Likewise.
55481 * abilist/libpthread.abilist: Likewise.
55482 * abilist/libresolv.abilist: Likewise.
55483 * abilist/librt.abilist: Likewise.
55484 * abilist/libthread_db.abilist: Likewise.
55485 * abilist/libutil.abilist: Likewise.
55486 * abilist/libnss_db.abilist: New file.
55488 * scripts/abilist.awk: Add support for indirect functions.
55490 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55492 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55494 * shlib-versions: Remove entries for ports architectures.
55496 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
55498 * elf/stackguard-macros.h: Remove support for IA-64.
55499 * elf/tst-auditmod1.c: Likewise.
55500 * sysdeps/generic/ldsodefs.h: Likewise.
55502 * sysdeps/unix/sysv/linux/configure.in: Ports should define
55503 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55507 * configure.in: Remove --enable-omitfp support.
55509 * config.make.in: Likewise.
55510 * Makeconfig: Likewise.
55511 * manual/install.texi: Likewise.
55513 In case anyone cares, the IA-64 architecture could move to ports.
55514 * sysdeps/ia64/*: Removed.
55515 * sysdeps/unix/sysv/linux/ia64/*: Removed.
55516 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55519 * configure.in: Remove entries for unsupported architectures.
55522 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55523 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
55525 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55526 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55527 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
55528 fall back to using wcrtomb.
55529 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55530 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
55532 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55533 * wcsmbs/tst-c16c32-1.c: New file.
55535 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55538 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55540 * elf/tst-unique3.cc: Add explicit declaration of gets.
55541 * elf/tst-unique3lib.cc: Likewise.
55542 * elf/tst-unique3lib2.cc: Likewise.
55543 * elf/tst-unique4.cc: Likewise.
55545 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55547 2012-01-06 Joseph Myers <joseph@codesourcery.com>
55550 * assert/assert.h (static_assert): Don't define for C++.
55551 * libio/stdio.h (gets): Do declare for C++ <= C++11.
55552 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55554 2012-01-03 Ulrich Drepper <drepper@gmail.com>
55556 * iconv/loop.c (single loop): Fix assertion in storing of
55559 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55561 2012-01-01 Ulrich Drepper <drepper@gmail.com>
55563 * posix/getconf.c: Update copyright year.
55564 * nss/getent.c: Likewise.
55565 * nss/makedb.c: Likewise.
55566 * iconv/iconvconfig.c: Likewise.
55567 * iconv/iconv_prog.c: Likewise.
55568 * elf/ldconfig.c: Likewise.
55569 * elf/pldd.c: Likewise.
55570 * elf/sotruss.ksh: Likewise.
55571 * catgets/gencat.c: Likewise.
55572 * csu/version.c: Likewise.
55573 * elf/ldd.bash.in: Likewise.
55574 * elf/sprof.c (print_version): Likewise.
55575 * locale/programs/locale.c: Likewise.
55576 * locale/programs/localedef.c: Likewise.
55577 * login/programs/pt_chown.c: Likewise.
55578 * nscd/nscd.c (print_version): Likewise.
55579 * debug/xtrace.sh: Likewise.
55580 * malloc/memusage.sh: Likewise.
55581 * malloc/mtrace.pl: Likewise.
55582 * debug/catchsegv.sh: Likewise.
55584 2011-12-30 Jakub Jelinek <jakub@redhat.com>
55586 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55589 2011-12-24 Ulrich Drepper <drepper@gmail.com>
55592 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55593 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55595 * iconv/gconv_int.h: Likewise.
55596 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55597 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55598 from libc for GLIBC_2.16.
55599 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55600 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55601 * wcsmbs/uchar.h: Really define mbstate_t.
55602 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55603 * wcsmbs/c16rtomb.c: New file.
55604 * wcsmbs/mbrtoc16.c: New file.
55605 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55606 for C/POSIX locale.
55607 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55608 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55610 * wcsmbs/wchar.h: Add missing __restrict.
55612 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55615 * time/Makefile (routines): Add timespec_get.
55616 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55617 * time/time.h: Define TIME_UTC and declare timespec_get. Define
55618 timespec for ISO C11.
55619 * time/timespec_get.c: New file.
55620 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55621 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55624 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55625 * stdlib/stdlib.h: Declare aligned_alloc.
55626 * Versions.def: Add GLIBC_2.16 for libc.
55627 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55630 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55633 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55637 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55640 * assert/assert.h (static_assert): Define.
55642 * version.h: Update for 2.16 development version.
55645 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55648 * version.h (RELEASE): Bump for 2.15 release.
55649 * include/features.h (__GLIBC_MINOR__): Bump to 15.
55651 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55652 Patch by Marek Polacek <mpolacek@redhat.com>.
55654 * bits/byteswap.h: Protect long long constants with __extension__.
55655 * sysdeps/i386/bits/byteswap.h: Likewise.
55656 * sysdeps/ia64/bits/byteswap.h: Likewise.
55657 * sysdeps/s390/bits/byteswap.h: Likewise.
55658 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55660 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55663 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55664 destination buffer.
55665 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55667 2011-12-23 Marek Polacek <polacek@redhat.com>
55669 * elf/dl-addr.c (determine_info): Add inline keyword.
55670 * elf/tst-auditmod4b.c (check_avx): Likewise.
55671 * elf/tst-auditmod6b.c (check_avx): Likewise.
55672 * elf/tst-auditmod6c.c (check_avx): Likewise.
55673 * elf/tst-auditmod7b.c (check_avx): Likewise.
55675 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55677 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55680 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55683 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55684 processing for last bytes.
55686 2011-08-06 Bruno Haible <bruno@clisp.org>
55689 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55690 U+0385, not to U+1FEE.
55693 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55694 entry for U+00A5 U+0301.
55696 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55699 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55700 buffer for the output is too small.
55702 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55706 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55707 SSE flags if possible.
55709 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55712 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55713 processing for last bytes.
55715 2011-12-22 Joseph Myers <joseph@codesourcery.com>
55717 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55718 (syscall-list-default-options, syscall-list-default-condition)
55719 (syscall-list-includes): Define.
55720 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55721 list of ABIs and options and #if conditions for each ABI. Do not
55722 handle common syscalls between ABIs specially.
55723 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55725 (syscall-list-variants, syscall-list-32bit-options)
55726 (syscall-list-32bit-condition, syscall-list-64bit-options)
55727 (syscall-list-64bit-condition): Define.
55728 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55729 (syscall-list-variants, syscall-list-32bit-options)
55730 (syscall-list-32bit-condition, syscall-list-64bit-options)
55731 (syscall-list-64bit-condition): Define.
55732 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55734 (syscall-list-variants, syscall-list-32bit-options)
55735 (syscall-list-32bit-condition, syscall-list-64bit-options)
55736 (syscall-list-64bit-condition): Define.
55737 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55739 (syscall-list-variants, syscall-list-32bit-options)
55740 (syscall-list-32bit-condition, syscall-list-64bit-options)
55741 (syscall-list-64bit-condition): Define.
55743 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55745 * locale/iso-639.def: Add brx entry.
55748 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55749 Proposed by Mariusz_Cukr <marcukr@op.pl>.
55751 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55752 __feraiseexcept_renamed.
55754 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55757 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55758 EPOLLET with unsigned values.
55759 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55760 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55762 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55763 to large cancellation.
55764 * math/s_cacoshf.c: Likewise.
55765 * math/s_cacoshl.c: Likewise.
55767 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
55771 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55772 * math/s_cacoshf.c: Likewise.
55773 * math/s_cacoshl.c: Likewise.
55775 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55778 * iconv/gconv.h: Define __GCONV_SWAP.
55779 * iconvdata/unicode.c: The swap bit must be stored in __flags.
55780 * iconvdata/utf-16.c: Likewise.
55781 * iconvdata/utf-32.c: Likewise.
55783 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
55786 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55787 numerator after shifting it by one limb.
55789 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
55791 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55792 under [__USE_EXTERN_INLINES].
55794 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55797 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55799 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55801 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55802 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55804 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55805 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55806 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55807 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55808 for strncasecmp/strncasecmp_l compilation.
55809 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55810 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55812 2011-12-08 Marek Polacek <mpolacek@redhat.com>
55815 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55818 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55821 * time/tzfile.c (__tzfile_read): Check values from file header.
55823 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
55825 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55826 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55827 * powerpc/powerpc32/dl-start.S: Likewise.
55828 * powerpc/powerpc32/elf/start.S: Likewise.
55829 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55830 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55831 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55832 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55833 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55834 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55835 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55836 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55837 * powerpc/powerpc32/fpu/s_round.S: Likewise.
55838 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55839 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55840 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55841 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55842 * powerpc/powerpc32/memset.S: Likewise.
55843 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55844 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55845 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55846 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55847 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55848 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55849 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55850 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55851 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55852 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55853 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55854 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55855 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55857 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55859 * math/libm-test.inc: Added more nearbyint tests.
55860 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55861 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55862 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55863 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55865 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
55867 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55870 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55872 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55873 Add wcscpy-ssse3 wcscpy-c.
55874 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55875 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55876 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55877 * sysdeps/x86_64/wcschr.S: New file.
55878 * sysdeps/x86_64/wcsrchr.S: New file.
55879 * string/test-strcmp.c: Remove checking of wcscmp function for
55881 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55882 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55883 wcsrchr-sse2 wcsrchr-c.
55884 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55885 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55886 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55887 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55888 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55889 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55890 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55891 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55892 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55893 * wcsmbc/wcschr.c (WCSCHR): New macro.
55895 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55897 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55898 * wcsmbs/test-wcsrchr.c: New file.
55899 * string/test-strrchr.c: Add wcsrchr support.
55901 * wcsmbs/test-wcscpy.c: New file.
55902 * string/test-strcpy.c: Add wcscpy support.
55905 2011-12-10 Ulrich Drepper <drepper@gmail.com>
55907 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55910 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
55913 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55915 2011-12-04 Ulrich Drepper <drepper@gmail.com>
55917 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55918 Minor optimizations.
55920 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55921 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55922 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55924 2011-12-03 Ulrich Drepper <drepper@gmail.com>
55926 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55927 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55928 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55929 for gcc to avoid warnings.
55930 * inet/Makefile (tests): Add tst-checks.
55931 * inet/tst-checks.c: New file.
55933 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55936 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55939 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55940 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55942 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55944 2011-12-02 Ulrich Drepper <drepper@gmail.com>
55946 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55949 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55951 2011-11-29 Joseph Myers <joseph@codesourcery.com>
55953 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55954 conditional on GCC version.
55955 (__arch_compare_and_exchange_val_8_acq)
55956 (__arch_compare_and_exchange_val_16_acq)
55957 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55958 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55959 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55961 2011-12-02 Joseph Myers <joseph@codesourcery.com>
55963 * sysdeps/sh/backtrace.c: New file.
55965 2011-12-02 Andreas Schwab <schwab@redhat.com>
55967 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
55970 2011-12-01 Andreas Schwab <schwab@redhat.com>
55972 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55973 falling back to utime.
55975 2011-11-30 Andreas Schwab <schwab@redhat.com>
55977 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55978 expectations for float.
55980 2011-11-29 Andreas Schwab <schwab@redhat.com>
55982 * locale/weight.h (findidx): Add parameter len.
55983 * locale/weightwc.h (findidx): Likewise.
55984 * posix/fnmatch_loop.c (FCT): Adjust caller.
55985 * posix/regcomp.c (build_equiv_class): Likewise.
55986 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55987 * posix/regexec.c (check_node_accept_bytes): Likewise.
55988 * string/strcoll_l.c (STRCOLL): Likewise.
55989 * string/strxfrm_l.c (STRXFRM): Likewise.
55991 2011-11-17 Ulrich Drepper <drepper@gmail.com>
55993 * Makefile.in: Remove CVSOPT handling.
55994 * configure.in: Remove use of AC_REVISION.
55995 * iconvdata/Makefile (distribute): No need to filter out CVS.
55996 * scripts/list-sources.sh: Remove CVS, subversion and monotone
55999 2011-11-16 Andreas Schwab <schwab@redhat.com>
56001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56002 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56003 [USE_AS_STRNCASECMP_L]: Likewise.
56004 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56005 NO_TLS_DIRECT_SEG_REFS.
56006 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56007 Fix argument offsets for non-PIC.
56008 [USE_AS_STRNCASECMP_L]: Likewise.
56009 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56010 NO_TLS_DIRECT_SEG_REFS.
56012 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56014 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56016 * locale/loadlocale.c (_nl_load_locale): Likewise.
56018 2011-11-15 Andreas Schwab <schwab@redhat.com>
56020 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56021 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56022 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56023 (SYSCALL_GETTIME): Set errno on error.
56025 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56026 count references to noai6ai_cached.
56028 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56030 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56032 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56033 FD_CLOEXEC for /proc/self/maps.
56035 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56036 FD_CLOEXEC for /proc/meminfo.
56038 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56041 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
56042 FD_CLOEXEC for given file.
56044 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56046 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56047 FD_CLOEXEC for /etc/hosts.
56048 (_gethtent): Likewise.
56050 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56052 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56053 cancellation and set FD_CLOEXEC for /etc/netgroup.
56055 * nss/nss_files/files-key.c (search): Don't allow cancellation when
56056 reading /etc/publickey.
56058 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56059 allow cancellation when reading /etc/group.
56061 * nss/nss_files/files-alias.c (internal_setent): Don't allow
56063 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
56065 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56066 when using data file.
56068 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56070 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56071 (write_nis_obj): Use "c" and "e" in fopen.
56073 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56075 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56077 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56079 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56081 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56084 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56086 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56088 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56090 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56091 file parsing and set FD_CLOEXEC.
56093 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56095 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56097 2011-11-14 Andreas Schwab <schwab@redhat.com>
56099 * malloc/arena.c (arena_get2): Don't call reused_arena when
56100 _int_new_arena failed.
56102 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56104 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56105 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56106 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56107 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56108 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56109 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56110 to compile strcasecmp and strncasecmp.
56111 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56112 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56114 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56116 2011-11-13 Ulrich Drepper <drepper@gmail.com>
56118 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56119 locale-defines.sym to gen-as-const-headers.
56120 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56121 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56122 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56123 to compile strcasecmp and strncasecmp.
56124 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56125 strcasecmp_l and strncasecmp_l.
56126 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56127 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56128 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56129 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56130 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56131 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56132 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56133 * sysdeps/i386/i686/multiarch/strncase.S: New file.
56134 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56135 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56136 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56138 2011-11-12 Ulrich Drepper <drepper@gmail.com>
56140 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56141 result of SYSDEP_GETTIME_CPU to retval.
56142 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56143 parameter list to macro. Remove trailing semicolon. Adjust users.
56145 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56148 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56150 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56152 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56153 from unused variable.
56155 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56157 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56160 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56163 * sunrpc/rpc_prot.c (rejected): Fix case value.
56165 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56166 unsigned long long int to avoid warnings in shift.
56168 * posix/regex_internal.c (re_string_reconstruct): Actually use result
56170 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56173 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56174 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56175 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56177 * nis/nis_table.c (nis_list): Use variable of correct type for
56178 result of __follow_path call.
56180 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56182 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56183 of math functions ceil, trunc, floor, round, and sqrt, when
56184 avaliable on the platform.
56185 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56187 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56188 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56189 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56191 2011-10-30 Marek Polacek <mpolacek@redhat.com>
56193 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56194 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56196 2011-11-11 Roland McGrath <roland@hack.frob.com>
56198 * include/unistd.h: Fix __readlink return type.
56199 Reported by Chris Metcalf <cmetcalf@tilera.com>.
56201 2011-11-11 Ulrich Drepper <drepper@gmail.com>
56203 * stdlib/ucontext.h: Undo last change for makecontext.
56205 2011-11-11 Andreas Schwab <schwab@redhat.com>
56207 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56209 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56210 * setjmp/setjmp.h: Mark functions as non-leaf.
56211 * setjmp/bits/setjmp2.h: Likewise.
56212 * stdlib/ucontext.h: Likewise.
56214 2011-11-10 Andreas Schwab <schwab@redhat.com>
56216 * malloc/arena.c (_int_new_arena): Don't increment narenas.
56217 (reused_arena): Don't check arena limit.
56218 (arena_get2): Atomically check arena limit.
56220 2011-11-08 Ulrich Drepper <drepper@gmail.com>
56222 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56223 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56225 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56228 2011-11-07 Andreas Schwab <schwab@redhat.com>
56230 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56231 handler when locking.
56233 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56234 Fix size of allocated buffer.
56236 2011-11-04 Andreas Schwab <schwab@redhat.com>
56239 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56240 declarations for long double functions.
56241 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56243 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56245 2011-11-03 Andreas Schwab <schwab@redhat.com>
56247 * nscd/nscd.c (main): Don't start AVC thread until credentials are
56250 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56253 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
56255 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56257 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
56259 * include/alloca.h (stackinfo_alloca_round): Define.
56260 (extend_alloca): Use it.
56261 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56262 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56265 * scripts/check-local-headers.sh: Ignore libaudit.h.
56267 * nscd/Makefile (extra-objs): Make recursively expanded.
56269 2011-11-01 Ulrich Drepper <drepper@gmail.com>
56271 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56272 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56274 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56275 * posix/tst-rfc3484-2.c: Likewise.
56276 * posix/tst-rfc3484-3.c: Likewise.
56278 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56280 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56282 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56283 process_vm_writev from libc using GLIBC_2.15 version.
56285 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56287 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
56289 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56292 2011-10-31 Ulrich Drepper <drepper@gmail.com>
56295 * nss/getent.c (initgroups_keys): Show error message in case no group
56298 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56299 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56300 __bump_nl_timestamp.
56301 * nscd/connections (nscd_init): When host database is served open
56302 netlink socket and request notification about configuration changes.
56303 (main_loop_poll): Track netlink file descriptor and bump timestamp
56304 in case data becomes available.
56305 (main_loop_epoll): Likewise.
56306 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56307 (database_pers_head): Add extra_data fileds.
56308 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56309 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56310 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56312 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56313 in6ai data, call __free_in6ai.
56314 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56315 Add -DHAVE_NETLINK.
56316 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
56317 interface information. Reuse previous data if netlink timestamp
56319 (__bump_nl_timestamp): New function.
56320 (__free_in6ai): New function.
56322 2011-10-30 Ulrich Drepper <drepper@gmail.com>
56324 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56325 close_not_cancel_no_status here.
56326 (__check_pf): Reorganize code a bit to not call close twice if OOM.
56328 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56331 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56334 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56335 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56336 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56338 2011-07-03 Andreas Jaeger <aj@suse.de>
56341 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56342 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56343 * math/libm-test.inc (sin_test): Add test case.
56345 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56348 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56349 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56351 * elf/chroot_canon.c (chroot_canon): Cleanups.
56353 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56356 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56357 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56359 * string/test-strchr.c: Make usable for strchrnul testing.
56360 * string/test-strchrnul.c: New file.
56361 * string/Makefile (strop-tests): Add strchrnul.
56363 * po/it.po: Update from translation team.
56364 * po/es.po: Likewise.
56366 2011-10-28 Ulrich Drepper <drepper@gmail.com>
56368 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56369 the three constants needed as parameters. Drop the others.
56370 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56371 __m128i_strloadu_tolower.
56372 Create and initialize variable zero and use it in all the places
56373 where _mm_setzero_si128 was used.
56375 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56376 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56377 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56378 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56380 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56381 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56382 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56383 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56384 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56385 __mpranred, __mptan.
56386 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56387 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56388 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56389 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56390 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56391 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56392 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56393 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56394 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56396 2011-10-28 Andreas Schwab <schwab@redhat.com>
56398 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56399 redefine if SHARED.
56400 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56403 wide char related routines to wcsmbs subdir.
56405 2011-10-27 Andreas Schwab <schwab@redhat.com>
56408 * misc/sys/cdefs.h (__THROWNL): Define.
56409 * posix/unistd.h: Use __THREADNL instead of __THREAD
56410 for memory synchronization functions.
56412 2011-10-26 Roland McGrath <roland@hack.frob.com>
56415 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56417 * manual/stdio.texi (Obstack Streams): Node removed.
56419 2011-10-26 Andreas Schwab <schwab@redhat.com>
56421 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56422 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56423 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56425 * math/math_private.h (math_force_eval): Allow non-addressable
56427 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56429 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56431 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56432 file is not needed.
56434 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56435 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56436 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56437 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56438 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56439 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56440 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56441 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56443 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56444 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56445 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56446 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56447 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56448 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56449 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56450 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56451 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56452 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56453 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56454 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56455 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56456 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56457 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56458 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56459 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56460 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56461 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56463 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56464 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
56466 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56467 place. Use VEX encoding when compiling for AVX.
56469 2011-10-25 Andreas Schwab <schwab@redhat.com>
56471 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56472 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56474 * string/test-strchr.c (do_test): Don't generate NUL bytes.
56476 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56478 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56479 useless if() expression.
56480 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56481 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56482 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56483 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56484 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56485 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56486 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56487 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56488 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56489 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56490 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56491 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56492 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56493 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56494 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56495 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56496 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56497 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56498 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56500 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56502 2011-10-25 Andreas Schwab <schwab@redhat.com>
56504 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56506 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56508 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56510 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56511 .text section. Avoid duplicate constants.
56512 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56513 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56514 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56516 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56518 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56519 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56520 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56521 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56522 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56523 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56524 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56525 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56526 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56527 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56528 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56529 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56530 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56531 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56532 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56533 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56534 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56535 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56536 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56537 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56538 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56539 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56540 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56541 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56542 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56543 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56544 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56545 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56546 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56547 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56548 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56549 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56550 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56551 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56552 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56553 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56554 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56555 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56556 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56558 2011-10-24 Ulrich Drepper <drepper@gmail.com>
56560 * sysdeps/x86_64/dla.h: Move to ...
56561 * sysdeps/x86_64/fpu/dla.h: ...here.
56562 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56563 situations. Use __builtin_fma only for gcc 4.6 and up.
56565 * config.make.in: Add have-mfma4 entry.
56566 * configure.in: Substitute libc_cv_cc_fma4.
56567 * math/Makefile (dbl-only-routines): Add sincostab.
56568 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56569 Use __sincostab not sincos.
56570 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56575 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
56577 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
56578 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
56579 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56580 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56582 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56583 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56585 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
56586 define aliases when function name is a macro.
56587 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56588 sysdeps/ieee754/dbl-64/sincos.tbl.
56589 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56590 fma4-enabled routines.
56591 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56592 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56593 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56594 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56595 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56596 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56597 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56598 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56599 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56600 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56601 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56602 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56603 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56604 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56605 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56606 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56607 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56608 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56609 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56610 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56611 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56612 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56613 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56614 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56615 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56616 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56617 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56618 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56619 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56620 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56622 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56625 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56626 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56627 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56633 2011-10-24 Andreas Schwab <schwab@redhat.com>
56635 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56637 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56639 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56641 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56643 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56645 * string/strnlen.c: Don't define STRNLEN, reverse logic.
56646 Remove unused variable magic_bits.
56647 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56649 * string/strnlen.c: Define and use STRNLEN macro.
56650 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56651 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56652 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56653 * wcsmbs/wcslen.c: Define and use WCSLEN.
56654 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56655 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56656 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56657 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56658 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56659 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56660 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56662 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56665 strnlen-sse2-no-bsf.
56666 Rename strlen-no-bsf to strlen-sse2-no-bsf.
56667 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56668 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56669 Add strnlen support.
56670 (USE_AS_STRNLEN): New macro.
56671 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56672 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56673 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56674 * sysdeps/x86_64/wcslen.S: New file.
56676 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
56678 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56679 XMM-moves are used for copying on small sizes.
56681 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56683 * wcsmbs/Makefile (strop-tests): Add wcschr.
56684 * wcsmbs/test-wcschr.c: New file.
56685 * string/test-strchr.c: Update.
56686 Add wcschr support.
56689 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56691 * wcsmbs/Makefile (strop-tests): Add wcslen.
56692 * wcsmbs/test-wcslen.c: New file.
56693 * string/test-strlen.c: Update.
56694 Add wcslen support.
56697 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56699 * po/it.po: Update from translation team.
56701 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56703 * sysdeps/x86_64/wcscmp.S: Update.
56704 Fix wrong comparison semantics.
56705 wcscmp shall use signed comparison not unsigned.
56706 Don't use substraction to avoid overflow bug.
56707 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56708 * wcsmbc/wcscmp.c: Likewise.
56709 * string/test-strcmp.c: Likewise.
56710 Add new tests to check cases with negative values.
56712 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56714 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56715 * sysdeps/x86_64/dla.h: ...here. New file.
56716 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56720 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56721 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56722 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56723 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56724 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56726 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
56728 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56729 __ynl_finite aliases.
56731 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56735 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56737 [DLA_FMA] (EMULV): Use DLA_FMA.
56738 [DLA_FMA] (MUL12): Use EMULV.
56739 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56740 that are not needed.
56741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56746 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56747 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56749 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
56751 * math/s_nan.c: Undef __nan.
56752 * math/s_nanf.c: Undef __nanf.
56753 * math/s_nanl.c: Undef __nanl.
56754 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56757 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56759 * math/s_catan.c: Add branch predictions.
56760 * math/s_catanf.c: Likewise.
56761 * math/s_catanh.c: Likewise.
56762 * math/s_catanhf.c: Likewise.
56763 * math/s_catanhl.c: Likewise.
56764 * math/s_catanl.c: Likewise.
56765 * math/s_cexp.c: Likewise.
56766 * math/s_cexpf.c: Likewise.
56767 * math/s_cexpl.c: Likewise.
56768 * math/s_clog.c: Likewise.
56769 * math/s_clog10.c: Likewise.
56770 * math/s_clog10f.c: Likewise.
56771 * math/s_clog10l.c: Likewise.
56772 * math/s_clogf.c: Likewise.
56773 * math/s_clogl.c: Likewise.
56774 * math/s_csqrt.c: Likewise.
56775 * math/s_csqrtf.c: Likewise.
56776 * math/s_csqrtl.c: Likewise.
56777 * math/s_ctanf.c: Likewise.
56778 * math/s_ctanh.c: Likewise.
56779 * math/s_ctanhf.c: Likewise.
56780 * math/s_ctanhl.c: Likewise.
56781 * math/s_ctanl.c: Likewise.
56783 * math/math_private.h: Define __nan, __nanf, __nanl.
56784 * math/s_cacosh.c: Include <math_private.h>.
56785 * math/s_cacoshl.c: Likewise.
56786 * math/s_casinh.c: Likewise.
56787 * math/s_casinhf.c: Likewise.
56788 * math/s_casinhl.c: Likewise.
56789 * math/s_ccos.c: Rely entire on ccosh.
56790 * math/s_ccosf.c: Rely entire on ccoshf.
56791 * math/s_ccosl.c: Rely entirely on ccoshl.
56792 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
56793 Remove tests for FE_INVALID.
56794 * math/s_ccoshf.c: Likewise.
56795 * math/s_ccoshl.c: Likewise.
56796 * math/s_csin.c: Likewise.
56797 * math/s_csinf.c: Likewise.
56798 * math/s_csinh.c Likewise.
56799 * math/s_csinhf.c: Likewise.
56800 * math/s_csinhl.c: Likewise.
56801 * math/s_csinl.c: Likewise.
56802 * math/s_ctan.c: Likewise.
56803 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56804 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56805 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56807 2011-10-21 Ulrich Drepper <drepper@gmail.com>
56809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56810 compilation problems.
56812 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56815 2011-10-20 Ulrich Drepper <drepper@gmail.com>
56817 * sysdeps/i386/configure.in: Test for -mfma4 option.
56818 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56819 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56820 COMMON_CPUID_INDEX_80000001.
56821 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56822 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56823 use it if FMA3 is not supported.
56824 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56826 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56827 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56829 2011-10-20 Andreas Schwab <schwab@redhat.com>
56832 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56833 it would create a cycle with a link time dependency.
56835 2011-10-19 Ulrich Drepper <drepper@gmail.com>
56837 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56839 * string/Makefile (strop-tests): Add rawmemchr.
56840 * string/test-rawmemchr.c: New file.
56842 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56843 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
56844 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
56845 when compiling str{,n}casecmp and when AVX is available. Hook up
56846 new optimized code in initializers.
56848 2011-10-19 Andreas Schwab <schwab@redhat.com>
56850 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56851 __feraiseexcept instead of feraiseexcept.
56853 2011-10-18 Ulrich Drepper <drepper@gmail.com>
56855 * math/math_private.h: Define defaults for libc_fetestexcept and
56857 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56858 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56859 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56860 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56861 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56862 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56863 libc_fetestexcept and libc_feupdateenv.
56865 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56866 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56867 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56868 * sysdeps/x86_64/fpu/math_private.h: Define special version of
56869 libc_feholdexcept_setround.
56871 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56872 Add s_nearbyint-c and s_nearbyintf-c.
56873 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56874 nearbyintf inlines.
56875 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56876 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56877 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56878 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56880 * math/math_private.h: Define defaults for libc_fegetround,
56881 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56882 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56883 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56884 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56885 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56886 standard functions.
56887 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56888 Remove comments and hacks for old compiler versions.
56889 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56890 libc_fegetround, libc_fesetround, libc_feholdexcept, and
56891 libc_feholdexceptl.
56893 2011-10-18 Andreas Schwab <schwab@redhat.com>
56895 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56896 (__feraiseexcept_renamed): Add __NTH.
56897 (feraiseexcept): Add __NTH. Rename local variables to fix
56898 namespace violations.
56900 2011-10-17 Ulrich Drepper <drepper@gmail.com>
56902 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56904 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56906 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56907 recently added interfaces.
56908 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56910 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56911 about macro parameter expansion.
56913 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56914 __NO_MATH_INLINES is defined. Cleanups.
56916 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56917 and __floorf is target has SSE4.1.
56918 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56919 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56920 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56921 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56923 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56925 (floorf): Likewise.
56927 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56929 2011-10-17 Andreas Schwab <schwab@redhat.com>
56931 * misc/sys/cdefs.h: Fix last change.
56933 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56936 2011-10-16 Ulrich Drepper <drepper@gmail.com>
56938 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56940 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56941 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56942 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56943 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56944 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56945 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56946 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56947 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56948 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56949 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56950 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56951 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56952 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56953 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56954 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56955 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56956 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56957 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56958 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56959 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56960 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56961 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56963 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56964 ceil, ceilf, floor, floorf.
56966 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56967 Perform IRELATIVE relocations last.
56969 * elf/do-rel.h: Add another parameter nrelative, replacing the
56970 local variable with the same name. Change name of the function
56971 to end in Rel or Rela (uppercase).
56972 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56973 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
56974 elf_dynamic_do_##reloc function.
56976 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56978 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56979 is sufficient, at least on modern CPUs.
56981 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56983 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56984 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56986 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56988 * math/bits/math-finite.h: Add entries for exp.
56989 * math/e_expl.c: Add __*_finite alias.
56990 * sysdeps/i386/fpu/e_exp.S: Likewise.
56991 * sysdeps/i386/fpu/e_expf.S: Likewise.
56992 * sysdeps/i386/fpu/e_expl.c: Likewise.
56993 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56994 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56995 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56996 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56997 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56998 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56999 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57001 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57002 is sufficient, at least on modern CPUs.
57004 * ctype/ctype-info.c (__ctype_init): Define.
57005 * include/ctype.h (__ctype_init): Declare.
57006 (__ctype_b_loc): The variable is always initialized.
57007 (__ctype_toupper_loc): Likewise.
57008 (__ctype_tolower_loc): Likewise.
57009 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57010 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57012 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
57014 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57016 * configure.in: Also look in $cxxmachine/include for C++ system
57019 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57021 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57022 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57023 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57024 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
57025 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57026 (USE_AS_WMEMCMP): New macro.
57028 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57029 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57030 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57031 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57033 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57034 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57035 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57036 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57037 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57038 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57039 (USE_AS_WMEMCMP): New macro.
57040 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57041 * sysdeps/string/test-memcmp.c: Update.
57042 Fix simple_wmemcmp.
57044 * wcsmbs/wmemcmp.c: Update.
57045 (WMEMCMP): New macro.
57048 2011-10-12 Andreas Jaeger <aj@suse.de>
57051 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57053 2011-10-15 Ulrich Drepper <drepper@gmail.com>
57055 * libio/iofwide.c (do_length): Avoid warning.
57057 * ctype/ctype.h (__isctype_f): Add missing __THROW.
57059 2011-10-14 Ulrich Drepper <drepper@gmail.com>
57061 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57063 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57064 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57065 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57066 * sysdeps/i386/i686/fpu/e_log.S: New file.
57067 * sysdeps/i386/i686/fpu/e_logf.S: New file.
57068 * sysdeps/i386/i686/fpu/e_logl.S: New file.
57070 * ctype/ctype.h: Add support for inlined isXXX functions when
57071 compiling C++ code.
57073 2011-10-14 Andreas Schwab <schwab@redhat.com>
57075 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57077 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57079 2011-10-13 Roland McGrath <roland@hack.frob.com>
57082 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57084 2011-10-13 Andreas Schwab <schwab@redhat.com>
57086 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57087 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57090 * sysdeps/x86_64/memrchr.S: Check for zero size.
57092 * string/stratcliff.c: Add memrchr tests.
57094 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57097 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57098 rawmemchr-sse2 rawmemchr-sse2-bsf.
57099 * sysdeps/i386/i686/multiarch/memchr.S: New file.
57100 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57101 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57102 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57103 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57104 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57105 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57106 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57107 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57108 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57109 * string/memrchr.c (MEMRCHR): New macro.
57111 2011-10-12 Ulrich Drepper <drepper@gmail.com>
57113 Add integration with gcc's -ffinite-math-only and optimize wrapper
57115 * Versions.def: Define GLIBC_2.15 version for libm.
57116 * math/Makefile (headers): Add bits/math-finite.h.
57117 * math/bits/math-finite.h: New file.
57118 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57119 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57120 * math/e_acoshl.c: Add __*_finite alias.
57121 * math/e_acosl.c: Likewise.
57122 * math/e_asinl.c: Likewise.
57123 * math/e_atan2l.c: Likewise.
57124 * math/e_atanhl.c: Likewise.
57125 * math/e_coshl.c: Likewise.
57126 * math/e_exp10.c: Likewise.
57127 * math/e_exp10f.c: Likewise.
57128 * math/e_exp10l.c: Likewise.
57129 * math/e_exp2l.c: Likewise.
57130 * math/e_fmodl.c: Likewise.
57131 * math/e_gammal_r.c: Likewise.
57132 * math/e_hypotl.c: Likewise.
57133 * math/e_j0l.c: Likewise.
57134 * math/e_j1l.c: Likewise.
57135 * math/e_jnl.c: Likewise.
57136 * math/e_lgammal_r.c: Likewise.
57137 * math/e_log10l.c: Likewise.
57138 * math/e_log2l.c: Likewise.
57139 * math/e_logl.c: Likewise.
57140 * math/e_powl.c: Likewise.
57141 * math/e_sinhl.c: Likewise.
57142 * math/e_sqrtl.c: Likewise.
57143 * math/e_scalb.c: Completely rewritten and optimized.
57144 * math/e_scalbf.c: Likewise.
57145 * math/e_scalbl.c: Likewise.
57146 * math/w_acos.c: Likewise.
57147 * math/w_acosf.c: Likewise.
57148 * math/w_acosl.c: Likewise.
57149 * math/w_acosh.c: Likewise.
57150 * math/w_acoshf.c: Likewise.
57151 * math/w_acoshl.c: Likewise.
57152 * math/w_asin.c: Likewise.
57153 * math/w_asinf.c: Likewise.
57154 * math/w_asinl.c: Likewise.
57155 * math/w_atan2.c: Likewise.
57156 * math/w_atan2f.c: Likewise.
57157 * math/w_atan2l.c: Likewise.
57158 * math/w_atanh.c: Likewise.
57159 * math/w_atanhf.c: Likewise.
57160 * math/w_atanhl.c: Likewise.
57161 * math/w_exp10.c: Likewise.
57162 * math/w_exp10f.c: Likewise.
57163 * math/w_exp10l.c: Likewise.
57164 * math/w_fmod.c: Likewise.
57165 * math/w_fmodf.c: Likewise.
57166 * math/w_fmodl.c: Likewise.
57167 * math/w_j0.c: Likewise.
57168 * math/w_j0f.c: Likewise.
57169 * math/w_j0l.c: Likewise.
57170 * math/w_j1.c: Likewise.
57171 * math/w_j1f.c: Likewise.
57172 * math/w_j1l.c: Likewise.
57173 * math/w_jn.c: Likewise.
57174 * math/w_jnf.c: Likewise.
57175 * math/w_log.c: Likewise.
57176 * math/w_logf.c: Likewise.
57177 * math/w_logl.c: Likewise.
57178 * math/w_log10.c: Likewise.
57179 * math/w_log10f.c: Likewise.
57180 * math/w_log10l.c: Likewise.
57181 * math/w_log2.c: Likewise.
57182 * math/w_log2f.c: Likewise.
57183 * math/w_log2l.c: Likewise.
57184 * math/w_pow.c: Likewise.
57185 * math/w_powf.c: Likewise.
57186 * math/w_powl.c: Likewise.
57187 * math/w_remainder.c: Likewise.
57188 * math/w_remainderf.c: Likewise.
57189 * math/w_remainderl.c: Likewise.
57190 * math/w_scalb.c: Likewise.
57191 * math/w_scalbf.c: Likewise.
57192 * math/w_scalbl.c: Likewise.
57193 * math/w_sqrt.c: Likewise.
57194 * math/w_sqrtf.c: Likewise.
57195 * math/w_sqrtl.c: Likewise.
57196 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57197 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
57199 * math/math_private.h: Declare __kernel_standard_f.
57200 * math/w_cosh.c: Remove cruft and optimize a bit.
57201 * math/w_coshf.c: Likewise.
57202 * math/w_coshl.c: Likewise.
57203 * math/w_exp2.c: Likewise.
57204 * math/w_exp2f.c: Likewise.
57205 * math/w_exp2l.c: Likewise.
57206 * math/w_hypot.c: Likewise.
57207 * math/w_hypotf.c: Likewise.
57208 * math/w_hypotl.c: Likewise.
57209 * math/w_lgamma.c: Likewise.
57210 * math/w_lgamma_r.c: Likewise.
57211 * math/w_lgammaf.c: Likewise.
57212 * math/w_lgammaf_r.c: Likewise.
57213 * math/w_lgammal.c: Likewise.
57214 * math/w_lgammal_r.c: Likewise.
57215 * math/w_sinh.c: Likewise.
57216 * math/w_sinhf.c: Likewise.
57217 * math/w_sinhl.c: Likewise.
57218 * math/w_tgamma.c: Likewise.
57219 * math/w_tgammaf.c: Likewise.
57220 * math/w_tgammal.c: Likewise.
57221 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57222 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57223 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57224 Minor optimizations. Pretty printing. Remove cruft.
57225 * sysdeps/i386/fpu/e_acosf.S: Likewise.
57226 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57227 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57228 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57229 * sysdeps/i386/fpu/e_acosl.c: Likewise.
57230 * sysdeps/i386/fpu/e_asin.S: Likewise.
57231 * sysdeps/i386/fpu/e_asinf.S: Likewise.
57232 * sysdeps/i386/fpu/e_atan2.S: Likewise.
57233 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57234 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57235 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57236 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57237 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57238 * sysdeps/i386/fpu/e_exp10.S: Likewise.
57239 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57240 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57241 * sysdeps/i386/fpu/e_exp2.S: Likewise.
57242 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57243 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57244 * sysdeps/i386/fpu/e_fmod.S: Likewise.
57245 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57246 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57247 * sysdeps/i386/fpu/e_hypot.S: Likewise.
57248 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57249 * sysdeps/i386/fpu/e_log.S: Likewise.
57250 * sysdeps/i386/fpu/e_log10.S: Likewise.
57251 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57252 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57253 * sysdeps/i386/fpu/e_log2.S: Likewise.
57254 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57255 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57256 * sysdeps/i386/fpu/e_logf.S: Likewise.
57257 * sysdeps/i386/fpu/e_logl.S: Likewise.
57258 * sysdeps/i386/fpu/e_pow.S: Likewise.
57259 * sysdeps/i386/fpu/e_powf.S: Likewise.
57260 * sysdeps/i386/fpu/e_powl.S: Likewise.
57261 * sysdeps/i386/fpu/e_remainder.S: Likewise.
57262 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57263 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57264 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57265 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57266 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57267 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57268 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57269 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57270 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57271 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57272 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57273 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57274 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57275 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57276 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57277 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57278 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57279 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57280 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57281 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57282 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57283 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57284 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57285 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57286 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57287 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57288 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57289 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57290 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57291 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57292 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57293 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57294 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57295 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57296 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57297 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57298 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57299 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57300 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57301 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57302 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57303 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57304 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57305 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57306 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57307 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57308 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57309 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57310 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57311 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57312 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57313 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57314 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57315 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57316 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57317 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57318 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57319 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57320 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57321 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57322 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57323 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57324 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57325 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57326 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57327 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57328 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57329 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57330 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57331 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57332 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57333 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57334 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57335 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57336 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57337 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57338 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57339 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57340 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57341 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57342 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57343 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57344 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57345 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57346 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57347 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57348 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57349 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57350 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57351 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57352 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57353 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57354 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57355 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57356 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57357 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57358 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57359 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57360 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57361 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57362 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57363 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57364 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57365 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57366 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57367 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57368 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57369 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57370 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57371 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57372 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57373 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57374 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57375 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57376 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57377 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57378 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57379 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57380 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
57381 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57382 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57383 (__isnanf): Likewise.
57384 (__isinf_ns): Likewise.
57385 (__isinf_nsf): Likewise.
57386 (__finite): Likewise.
57387 (__finitef): Likewise.
57388 (__ieee754_sqrt): Define as macro.
57389 (__ieee754_sqrtf): Define as macro.
57390 (__ieee754_sqrtl): Define as macro.
57391 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57393 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57394 __FINITE_MATH_ONLY__ consistent.
57395 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57397 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
57399 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57402 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57404 2011-10-09 Ulrich Drepper <drepper@gmail.com>
57406 * po/ja.po: Update from translation team.
57408 2011-10-08 Roland McGrath <roland@hack.frob.com>
57410 * locale/programs/locarchive.c (prepare_address_space): New function.
57411 (create_archive, enlarge_archive, open_archive): Use it.
57413 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57414 inside [SHARED], where it is used.
57416 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57418 * nss/getent.c (netgroup_keys): Remove unused variable.
57419 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57421 2011-10-08 Ulrich Drepper <drepper@gmail.com>
57423 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57424 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57425 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57426 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57427 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57428 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57429 * math/Makefile (libm-calls): Add s_isinf_ns.
57430 * math/divtc3.c: Use __isinf_nsl instead of isinf.
57431 * math/multc3.c: Likewise.
57432 * math/s_casin.c: Likewise.
57433 * math/s_casinf.c: Likewise.
57434 * math/s_casinl.c: Likewise.
57435 * math/s_ccos.c: Likewise.
57436 * math/s_ccosf.c: Likewise.
57437 * math/s_ccosl.c: Likewise.
57438 * math/s_ctan.c: Likewise.
57439 * math/s_ctanf.c: Likewise.
57440 * math/s_ctanh.c: Likewise.
57441 * math/s_ctanhf.c: Likewise.
57442 * math/s_ctanhl.c: Likewise.
57443 * math/s_ctanl.c: Likewise.
57444 * math/w_fmod.c: Likewise.
57445 * math/w_fmodf.c: Likewise.
57446 * math/w_fmodl.c: Likewise.
57447 * math/w_remainder.c: Likewise.
57448 * math/w_remainderf.c: Likewise.
57449 * math/w_remainderl.c: Likewise.
57450 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57451 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57452 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57453 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57454 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57455 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57456 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57457 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57459 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57461 * stdio-common/printf_fphex.c: Likewise.
57462 * stdio-common/printf_size.c: Likewise.
57464 * math/e_exp10.c: Include math_private.h using <...> not "...".
57465 * math/e_exp10f.c: Likewise.
57466 * math/e_exp10l.c: Likewise.
57467 * math/e_exp2l.c: Likewise.
57468 * math/e_j0l.c: Likewise.
57469 * math/e_j1l.c: Likewise.
57470 * math/e_jnl.c: Likewise.
57471 * math/e_lgammal_r.c: Likewise.
57472 * math/e_rem_pio2l.c: Likewise.
57473 * math/e_scalb.c: Likewise.
57474 * math/e_scalbf.c: Likewise.
57475 * math/e_scalbl.c: Likewise.
57476 * math/k_cosl.c: Likewise.
57477 * math/k_sinl.c: Likewise.
57478 * math/k_tanl.c: Likewise.
57479 * math/s_cacoshf.c: Likewise.
57480 * math/s_catan.c: Likewise.
57481 * math/s_catanf.c: Likewise.
57482 * math/s_catanh.c: Likewise.
57483 * math/s_catanhf.c: Likewise.
57484 * math/s_catanhl.c: Likewise.
57485 * math/s_catanl.c: Likewise.
57486 * math/s_ccosh.c: Likewise.
57487 * math/s_ccoshf.c: Likewise.
57488 * math/s_ccoshl.c: Likewise.
57489 * math/s_cexp.c: Likewise.
57490 * math/s_cexpf.c: Likewise.
57491 * math/s_cexpl.c: Likewise.
57492 * math/s_clog.c: Likewise.
57493 * math/s_clog10.c: Likewise.
57494 * math/s_clog10f.c: Likewise.
57495 * math/s_clog10l.c: Likewise.
57496 * math/s_clogf.c: Likewise.
57497 * math/s_clogl.c: Likewise.
57498 * math/s_csin.c: Likewise.
57499 * math/s_csinf.c: Likewise.
57500 * math/s_csinh.c: Likewise.
57501 * math/s_csinhf.c: Likewise.
57502 * math/s_csinhl.c: Likewise.
57503 * math/s_csinl.c: Likewise.
57504 * math/s_csqrt.c: Likewise.
57505 * math/s_csqrtf.c: Likewise.
57506 * math/s_csqrtl.c: Likewise.
57507 * math/s_ctan.c: Likewise.
57508 * math/s_ctanf.c: Likewise.
57509 * math/s_ctanh.c: Likewise.
57510 * math/s_ctanhf.c: Likewise.
57511 * math/s_ctanhl.c: Likewise.
57512 * math/s_ctanl.c: Likewise.
57513 * math/s_ldexp.c: Likewise.
57514 * math/s_ldexpf.c: Likewise.
57515 * math/s_ldexpl.c: Likewise.
57516 * math/s_significand.c: Likewise.
57517 * math/s_significandf.c: Likewise.
57518 * math/s_significandl.c: Likewise.
57519 * math/w_acos.c: Likewise.
57520 * math/w_acosf.c: Likewise.
57521 * math/w_acosh.c: Likewise.
57522 * math/w_acoshf.c: Likewise.
57523 * math/w_acoshl.c: Likewise.
57524 * math/w_acosl.c: Likewise.
57525 * math/w_asin.c: Likewise.
57526 * math/w_asinf.c: Likewise.
57527 * math/w_asinl.c: Likewise.
57528 * math/w_atan2.c: Likewise.
57529 * math/w_atan2f.c: Likewise.
57530 * math/w_atan2l.c: Likewise.
57531 * math/w_atanh.c: Likewise.
57532 * math/w_atanhf.c: Likewise.
57533 * math/w_atanhl.c: Likewise.
57534 * math/w_cosh.c: Likewise.
57535 * math/w_coshf.c: Likewise.
57536 * math/w_coshl.c: Likewise.
57537 * math/w_dremf.c: Likewise.
57538 * math/w_exp10.c: Likewise.
57539 * math/w_exp10f.c: Likewise.
57540 * math/w_exp10l.c: Likewise.
57541 * math/w_exp2.c: Likewise.
57542 * math/w_exp2f.c: Likewise.
57543 * math/w_fmod.c: Likewise.
57544 * math/w_fmodf.c: Likewise.
57545 * math/w_fmodl.c: Likewise.
57546 * math/w_hypot.c: Likewise.
57547 * math/w_hypotf.c: Likewise.
57548 * math/w_hypotl.c: Likewise.
57549 * math/w_j0.c: Likewise.
57550 * math/w_j0f.c: Likewise.
57551 * math/w_j0l.c: Likewise.
57552 * math/w_j1.c: Likewise.
57553 * math/w_j1f.c: Likewise.
57554 * math/w_j1l.c: Likewise.
57555 * math/w_jn.c: Likewise.
57556 * math/w_jnf.c: Likewise.
57557 * math/w_jnl.c: Likewise.
57558 * math/w_lgamma.c: Likewise.
57559 * math/w_lgamma_r.c: Likewise.
57560 * math/w_lgammaf.c: Likewise.
57561 * math/w_lgammaf_r.c: Likewise.
57562 * math/w_lgammal.c: Likewise.
57563 * math/w_lgammal_r.c: Likewise.
57564 * math/w_log.c: Likewise.
57565 * math/w_log10.c: Likewise.
57566 * math/w_log10f.c: Likewise.
57567 * math/w_log10l.c: Likewise.
57568 * math/w_log2.c: Likewise.
57569 * math/w_log2f.c: Likewise.
57570 * math/w_log2l.c: Likewise.
57571 * math/w_logf.c: Likewise.
57572 * math/w_logl.c: Likewise.
57573 * math/w_pow.c: Likewise.
57574 * math/w_powf.c: Likewise.
57575 * math/w_powl.c: Likewise.
57576 * math/w_remainder.c: Likewise.
57577 * math/w_remainderf.c: Likewise.
57578 * math/w_remainderl.c: Likewise.
57579 * math/w_scalb.c: Likewise.
57580 * math/w_scalbf.c: Likewise.
57581 * math/w_scalbl.c: Likewise.
57582 * math/w_sinh.c: Likewise.
57583 * math/w_sinhf.c: Likewise.
57584 * math/w_sinhl.c: Likewise.
57585 * math/w_sqrt.c: Likewise.
57586 * math/w_sqrtf.c: Likewise.
57587 * math/w_sqrtl.c: Likewise.
57588 * math/w_tgamma.c: Likewise.
57589 * math/w_tgammaf.c: Likewise.
57590 * math/w_tgammal.c: Likewise.
57592 * po/ja.po: Update from translation team.
57594 2011-09-29 Andreas Jaeger <aj@suse.de>
57597 * sunrpc/netname.c (netname2host): Fix logic.
57601 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57603 * math/w_remainder.c (__remainder): Likewise.
57604 * math/w_remainderf.c (__remainderf): Likewise.
57605 * math/libm-test.inc (remainder_test): Add test cases.
57607 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57609 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
57612 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57614 * string/test-memcmp.c: Avoid unncessary #defines.
57615 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57617 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57619 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57620 Use new sse2 version for core i3 - i7 as it's faster
57621 than sse42 version.
57622 (bit_Prefer_PMINUB_for_stringop): New.
57623 * sysdeps/x86_64/rawmemchr.S: Update.
57624 Replace with faster SSE2 version.
57625 * sysdeps/x86_64/memrchr.S: New file.
57626 * sysdeps/x86_64/memchr.S: Update.
57627 Replace with faster SSE2 version.
57629 2011-09-12 Marek Polacek <mpolacek@redhat.com>
57631 * elf/dl-load.c (lose): Add cast to avoid warning.
57633 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57635 * po/ca.po: Update from translation team.
57637 * inet/getnetgrent_r.c: Hook up nscd.
57638 * nscd/Makefile (routines): Add nscd_netgroup.
57639 (nscd-modules): Add netgroupcache.
57640 (CFLAGS-netgroupcache.c): Define.
57641 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57642 (cache_search): Add const to second parameter.
57643 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57645 (dbs): Add netgrdb entry.
57646 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57647 (verify_persistent_db): Handle netgrdb.
57648 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57649 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57651 (netgroup_response_header): Define.
57652 (innetgroup_response_header): Define.
57653 (datahead): Add netgroup_response_header and innetgroup_response_header
57655 * nscd/nscd.conf: Add entries for netgroup cache.
57656 * nscd/nscd.h (dbtype): Add netgrdb.
57657 (_PATH_NSCD_NETGROUP_DB): Define.
57658 (netgroup_iov_disabled): Declare.
57659 (xmalloc, xcalloc, xrealloc): Move declarations here.
57660 (cache_search): Adjust prototype.
57661 Add netgroup-related prototypes.
57662 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57663 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57664 (__nscd_innetgr): Declare.
57665 * nscd/selinux.c (perms): Use access_vector_t as element type and
57666 add netgroup-related initializers.
57667 * nscd/netgroupcache.c: New file.
57668 * nscd/nscd_netgroup.c: New file.
57669 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57670 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57671 For four parameters use innetgr.
57672 * nss/nss_files/files-init.c: Add definition and callback for netgr.
57673 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57674 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57675 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57677 * nscd/connections.c (register_traced_file): Don't register file
57678 for disabled databases.
57680 2011-10-06 Ulrich Drepper <drepper@gmail.com>
57682 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57684 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57685 from tree and freeing node.
57687 2011-09-25 Jiri Olsa <jolsa@redhat.com>
57689 * nss/nsswitch.c (__nss_database_lookup): Handle
57690 nss_parse_service_list out of memory case.
57692 2011-09-15 Jiri Olsa <jolsa@redhat.com>
57694 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57695 out of memory case.
57697 2011-10-04 Andreas Schwab <schwab@redhat.com>
57699 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57700 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57702 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57703 elf_machine_rela, elf_machine_lazy_rel.
57704 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57705 (ELF_DYNAMIC_DO_REL): Likewise.
57706 (ELF_DYNAMIC_DO_RELA): Likewise.
57707 (ELF_DYNAMIC_RELOCATE): Likewise.
57708 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57709 to ELF_DYNAMIC_DO_REL.
57710 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57711 (dl_main): In trace mode always set __RTLD_NOIFUNC.
57712 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57714 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57715 skip_ifunc, don't call ifunc function if non-zero.
57716 (elf_machine_rela): Likewise.
57717 (elf_machine_lazy_rel): Likewise.
57718 (elf_machine_lazy_rela): Likewise.
57719 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57720 (elf_machine_lazy_rel): Likewise.
57721 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57723 (elf_machine_lazy_rel): Likewise.
57724 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57726 (elf_machine_lazy_rel): Likewise.
57727 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57728 (elf_machine_lazy_rel): Likewise.
57729 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57730 (elf_machine_lazy_rel): Likewise.
57731 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57732 (elf_machine_lazy_rel): Likewise.
57733 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57734 (elf_machine_lazy_rel): Likewise.
57735 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57736 (elf_machine_lazy_rel): Likewise.
57737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57738 (elf_machine_lazy_rel): Likewise.
57740 2011-09-28 Ulrich Drepper <drepper@gmail.com>
57742 * nss/nss_files/files-init.c (_nss_files_init): Use static
57743 initialization for all the *_traced_file variables.
57745 2011-09-28 Andreas Schwab <schwab@redhat.com>
57747 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57749 2011-09-27 Roland McGrath <roland@hack.frob.com>
57752 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57754 2011-09-27 Andreas Schwab <schwab@redhat.com>
57756 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57757 Reread the line before reparsing it.
57759 2011-09-26 Andreas Schwab <schwab@redhat.com>
57761 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57763 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
57764 Maxim Kuvyrkov <maxim@codesourcery.com>
57765 Joseph Myers <joseph@codesourcery.com>
57767 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57768 if needed for __stack_chk_guard.
57770 2011-09-19 Roland McGrath <roland@hack.frob.com>
57772 * sysdeps/posix/spawni.c (script_execute): Always define it.
57773 It will be optimized away if unused.
57774 (maybe_script_execute): New function.
57775 (__spawni): Call it.
57777 * Makerules: Don't include tls.make.
57778 (config-tls): Always set to thread.
57779 * tls.make.c: File removed.
57781 2011-09-19 Mike Frysinger <vapier@gentoo.org>
57783 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57784 * config.make.in (CPPFLAGS-config): New substituted variable.
57786 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57788 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57791 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57792 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57794 2011-09-15 Roland McGrath <roland@hack.frob.com>
57796 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57797 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57799 (CALL_FAIL): Likewise.
57800 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57801 (CALL_FAIL): Macro removed.
57802 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57804 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57806 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57807 for __FINITE_MATH_ONLY__ == 1.
57809 2011-09-15 Andreas Schwab <schwab@redhat.com>
57811 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57812 __ieee754_sqrt instead of sqrt.
57813 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57814 __ieee754_sqrtf instead of sqrtf.
57815 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57816 __floorf instead of floorf.
57817 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57818 __floorf, __truncf instead of floorf, truncf.
57820 2011-09-14 Ulrich Drepper <drepper@gmail.com>
57822 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57824 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57825 __extern_always_inline.
57826 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57829 2011-09-14 Andreas Schwab <schwab@redhat.com>
57831 * elf/rtld.c (dl_main): Also relocate in dependency order when
57832 doing symbol dependency testing.
57834 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
57836 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57837 Always define `refsym'.
57839 2011-09-13 Andreas Schwab <schwab@redhat.com>
57841 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57842 (__FD_ELT): Renamed from __FDELT.
57843 * misc/bits/select2.h (__FD_ELT): Likewise.
57844 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57845 __FD_MASK instead of __FDELT, __FDMASK.
57846 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57848 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57851 * elf/Makefile (gen-ldd): Fix pattern.
57853 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57854 (init_tls): Likewise.
57856 2011-09-12 Ulrich Drepper <drepper@gmail.com>
57858 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57860 2011-09-12 Andreas Schwab <schwab@redhat.com>
57862 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57863 `struct cmsghdr *' instead of `void *'.
57864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57867 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
57869 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57871 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57872 ldd_rewrite_script.
57874 2011-09-11 Ulrich Drepper <drepper@gmail.com>
57876 * configure.in: Remove --with-tls option.
57877 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57878 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57879 out in case it is missing.
57880 * sysdeps/ia64/elf/configure.in: Likewise.
57881 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57882 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57883 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57884 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57885 * sysdeps/sh/elf/configure.in: Likewise.
57886 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57887 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57888 * sysdeps/x86_64/elf/configure.in: Likewise.
57889 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57890 * sysdeps/mach/hurd/tls.h: Likewise.
57893 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57896 * configure.in: Fix use of AC_INIT.
57898 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57900 2011-09-10 Ulrich Drepper <drepper@gmail.com>
57902 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57904 * malloc/hooks.c: Likewise.
57907 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
57908 variables statically.
57909 (narenas): Initialize.
57910 (list_lock): Initialize.
57911 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
57912 initializtion of main_arena and list_lock. Small cleanups.
57913 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57914 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
57915 Add initializers to main_arena and mp_.
57916 (malloc_state): Remove pagesize member. Change all users to use
57919 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57920 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
57921 is always initialized.
57923 * malloc/malloc.c: Removed unused configurations and dead code.
57924 * malloc/arena.c: Likewise.
57925 * malloc/hooks.c: Likewise.
57926 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57928 * include/tls.h: Removed. USE___THREAD must always be defined.
57929 * bits/libc-tsd.h: Don't handle !USE___THREAD.
57930 * elf/dl-libc.c: Likewise.
57931 * elf/dl-tsd.c: Likewise.
57932 * include/errno.h: Likewise.
57933 * include/netdb.h: Likewise.
57934 * include/resolv.h: Likewise.
57935 * inet/herrno-loc.c: Likewise.
57936 * inet/herrno.c: Likewise.
57937 * malloc/arena.c: Likewise.
57938 * malloc/hooks.c: Likewise.
57939 * malloc/malloc.c: Likewise.
57940 * resolv/res-state.c: Likewise.
57941 * resolv/res_libc.c: Likewise.
57942 * sysdeps/i386/dl-machine.h: Likewise.
57943 * sysdeps/ia64/dl-machine.h: Likewise.
57944 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57945 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57946 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57947 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57948 * sysdeps/sh/dl-machine.h: Likewise.
57949 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57950 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57951 * sysdeps/unix/i386/sysdep.S: Likewise.
57952 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57953 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57954 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57955 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57956 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57957 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57958 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57959 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57960 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57961 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57962 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57963 * sysdeps/x86_64/dl-machine.h: Likewise.
57964 * tls.make.c: Likewise.
57966 * configure.in: Remove --with-__thread option. Make tests for
57967 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57968 tls_model attribute fail if no support is available. Remove
57970 * Makeconfig: Adjust for dropped configure option. All features are
57972 * Makerules: Likewise.
57973 * Versions.def: Likewise.
57974 * argp/argp-fmtstream.c: Likewise.
57975 * argp/argp-fmtstream.h: Likewise.
57976 * argp/argp-help.c: Likewise.
57977 * assert/assert.c: Likewise.
57978 * config.h.in: Likewise.
57979 * config.make.in: Likewise.
57980 * configure: Likewise.
57981 * configure.in: Likewise.
57982 * csu/Versions: Likewise.
57983 * csu/init.c: Likewise.
57984 * elf/tst-audit2.c: Likewise.
57985 * elf/tst-tls10.c: Likewise.
57986 * elf/tst-tls10.h: Likewise.
57987 * elf/tst-tls11.c: Likewise.
57988 * elf/tst-tls12.c: Likewise.
57989 * elf/tst-tls14.c: Likewise.
57990 * elf/tst-tlsmod11.c: Likewise.
57991 * elf/tst-tlsmod12.c: Likewise.
57992 * elf/tst-tlsmod13.c: Likewise.
57993 * elf/tst-tlsmod13a.c: Likewise.
57994 * elf/tst-tlsmod14a.c: Likewise.
57995 * elf/tst-tlsmod15b.c: Likewise.
57996 * elf/tst-tlsmod16a.c: Likewise.
57997 * elf/tst-tlsmod16b.c: Likewise.
57998 * elf/tst-tlsmod7.c: Likewise.
57999 * elf/tst-tlsmod8.c: Likewise.
58000 * elf/tst-tlsmod9.c: Likewise.
58001 * gmon/gmon.c: Likewise.
58002 * grp/fgetgrent_r.c: Likewise.
58003 * grp/putgrent.c: Likewise.
58004 * hurd/fopenport.c: Likewise.
58005 * include/libc-symbols.h: Likewise.
58006 * include/tls.h: Likewise.
58007 * intl/gettextP.h: Likewise.
58008 * intl/loadinfo.h: Likewise.
58009 * locale/global-locale.c: Likewise.
58010 * locale/localeinfo.h: Likewise.
58011 * mach/devstream.c: Likewise.
58012 * malloc/arena.c: Likewise.
58013 * malloc/set-freeres.c: Likewise.
58014 * misc/err.c: Likewise.
58015 * misc/getttyent.c: Likewise.
58016 * misc/mntent_r.c: Likewise.
58017 * posix/getopt.c: Likewise.
58018 * posix/wordexp.c: Likewise.
58019 * pwd/fgetpwent_r.c: Likewise.
58020 * resolv/Versions: Likewise.
58021 * resolv/res_hconf.c: Likewise.
58022 * shadow/fgetspent_r.c: Likewise.
58023 * shadow/putspent.c: Likewise.
58024 * stdio-common/printf_fphex.c: Likewise.
58025 * stdio-common/tmpfile.c: Likewise.
58026 * stdlib/abort.c: Likewise.
58027 * stdlib/fmtmsg.c: Likewise.
58028 * sunrpc/auth_unix.c: Likewise.
58029 * sunrpc/clnt_perr.c: Likewise.
58030 * sunrpc/clnt_tcp.c: Likewise.
58031 * sunrpc/clnt_udp.c: Likewise.
58032 * sunrpc/clnt_unix.c: Likewise.
58033 * sunrpc/openchild.c: Likewise.
58034 * sunrpc/svc_simple.c: Likewise.
58035 * sunrpc/svc_tcp.c: Likewise.
58036 * sunrpc/svc_udp.c: Likewise.
58037 * sunrpc/svc_unix.c: Likewise.
58038 * sunrpc/xdr.c: Likewise.
58039 * sunrpc/xdr_array.c: Likewise.
58040 * sunrpc/xdr_rec.c: Likewise.
58041 * sunrpc/xdr_ref.c: Likewise.
58042 * sunrpc/xdr_stdio.c: Likewise.
58044 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58046 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58048 2011-07-03 Andreas Jaeger <aj@suse.de>
58050 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58051 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58052 regenerate with gen-libm-tests.pl.
58054 2010-05-12 Petr Baudis <pasky@suse.cz>
58057 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58058 around j0() zero points by switching to j1().
58059 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58060 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58061 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58062 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58064 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58066 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58068 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58070 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58071 Patch in part by Pavel Roskin <proski@gnu.org>.
58074 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58076 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
58077 Free memory block if necessary.
58080 * libio/genops.c (INTDEF): For string streams the _lock pointer can
58081 be NULL. Don't lock in this case.
58083 2011-09-09 Roland McGrath <roland@hack.frob.com>
58085 * elf/elf.h (ELFOSABI_GNU): New macro.
58086 (ELFOSABI_LINUX): Define to that.
58088 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
58090 * string/strncat.c (strncat): Undef the symbol in case it has been
58091 defined in bits/string.h.
58093 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58095 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58097 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58100 2011-08-17 Andreas Jaeger <aj@suse.de>
58102 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58104 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
58105 Ian Lance Taylor <iant@google.com>
58107 * math/libm-test.inc (lround_test): New testcase.
58108 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58110 2011-09-08 Ulrich Drepper <drepper@gmail.com>
58112 * Makefile: Remove support for automatic cvs check-ins.
58113 * Makerules: Likewise.
58114 * config.make.in: Likewise.
58115 * configure.in: Likewise.
58116 * intl/Makefile: Likewise.
58117 * locale/Makefile: Likewise.
58118 * po/Makefile: Likewise.
58119 * posix/Makefile: Likewise.
58120 * sysdeps/gnu/Makefile: Likewise.
58121 * sysdeps/mach/hurd/Makefile: Likewise.
58122 * sysdeps/sparc/sparc32/Makefile: Likewise.
58125 * posix/Makefile (bug-regex32-ENV): Define.
58126 Patch by John Stanley <jpsinthemix@verizon.net>.
58128 * misc/Makefile (headers): Add bits/select2.h.
58129 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58130 * misc/bits/select2.h: New file.
58131 * include/bits/select2.h: New file.
58132 * debug/Makefile (routines): Add fdelt_chk.
58133 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58134 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58136 * debug/fdelt_chk.c: New file.
58138 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
58139 * wcsmbs/test-wmemcmp.c: Likewise.
58140 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58141 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58143 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58145 * string/Makefile (strop-tests): Add memcmp.
58146 * string/test-wmemcmp.c: New file.
58147 * string/test-memcmp.c: Add wmemcmp support.
58149 2011-09-08 Roland McGrath <roland@hack.frob.com>
58152 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58155 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58156 garbage value in a __mach_port_mod_refs call in the cases of the
58157 task-self and thread-self ports.
58159 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58161 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58163 2011-09-08 Andreas Schwab <schwab@redhat.com>
58165 * elf/dl-load.c (lose): Check for non-null L.
58167 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58169 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58171 * elf/dl-libc.c (dlerror_run): Pass back error code from
58175 * elf/dl-load.c (lose): Free l_origin if it is valid.
58177 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58179 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58180 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58181 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58182 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58183 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58184 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58186 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58188 * sysdeps/powerpc/fpu/e_hypot.c: New file.
58189 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58190 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58191 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58192 * sysdeps/powerpc/fpu/k_cosf.c: New file.
58193 * sysdeps/powerpc/fpu/k_sinf.c: New file.
58194 * sysdeps/powerpc/fpu/s_cosf.c: New file.
58195 * sysdeps/powerpc/fpu/s_sinf.c: New file.
58196 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58197 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58199 2011-08-15 Alan Modra <amodra@gmail.com>
58202 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58203 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58204 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
58205 ppc_mcount to static-only-routines.
58206 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58208 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58209 __mcount_internal with usual JUMPTARGET. Remove useless nop.
58211 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
58213 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58214 for finite and infinity parameters.
58216 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58218 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58219 and add nop instructions for throughput optimization.
58220 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58222 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
58224 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58225 aligned copy for power7 with vector-scalar instructions.
58226 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58228 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
58230 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58233 2011-09-07 Andreas Schwab <schwab@redhat.com>
58236 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58239 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58241 * sysdeps/unix/sysv/linux/x86_64/init-first.c
58242 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58243 syscall wrapper around clock_gettime in __vdso_clock_gettime.
58244 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58247 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58249 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58250 Forgot to demangle the pointer.
58252 * sysdeps/i386/sysdep.h: Define atom_text_section.
58253 * sysdeps/x86_64/sysdep.h: Likewise.
58254 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58255 section with atom_text_section.
58256 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58257 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58258 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58259 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58260 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58262 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58263 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58264 already be defined. Change to take two parameters and don't assign
58265 result to variable. Adjust all users.
58266 Define INTERNAL_GETTIME if not already defined.
58267 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58270 HAVE_CLOCK_GETTIME_VSYSCALL.
58271 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58273 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58274 gettimeofday vsyscall, just use time.
58276 2011-09-06 Andreas Schwab <schwab@redhat.com>
58278 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58281 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58283 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58285 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58287 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58288 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58289 syscall if possible.
58291 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58293 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58294 e_ident. Don't pass to find_mapsXX.
58295 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58297 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58300 strchr-sse2-no-bsf strrchr-sse2-no-bsf
58301 * sysdeps/x86_64/multiarch/strchr.S: Update.
58302 Check bit_slow_BSF bit.
58303 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58304 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58305 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58307 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58310 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58312 (tryshell): Define.
58313 (__spawni): Change last parameter to be flag. Test
58314 SPAWN_XFLAGS_USE_PATH flag to use path or not.
58315 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58316 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58317 * posix/spawni.c: Likewise.
58318 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58319 * posix/spawnp.c: Likewise. Change normal version to use
58320 SPAWN_XFLAGS_USE_PATH.
58321 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58322 SPAWN_XFLAGS_TRY_SHELL.
58325 * posix/glob.h: Remove gcc 1.x support.
58328 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58330 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58332 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58333 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58335 * sysdeps/i386/i686/multiarch/strchr.S: New file.
58336 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58337 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58338 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58339 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58340 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58342 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58344 * sysdeps/x86_64/wcscmp.S: New file.
58346 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58347 wcscmp-c wcscmp-sse2
58348 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58349 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58350 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58351 * wcsmbs/wcscmp.c: Allow renaming.
58353 2011-09-05 David S. Miller <davem@davemloft.net>
58355 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58356 stack slot, rather than the struct return pointer slot.
58357 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58358 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58360 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58362 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58364 * po/ja.po: Update from translation team.
58367 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58368 kernel in 64-bit binaries.
58370 2011-09-01 David S. Miller <davem@davemloft.net>
58372 * elf/elf.h (HWCAP_SPARC_*): Move to..
58373 * sysdeps/sparc/sysdep.h: this new file and add new values.
58374 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58375 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58376 _DL_HWCAP_COUNT to 24.
58377 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58379 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58380 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58381 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58383 instead of magic constants.
58384 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58386 2011-08-31 David S. Miller <davem@davemloft.net>
58388 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58389 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58390 Reimplement to do errno handling inline.
58391 (SYSCALL_ERROR_HANDLER): New macro.
58392 (__SYSCALL_STRING): Do not do errno handling in asm.
58393 (__CLONE_SYSCALL_STRING): Delete.
58394 (__INTERNAL_SYSCALL_STRING): Delete.
58395 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58396 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58397 (PSEUDO): Reimplement to do errno handling inline.
58398 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58399 (SYSCALL_ERROR_HANDLER): New macro.
58400 (__SYSCALL_STRING): Do not do errno handling in asm.
58401 (__CLONE_SYSCALL_STRING): Delete.
58402 (__INTERNAL_SYSCALL_STRING): Delete.
58403 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58404 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58406 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58407 (inline_syscall*): Add 'err' argument.
58408 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58409 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58410 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58411 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58413 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58414 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58416 2011-08-30 Andreas Schwab <schwab@redhat.com>
58418 * elf/rtld.c (dl_main): Relocate objects in dependency order.
58420 2011-08-29 Jiri Olsa <jolsa@redhat.com>
58422 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58425 2011-08-24 David S. Miller <davem@davemloft.net>
58427 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58429 2011-08-24 Andreas Schwab <schwab@redhat.com>
58431 * elf/Makefile: Add rules to build and run unload8 test.
58432 * elf/unload8.c: New file.
58433 * elf/unload8mod1.c: New file.
58434 * elf/unload8mod1x.c: New file.
58435 * elf/unload8mod2.c: New file.
58436 * elf/unload8mod3.c: New file.
58438 * elf/dl-close.c (_dl_close_worker): Reset private search list if
58441 2011-08-23 David S. Miller <davem@davemloft.net>
58443 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58444 subtract stack bias.
58445 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58446 %sp not %fp in calculations.
58447 (_JMPBUF_UNWINDS_ADJ): Likewise.
58449 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58450 (aio_suspend): Call it to force an exception region around the
58451 AIO_MISC_WAIT() invocation.
58453 2011-08-23 Andreas Schwab <schwab@redhat.com>
58455 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58458 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
58460 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58462 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58463 and <dl-machine.h>.
58464 (Elf64_FuncDesc): Remove.
58466 2011-08-22 David S. Miller <davem@davemloft.net>
58468 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58469 sigaltstack check, add missing cfi directives.
58470 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58471 missing cfi directives, and sigaltstack handling.
58473 2011-08-16 Andreas Schwab <schwab@redhat.com>
58476 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58477 object is seen twice.
58478 * elf/dl-fini.c (_dl_sort_fini): Likewise.
58480 * elf/Makefile (distribute): Add tst-initorder2.c.
58481 (tests): Add tst-initorder2.
58482 (modules-names): Add tst-initorder2a tst-initorder2b
58483 tst-initorder2c tst-initorder2d. Add rules to build them.
58484 ($(objpfx)tst-initorder2.out): New rule.
58485 * elf/tst-initorder2.c: New file.
58486 * elf/tst-initorder2.exp: New file.
58488 2011-08-22 Andreas Schwab <schwab@redhat.com>
58490 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58492 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58493 dependencies back to end of function.
58495 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58496 $(elfobjdir)/ld.so.
58498 2011-08-21 Ulrich Drepper <drepper@gmail.com>
58500 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58501 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58502 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58503 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58504 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58505 of __vdso_gettimeofday.
58506 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58507 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
58509 (_libc_vdso_platform_setup): Remove initialization of
58510 __vdso_gettimeofday and __vdso_time.
58512 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58514 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58515 and fgetc_unlocked.
58516 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58519 * elf/dl-open.c (add_to_global): Report additions to the global scope
58520 for LD_DEBUG=scopes.
58521 (dl_open_worker): Also print scope of newly loaded dependencies.
58522 (_dl_show_scope): Indicate if there is no scope.
58525 * stdio-common/Makefile (tests): Add bug24.
58526 * stdio-common/bug24.c: New file.
58528 2011-08-19 Andreas Jaeger <aj@suse.de>
58531 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58532 non-existant file when using close-on-exec mode.
58534 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58537 the very first instruction.
58539 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58540 the CFI state in the end.
58541 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58542 inclusion of dl-trampoline.h.
58543 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58545 2011-08-19 Andreas Schwab <schwab@redhat.com>
58547 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58548 expectations for long double.
58550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58551 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58553 2011-08-14 David S. Miller <davem@davemloft.net>
58555 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58556 artificual limit depends upon the system page size.
58558 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58560 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58561 * resolv/Makefile: Define CFLAGS-libresolv.
58563 2011-08-17 Andreas Schwab <schwab@redhat.com>
58565 * nss/makedb.c (compute_tables): Make variables used in nested
58568 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58570 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58571 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58572 if buffer was too small.
58574 * elf/pldd.c (main): Attach to all threads in the process.
58575 Rewrite /proc handling to use *at functions.
58577 2011-08-16 Ulrich Drepper <drepper@gmail.com>
58579 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58580 specifies first scope to show.
58581 (dl_open_worker): Update callers. Move printing scope of new
58582 object to before the relocation.
58583 * elf/rtld.c (dl_main): Update _dl_show_scope call.
58584 * sysdeps/generic/ldsodefs.h: Update declaration.
58586 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58587 string for the scope number.
58589 2011-08-14 Ulrich Drepper <drepper@gmail.com>
58591 * nscd/servicescache.c (cache_addserv): Make sure written is always
58594 2011-08-14 Roland McGrath <roland@hack.frob.com>
58596 * sysdeps/i386/i486/bits/atomic.h
58597 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58598 statement expression, so as to suppress "set but not used" warning.
58599 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58601 * string/strncat.c (STRNCAT): Use prototype definition.
58603 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58604 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58606 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58607 (localedef-modules): Add localedef.
58608 (locale-modules): Add locale.
58610 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58611 * elf/rtld.c (dl_main): Invert order of assignment in last change,
58612 to avoid a warning.
58614 2011-08-14 David S. Miller <davem@davemloft.net>
58616 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58617 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58619 2011-08-13 Ulrich Drepper <drepper@gmail.com>
58621 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58622 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58623 * elf/rtld.c (dl_main): Set l_name of vDSO.
58624 Call _dl_show_scope when DL_DEBUG_SCOPES.
58625 (process_dl_debug): Recognize scopes flag and also set it for all.
58626 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58627 Declare _dl_show_scope.
58629 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58630 (do_dlopen): Pass caller_dlopen to dl_open.
58631 (__libc_dlopen_mode): Initialize caller_dlopen.
58633 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58634 of libc. Make tolower call locale-independent. Optimize a bit by
58635 using isdigit instead of isalnum.
58636 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58638 2011-08-12 Ulrich Drepper <drepper@gmail.com>
58640 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58641 was a dependency or dynamically loaded.
58643 2011-08-11 Ulrich Drepper <drepper@gmail.com>
58645 * intl/l10nflist.c: Allow architecture-specific pop function.
58646 * sysdeps/x86_64/l10nflist.c: New file.
58648 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58651 2011-08-10 Andreas Schwab <schwab@redhat.com>
58653 * include/dirent.h: Add libc_hidden_proto for scandirat and
58654 scandirat64. Don't declare __scandirat64.
58655 * dirent/scandirat.c: Add libc_hidden_def.
58656 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58657 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58659 2011-08-10 David S. Miller <davem@davemloft.net>
58661 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58663 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58664 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58665 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58667 2011-08-09 Ulrich Drepper <drepper@gmail.com>
58669 * Versions.def [libc]: Add GLIBC_2.15.
58670 * dirent/Makefile (routines): Add scandirat and scandirat64.
58671 * dirent/Versions [libc]: Export scandirat and scandirat64 for
58673 * dirent/dirent.h: Declare scandirat and scandirat64.
58674 * dirent/scandirat.c: New file.
58675 * dirent/scandirat64.c: New file.
58676 * sysdeps/wordsize-64/scandirat.c: New file.
58677 * sysdeps/wordsize-64/scandirat64.c: New file.
58678 * dirent/opendir.c: Define opendirat.
58679 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
58681 * dirent/scandir64.c: Adjust for scandir.c change.
58682 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
58683 __scandirat64, and __scandir_cancel_handler.
58684 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
58685 additional parameter and use openat instead of open (outside of ld.so).
58686 Add new __opendir as wrapper around __opendirat.
58687 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58688 here without requiring old scandirat implementation.
58690 2011-08-08 Ulrich Drepper <drepper@gmail.com>
58692 * dirent/scandir.c (cancel_handler): Renamed to
58693 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
58694 defined. Adjust users.
58695 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58696 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58698 2011-08-04 Ulrich Drepper <drepper@gmail.com>
58700 * string/test-string.h (IMPL): Use __STRING to expand name and then
58703 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
58706 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58708 * string/Makefile: Update.
58709 (strop-tests): Append strncat.
58710 * string/test-wcscmp.c: New file.
58711 New comprehensive test for wcscmp.
58712 * string/test-strcmp.c: Update.
58713 (WIDE): New define.
58715 2011-07-22 Andreas Schwab <schwab@redhat.com>
58717 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58720 2011-07-26 Andreas Schwab <schwab@redhat.com>
58722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58723 encoding to ACE if AI_IDN.
58725 2011-08-01 Jakub Jelinek <jakub@redhat.com>
58727 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58728 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58730 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58732 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58733 Fix overflow bug in strncat.
58734 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58736 * string/test-strncat.c: Update.
58737 Add new tests for checking overflow bugs.
58739 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58741 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58742 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58743 * sysdeps/i386/i686/multiarch/strcat.S: New file.
58744 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58745 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58746 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58747 * sysdeps/i386/i686/multiarch/strncat.S: New file.
58748 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58749 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58751 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58752 (USE_AS_STRCAT): Define.
58753 Add strcat and strncat support.
58754 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58756 2011-07-25 Andreas Schwab <schwab@redhat.com>
58758 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58759 __n bigger than INT_MAX+1.
58760 (__strncmp_g): Likewise.
58762 2011-07-23 Ulrich Drepper <drepper@gmail.com>
58764 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58765 * libio/stido.h: Likewise.
58767 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58769 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58772 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58773 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58774 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58775 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58776 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58779 * scripts/test-installation.pl: Don't expect libnss_test1 to be
58782 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58784 (_dl_x86_64_save_sse): Likewise.
58786 2011-07-22 Ulrich Drepper <drepper@gmail.com>
58788 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58790 (_dl_x86_64_save_sse): Likewise.
58792 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58794 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58796 2011-07-21 Andreas Schwab <schwab@redhat.com>
58798 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58800 (_dl_x86_64_save_sse): Use correct AVX check.
58802 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58804 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58805 bug in strncpy/strncat.
58806 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58808 2011-07-21 Ulrich Drepper <drepper@gmail.com>
58810 * string/tester.c (test_strcat): Add tests for different alignments
58811 of source and destination.
58812 (test_strncat): Likewise.
58814 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58817 * posix/glob.c (glob): Check passed in values before using them in
58818 expressions to avoid some overflows.
58819 (glob_in_dir): Likewise.
58822 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58823 check for AVX enablement so that we don't crash with old kernels and
58825 * elf/tst-audit4.c: Add same checks here.
58826 * elf/tst-audit6.c: Likewise.
58828 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58830 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
58832 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58834 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58836 * po/cs.po: Update from translation team.
58837 * po/bg.po: Likewise.
58839 2011-07-12 Marek Polacek <mpolacek@redhat.com>
58841 * misc/sys/cdefs.h: Add support for const attribute.
58842 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58843 to gnu_dev_{major,minor,makedev} functions.
58845 2011-07-20 Marek Polacek <mpolacek@redhat.com>
58847 * intl/dcigettext.c (get_output_charset): Add missing bracket.
58849 2011-07-20 Andreas Schwab <schwab@redhat.com>
58851 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58854 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58856 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58857 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58858 register in order to avoid conflicts with the soft frame pointer
58859 being held in r11 when necessary.
58860 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58861 (INTERNAL_VSYSCALL_NCS): Likewise.
58863 2011-07-14 Marek Polacek <mpolacek@redhat.com>
58865 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58866 * elf/dl-fini.c (_dl_fini): Adjust caller.
58867 * elf/dl-close.c (_dl_close_worker): Likewise.
58868 * sysdeps/generic/ldsodefs.h: Adjust declaration.
58870 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58872 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58873 "aux_cache->nlibs < 0".
58875 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58876 in the reload-count case.
58878 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58881 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58882 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58883 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58884 * sysdeps/x86_64/multiarch/strcat.S: New file.
58885 * sysdeps/x86_64/multiarch/strncat.S: New file.
58886 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58887 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58888 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58889 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58890 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58891 (USE_AS_STRCAT): Define.
58892 Add strcat and strncat support.
58893 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58894 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58895 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58896 * string/strncat.c: Update.
58897 (USE_AS_STRNCAT): Define.
58898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58899 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58901 * sysdeps/x86_64/multiarch/init-arch.h
58902 (bit_Prefer_PMINUB_for_stringop): New.
58903 (index_Prefer_PMINUB_for_stringop): Likewise.
58904 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58905 bit_Prefer_PMINUB_for_stringop.
58907 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58909 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58911 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58912 of casting of buffer.
58913 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58914 buffer32 and buffer64.
58915 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58916 writes instead of casting of buffer.
58917 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58919 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58922 2011-07-19 Andreas Schwab <schwab@redhat.com>
58924 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58926 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58928 * nscd/nscd.c (termination_handler): Don't do anything for a database
58929 if it has not yet been initialized.
58931 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58933 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58935 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58937 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58939 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58941 * po/nl.po: Update from translation team.
58942 * po/sv.po: Likewise.
58944 2011-07-16 Roland McGrath <roland@hack.frob.com>
58946 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58947 now disallowed by GCC.
58949 * configure.in (use-default-link): Default to yes if a test -shared
58950 link meets our qualifications.
58951 * configure: Regenerated.
58953 * config.make.in (output-format): New variable.
58954 * configure.in: Check for ld --print-output-format support.
58955 * configure: Regenerated.
58956 * Makerules ($(common-objpfx)format.lds)
58957 [$(output-format) != unknown]: Just use $(output-format),
58958 instead of the linker-script munging.
58960 2011-07-14 Roland McGrath <roland@hack.frob.com>
58962 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58963 of $(common-objpfx)shlib.lds.
58964 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58966 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58967 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58969 * configure.in (-z relro check): Adjust test code to add a large
58970 writable data section after it.
58971 * configure: Regenerated.
58973 2011-07-11 Roland McGrath <roland@hack.frob.com>
58975 * configure.in (-z relro check): Fix test code to make the variable
58977 * configure: Regenerated.
58979 2011-07-11 Ulrich Drepper <drepper@gmail.com>
58981 * nscd/nscd.h (struct traced_file): Define.
58982 (struct database_dyn): Remove inotify_descr, reset_res, and filename
58983 elements. Add traced_files.
58984 (inotify_fd): Declare.
58985 (register_traced_file): Declare.
58986 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58987 (inotify_fd): Export.
58988 (resolv_conf_descr): Remove.
58989 (nscd_init): Move inotify descriptor creation to main.
58990 Don't register files for notification here.
58991 (register_traced_file): New function.
58992 (invalidate_cache): Don't use reset_res to determine whether to call
58993 res_init, go through the list of registered files.
58994 (main_loop_poll): The inotify descriptors are now stored in the
58995 structures for the traced files.
58996 (main_loop_epoll): Likewise
58997 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
58998 to __nss_disable_nscd.
58999 * nscd/cache.c (prune_cache): There is no single inotify descriptor
59000 for a database anymore. Check the records for all the registered
59002 * nss/Makefile (libnss_files-routines): Add files-init.
59003 (libnss_db-routines): Add db-init.
59004 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59005 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59006 * nss/nss_db/db-init.c: New file.
59007 * nss/nss_files/files-init.c: New file.
59008 * nss/nsswitch.c (nss_load_library): New function. Broken out of
59009 __nss_lookup_function.
59010 (__nss_lookup_function): Call nss_load_library.
59011 (nss_load_all_libraries): New function.
59012 (__nss_disable_nscd): Take parameter with callback function for files
59013 to register. Set is_nscd. Load all the DSOs for the NSS modules
59014 used for the cached services.
59015 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59016 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59017 options for features to all the files in nscd.
59019 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59021 2011-07-10 Roland McGrath <roland@hack.frob.com>
59023 * csu/elf-init.c (__libc_csu_init): Comment typo.
59025 2011-07-09 Ulrich Drepper <drepper@gmail.com>
59027 * po/pl.po: Update from translation team.
59028 * po/ja.po: Likewise.
59029 * po/ru.po: Likewise.
59030 * po/ko.po: Likewise.
59031 * po/fr.po: Likewise.
59033 2011-07-09 Roland McGrath <roland@hack.frob.com>
59035 * configure.in (.ctors/.dtors header and trailer check):
59036 Use an empirical test on a built program.
59037 * configure: Regenerated.
59039 * configure.in (-z relro check): Use an empirical test on a built DSO.
59040 Detect, but do not require, on ia64.
59041 * configure: Regenerated.
59043 * configure.in (READELF): Find it with AC_CHECK_TOOL.
59044 Update tests that use readelf to use $READELF instead.
59045 * configure: Regenerated.
59047 2011-07-08 Ulrich Drepper <drepper@gmail.com>
59049 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59050 if the result is not used.
59052 2011-07-05 Andreas Jaeger <aj@suse.de>
59055 * stdlib/tst-strtod.c: Add testcase.
59057 2011-07-07 Ulrich Drepper <drepper@gmail.com>
59059 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59060 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59061 The latter has a higher limit. Take additional parameter to pass to
59063 (__pathconf): Pass file to __statfs_link_max.
59064 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59066 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59070 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59071 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59073 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59074 (__statfs_filesize_max): Likewise.
59075 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59077 2011-07-05 Andreas Jaeger <aj@suse.de>
59079 * resolv/res_comp.c (dn_skipname): Remove unused variable.
59081 2011-07-06 Marek Polacek <mpolacek@redhat.com>
59083 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59085 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59088 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
59090 * Makefile (strop-tests): Add strncat.
59091 * string/test-strncat.c: New file.
59093 2011-06-30 Marek Polacek <mpolacek@redhat.com>
59095 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59097 2011-06-21 Andreas Jaeger <aj@suse.de>
59099 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59100 Copy rule from iconvdata/Makefile.
59102 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59105 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59106 but no long options are defined, just return 'W'.
59108 2011-06-22 Marek Polacek <mpolacek@redhat.com>
59111 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59113 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59115 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59117 (innetgr): Likewise.
59119 2011-07-05 Roland McGrath <roland@hack.frob.com>
59121 * config.make.in (install_root): Default to $(DESTDIR).
59123 2011-07-05 Ulrich Drepper <drepper@gmail.com>
59125 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59127 2011-07-02 Roland McGrath <roland@hack.frob.com>
59129 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59131 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59132 containing directory rather than embedding absolute directory names.
59134 * scripts/check-local-headers.sh: Rewritten using awk.
59135 Match by word, not by line. Print error messages for matches.
59136 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59138 * Makerules [shlib-lds-flags empty]:
59139 ($(common-objpfx)libc_pic.opts): New target.
59140 ($(common-objpfx)libc_pic.os.clean): New target.
59141 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59143 * config.make.in (OBJCOPY): New variable.
59144 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59145 * configure: Regenerated.
59147 * config.make.in (use-default-link): New variable.
59148 * configure.in (use_default_link): Grok --with-default-link to set it.
59149 * configure: Regenerated.
59150 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59151 (shlib-lds, shlib-lds-flags): Define to empty.
59153 * Makerules (shlib-lds): New variable.
59154 (shlib-lds-flags): New variable.
59155 (build-shlib, build-moduile, build-module-asneeded): Use it.
59156 ($(common-objpfx)libc.so): Use $(shlib-lds).
59157 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59158 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59160 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59161 DT_FLAGS/DT_FLAGS_1 with zero flags.
59163 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59164 linker script munging.
59166 2011-07-02 Ulrich Drepper <drepper@gmail.com>
59168 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59170 * crypt/sha512.c (sha512_process_block): Perform total addition using
59171 128-bit if possible.
59172 (__sha512_finish_ctx): Likewise.
59173 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59175 * crypt/sha256.c (SWAP64): Define.
59176 (sha256_process_block): Perform total addition using 64-bit if
59178 (__sha256_finish_ctx): Likewise.
59180 2011-07-01 Ulrich Drepper <drepper@gmail.com>
59182 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
59183 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59184 * nscd/hstcache.c (cache_addhst): Likewise.
59185 * nscd/grpcache.c (cache_addgr): Likewise.
59186 * nscd/aicache.c (addhstaiX): Likewise
59187 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59189 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
59191 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59192 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59193 * nscd/hstcache.c (cache_addhst): Likewise.
59194 * nscd/grpcache.c (cache_addgr): Likewise.
59195 * nscd/aicache.c (addhstaiX): Likewise
59197 2011-07-01 Andreas Schwab <schwab@redhat.com>
59199 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59200 domain only when needed.
59202 2011-06-30 Andreas Schwab <schwab@redhat.com>
59204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59205 is always restored.
59207 2011-06-29 Ulrich Drepper <drepper@gmail.com>
59209 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59210 are re-adding the entry.
59211 * nscd/servicescache.c (cache_addserv): Likewise.
59213 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
59215 * sysdeps/generic/dl-irel.h: fix protection against multiple
59217 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59219 2011-06-28 Ulrich Drepper <drepper@gmail.com>
59222 * malloc/memusage.sh: Fix quoting in message.
59223 * debug/xtrace.sh: Likewise.
59225 * configure.in: Remove support for --experimental-malloc option, make
59227 * config.make.in: Likewise.
59228 * malloc/Makefile: Likewise.
59230 2011-06-27 Andreas Schwab <schwab@redhat.com>
59232 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59233 two-byte characters.
59235 2011-06-27 Roland McGrath <roland@hack.frob.com>
59237 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59238 AC_CACHE_CHECK invocation.
59239 * configure: Regenerated.
59241 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59243 2011-06-27 Ulrich Drepper <drepper@gmail.com>
59246 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
59247 bit from old_res_options.
59249 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59251 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59252 value type for setfct.
59254 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
59256 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59257 __gettimeofday instead of gettimeofday.
59259 2011-06-26 Ulrich Drepper <drepper@gmail.com>
59261 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59263 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
59265 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59267 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59270 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59273 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59274 strcpy-sse2-unaligned strncpy-sse2-unaligned
59275 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59276 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59277 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59278 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59279 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59280 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59281 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59282 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59283 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59284 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59285 (STRCPY): Support SSE2 and SSSE3 versions.
59287 2011-06-24 Ulrich Drepper <drepper@gmail.com>
59290 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59291 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59292 kernels which artificially limit size of requests.
59294 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59296 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59297 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59298 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59299 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59300 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59301 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59302 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59303 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59304 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59305 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59306 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59307 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59308 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59309 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59310 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59312 Enable unaligned load optimization for Intel Core i3, i5 and i7
59314 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59316 (index_Fast_Unaligned_Load): Define.
59317 (HAS_FAST_UNALIGNED_LOAD): Define.
59319 2011-06-23 Marek Polacek <mpolacek@redhat.com>
59321 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59323 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59326 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59327 until it is clear that the information is realy needed.
59328 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59330 2011-06-22 Andreas Schwab <schwab@redhat.com>
59332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59334 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59336 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59337 /sys/devices/system/cpu/online if it is usable.
59339 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59340 reading the information from the /proc filesystem to once a second.
59342 2011-06-21 Andreas Jaeger <aj@suse.de>
59344 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59345 NULL after inclusion of kernel headers.
59347 2011-06-21 Ulrich Drepper <drepper@gmail.com>
59349 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59350 calls to internal_setent.
59353 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59354 addresses using gethostbyname4_r ignore IPv4 addresses.
59356 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59357 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
59359 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59361 2011-06-20 David S. Miller <davem@davemloft.net>
59363 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59365 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59367 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59368 (elf_irel): Use it.
59369 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59370 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59371 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59372 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59373 * sysdeps/x86_64/dl-irel.h: Likewise.
59375 * elf/dl-runtime.c: Use elf_ifunc_invoke.
59376 * elf/dl-sym.c: Likewise.
59378 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59380 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
59381 need to dereference resplen2.
59383 2011-06-14 Andreas Schwab <schwab@redhat.com>
59385 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59387 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59389 * Makeconfig: Define vardbdir and inst_vardbdir.
59390 * nss/Makefile: Add rules to install db-Makefile.
59392 * nss/nss_db/db-XXX.c: Cleanup.
59394 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59395 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59397 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59398 * nss/makedb.c: Implement -g option to specify that value strings
59399 are generated and should not be added to table iterated over for
59401 * nss/nss_db/db-initgroups.c: New file.
59403 * nss/getent.c: Add support for initgroups lookups through getgrouplist
59406 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59407 (internal_getgrouplist): Adjust to name change.
59408 Update use_initgroups_entry if this is not the first call.
59409 * nss/databases.def: Add initgroups entry.
59411 * nss/makedb.c (compute_tables): Check result of multiple hash table
59412 sizes to minimize maximum chain length.
59414 2011-06-14 Ulrich Drepper <drepper@gmail.com>
59416 * Versions.def: Add entry for libnss_db.
59417 * shlib-versions: Likewise.
59418 * nss/Makefile: Add rules to build libnss_db.
59419 * nss/Versions: Add libnss_db information. Organize libnss_files
59421 * nss/db-Makefile: Add gshadow support. Change rules for the new
59422 makedb progra. Some minor improvements to generate smaller files.
59423 * nss/nss_db/nss_db.h: Move NSS database header data structures to
59425 * nss/makedb.c: ...here.
59426 Improve database format to be smaller and require less memory at
59428 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
59430 * nss/nss_db/db-netgrp.c: Likewise.
59431 * nss/nss_db/db-open.c: Likewise.
59432 * nss/nss_files/flies-XXX.x: Adjust comments.
59433 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59434 * nss/nss_files/files-grp.c: Likewise.
59435 * nss/nss_files/files-hosts.c: Likewise.
59436 * nss/nss_files/files-network.c: Likewise.
59437 * nss/nss_files/files-proto.c: Likewise.
59438 * nss/nss_files/files-pwd.c: Likewise.
59439 * nss/nss_files/files-rpc.c: Likewise.
59440 * nss/nss_files/files-service.c: Likewise.
59441 * nss/nss_files/files-sgrp.c: Likewise.
59442 * nss/nss_files/files-spwd.c: Likewise.
59443 * nss/nss_db/db-alias.c: Removed.
59444 * nss/nss_db/dummy-db.h: Removed.
59446 2011-06-02 Ulrich Drepper <drepper@gmail.com>
59448 * nss/makedb.c: Rewritten to not use database library.
59449 * nss/Makefile: Update to build new makedb program.
59451 2011-06-14 Andreas Jaeger <aj@suse.de>
59453 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59454 memset declaration.
59456 2011-06-10 Andreas Schwab <schwab@redhat.com>
59458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59461 2011-06-10 Roland McGrath <roland@hack.frob.com>
59463 * Makerules (shlib.lds): Fail if the linker script comes out empty.
59464 * elf/Makefile ($(objpfx)ld.so): Likewise.
59466 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59467 Don't list ld.so twice in dependencies.
59469 * posix/bug-regex31.c: Include <stdlib.h>.
59471 * nscd/hstcache.c (cache_addhst): Remove unused variable.
59473 * nis/nss_compat/compat-spwd.c
59474 (getspent_next_nss_netgr): Remove unused variable.
59475 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59477 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59478 nonmembers" output to use the right array.
59480 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59482 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59484 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59485 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59486 * catgets/gencat.c (read_input_file): Likewise.
59487 * locale/programs/locarchive.c (enlarge_archive): Likewise.
59489 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59490 variable definition inside #if's controlling its use.
59492 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59494 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59496 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59498 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59501 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59503 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59504 * configure: Regenerated.
59506 * Makerules: Revert last change.
59507 * elf/Makefile: Likewise.
59509 2011-06-09 Roland McGrath <roland@hack.frob.com>
59511 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59512 * elf/Makefile ($(objpfx)librtld.os): Likewise.
59513 (reloc-link): Likewise.
59515 2011-06-09 Ulrich Drepper <drepper@gmail.com>
59517 * elf/Makefile: Add rules to build pldd.
59518 * elf/pldd.c: New file.
59519 * elf/pldd-xx.c: New file.
59521 2011-06-07 Ulrich Drepper <drepper@gmail.com>
59523 * version.h: Update for 2.15 development version.
59525 2011-06-07 David S. Miller <davem@davemloft.net>
59527 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59529 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59530 elf_machine_lazy_rel): Likewise.
59531 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59532 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59533 elf_machine_lazy_rel): Likewise.
59534 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59535 dl_hwcap via passed in argument.
59536 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59539 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59541 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
59543 2011-06-06 Roland McGrath <roland@hack.frob.com>
59546 * manual/fdl-1.1.texi: New file, verbatim from:
59547 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59548 * manual/lgpl-2.1.texi: New file, verbatim from:
59549 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59550 * manual/Makefile (licenses): New variable, list those new file names.
59552 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59554 * manual/fdl.texi: File removed.
59555 * manual/lesser.texi: File removed.
59556 * manual/libc.texinfo (Copying, Documentation License):
59557 Use new @include file names, put @appendix directive before @include.
59559 2011-06-04 Jakub Jelinek <jakub@redhat.com>
59562 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59563 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59564 (mq_open): Add __NTH.
59566 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
59568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59569 Assume Intel Core i3/i5/i7 processor if AVX is available.
59571 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59573 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59576 2011-05-31 Andreas Schwab <schwab@redhat.com>
59578 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59579 memory. Use alloca_account. Fix memory leak when retrying.
59581 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59583 * version.h (RELEASE): Bump for 2.14 release.
59584 * include/features.h (__GLIBC_MINOR__): Bump to 14.
59586 * config.make.in (RANLIB): Remove entry.
59588 2011-05-30 Ulrich Drepper <drepper@gmail.com>
59590 * po/Makefile (po-sed-cmd): Add ksh to extensions.
59591 (libc.pot): Work around missing support for .ksh extension in xgettext.
59594 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59595 if both request failed.
59596 (send_dg): In case of server errors clear resplen or *resplen2.
59599 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59600 when there are multiple maps.
59601 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59602 (_dl_fini): Remove test here.
59604 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59606 2011-05-29 Ulrich Drepper <drepper@gmail.com>
59609 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59610 bit from old_res_options.
59611 (gaih_inet): Likewise.
59614 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59617 * resolv/res_init.c (res_setoptions): Make the code more compact.
59620 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59624 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59626 * malloc/malloc.h: Mark malloc hook variables as deprecated.
59629 * malloc/malloc.h: Declare malloc hook variables as volatile.
59631 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59635 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59636 raise in the comment.
59637 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59638 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59639 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59641 2011-05-28 Ulrich Drepper <drepper@gmail.com>
59644 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59645 grow the buffers more if it already has to be sufficient.
59646 (build_wcs_upper_buffer): Likewise.
59647 * posix/regexec.c (check_matching): Likewise.
59648 (clean_state_log_if_needed): Likewise.
59649 (extend_buffers): Don't enlarge buffers beyond size of the input
59651 Patches mostly by Emil Wojak <emil@wojak.eu>.
59652 * posix/bug-regex32.c: New file.
59653 * posix/Makefile (tests): Add bug-regex32.
59655 * locale/findlocale.c (_nl_find_locale): Return right away if
59656 _nl_explode_name failed.
59657 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59659 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59661 * debug/xtrace.sh: Unify messages.
59662 * malloc/memusage.sh: Likewise.
59665 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59666 time symbol from vDSO. Substitute with vsyscall if not available.
59667 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59670 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59671 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59672 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59673 Add sendmmsg and internal_sendmmsg.
59674 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59675 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59676 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59678 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59679 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59680 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59682 2011-05-27 Ulrich Drepper <drepper@gmail.com>
59685 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59686 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
59688 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59692 * iconvdata/Makefile (tests): Add bug-iconv9.
59693 * iconvdata/bug-iconv9.c: New file.
59695 2011-05-27 Andreas Schwab <schwab@redhat.com>
59698 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59700 2011-05-25 Jakub Jelinek <jakub@redhat.com>
59702 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59703 (struct user_regs_struct): Change intcs field back to cs.
59705 2011-05-25 Ulrich Drepper <drepper@gmail.com>
59707 * po/ja.po: Update from translation team.
59709 2011-05-23 Ulrich Drepper <drepper@gmail.com>
59712 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59713 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59715 2011-05-20 Andreas Schwab <schwab@redhat.com>
59717 * stdlib/longlong.h: Update from GCC.
59719 2011-05-23 Andreas Schwab <schwab@redhat.com>
59721 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59723 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59724 Add parameter name.
59725 (__sysconf): Pass it down.
59727 2011-05-22 Ulrich Drepper <drepper@gmail.com>
59730 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59732 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59733 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59734 add in in __libc_use_alloca calls. Adjust callers.
59735 (glob): Use malloc in some situations.
59737 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59738 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59741 2011-05-21 Ulrich Drepper <drepper@gmail.com>
59743 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59744 and CLOCK_BOOTTIME_ALARM.
59747 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59750 * string/_strerror.c (__strerror_r): Print negative errors as signed
59754 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59755 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59756 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59758 * configure.in: Fix typo in redirection and correct removal of test
59759 files in two cases.
59762 * locale/setlocale.c (new_composite_name): Fix test to check for
59763 identical name of all categories.
59766 * libio/filedoalloc.c (local_isatty): New function.
59767 (_IO_file_doallocate): Use local_isatty.
59768 * stdio-common/perror.c (perror): In case a new stream is used
59769 forward the stream error.
59770 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59773 2011-05-20 Ulrich Drepper <drepper@gmail.com>
59776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59778 * include/alloca.h (extend_alloca_account): Define.
59781 * posix/regex.h: Fix comments with documentation of user-accessible
59782 fields after compilation and describe correct free'ing of pattern
59783 after re_compile_pattern.
59784 Patch by Reuben Thomas <rrt@sc3d.org>.
59786 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
59788 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59789 and -mno-altivec to prevent the compiler from using Altivec and/or
59790 VSX instructions when the corresponding registers are not available.
59792 2011-05-19 Andreas Schwab <schwab@redhat.com>
59794 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59796 2011-05-19 Ulrich Drepper <drepper@gmail.com>
59798 * libio/freopen.c (freopen): Use __dup2, not dup2.
59799 * libio/freopen64.c (freopen64): Likewise.
59801 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
59804 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59805 * math/Makefile (tests): Add test-powl.
59806 (CFLAGS-test-powl.c): Define.
59807 * math/test-powl.c: New file.
59809 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
59811 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59813 2011-05-17 Ulrich Drepper <drepper@gmail.com>
59816 * iconvdata/gb18030.c: Update to GB18020-2005.
59818 2011-05-16 Ulrich Drepper <drepper@gmail.com>
59820 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59821 RE_SYNTAX_POSIX_AWK): Update to match recent development.
59822 Patch by Aharon Robbins <arnold@skeeve.com>.
59825 * stdlib/putenv.c (putenv): Don't always create copy of the variable
59829 * misc/pselect.c (__pselect): Handle timeout value errors hidden
59830 through underflows.
59833 * misc/error.c (error_at_line): Ensure file_name and old_file_name
59834 point to strings before performing equality test for error_one_per_line
59838 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59841 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59842 (struct user_fpregs_struct): Avoid __uint*_t types.
59845 * malloc/mtrace.c (tr_where): Add additional parameter to point to
59846 symbol info. Use it instead of calling _dl_addr locally.
59847 (lock_and_info): New function.
59848 (tr_freehook): Call lock_and_info and pass symbol info as additional
59849 parameter to tr_where.
59850 (tr_mallochook): Likewise.
59851 (tr_reallochook): Likewise.
59852 (tr_memalignhook): Likewise.
59854 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
59855 used and couldn't be at all thread-safe.
59857 2011-05-15 Ulrich Drepper <drepper@gmail.com>
59859 * libio/freopen.c (freopen): Don't close old file descriptor
59860 before the new one is opened. Instead dup the new file descriptor
59861 to the old one after the new stream is created.
59862 * libio/freopen64.c (freopen64): Likewise.
59863 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59864 * libio/fileops.c (_IO_new_file_close_it): Handle new
59865 _IO_FLAGS2_NOCLOSE flag.
59866 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59867 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59868 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59869 _IO_FLAGS2_NOCLOSE flag.
59870 * include/unistd.h: Add hidden_proto for dup3.
59871 Define __have_dup3.
59872 * io/dup3.c: Define hidden symbol.
59873 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59876 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59877 when an incomplete long option is used.
59878 * posix/tst-getopt_long1.c: New file.
59879 * posix/Makefile (tests): Add tst-getopt_long1.
59882 * scripts/config.guess: Update from autoconf-2.68.
59883 * scripts/config.sub: Likewise.
59886 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59888 (has_cpuclock): ...this. New function.
59889 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59890 macro here based on has_cpuclock code.
59893 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59894 First byte (not low byte) is now always NUL.
59895 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59897 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59898 Use non-cancelable interfaces.
59901 * locale/iso-639.def: Add entry for Sorani.
59904 * include/stdlib.h: Move include protection to the right place.
59905 Define abort_msg_s. Declare __abort_msg with it.
59906 * stdlib/abort.c (__abort_msg): Adjust type.
59907 * assert/assert.c (__assert_fail_base): New function. Majority
59908 of code from __assert_fail. Allocate memory for __abort_msg with
59910 (__assert_fail): Now call __assert_fail_base.
59911 * assert/assert-perr.c: Remove bulk of implementation. Use
59912 __assert_fail_base.
59913 * include/assert.hL Declare __assert_fail_base.
59914 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59916 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59918 2011-05-14 Ulrich Drepper <drepper@gmail.com>
59922 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59923 until all modules are registered in the DTV.
59924 * elf/Makefile: Add rules to build and run tst-tls19.
59925 * elf/tst-tls19.c: New file.
59926 * elf/tst-tls19mod1.c: New file.
59927 * elf/tst-tls19mod2.c: New file.
59928 * elf/tst-tls19mod3.c: New file.
59929 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59932 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59936 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59937 two-byte sequence errors.
59938 * iconvdata/Makefile (tests): Add bug-iconv8.
59939 * iconvdata/bug-iconv8.c: New file.
59942 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59945 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59948 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59949 (dummy_getcfa): New function.
59950 (init): Get _Unwind_GetCFA address, use dummy if not found.
59951 (backtrace_helper): In recursion check, also check whether CFA changes.
59952 (__backtrace): Completely initialize arg.
59954 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59955 storing incomplete byte sequence in state object. Avoid testing for
59956 guaranteed too small input if we know there is enough data available.
59958 2011-05-11 Andreas Schwab <schwab@redhat.com>
59960 * Makeconfig (+link-pie): Indent.
59961 * Rules (binaries-pie): Define if $(have-fpie) and
59963 (binaries-shared): Also filter out $(binaries-pie).
59964 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59965 * nscd/Makefile (others-pie): Add nscd.
59966 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59967 ($(objpfx)nscd): Remove command override.
59968 * login/Makefile (others-pie): Add pt_chown.
59969 ($(objpfx)pt_chown): Remove command override.
59970 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59971 remove command overrides.
59973 2011-05-13 Ulrich Drepper <drepper@gmail.com>
59975 * libio/tst_putwc.c: Fix error messages.
59978 * libio/fileops.c (_IO_new_file_close_it): Always flush when
59979 currently writing and seek to current position when not.
59980 * libio/Makefile (tests): Add bug-fclose1.
59981 * libio/bug-fclose1.c: New file.
59983 2011-05-12 Ulrich Drepper <drepper@gmail.com>
59986 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59987 don't set DF_1_NODELETE here.
59988 (do_lookup_x): When entering new entry test for copy relocation
59989 and if necessary set DF_1_NODELETE flag.
59990 * elf/tst-unique4.cc: New file.
59991 * elf/tst-unique4.h: New file.
59992 * elf/tst-unique4lib.cc: New file.
59993 * elf/Makefile: Add rules to build and run tst-unique4.
59994 Patch by Piotr Bury <pbury@goahead.com>.
59996 2011-05-11 Ulrich Drepper <drepper@gmail.com>
59999 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60002 * misc/mntent_r.c (addmntent): Flush the stream after the output
60005 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60006 (is_trusted_path_normalize): Skip initial colon. Append slash
60007 to empty buffer. Duplicate is_trusted_path code but allow
60008 constructed patch to be prefix.
60009 (is_dst): Allow $ORIGIN followed by /.
60010 (_dl_dst_substitute): Correct clearing of check_for_trusted.
60011 Correct testing of result of is_trusted_path_normalize
60012 (decompose_rpath): Fix warning.
60014 2011-05-10 Ulrich Drepper <drepper@gmail.com>
60017 * grp/initgroups.c (internal_getgrouplist): When we found the service
60018 list through the initgroups entry in nsswitch.conf do not always
60019 continue on a successful lookup. Don't always use the
60020 __nss_group_database value if it is set.
60021 * nss/nsswitch.conf (initgroups): Change action for successful db
60022 lookup to continue for compatibility.
60024 2011-05-09 Ulrich Drepper <drepper@gmail.com>
60027 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60029 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60031 * iconvdata/tst-tables.sh: Likewise.
60032 * iconvdata/cp770.c: New file.
60033 * iconvdata/cp771.c: New file.
60034 * iconvdata/cp772.c: New file.
60035 * iconvdata/cp773.c: New file.
60036 * iconvdata/cp774.c: New file.
60037 * iconvdata/testdata/CP770: New file.
60038 * iconvdata/testdata/CP770..UTF8: New file.
60039 * iconvdata/testdata/CP771: New file.
60040 * iconvdata/testdata/CP771..UTF8: New file.
60041 * iconvdata/testdata/CP772: New file.
60042 * iconvdata/testdata/CP772..UTF8: New file.
60043 * iconvdata/testdata/CP773: New file.
60044 * iconvdata/testdata/CP773..UTF8: New file.
60045 * iconvdata/testdata/CP774: New file.
60046 * iconvdata/testdata/CP774..UTF8: New file.
60048 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60050 * iconvdata/gen-8bit-gap.sh: Likewise.
60051 * iconvdata/gen-8bit.sh: Likewise.
60053 * locale/iso-639.def: Add ary entry.
60056 * locale/C-translit.h.in: Add U20A1 transliteration.
60059 * locale/iso-639.def: Add wae entry.
60060 Patch by Kevin Bortis <bortis@translate-wae.ch>.
60063 * locale/programs/localedef.c (construct_output_path): Use ssize_t
60067 * locale/C-translit.h.in: Add entry for U20B9.
60068 Patch by pravin.d.s@gmail.com.
60070 2011-05-08 Ulrich Drepper <drepper@gmail.com>
60073 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60074 ENAMETOOLONG use generic getcwd.
60075 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
60076 in rtld. Use *stat64.
60077 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60078 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60079 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60080 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60081 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60082 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60083 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60084 __fstatat64 macros.
60085 * include/dirent.h: Add libc_hidden_proto for rewinddir.
60086 * dirent/rewinddir.c: Add libc_hidden_def.
60087 * sysdeps/mach/hurd/rewinddir.c: Likewise.
60088 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
60090 * include/dirent.h (__alloc_dir): Add flags parameter.
60091 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60092 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60094 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
60095 from fdopendir if O_CLOEXEC is already set.
60097 2011-03-15 Alan Modra <amodra@gmail.com>
60099 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60100 l_tls_firstbyte_offset non-zero. Save padding offset in
60101 l_tls_firstbyte_offset for later use.
60102 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60103 freeing static tls block.
60105 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
60107 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60108 where #ifdef was intended. The intent is to prevent ARG_MAX from
60109 being defined by the kernel headers.
60111 2011-05-07 Ulrich Drepper <drepper@gmail.com>
60114 * resolv/resolv.h: Define RES_NOTLDQUERY.
60115 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60116 no-tld-query and set RES_NOTLDQUERY.
60117 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60118 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60119 modern BIND to search name as TLD unless forbidden.
60121 2011-05-07 Petr Baudis <pasky@suse.cz>
60122 Ulrich Drepper <drepper@gmail.com>
60125 * elf/dl-load.c (fillin_rpath): Move trusted path check...
60126 (is_trusted_path): ...to here.
60127 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60128 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60129 using is_trusted_path_normalize() in setuid scripts.
60131 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
60133 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60134 __BEGIN/__END_DECLS.
60136 2011-05-06 Ulrich Drepper <drepper@gmail.com>
60138 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60139 NSS_STATUS_NOTFOUND if no record was found.
60141 2011-05-05 Andreas Schwab <schwab@redhat.com>
60143 * sunrpc/Makefile (headers): Add rpc/netdb.h.
60144 (headers-not-in-tirpc): Remove rpc/netdb.h
60145 * resolv/netdb.h: Revert last change.
60147 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
60149 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60150 circular dependency between libgcc.a and libc.a.
60152 2011-05-05 Andreas Schwab <schwab@redhat.com>
60154 * resolv/netdb.h: Don't include <rpc/netdb.h>.
60155 * nis/Makefile: Don't install rpcsvc/*.
60156 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60157 instead of <rpc/types.h>.
60158 (MAXHOSTNAMELEN): Define.
60160 2011-05-03 Andreas Schwab <schwab@redhat.com>
60162 * elf/ldconfig.c (add_dir): Don't crash on empty path.
60164 2011-04-28 Maciej Babinski <mbabinski@google.com>
60167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60168 gethostbyname4_r when IPv6 results are possible.
60170 2011-05-02 Ulrich Drepper <drepper@gmail.com>
60173 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60174 _PC_PIPE_BUF handling.
60176 2011-04-30 Bruno Haible <bruno@clisp.org>
60179 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60180 * resolv/netdb.h (getnameinfo): Change type of flags parameter
60182 * inet/getnameinfo.c (getnameinfo): Likewise.
60184 2011-04-29 Ulrich Drepper <drepper@gmail.com>
60186 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60187 to groups setting in database lookup.
60188 * nss/nsswitch.conf: Add initgroups entry.
60190 2011-04-22 Ulrich Drepper <drepper@gmail.com>
60193 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60195 Patch by Eric Blake <eblake@redhat.com>.
60197 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
60199 * sunrpc/Makefile (need-export-routines): Add svc_run.
60200 (routines): Remove svc_run.
60201 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60202 * sunrpc/clnt_perr.c (clnt_perrno): Export.
60203 * sunrpc/svc_run.c (svc_run): Likewise.
60204 * sunrpc/svc_udp.c (svcudp_create): Likewise.
60206 2011-04-21 Ulrich Drepper <drepper@gmail.com>
60208 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60209 problem in reallocation in last patch.
60211 2011-04-20 Ulrich Drepper <drepper@gmail.com>
60213 * sunrpc/Makefile: Move inclusion of Rules.
60215 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60217 * nss/nss_files/files-initgroups.c: New file.
60218 * nss/Makefile (libnss_files-routines): Add files-initgroups.
60219 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60220 _nss_files_initgroups_dyn.
60222 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
60224 * elf/elf.h (R_ARM_IRELATIVE): Define.
60226 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60228 * po/ru.po: Update from translation team.
60230 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60232 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60235 2011-02-06 Mike Frysinger <vapier@gentoo.org>
60238 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60239 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60240 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60241 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60242 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60244 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
60246 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60248 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60249 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60250 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60252 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60255 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60257 * stdlib/bug-getcontext.c: New file.
60258 * stdlib/Makefile: Add rules to build and run bug-getcontext.
60260 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60262 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60263 instructions into .machine "z9-109".
60264 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60265 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60267 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60269 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60270 between environment variables and auxiliary vector.
60272 2011-04-16 Ulrich Drepper <drepper@gmail.com>
60274 * Makefile: Add rules to build linkobj/libc.so.
60275 * include/libc-symbols.h: Define libc_hidden_nolink.
60276 * include/rpc/auth.h: Mark functions which are to be hidden.
60277 * include/rpc/auth_des.h: Likewise.
60278 * include/rpc/auth_unix.h: Likewise.
60279 * include/rpc/clnt.h: Likewise.
60280 * include/rpc/des_crypt.h: Likewise.
60281 * include/rpc/key_prot.h: Likewise.
60282 * include/rpc/pmap_clnt.h: Likewise.
60283 * include/rpc/pmap_prot.h: Likewise.
60284 * include/rpc/pmap_rmt.h: Likewise.
60285 * include/rpc/rpc_msg.h: Likewise.
60286 * include/rpc/svc.h: Likewise.
60287 * include/rpc/svc_auth.h: Likewise.
60288 * include/rpc/xdr.h: Likewise.
60289 * nis/Makefile: Link all DSOs against linkobj/libc.so.
60290 * nss/Makefile: Likewise.
60291 * sunrpc/Makefile: Don't install headers. Build library with normal
60292 entry points. Don't build rpcinfo. Link RPC tests appropriately.
60293 * sunrpc/auth_des.c: Hide exported symbols by default, export some
60294 for the compat linking library. Remove use of INTDEF/INTUSE.
60295 * sunrpc/auth_none.c: Likewise.
60296 * sunrpc/auth_unix.c: Likewise.
60297 * sunrpc/authdes_prot.c: Likewise.
60298 * sunrpc/authuxprot.c: Likewise.
60299 * sunrpc/clnt_gen.c: Likewise.
60300 * sunrpc/clnt_perr.c: Likewise.
60301 * sunrpc/clnt_raw.c: Likewise.
60302 * sunrpc/clnt_simp.c: Likewise.
60303 * sunrpc/clnt_tcp.c: Likewise.
60304 * sunrpc/clnt_udp.c: Likewise.
60305 * sunrpc/clnt_unix.c: Likewise.
60306 * sunrpc/des_crypt.c: Likewise.
60307 * sunrpc/des_soft.c: Likewise.
60308 * sunrpc/get_myaddr.c: Likewise.
60309 * sunrpc/key_call.c: Likewise.
60310 * sunrpc/key_prot.c: Likewise.
60311 * sunrpc/netname.c: Likewise.
60312 * sunrpc/pm_getmaps.c: Likewise.
60313 * sunrpc/pm_getport.c: Likewise.
60314 * sunrpc/pmap_clnt.c: Likewise.
60315 * sunrpc/pmap_prot.c: Likewise.
60316 * sunrpc/pmap_prot2.c: Likewise.
60317 * sunrpc/pmap_rmt.c: Likewise.
60318 * sunrpc/publickey.c: Likewise.
60319 * sunrpc/rpc_cmsg.c: Likewise.
60320 * sunrpc/rpc_common.c: Likewise.
60321 * sunrpc/rpc_dtable.c: Likewise.
60322 * sunrpc/rpc_prot.c: Likewise.
60323 * sunrpc/rpc_thread.c: Likewise.
60324 * sunrpc/rtime.c: Likewise.
60325 * sunrpc/svc.c: Likewise.
60326 * sunrpc/svc_auth.c: Likewise.
60327 * sunrpc/svc_authux.c: Likewise.
60328 * sunrpc/svc_raw.c: Likewise.
60329 * sunrpc/svc_run.c: Likewise.
60330 * sunrpc/svc_simple.c: Likewise.
60331 * sunrpc/svc_tcp.c: Likewise.
60332 * sunrpc/svc_udp.c: Likewise.
60333 * sunrpc/svc_unix.c: Likewise.
60334 * sunrpc/svcauth_des.c: Likewise.
60335 * sunrpc/xcrypt.c: Likewise.
60336 * sunrpc/xdr.c: Likewise.
60337 * sunrpc/xdr_array.c: Likewise.
60338 * sunrpc/xdr_float.c: Likewise.
60339 * sunrpc/xdr_intXX_t.c: Likewise.
60340 * sunrpc/xdr_mem.c: Likewise.
60341 * sunrpc/xdr_rec.c: Likewise.
60342 * sunrpc/xdr_ref.c: Likewise.
60343 * sunrpc/xdr_sizeof.c: Likewise.
60344 * sunrpc/xdr_stdio.c: Likewise.
60346 2011-04-10 Ulrich Drepper <drepper@gmail.com>
60349 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60350 * sysdeps/ia64/dl-tls.h: Likewise.
60351 * sysdeps/powerpc/dl-tls.h: Likewise.
60352 * sysdeps/s390/dl-tls.h: Likewise.
60353 * sysdeps/sh/dl-tls.h: Likewise.
60354 * sysdeps/sparc/dl-tls.h: Likewise.
60355 * sysdeps/x86_64/dl-tls.h: Likewise.
60356 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60358 2011-03-14 Andreas Schwab <schwab@redhat.com>
60360 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60361 rpath element also skip the following colon.
60362 (expand_dynamic_string_token): Add is_path parameter and pass
60363 down to DL_DST_REQUIRED and _dl_dst_substitute.
60364 (decompose_rpath): Call expand_dynamic_string_token with
60365 non-zero is_path. Ignore empty rpaths.
60366 (_dl_map_object_from_fd): Call expand_dynamic_string_token
60369 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
60371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60374 2011-04-09 Ulrich Drepper <drepper@gmail.com>
60377 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60378 Patch by Filipe David Manana <fdmanana@apache.org>.
60380 2011-04-07 Andreas Schwab <schwab@redhat.com>
60382 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60383 Maintain aligned stack.
60384 (CHECK_RSP): Remove unused macro.
60386 2011-04-03 Ulrich Drepper <drepper@gmail.com>
60388 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60389 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60391 2011-04-02 Ulrich Drepper <drepper@gmail.com>
60393 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60395 * include/features.h: Mention __USE_XOPEN2K8 in comment.
60397 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
60400 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60401 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60402 * sysdeps/x86_64/memmove.c: New file.
60403 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60404 (memcpy): Renamed to ...
60405 (__new_memcpy): This.
60406 (memcpy): Provide GLIBC_2_14 memcpy.
60407 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60408 (memcpy): Provide GLIBC_2_2_5 memcpy.
60410 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60413 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60415 2011-03-30 Andreas Schwab <schwab@redhat.com>
60417 * misc/syncfs.c: New file.
60418 * misc/Makefile (routines): Add syncfs.
60419 * posix/unistd.h: Declare syncfs.
60420 * sysdeps/unix/syscalls.list: Add syncfs.
60422 2011-04-01 Andreas Schwab <schwab@redhat.com>
60424 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60426 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60427 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60429 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60430 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60431 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60432 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60434 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60436 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60437 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60438 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60440 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60441 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60442 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60444 * io/Makefile: Compile fallocate.c, fallocate64.c, and
60445 sync_file_range.c with -fexceptions.
60446 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60447 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60448 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60449 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60450 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60451 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60452 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60453 sync_file_range as cancellation point
60454 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
60455 now a wrapper around __call_sync_file_range with cancellation handling.
60456 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60457 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
60458 function name to __call_sync_file_range.
60459 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60460 Add call_sync_file_range.
60462 2011-04-01 Andreas Schwab <schwab@redhat.com>
60464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60467 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60469 * iconv/iconv.h: Fix typo in comment.
60470 * io/fcntl.h: Likewise.
60471 * libio/stdio.h: Likewise.
60472 * posix/spawn.h: Likewise.
60473 * posix/unistd.h: Likewise.
60474 * stdlib/stdlib.h: Likewise.
60475 * time/time.h: Likewise.
60476 * wcsmbs/wchar.h: Likewise.
60478 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60479 open_by_handle): Add.
60480 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60481 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
60482 Augment a few comments.
60483 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60485 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60486 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60487 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60488 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60491 * io/fcntl.h (AT_EMPTY_PATH): Define.
60493 2011-03-30 Ulrich Drepper <drepper@gmail.com>
60495 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60496 * sysdeps/unix/sysv/linux/bits/time.h: New file.
60497 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60499 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
60500 * Versions.def: Add GLIBC_2.14.
60501 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60504 2011-03-22 Ulrich Drepper <drepper@gmail.com>
60506 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60508 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60510 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
60513 * string/test-strncmp.c (do_page_test): New function.
60514 (check2): Likewise.
60515 (test_main): Call check2.
60516 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60518 2011-03-20 Ulrich Drepper <drepper@gmail.com>
60521 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60522 Handle cache information in CPU leaf 4.
60523 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60525 2011-03-18 Ulrich Drepper <drepper@gmail.com>
60528 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60529 character representation.
60530 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60532 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
60534 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60535 END(__isnan) to END(__isnanf) to match function entry point/label
60536 EALIGN(__isnanf,...).
60538 2011-03-10 Jakub Jelinek <jakub@redhat.com>
60540 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60542 2011-03-10 Ulrich Drepper <drepper@gmail.com>
60545 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60546 copy from the symbol referenced in the relocation to initialize the
60548 Patch by Piotr Bury <pbury@goahead.com>.
60549 * elf/Makefile: Add rules to build and tst-unique3.
60550 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60551 * elf/tst-unique3.cc: New file.
60552 * elf/tst-unique3.h: New file.
60553 * elf/tst-unique3lib.cc: New file.
60554 * elf/tst-unique3lib2.cc: New file.
60556 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60558 2011-03-10 Mike Frysinger <vapier@gentoo.org>
60560 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60561 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
60564 2011-03-06 Ulrich Drepper <drepper@gmail.com>
60566 * elf/dl-load.c (_dl_map_object): If we are looking for the first
60567 to-be-loaded object along a path to loader is ld.so.
60569 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60570 Ulrich Drepper <drepper@gmail.com>
60572 * sysdeps/x86_64/memset.S: After aligning destination, code
60573 branches to different locations depending on the value of
60574 misalignment, when multiarch is enabled. Fix this.
60576 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60578 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60579 Set _x86_64_preferred_memory_instruction for AMD processsors.
60580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60581 Set bit_Prefer_SSE_for_memop for AMD processors.
60583 2011-03-04 Ulrich Drepper <drepper@gmail.com>
60585 * libio/fmemopen.c (fmemopen): Optimize a bit.
60587 2011-03-03 Andreas Schwab <schwab@redhat.com>
60589 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60591 2011-03-03 Roland McGrath <roland@redhat.com>
60593 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60595 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
60597 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60598 __bzero_ultra1 instead of __memset_ultra1.
60600 2011-02-23 Andreas Schwab <schwab@redhat.com>
60601 Ulrich Drepper <drepper@gmail.com>
60604 * include/link.h (struct link_map): Add l_orig_initfini.
60605 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60606 returning unsuccessfully.
60607 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60608 close of a file loaded at startup, restore the original l_initfini
60610 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60611 list, store the pointer.
60612 * elf/Makefile ($(objpfx)noload-mem): New rule.
60613 (noload-ENV): Define.
60614 (tests): Add $(objpfx)noload-mem.
60615 * elf/noload.c: Include <memcheck.h>.
60616 (main): Call mtrace. Close all opened handles.
60618 2011-02-17 Andreas Schwab <schwab@redhat.com>
60621 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60622 dependencies are missing.
60624 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
60626 Fix __if_freereq crash: Unlike the generic version which uses free,
60628 * sysdeps/mach/hurd/ifreq.h: New file.
60630 2011-01-27 Petr Baudis <pasky@suse.cz>
60631 Ulrich Drepper <drepper@gmail.com>
60634 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60635 to extend_alloca().
60636 * stdio-common/bug23.c: New file.
60637 * stdio-common/Makefile (tests): Add bug23.
60639 2010-09-28 Andreas Schwab <schwab@redhat.com>
60640 Ulrich Drepper <drepper@gmail.com>
60643 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60644 before performing relro protection. At old place add assertion
60645 to make sure nothing changed.
60647 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
60648 Glauber de Oliveira Costa <glommer@gmail.com>
60650 * elf/elf.h: Add new ARM TLS relocs.
60652 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
60654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60655 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60657 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
60659 * sysdeps/wordsize-64/tst-writev.c: New file.
60661 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
60663 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60664 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60665 insns in _dl_start to prevent a TOC reference before relocs are
60668 2011-02-15 Ulrich Drepper <drepper@gmail.com>
60671 * Makeconfig: Remove RANLIB definition.
60672 * Makerules: Don't use RANLIB.
60673 * aclocal.m4: Remove ranlib test.
60674 * configure.in: No need to check for ranlib.
60675 * elf/rtld-Rules: Don't use RANLIB.
60677 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
60679 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60681 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60682 inclusion protection macro.
60684 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60685 SIGRTMIN and SIGRTMAX and print information in that case only when
60686 SIGRTMIN is defined.
60688 2011-02-11 Jakub Jelinek <jakub@redhat.com>
60690 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60691 arginfo fn returning -1.
60693 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60694 and thousands string is zero terminated.
60696 2011-02-03 Andreas Schwab <schwab@redhat.com>
60698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60699 sysdeps/unix/sysv/linux/bits/socket.h.
60701 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
60703 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60704 (__CPU_COUNT): Remove old macros.
60705 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60706 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60707 (__CPU_ALLOC, __CPU_FREE): Add macros.
60708 (__sched_cpualloc, __sched_cpufree): Add declarations.
60710 2011-02-05 Ulrich Drepper <drepper@gmail.com>
60712 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60713 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60714 * nscd/aicache.c (addhstaiX): Return timeout of added value.
60715 (readdhstai): Return value of addhstaiX call.
60716 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60717 (addgrbyX): Return value returned by cache_addgr.
60718 (readdgrbyname): Return value returned by addgrbyX.
60719 (readdgrbygid): Likewise.
60720 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60721 (addpwbyX): Return value returned by cache_addpw.
60722 (readdpwbyname): Return value returned by addhstbyX.
60723 (readdpwbyuid): Likewise.
60724 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60725 (addservbyX): Return value returned by cache_addserv.
60726 (readdservbyname): Return value returned by addservbyX:
60727 (readdservbyport): Likewise.
60728 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60729 (addhstbyX): Return value returned by cache_addhst.
60730 (readdhstbyname): Return value returned by addhstbyX.
60731 (readdhstbyaddr): Likewise.
60732 (readdhstbynamev6): Likewise.
60733 (readdhstbyaddrv6): Likewise.
60734 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60735 (readdinitgroups): Return value returned by addinitgroupsX.
60736 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60737 (prune_cache): Keep track of timeout value of re-added entries.
60738 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60739 * nscd/nscd.h: Adjust prototypes of readd* functions.
60741 2011-02-04 Roland McGrath <roland@redhat.com>
60743 * nis/nis_server.c (nis_servstate): Use the right name for 0.
60744 (nis_stats): Likewise.
60745 * nis/nis_modify.c (nis_modify): Likewise.
60746 * nis/nis_remove.c (nis_remove): Likewise.
60747 * nis/nis_add.c (nis_add): Likewise.
60749 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60751 * posix/fnmatch_loop.c: Add some consts.
60753 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60755 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
60758 * config.make.in (config-cflags-novzeroupper): Define.
60759 * configure.in: Substitute libc_cv_cc_novzeroupper.
60760 * elf/Makefile (AVX-CFLAGS): Define.
60761 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60762 (CFLAGS-tst-auditmod4a.c): Likewise.
60763 (CFLAGS-tst-auditmod4b.c): Likewise.
60764 (CFLAGS-tst-auditmod6b.c): Likewise.
60765 (CFLAGS-tst-auditmod6c.c): Likewise.
60766 (CFLAGS-tst-auditmod7b.c): Likewise.
60767 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60769 2011-02-02 Ulrich Drepper <drepper@gmail.com>
60771 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60772 function to the callback.
60773 Patch partly by Jiri Olsa <jolsa@redhat.com>.
60775 2011-02-02 Andreas Schwab <schwab@redhat.com>
60777 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60780 2011-01-19 Ulrich Drepper <drepper@gmail.com>
60783 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60785 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60787 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60790 * elf/Makefile: Add rules to build and run new test.
60791 * elf/tst-initorder.c: New file.
60792 * elf/tst-initorder.exp: New file.
60793 * elf/tst-initordera1.c: New file.
60794 * elf/tst-initordera2.c: New file.
60795 * elf/tst-initordera3.c: New file.
60796 * elf/tst-initordera4.c: New file.
60797 * elf/tst-initorderb1.c: New file.
60798 * elf/tst-initorderb2.c: New file.
60799 * elf/tst-order-a1.c: New file.
60800 * elf/tst-order-a2.c: New file.
60801 * elf/tst-order-a3.c: New file.
60802 * elf/tst-order-a4.c: New file.
60803 * elf/tst-order-b1.c: New file.
60804 * elf/tst-order-b2.c: New file.
60805 * elf/tst-order-main.c: New file.
60806 New test case by George Gensure <werkt0@gmail.com>.
60808 2010-10-01 Andreas Schwab <schwab@redhat.com>
60810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60811 decoding ACE if AI_CANONIDN.
60813 2011-01-18 Ulrich Drepper <drepper@gmail.com>
60815 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60817 2011-01-17 Ulrich Drepper <drepper@gmail.com>
60819 * version.h (RELEASE): Bump for 2.13 release.
60820 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60822 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60824 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60826 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60827 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60828 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60829 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60830 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60831 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60833 * posix/getconf.c: Update copyright year.
60834 * catgets/gencat.c: Likewise.
60835 * csu/version.c: Likewise.
60836 * debug/catchsegv.sh: Likewise.
60837 * debug/xtrace.sh: Likewise.
60838 * elf/ldconfig.c: Likewise.
60839 * elf/ldd.bash.in: Likewise.
60840 * elf/sprof.c (print_version): Likewise.
60841 * iconv/iconv_prog.c: Likewise.
60842 * iconv/iconvconfig.c: Likewise.
60843 * locale/programs/locale.c: Likewise.
60844 * locale/programs/localedef.c: Likewise.
60845 * malloc/memusage.sh: Likewise.
60846 * malloc/mtrace.pl: Likewise.
60847 * nscd/nscd.c (print_version): Likewise.
60848 * nss/getent.c: Likewise.
60850 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60851 PF_CAIF, and PF_ALG.
60852 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60854 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
60856 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60857 (modules-names): Use them.
60858 (ifunc-test-modules, ifunc-pie-tests): Define.
60859 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60860 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60861 (test-extras): Likewise.
60862 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60863 $(compile-command.c).
60864 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60865 (all-built-dso): Define.
60866 (check-textrel.out, check-execstack.out): Depend on it.
60868 * configure.in: Don't override --enable-multi-arch.
60870 2011-01-15 Ulrich Drepper <drepper@gmail.com>
60873 * nscd/hstcache.c (tryagain): Define.
60874 (cache_addhst): Return tryagain not notfound for temporary errors.
60875 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60878 2011-01-14 Ulrich Drepper <drepper@gmail.com>
60881 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60882 to make the syscall.
60883 * sysdeps/unix/sysv/linux/setgroups.c: New file.
60886 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60887 and fall back to matching as normal character if the string ends before
60888 the matching ']' is found. This is what POSIX requires.
60889 * posix/testfnm.c: Adjust test result.
60890 * posix/globtest.sh: Adjust test result. Add new test.
60891 * posix/tst-fnmatch.input: Likewise.
60892 * posix/tst-fnmatch2.c: Add new test.
60894 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
60896 * elf/Makefile (check-execstack): Revert last change. Depend on
60898 (check-execstack.h): New target.
60899 (generated): Add check-execstack.h.
60900 * elf/check-execstack.c: Include "check-execstack.h".
60901 (main): Revert last change.
60902 (handle_file): Return zero if GNU_STACK is absent and
60903 DEFAULT_STACK_PERMS doesn't include PF_X.
60905 2011-01-13 Ulrich Drepper <drepper@gmail.com>
60907 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60908 in child fails because the descriptor is already closed.
60909 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60910 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60911 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60914 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60918 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60919 temporary buffer used to handle multi lookups locally.
60920 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60922 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60924 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60927 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
60929 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60930 alignment for SSE2.
60932 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60935 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60936 characters. When rounding increased number of integer digits recompute
60938 * stdio-common/tst-grouping.c: New file.
60939 * stdio-common/Makefile: Add rules to build and run tst-grouping.
60941 2011-01-09 Ulrich Drepper <drepper@gmail.com>
60943 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60944 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
60946 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60948 * bits/select.h: Likewise.
60950 2011-01-08 Ulrich Drepper <drepper@gmail.com>
60952 * po/ja.po: Update from translation team.
60954 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
60957 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60958 implementation just like for lxstat, fxstatat, et al.
60960 2010-12-27 Jim Meyering <meyering@redhat.com>
60963 * posix/regexec.c (build_trtable): Return failure indication upon
60964 calloc failure. Otherwise, re_search_internal could infloop on OOM.
60966 2010-12-25 Ulrich Drepper <drepper@gmail.com>
60969 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60970 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60971 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60972 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60975 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60978 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60979 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60981 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
60983 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60984 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60985 script has SORT_BY_INIT_PRIORITY.
60986 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60987 NO_CTORS_DTORS_SECTIONS is defined.
60988 * elf/soinit.c: Likewise.
60989 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60990 NO_CTORS_DTORS_SECTIONS is defined.
60991 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60992 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60993 * sysdeps/sh/init-first.c: Likewise.
60994 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60996 2010-12-24 Ulrich Drepper <drepper@gmail.com>
60998 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60999 always use the slow path.
61001 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
61003 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61004 similar rule which adds the sysdep directories to the header search in
61005 order to pick up the correct platform stackinfo.h.
61006 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61007 perform test if it is, otherwise return successfully without testing.
61008 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61009 DEFAULT_STACK_PERMS define in stackinfo.h.
61010 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61011 defined in stackinfo.h.
61012 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61013 DEFAULT_STACK_PERMS defined in stackinfo.h.
61014 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61015 * sysdeps/ia64/stackinfo.h: Likewise.
61016 * sysdeps/s390/stackinfo.h: Likewise.
61017 * sysdeps/sh/stackinfo.h: Likewise.
61018 * sysdeps/sparc/stackinfo.h: Likewise.
61019 * sysdeps/x86_64/stackinfo.h: Likewise.
61020 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61021 PF_X for powerpc64. Retain PF_X for powerpc32.
61023 2010-12-19 Ulrich Drepper <drepper@gmail.com>
61025 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61027 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61028 GETDENTS_64BIT_ALIGNED.
61030 2010-12-14 Ulrich Drepper <dreper@gmail.com>
61032 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61034 2010-12-10 Andreas Schwab <schwab@redhat.com>
61036 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61039 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61040 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61042 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61043 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61045 2010-12-09 Ulrich Drepper <drepper@gmail.com>
61048 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61051 2010-12-09 Jakub Jelinek <jakub@redhat.com>
61053 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61055 2010-12-03 Ulrich Drepper <drepper@gmail.com>
61057 * po/it.po: Update from translation team.
61059 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
61061 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61064 2010-11-30 Ulrich Drepper <drepper@gmail.com>
61066 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61068 2010-11-24 Andreas Schwab <schwab@redhat.com>
61070 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61072 (gaih_getanswer_slice): Likewise.
61074 2010-10-20 Jakub Jelinek <jakub@redhat.com>
61076 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61078 2010-05-31 Petr Baudis <pasky@suse.cz>
61081 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61082 silently even in the chroot mode.
61084 2010-11-22 Ulrich Drepper <drepper@gmail.com>
61086 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61087 last patch a bit. Pretty printing
61089 2010-05-31 Petr Baudis <pasky@suse.cz>
61092 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61093 initialization of skip_initgroups_dyn.
61095 2010-11-19 Ulrich Drepper <drepper@gmail.com>
61097 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61098 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61100 2010-11-16 Ulrich Drepper <drepper@gmail.com>
61102 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61104 2010-11-11 Andreas Schwab <schwab@redhat.com>
61106 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61107 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61108 (tst-fnmatch-ENV): Set MALLOC_TRACE.
61109 ($(objpfx)tst-fnmatch-mem): New rule.
61110 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61111 * posix/tst-fnmatch.c (main): Call mtrace.
61113 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
61115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61116 Support Intel processor model 6 and model 0x2c.
61118 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
61120 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61123 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
61126 * string/test-strncasecmp.c (check_result): New function.
61127 (do_one_test): Use it.
61128 (check1): New function.
61129 (test_main): Use it.
61130 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61131 Support strcasecmp and strncasecmp.
61133 2010-11-08 Ulrich Drepper <drepper@gmail.com>
61136 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61137 * sysdeps/x86_64/bits/byteswap.h: Likewise.
61139 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
61141 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61145 * sysdeps/x86_64/multiarch/bzero.S: New file.
61146 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61147 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61148 * sysdeps/x86_64/multiarch/memset.S: New file.
61149 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61151 Set bit_Prefer_SSE_for_memop for Intel processors.
61152 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61154 (index_Prefer_SSE_for_memop): Define.
61155 (HAS_PREFER_SSE_FOR_MEMOP): Define.
61157 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
61159 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61160 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61162 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
61165 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61166 (__x86_64_raw_data_cache_size_half): Likewise.
61167 (__x86_64_raw_shared_cache_size): Likewise.
61168 (__x86_64_raw_shared_cache_size_half): Likewise.
61170 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61171 (__x86_64_raw_data_cache_size_half): Likewise.
61172 (__x86_64_raw_shared_cache_size): Likewise.
61173 (__x86_64_raw_shared_cache_size_half): Likewise.
61174 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61175 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61176 and __x86_64_raw_shared_cache_size_half. Round
61177 __x86_64_data_cache_size_half, __x86_64_data_cache_size
61178 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61179 to multiple of 256 bytes.
61181 2010-11-03 Ulrich Drepper <drepper@gmail.com>
61184 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61185 of inacessible symlinks. Verify result of symlink before returning it.
61186 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61187 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61189 2010-10-28 Erich Ritz <erichritz@gmail.com>
61191 * math/math.h (isinf): Fix typo in comment.
61193 2010-11-01 Ulrich Drepper <drepper@gmail.com>
61195 * po/da.po: Update from translation team.
61197 2010-10-26 Ulrich Drepper <drepper@gmail.com>
61199 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61200 is added to the list.
61202 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61203 Ulrich Drepper <drepper@gmail.com>
61205 * elf/dl-object.c (_dl_new_object): Don't append the new object to
61206 the global list here. Move code to...
61207 (_dl_add_to_namespace_list): ...here. New function.
61208 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61209 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61210 * elf/dl-load.c (lose): Don't remove the element from the list.
61211 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61212 (_dl_map_object): Likewise.
61214 2010-10-25 Ulrich Drepper <drepper@gmail.com>
61217 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61218 into all bytes of SSE register.
61219 Patch by Richard Li <richardpku@gmail.com>.
61221 2010-10-24 Ulrich Drepper <drepper@gmail.com>
61224 * malloc/malloc.c (_int_free): Fill correct number of bytes when
61227 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
61229 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61230 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61231 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61232 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61237 2010-10-22 Andreas Schwab <schwab@redhat.com>
61239 * include/dlfcn.h (__RTLD_SECURE): Define.
61240 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
61241 mode & __RTLD_SECURE instead.
61242 (open_path): Rename preloaded parameter to secure.
61243 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61244 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61245 * elf/dl-deps.c (openaux): Likewise.
61246 * elf/rtld.c (struct map_args): Remove is_preloaded.
61247 (map_doit): Don't use it.
61248 (dl_main): Likewise.
61249 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61250 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61252 2010-09-09 Andreas Schwab <schwab@redhat.com>
61254 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61255 (sysd-rules-targets): Remove duplicates.
61256 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61257 rtld-%.$o dependency.
61259 2010-10-18 Andreas Schwab <schwab@redhat.com>
61261 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61262 _dl_map_object do it.
61264 2010-10-19 Ulrich Drepper <drepper@gmail.com>
61266 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61267 fast fma builtins, define the macros in the C99 standard.
61268 (FP_FAST_FMAF): Likewise.
61269 (FP_FAST_FMAL): Likewise.
61270 * sysdeps/x86_64/bits/mathdef.h: Likewise.
61272 * bits/mathdef.h: Update copyright year.
61273 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61275 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
61277 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61278 builtins, define the macros in the C99 standard.
61279 (FP_FAST_FMAF): Likewise.
61280 (FP_FAST_FMAL): Likewise.
61281 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61283 (FP_FAST_FMAF): Likewise.
61285 2010-10-15 Jakub Jelinek <jakub@redhat.com>
61288 * math/libm-test.inc (fma_test): Some new testcases.
61289 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61290 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61291 y and infinite z. Do multiplication by C already in long double.
61292 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61293 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61294 y and infinite z. Do bitwise or of inexact bit into u.d.
61295 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61296 * sysdeps/i386/fpu/s_fmaf.S: Removed.
61297 * sysdeps/i386/fpu/s_fma.S: Removed.
61298 * sysdeps/i386/fpu/s_fmal.S: Removed.
61300 2010-10-16 Jakub Jelinek <jakub@redhat.com>
61303 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61304 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61305 computation is not scheduled after fetestexcept. Fix value
61306 of minimum denormal long double.
61308 2010-10-14 Jakub Jelinek <jakub@redhat.com>
61311 * math/libm-test.inc (fma_test): Add some more tests.
61312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61315 2010-10-15 Andreas Schwab <schwab@redhat.com>
61317 * scripts/data/localplt-s390-linux-gnu.data: New file.
61318 * scripts/data/localplt-s390x-linux-gnu.data: New file.
61320 2010-10-13 Jakub Jelinek <jakub@redhat.com>
61323 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61324 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61326 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61328 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61329 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61330 if one of x and y is very large and the other is subnormal.
61331 * sysdeps/s390/fpu/s_fmaf.c: New file.
61332 * sysdeps/s390/fpu/s_fma.c: New file.
61333 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61334 * sysdeps/powerpc/fpu/s_fma.S: New file.
61335 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61336 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61337 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61339 2010-10-12 Jakub Jelinek <jakub@redhat.com>
61342 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61344 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61345 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61346 * sysdeps/i386/i686/multiarch/s_fma.c: Include
61347 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61348 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61349 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61350 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61352 2010-10-12 Ulrich Drepper <drepper@redhat.com>
61355 * posix/regcomp.c (parse_branch): One more memory leak plugged.
61356 * posix/bug-regex31.input: Add test case.
61358 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61360 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61361 * posix/bug-regex31.input: New file.
61364 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61365 (parse_sub_exp): Fix last change, use postorder.
61367 * posix/bug-regex31.c: New file.
61368 * posix/Makefile: Add rules to build and run bug-regex31.
61370 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61373 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61376 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61377 to have entries in sys_siglist.
61380 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61383 2010-10-07 Jakub Jelinek <jakub@redhat.com>
61386 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61387 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61388 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61389 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61390 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61391 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61392 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61393 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61394 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61395 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61396 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61397 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61398 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61399 * math/ftestexcept.c (fetestexcept): Likewise.
61400 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61401 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61402 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61403 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61404 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61405 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61406 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61408 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61411 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61414 2010-10-06 Ulrich Drepper <drepper@gmail.com>
61416 * string/bug-strstr1.c: New file.
61417 * string/Makefile: Add rules to build and run bug-strstr1.
61419 2010-10-05 Eric Blake <eblake@redhat.com>
61422 * string/str-two-way.h (two_way_long_needle): Always clear memory
61423 when skipping input due to the shift table.
61425 2010-10-03 Ulrich Drepper <drepper@gmail.com>
61428 * malloc/mcheck.c: Handle large requests.
61431 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61432 for strncmp and strncasecmp.
61433 * string/stratcliff.c: Add tests for strcmp and strncmp.
61434 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61436 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61438 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61441 2010-09-30 Andreas Jaeger <aj@suse.de>
61443 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61444 (CGROUP_SUPER_MAGIC): Define.
61445 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61446 Handle btrfs and cgroup file systems.
61447 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61450 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
61452 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61453 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61455 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61458 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61459 trying to locate the ELF header.
61461 2010-09-27 Andreas Schwab <schwab@redhat.com>
61464 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61465 Mask out sign-bit copies when constructing f_fsid.
61467 2010-09-24 Petr Baudis <pasky@suse.cz>
61469 * debug/stack_chk_fail_local.c: Add missing licence exception.
61470 * debug/warning-nop.c: Likewise.
61472 2010-09-15 Joseph Myers <joseph@codesourcery.com>
61474 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61475 implementing getdents64 using getdents syscall, set d_type if
61476 __ASSUME_GETDENTS32_D_TYPE.
61478 2010-09-16 Andreas Schwab <schwab@redhat.com>
61480 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61481 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61483 2010-09-21 Ulrich Drepper <drepper@redhat.com>
61486 * posix/unistd.h: Undo change of feature selection for ftruncate from
61489 2010-09-20 Ulrich Drepper <drepper@redhat.com>
61491 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61494 2010-09-20 Andreas Schwab <schwab@redhat.com>
61496 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61498 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61500 2010-09-14 Andreas Schwab <schwab@redhat.com>
61502 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61503 variables after CHECK_SP call.
61504 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61506 2010-09-13 Andreas Schwab <schwab@redhat.com>
61507 Ulrich Drepper <drepper@redhat.com>
61509 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61510 re-relocationg ld.so.
61511 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61512 _dl_init_paths call.
61513 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
61516 2010-09-14 Ulrich Drepper <drepper@redhat.com>
61518 * resolv/res_init.c (__res_vinit): Count the default server we added.
61520 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
61521 Ulrich Drepper <drepper@redhat.com>
61524 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61525 (____longjmp_chk): Use %ebx for saving value across system call.
61528 2010-09-06 Andreas Schwab <schwab@redhat.com>
61530 * manual/Makefile: Don't mix pattern rules with normal rules.
61532 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
61534 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61536 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61537 * libio/iofopncook.c (_IO_cookie_init): Likewise.
61538 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61539 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61540 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61543 2010-09-04 Ulrich Drepper <drepper@redhat.com>
61546 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61547 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61549 2010-09-02 Ulrich Drepper <drepper@redhat.com>
61551 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61552 * sysdeps/x86_64/addmul_1.S: Likewise.
61553 * sysdeps/x86_64/lshift.S: Likewise.
61554 * sysdeps/x86_64/mul_1.S: Likewise.
61555 * sysdeps/x86_64/rshift.S: Likewise.
61556 * sysdeps/x86_64/sub_n.S: Likewise.
61557 * sysdeps/x86_64/submul_1.S: Likewise.
61559 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
61561 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61562 Define __sched_param instead of SCHED_* and sched_param when
61563 <bits/sched.h> is included with __need_schedparam defined.
61564 * bits/sched.h [__need_schedparam]
61565 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61566 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61567 (__defined_schedparam): Define to 1.
61568 (__sched_param): New structure, identical to sched_param.
61569 (__need_schedparam): Undefine.
61571 2010-08-31 Mike Frysinger <vapier@gentoo.org>
61573 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61574 (epoll_create1): Declare.
61576 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61578 2010-08-31 Andreas Schwab <schwab@redhat.com>
61581 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61582 shifting retval into place.
61584 2010-09-01 Ulrich Drepper <drepper@redhat.com>
61586 * nis/rpcsvc/nis.h: Update copyright notice.
61587 * nis/rpcsvc/nis.x: Likewise.
61588 * nis/rpcsvc/nis_callback.h: Likewise.
61589 * nis/rpcsvc/nis_callback.x: Likewise.
61590 * nis/rpcsvc/nis_object.x: Likewise.
61591 * nis/rpcsvc/nis_tags.h: Likewise.
61592 * nis/rpcsvc/yp.h: Likewise.
61593 * nis/rpcsvc/yp.x: Likewise.
61594 * nis/rpcsvc/ypupd.h: Likewise.
61595 * nis/yp_xdr.c: Likewise.
61596 * nis/ypupdate_xdr.c: Likewise.
61598 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
61599 mainly the body of pmap_getport. Add parameters to specify timeouts.
61600 (pmap_getport): Use __libc_rpc_getport.
61601 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61602 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61603 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61605 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
61607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61610 2010-08-27 Roland McGrath <roland@redhat.com>
61612 * sysdeps/i386/i686/multiarch/Makefile
61613 (CFLAGS-varshift.c): New variable.
61615 2010-08-27 Ulrich Drepper <drepper@redhat.com>
61617 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61618 * sysdeps/i386/i686/multiarch/varshift.c: New file.
61620 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61622 * sysdeps/x86_64/strlen.S: Minimal code improvement.
61624 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
61626 * sysdeps/x86_64/strlen.S: Unroll the loop.
61627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61628 strlen-sse2 strlen-sse2-bsf.
61629 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61630 __strlen_no_bsf if bit_Slow_BSF is set.
61631 (__strlen_sse42): Removed.
61632 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61633 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61635 2010-08-25 Roland McGrath <roland@redhat.com>
61637 * sysdeps/x86_64/multiarch/varshift.S: File removed.
61638 * sysdeps/x86_64/multiarch/varshift.c: New file.
61639 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61640 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61641 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61642 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61644 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
61646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61647 strlen-sse2 strlen-sse2-bsf.
61648 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61649 __strlen_sse2_bsf if bit_Slow_BSF is unset.
61650 (__strlen_sse2): Removed.
61651 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61652 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61654 bit_Slow_BSF for Atom.
61655 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61656 (index_Slow_BSF): Define.
61657 (HAS_SLOW_BSF): Define.
61659 2010-08-25 Ulrich Drepper <drepper@redhat.com>
61662 * resolv/res_init.c (__res_vinit): When no server address at all
61663 is given default to loopback.
61665 2010-08-24 Roland McGrath <roland@redhat.com>
61667 * configure.in: Remove config-name.h generation.
61668 * configure: Regenerated.
61669 * config-name.in: File removed.
61670 * scripts/config-uname.sh: New file.
61671 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61672 ($(objdir)config-name.h): New target.
61674 * sunrpc/rpc_parse.h: Avoid nested comment.
61676 2010-08-24 Richard Henderson <rth@redhat.com>
61677 Ulrich Drepper <drepper@redhat.com>
61678 H.J. Lu <hongjiu.lu@intel.com>
61680 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61681 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61682 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61683 Replace _mm_srli_si128 with __m128i_shift_right. Replace
61684 _mm_alignr_epi8 with _mm_loadu_si128.
61685 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61686 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61687 (__m128i_shift_right): Removed.
61688 * sysdeps/i386/i686/multiarch/varshift.h: New file.
61689 * sysdeps/i386/i686/multiarch/varshift.S: New file.
61690 * sysdeps/x86_64/multiarch/varshift.h: New file.
61691 * sysdeps/x86_64/multiarch/varshift.S: New file.
61693 2010-08-21 Mike Frysinger <vapier@gentoo.org>
61695 * configure.in: Move assembler checks to before sysdep dir checking.
61697 2010-08-20 Petr Baudis <pasky@suse.cz>
61699 * LICENSES: Sync the sunrpc license.
61701 2010-08-19 Ulrich Drepper <drepper@redhat.com>
61703 * sunrpc/auth_des.c: Update copyright notice once again.
61704 * sunrpc/auth_none.c: Likewise.
61705 * sunrpc/auth_unix.c: Likewise.
61706 * sunrpc/authdes_prot.c: Likewise.
61707 * sunrpc/authuxprot.c: Likewise.
61708 * sunrpc/bindrsvprt.c: Likewise.
61709 * sunrpc/clnt_gen.c: Likewise.
61710 * sunrpc/clnt_perr.c: Likewise.
61711 * sunrpc/clnt_raw.c: Likewise.
61712 * sunrpc/clnt_simp.c: Likewise.
61713 * sunrpc/clnt_tcp.c: Likewise.
61714 * sunrpc/clnt_udp.c: Likewise.
61715 * sunrpc/clnt_unix.c: Likewise.
61716 * sunrpc/des_crypt.c: Likewise.
61717 * sunrpc/des_soft.c: Likewise.
61718 * sunrpc/get_myaddr.c: Likewise.
61719 * sunrpc/getrpcport.c: Likewise.
61720 * sunrpc/key_call.c: Likewise.
61721 * sunrpc/key_prot.c: Likewise.
61722 * sunrpc/openchild.c: Likewise.
61723 * sunrpc/pm_getmaps.c: Likewise.
61724 * sunrpc/pm_getport.c: Likewise.
61725 * sunrpc/pmap_clnt.c: Likewise.
61726 * sunrpc/pmap_prot.c: Likewise.
61727 * sunrpc/pmap_prot2.c: Likewise.
61728 * sunrpc/pmap_rmt.c: Likewise.
61729 * sunrpc/rpc/auth.h: Likewise.
61730 * sunrpc/rpc/auth_unix.h: Likewise.
61731 * sunrpc/rpc/clnt.h: Likewise.
61732 * sunrpc/rpc/des_crypt.h: Likewise.
61733 * sunrpc/rpc/key_prot.h: Likewise.
61734 * sunrpc/rpc/netdb.h: Likewise.
61735 * sunrpc/rpc/pmap_clnt.h: Likewise.
61736 * sunrpc/rpc/pmap_prot.h: Likewise.
61737 * sunrpc/rpc/pmap_rmt.h: Likewise.
61738 * sunrpc/rpc/rpc.h: Likewise.
61739 * sunrpc/rpc/rpc_des.h: Likewise.
61740 * sunrpc/rpc/rpc_msg.h: Likewise.
61741 * sunrpc/rpc/svc.h: Likewise.
61742 * sunrpc/rpc/svc_auth.h: Likewise.
61743 * sunrpc/rpc/types.h: Likewise.
61744 * sunrpc/rpc/xdr.h: Likewise.
61745 * sunrpc/rpc_clntout.c: Likewise.
61746 * sunrpc/rpc_cmsg.c: Likewise.
61747 * sunrpc/rpc_common.c: Likewise.
61748 * sunrpc/rpc_cout.c: Likewise.
61749 * sunrpc/rpc_dtable.c: Likewise.
61750 * sunrpc/rpc_hout.c: Likewise.
61751 * sunrpc/rpc_main.c: Likewise.
61752 * sunrpc/rpc_parse.c: Likewise.
61753 * sunrpc/rpc_parse.h: Likewise.
61754 * sunrpc/rpc_prot.c: Likewise.
61755 * sunrpc/rpc_sample.c: Likewise.
61756 * sunrpc/rpc_scan.c: Likewise.
61757 * sunrpc/rpc_scan.h: Likewise.
61758 * sunrpc/rpc_svcout.c: Likewise.
61759 * sunrpc/rpc_tblout.c: Likewise.
61760 * sunrpc/rpc_util.c: Likewise.
61761 * sunrpc/rpc_util.h: Likewise.
61762 * sunrpc/rpcinfo.c: Likewise.
61763 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61764 * sunrpc/rpcsvc/key_prot.x: Likewise.
61765 * sunrpc/rpcsvc/klm_prot.x: Likewise.
61766 * sunrpc/rpcsvc/mount.x: Likewise.
61767 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61768 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61769 * sunrpc/rpcsvc/rex.x: Likewise.
61770 * sunrpc/rpcsvc/rstat.x: Likewise.
61771 * sunrpc/rpcsvc/rusers.x: Likewise.
61772 * sunrpc/rpcsvc/sm_inter.x: Likewise.
61773 * sunrpc/rpcsvc/spray.x: Likewise.
61774 * sunrpc/rpcsvc/yppasswd.x: Likewise.
61775 * sunrpc/rtime.c: Likewise.
61776 * sunrpc/svc.c: Likewise.
61777 * sunrpc/svc_auth.c: Likewise.
61778 * sunrpc/svc_authux.c: Likewise.
61779 * sunrpc/svc_raw.c: Likewise.
61780 * sunrpc/svc_run.c: Likewise.
61781 * sunrpc/svc_simple.c: Likewise.
61782 * sunrpc/svc_tcp.c: Likewise.
61783 * sunrpc/svc_udp.c: Likewise.
61784 * sunrpc/svc_unix.c: Likewise.
61785 * sunrpc/svcauth_des.c: Likewise.
61786 * sunrpc/xcrypt.c: Likewise.
61787 * sunrpc/xdr.c: Likewise.
61788 * sunrpc/xdr_array.c: Likewise.
61789 * sunrpc/xdr_float.c: Likewise.
61790 * sunrpc/xdr_mem.c: Likewise.
61791 * sunrpc/xdr_rec.c: Likewise.
61792 * sunrpc/xdr_ref.c: Likewise.
61793 * sunrpc/xdr_sizeof.c: Likewise.
61794 * sunrpc/xdr_stdio.c: Likewise.
61796 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61799 2010-08-19 Andreas Schwab <schwab@redhat.com>
61801 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61803 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
61805 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61806 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61807 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61808 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61809 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61810 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61811 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61812 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61813 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61814 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61815 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61816 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61817 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61818 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61820 2010-07-26 Anton Blanchard <anton@samba.org>
61822 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61823 * malloc/arena.c (heap_trim): Likewise.
61825 2010-08-16 Ulrich Drepper <drepper@redhat.com>
61827 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61829 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61830 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61832 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
61834 * sysdeps/i386/elf/Makefile: New file.
61836 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61838 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61839 from fanotify_init.
61840 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61841 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61843 2010-08-15 Ulrich Drepper <drepper@redhat.com>
61845 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61847 * sysdeps/multiarch/strcmp.S: Likewise.
61849 2010-08-14 Ulrich Drepper <drepper@redhat.com>
61851 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61852 strncase_l-nonascii.
61853 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61854 Add strncase_l-ssse3.
61855 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61856 * sysdeps/x86_64/strcmp.S: Likewise.
61857 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61858 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61859 * sysdeps/x86_64/strncase.S: New file.
61860 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61861 * sysdeps/x86_64/strncase_l.S: New file.
61862 * string/Makefile (strop-tests): Add strncasecmp.
61863 * string/test-strncasecmp.c: New file.
61865 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61868 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61869 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61871 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61873 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61875 2010-08-12 Ulrich Drepper <drepper@redhat.com>
61877 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61878 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61879 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61881 2010-05-01 Alan Modra <amodra@gmail.com>
61883 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61884 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61885 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61886 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61887 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61888 tidying. Don't tail-call __sigjmp_save for static lib.
61889 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61891 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61892 (CALL_MCOUNT): Add eh info, and nop after bl.
61893 (TAIL_CALL_SYSCALL_ERROR): New macro.
61894 (PSEUDO_RET): Use it.
61895 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61896 Correct save location of integer regs and cr.
61897 (_dl_profile_resolve): Correct cr save location. Delete nops
61898 after bl when SHARED. Reduce cfi size a little by better
61899 placement of cfi directives.
61900 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61901 make a stack frame. Instead use parm save area as a temp.
61902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61903 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
61904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61905 Don't make a stack frame for parent, use parm save area.
61906 Increase child stack frame to 112 bytes. Don't save unused reg,
61907 and adjust reg usage. Set up cfi on error recovery and
61908 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61910 (__makecontext): Add dummy nop after jump to exit.
61911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61912 Use correct parm save area and cr save, reduce stack frame.
61913 Correct cfi for possible PSEUDO_RET frame setup.
61914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61915 Branch to local label emitted by PSEUDO_RET rather than
61918 2010-08-12 Andreas Schwab <schwab@redhat.com>
61921 * locale/programs/locale.c (print_assignment): New function.
61922 (show_locale_vars): Use it.
61924 2010-08-11 Ulrich Drepper <drepper@redhat.com>
61926 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61928 (struct statfs64): Likewise.
61929 (_STATFS_F_FLAGS): Define.
61930 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61931 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61932 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61933 (ST_VALID): Define locally.
61934 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61935 __statvfs_getflags, use the provided value.
61936 * sysdeps/unix/sysv/linux/kernel-features.h: Define
61937 __ASSUME_STATFS_F_FLAGS.
61939 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61941 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61942 Add sys/fanotify.h.
61943 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61944 fanotify_mask for GLIBC_2.13.
61945 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61946 fanotify_init and fanotify_mark.
61947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61948 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61950 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61952 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61953 prlimit64 for GLIBC_2.13.
61954 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61956 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61959 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61960 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61961 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61962 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
61964 * sysdeps/unix/sysv/linux/prlimit.c: New file.
61967 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61968 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61970 * nss/Makefile: Add rules to build and run tst-nss-test1.
61971 * shlib-versions: Add entry for libnss_test1.
61972 * nss/nss_test1.c: New file.
61973 * nss/tst-nss-test1.c: New file.
61975 * nss/nsswitch.c (__nss_database_custom): Define new variable.
61976 (__nss_configure_lookup): Set appropriate entry in
61977 __nss_configure_lookup to true.
61978 * nss/nsswitch.h: Define enum with indeces of databases in
61979 databases and __nss_database_custom arrays. Declare
61980 __nss_database_custom.
61981 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61982 to avoid using nscd when custom rules are installed.
61983 * nss/getXXbyYY_r.c: Likewise.
61984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61986 * nss/nss_files/files-parse.c: Whitespace fixes.
61988 2010-08-09 Ulrich Drepper <drepper@redhat.com>
61991 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61992 * posix/fnmatch_loop.c: Likewise.
61994 2010-07-17 Andi Kleen <ak@linux.intel.com>
61996 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61997 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61998 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61999 * Versions.def [GLIBC_2.13]: Add.
62001 2010-08-06 Ulrich Drepper <drepper@redhat.com>
62003 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62004 Also fail if tpwd after pwuid call is NULL.
62006 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
62008 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62009 when converting to ms.
62011 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62013 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62014 EOPNOTSUPP errors with ENOTTY.
62015 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62016 EOPNOTSUPP errors with ENOTTY.
62018 2010-07-31 Ulrich Drepper <drepper@redhat.com>
62020 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62021 Add strcasecmp_l-ssse3.
62022 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62024 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62025 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62026 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62028 2010-07-30 Ulrich Drepper <drepper@redhat.com>
62030 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62032 * string/Makefile (strop-tests): Add strcasecmp.
62033 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62034 strcasecmp_l-nonascii.
62035 (gen-as-const-headers): Add locale-defines.sym.
62036 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62037 * sysdeps/x86_64/strcasecmp.S: New file.
62038 * sysdeps/x86_64/strcasecmp_l.S: New file.
62039 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62040 * sysdeps/x86_64/locale-defines.sym: New file.
62041 * string/test-strcasecmp.c: New file.
62043 * string/test-strcasestr.c: Test both ends of the range of characters.
62044 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62046 2010-07-29 Roland McGrath <roland@redhat.com>
62049 * manual/locale.texi (Yes-or-No Questions): Fix example code.
62051 2010-07-27 Ulrich Drepper <drepper@redhat.com>
62053 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62056 2010-07-27 Andreas Schwab <schwab@redhat.com>
62058 * manual/memory.texi (Malloc Tunable Parameters): Document
62061 2010-07-26 Roland McGrath <roland@redhat.com>
62064 * configure.in (-fgnu89-inline check): Set and substitute
62065 gnu89_inline, not libc_cv_gnu89_inline.
62066 * configure: Regenerated.
62067 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62069 2010-07-26 Ulrich Drepper <drepper@redhat.com>
62071 * string/test-strnlen.c: New file.
62072 * string/Makefile (strop-tests): Add strnlen.
62073 * string/tester.c (test_strnlen): Add a few more test cases.
62074 * string/tst-strlen.c: Better error reporting.
62076 * sysdeps/x86_64/strnlen.S: New file.
62078 2010-07-24 Ulrich Drepper <drepper@redhat.com>
62080 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62081 lower-latency instructions.
62083 2010-07-23 Ulrich Drepper <drepper@redhat.com>
62085 * string/test-strcasestr.c: New file.
62086 * string/test-strstr.c: New file.
62087 * string/Makefile (strop-tests): Add strstr and strcasestr.
62088 * string/str-two-way.h: Don't undefine MAX.
62089 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62091 2010-07-21 Andreas Schwab <schwab@redhat.com>
62093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62094 strcasestr-nonascii.
62095 (CFLAGS-strcasestr-nonascii.c): Define.
62096 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62097 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62098 Remove unused attribute.
62100 2010-07-20 Roland McGrath <roland@redhat.com>
62102 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62103 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
62104 ld.so.cache was broken. With it, there is no way to disable dsocaps
62105 like LD_HWCAP_MASK can disable hwcaps.
62107 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62109 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62111 2010-07-16 Ulrich Drepper <drepper@redhat.com>
62113 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62114 call in strcasestr.
62115 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62116 __strcasestr_sse42_nonascii.
62117 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62118 strcasestr-nonascii.c.
62119 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62121 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
62123 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62124 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62125 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62126 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62128 2010-07-09 Ulrich Drepper <drepper@redhat.com>
62130 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62133 2010-07-06 Andreas Schwab <schwab@redhat.com>
62136 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62139 2010-07-06 Ulrich Drepper <drepper@redhat.com>
62141 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62142 _PC_PIPE_BUF using F_GETPIPE_SZ.
62144 2010-07-05 Roland McGrath <roland@redhat.com>
62146 * manual/arith.texi (Rounding Functions): Fix rint description
62147 implicit in round description.
62149 2010-07-02 Ulrich Drepper <drepper@redhat.com>
62151 * elf/Makefile: Fix linking for a few tests to make recent linker
62154 2010-06-30 Andreas Schwab <schwab@redhat.com>
62156 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62157 $(common-objpfx)libc_nonshared.a.
62159 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
62161 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62162 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62163 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62164 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62165 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62166 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62167 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62168 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62183 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62184 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62185 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62186 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62187 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62188 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62189 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62190 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62191 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62192 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62193 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62194 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62210 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
62212 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62213 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
62214 * string/memmove.c (memmove): Renamed to ...
62215 (MEMMOVE): ...this. Default to memmove.
62216 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62217 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62220 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62221 mempcpy-ssse3-back memmove-ssse3-back.
62222 * sysdeps/x86_64/multiarch/bcopy.S: New file .
62223 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62224 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62225 * sysdeps/x86_64/multiarch/memcpy.S: New file.
62226 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62227 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62228 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62229 * sysdeps/x86_64/multiarch/memmove.c: New file.
62230 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62231 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62232 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62233 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62234 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62235 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62237 (index_Fast_Copy_Backward): Define.
62238 (HAS_ARCH_FEATURE): Define.
62239 (HAS_FAST_REP_STRING): Define.
62240 (HAS_FAST_COPY_BACKWARD): Define.
62242 2010-06-21 Andreas Schwab <schwab@redhat.com>
62244 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62245 Restore proper fallback handling.
62247 2010-06-19 Ulrich Drepper <drepper@redhat.com>
62250 * posix/group_member.c (__group_member): Correct checking loop.
62252 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62253 OOM in getpwuid_r correctly. Return error number when the caller
62254 should return, otherwise -1.
62255 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62256 call returning > 0 value.
62257 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62259 2010-06-07 Andreas Schwab <schwab@redhat.com>
62261 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62262 libc_nonshared.a from targets in modules-names.
62264 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
62266 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62269 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
62271 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62272 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62273 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62274 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62276 2010-06-02 Andreas Schwab <schwab@redhat.com>
62278 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62280 2010-06-14 Ulrich Drepper <drepper@redhat.com>
62282 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62284 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62285 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62286 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62288 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62289 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62291 2010-06-14 Roland McGrath <roland@redhat.com>
62293 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62295 2010-06-07 Jakub Jelinek <jakub@redhat.com>
62297 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62298 __REDIRECT followed by __THROW.
62299 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62300 * posix/getopt.h (getopt): Likewise.
62302 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62304 * hurd/lookup-at.c (__file_name_lookup_at): Accept
62305 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
62306 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62308 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62309 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62311 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
62313 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62315 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
62318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62319 Properly check family and model.
62321 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
62323 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62325 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
62327 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62329 2010-05-21 Ulrich Drepper <drepper@redhat.com>
62331 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62334 2010-05-19 Andreas Schwab <schwab@redhat.com>
62336 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62339 2010-05-21 Andreas Schwab <schwab@redhat.com>
62341 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62342 and internal_recvmmsg.
62343 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62344 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62345 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62346 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62348 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62349 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62350 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62352 2010-05-20 Andreas Schwab <schwab@redhat.com>
62354 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62356 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
62358 POWER7 optimizations.
62359 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62360 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62362 2010-05-19 Ulrich Drepper <drepper@redhat.com>
62364 * version.h: Update for 2.13 development version.
62366 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
62368 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62369 exceptions. Return 0.
62371 2010-05-07 Roland McGrath <roland@redhat.com>
62373 * elf/ldconfig.c (main): Add a const.
62375 2010-05-06 Ulrich Drepper <drepper@redhat.com>
62377 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62378 (args_options): Add no-idn option.
62379 (ahosts_keys_int): Add idn_flags to ai_flags.
62380 (parse_option): Handle 'i' option to clear idn_flags.
62382 * malloc/malloc.c (_int_free): Possible race in the most recently
62383 added check. Only act on the data if no current modification
62386 See ChangeLog.17 for earlier changes.