1 2015-07-15 Pravin Satpute <psatpute@redhat.com>
4 * locale/iso-639.def: Update Bhili and Tulu language codes as
7 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
9 * elf/tst-leaks1.c (main): Converted to ...
11 (TEST_FUNCTION): New macro.
12 Include test-skeleton.c.
13 * localedata/tst-langinfo.c (main): Converted to ...
15 (TEST_FUNCTION): New macro.
16 Include test-skeleton.c.
17 * math/test-fpucw.c (main): Converted to ...
19 (TEST_FUNCTION): New macro.
20 Include test-skeleton.c.
21 * math/test-tgmath.c (main): Converted to ...
23 (TEST_FUNCTION): New macro.
24 Include test-skeleton.c.
25 * math/test-tgmath2.c (main): Converted to ...
27 (TEST_FUNCTION): New macro.
28 Include test-skeleton.c.
29 * setjmp/tst-setjmp.c (main): Converted to ...
31 (TEST_FUNCTION): New macro.
32 Include test-skeleton.c.
33 * stdio-common/tst-sscanf.c (main): Converted to ...
35 (TEST_FUNCTION): New macro.
36 Include test-skeleton.c.
37 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
39 (TEST_FUNCTION): New macro.
40 Include test-skeleton.c.
42 * elf/tst-audit9.c (main): Converted to ...
44 (TEST_FUNCTION): New macro.
45 Include test-skeleton.c.
47 2015-07-15 Mike Frysinger <vapier@gentoo.org>
49 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
51 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
53 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
56 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
58 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
60 2015-07-14 Roland McGrath <roland@hack.frob.com>
62 * sysdeps/generic/dl-fileid.h: New file.
63 * sysdeps/posix/dl-fileid.h: New file.
64 * sysdeps/nacl/dl-fileid.h: New file.
65 * include/link.h: Include <dl-fileid.h>.
66 (struct link_map): Replace l_dev and l_ino with l_file_id.
67 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
68 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
69 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
71 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
73 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
75 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
77 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
79 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
81 (tst-nodelete-zmodiff): Likewise.
82 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
84 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
86 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
88 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
90 * sysdeps/aarch64/fpu/math_private.h
91 (define math_opt_barrier): Add AArch64 version.
92 (math_force_eval): Likewise.
94 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
96 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
98 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
100 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
101 %ld with %jd and cast to intmax_t.
102 (do_test_length_zero): Likewise.
104 2015-07-10 Roland McGrath <roland@hack.frob.com>
106 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
108 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
110 * sysdeps/tile/libm-test-ulps: Regenerated.
112 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
113 Comment out the whole function, not just its body.
115 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
117 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
120 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
122 2015-07-10 Torvald Riegel <triegel@redhat.com>
124 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
125 (sem_assume_only_signals_cause_futex_EINTR): Remove.
127 2015-07-10 Torvald Riegel <triegel@redhat.com>
129 * sysdeps/nptl/futex-internal.h: New file.
130 * sysdeps/nacl/futex-internal.h: New file.
131 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
132 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
134 (setxid_unmark_thread): Likewise.
135 (__nptl_setxid): Likewise.
136 (__wait_lookup_done): Likewise.
137 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
138 * nptl/nptl-init.c (sighandler_setxid): Likewise.
139 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
140 * nptl/pthread_once.c (clear_once_control): Likewise.
141 (__pthread_once_slow): Likewise.
142 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
143 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
144 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
145 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
146 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
147 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
149 (__pthread_rwlock_rdlock): Likewise.
150 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
152 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
154 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
156 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
157 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
159 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
160 __ASSUME_PRIVATE_FUTEX check.
161 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
162 Check that shared futexes are supported.
163 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
164 wrappers with error checking.
165 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
166 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
167 * nptl/pthread_barrierattr_setpshared.c
168 (pthread_barrierattr_setpshared): Check that shared futexes are
170 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
172 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
174 * nptl/sem_init.c (futex_private_if_supported): Remove.
175 (__new_sem_init): Adapt and check that shared futexes are supported.
176 * nptl/sem_open.c (sem_open): Likewise.
177 * nptl/sem_post.c (futex_wake): Remove.
178 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
179 (do_futex_wait): Use futex wrappers with error checking.
180 * nptl/sem_wait.c: Include lowlevellock.h.
181 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
182 Use futex_supports_pshared.
183 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
184 Use futex wrappers with error checking.
185 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
187 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
188 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
189 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
190 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
191 (futex_wake): Likewise.
192 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
193 (do_futex_wait): Use futex wrappers with error checking.
194 (__new_sem_wait_slow): Update EINTR handling.
195 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
197 2015-07-09 Martin Sebor <msebor@redhat.com>
200 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
201 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
202 * nptl/Makefile (test-xfail-tst-once5): Define.
204 2015-07-09 Roland McGrath <roland@hack.frob.com>
206 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
207 * elf/dl-minimal.c: For readability, reorder some definitions and
208 introduce more page breaks. Include <stdio.h>.
209 (__libc_fatal): New function.
211 * include/unistd.h: Add rtld_hidden_proto for _exit.
212 * posix/_exit.c: Add rtld_hidden_def.
213 * sysdeps/mach/hurd/_exit.c: Likewise.
214 * sysdeps/nacl/_exit.c: Likewise.
215 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
216 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
218 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
221 bndmov encoding with zero displacement.
223 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
224 H.J. Lu <hongjiu.lu@intel.com>
227 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
228 * sysdeps/i386/configure: Regenerated.
229 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
230 (_dl_runtime_profile): Save and restore Intel MPX return bound
231 registers when calling _dl_call_pltexit. Add
232 PRESERVE_BND_REGS_PREFIX before return.
233 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
234 (LRV_BND1_OFFSET): Likewise.
235 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
237 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
238 typo in bndmov encoding.
239 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
240 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
241 branch instructions to preserve bounds.
243 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
246 [GLIBC_2.22]: Add fmemopen.
248 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
250 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
251 returns an error, also try to use host port from __mach_host_self for
253 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
255 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
259 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
260 Fix pr_uid and pr_gid members.
261 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
262 definition to elf_greg_t.
264 2015-07-08 Roland McGrath <roland@hack.frob.com>
267 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
268 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
269 * sysdeps/arm/configure: Regenerated.
270 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
271 (test-xfail-tst-tlsalign-static): Variable removed.
273 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
274 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
275 rather than explicit 'ln -s'.
277 * resolv/rpc/netdb.h: New file.
278 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
280 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
282 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
284 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
293 * include/stdio.h (fmemopen): Remove hidden prototype.
294 (__fmemopen): Add new hidden prototype.
295 * libio/Makefile: Add oldfmemopen object.
296 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
297 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
299 * libio/oldfmemopen.c: New file: old fmemopen implementation for
300 symbol compatibility.
301 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
302 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
304 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
305 on append and read mode.
306 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
308 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
309 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
310 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
311 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
313 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
314 [GLIBC_2.22]: Likewise.
315 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
317 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
319 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
320 [GLIBC_2.22]: Likewise.
321 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
322 [GLIBC_2.22]: Likewise.
323 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
324 [GLIBC_2.22]: Likewise.
325 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
326 [GLIBC_2.22]: Likewise.
327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
328 [GLIBC_2.22]: Likewise.
329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
330 [GLIBC_2.22]: Likewise.
331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
332 [GLIBC_2.22]: Likewise.
333 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
335 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
337 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
338 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
339 [GLIBC_2.22]: Likewise.
340 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
341 [GLIBC_2.22]: Likewise.
342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
343 [GLIBC_2.22]: Likewise.
344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
345 [GLIBC_2.22]: Likewise.
346 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
348 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
350 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
352 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
353 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
355 2015-07-08 Carlos O'Donell <carlos@redhat.com>
358 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
359 IPV6_PATHMTU, and IPV6_DONTFRAG.
361 2015-07-08 Feng Gao <gfree.wind@gmail.com>
363 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
365 * libio/oldfileops.c: Likewise.
366 * libio/wfileops.c: Likewise.
368 2015-07-08 Mike Frysinger <vapier@gentoo.org>
370 * nscd/selinux.c: Delete selinux/flask.h include.
372 2015-07-08 Mike Frysinger <vapier@gentoo.org>
375 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
376 (putpwent): Likewise.
377 (getpwnam): Likewise.
378 (getpwent_r): Likewise.
379 (getpwuid_r): Likewise.
380 (getpwnam_r): Likewise.
381 (fgetpwent_r): Likewise.
383 2015-07-08 Carlos O'Donell <carlos@redhat.com>
386 * inet/rcmd.c (__validuser2_sa): Check user first to
387 short-circuit host check.
389 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
390 Mikhail Ilin <m.ilin@samsung.com>
393 * elf/Makefile (tests): Add tst-nodelete.
394 (modules-names): Add tst-nodelete-uniquemod.
395 (tst-nodelete-uniquemod.so-no-z-defs): New.
396 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
397 (tst-nodelete-zmod.so-no-z-defs): Likewise.
398 ($(objpfx)tst-nodelete): Likewise.
399 ($(objpfx)tst-nodelete.out): Likewise.
400 (LDFLAGS-tst-nodelete): Likewise.
401 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
402 * elf/dl-close.c (_dl_close_worker): Add a parameter to
403 implement forced object deletion.
404 (_dl_close): Pass false to _dl_close_worker.
405 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
406 * elf/tst-nodelete.cc: New file.
407 * elf/tst-nodeletelib.cc: Likewise.
408 * elf/tst-znodeletelib.cc: Likewise.
409 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
411 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
414 * stdlib/Makefile ($(objpfx)tst-makecontext3):
416 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
417 is not called infinitely times.
418 (backtrace_helper): New function.
419 (trace_arg): New struct.
420 (st1): Enlarge stack size.
421 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
422 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
423 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
426 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
428 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
430 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
432 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
433 Include sys/types.h instead of bits/types.h.
434 Remove inclusion of bits/wordsize.h.
436 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
438 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
439 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
440 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
441 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
442 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
443 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
445 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
447 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
449 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
450 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
451 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
453 * sysdeps/i386/link-defines.sym: New file.
455 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
457 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
458 (modules-names): Add tst-auditmod3a tst-auditmod3b.
459 ($(objpfx)tst-audit3): New rule.
460 ($(objpfx)tst-audit3.out): Likewise.
461 * sysdeps/i386/tst-audit3.c: New file.
462 * sysdeps/i386/tst-audit3.h: Likewise.
463 * sysdeps/i386/tst-auditmod3a.c: Likewise.
464 * sysdeps/i386/tst-auditmod3b.c: Likewise.
466 2015-07-07 Torvald Riegel <triegel@redhat.com>
469 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
471 (__strcat_c): Likewise.
472 (__strcat_g): Likewise.
474 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
477 * misc/sbrk.c: Set errno to ENOMEM on overflow.
479 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
481 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
482 New function. (__ieee754_sqrtf): New function.
483 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
485 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
488 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
490 * sysdeps/ieee754/support.c: Remove unused file.
492 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
494 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
495 registers instead of d ones so the layout is kernel abi compatible.
496 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
497 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
500 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
502 * sysdeps/aarch64/libm-test-ulps: Regenerated.
504 2015-07-01 Joseph Myers <joseph@codesourcery.com>
507 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
508 and return argument in case of subnormal argument.
510 2015-07-01 Martin Sebor <msebor@redhat.com>
513 * nptl/Makefile: Add tst-once5.cc.
514 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
515 Remove macro redefinitions.
516 * nptl/tst-once5.cc: New test.
518 2015-07-01 Joseph Myers <joseph@codesourcery.com>
520 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
522 * sysdeps/arm/libm-test-ulps: Regenerated.
524 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
525 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
527 2015-06-30 Torvald Riegel <triegel@redhat.com>
529 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
530 lll_lock_wait_private and lll_futex_wake probes.
532 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
533 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
535 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
537 * sysdeps/x86_64/bits/atomic.h: Likewise.
538 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
539 to atomic_spin_nop and move ...
540 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
542 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
543 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
544 atomic_spin_nop instead of BUSY_WAIT_NOP.
545 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
547 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
548 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
549 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
550 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
551 instead of atomic_delay.
553 2015-06-29 Joseph Myers <joseph@codesourcery.com>
556 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
557 X_ADJ not X when adjusting exponent.
558 (__ieee754_gamma_r): Do intermediate computations in
559 round-to-nearest then adjust overflowing and underflowing results
561 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
562 of X_ADJ not X when adjusting exponent.
563 (__ieee754_gammaf_r): Do intermediate computations in
564 round-to-nearest then adjust overflowing and underflowing results
566 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
567 log of X_ADJ not X when adjusting exponent.
568 (__ieee754_gammal_r): Do intermediate computations in
569 round-to-nearest then adjust overflowing and underflowing results
570 as needed. Use 1.0L not 1.0f as numerator of division.
571 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
572 log of X_ADJ not X when adjusting exponent.
573 (__ieee754_gammal_r): Do intermediate computations in
574 round-to-nearest then adjust overflowing and underflowing results
575 as needed. Use 1.0L not 1.0f as numerator of division.
576 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
577 of X_ADJ not X when adjusting exponent.
578 (__ieee754_gammal_r): Do intermediate computations in
579 round-to-nearest then adjust overflowing and underflowing results
580 as needed. Use 1.0L not 1.0f as numerator of division.
581 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
582 to auto-libm-test-in.
583 (tgamma_test): Use ALL_RM_TEST.
584 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
585 tests of tgamma with spurious-overflow.
586 * math/auto-libm-test-out: Regenerated.
587 * math/gen-libm-have-vector-test.sh: Do not check for START.
588 * sysdeps/i386/fpu/libm-test-ulps: Update.
589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
592 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
593 arguments, just return 0.5 times the argument, with underflow
595 * math/auto-libm-test-in: Add more tests of j1.
596 * math/auto-libm-test-out: Regenerated.
599 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
600 (__ieee754_j1): Force underflow exception for small results.
601 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
602 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
603 (__ieee754_j1f): Force underflow exception for small results.
604 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
605 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
606 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
607 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
608 (__ieee754_j1l): Force underflow exception for small results.
609 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
610 * math/auto-libm-test-in: Add more tests of j1 and jn.
611 * math/auto-libm-test-out: Regenerated.
613 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
614 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
618 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
620 (MS_RMT_MASK): Include MS_LAZYTIME.
622 2015-06-26 Mel Gorman <mgorman@suse.de>
625 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
628 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
630 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
631 (DT_MIPS_NUM): Update.
632 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
635 2015-06-25 Joseph Myers <joseph@codesourcery.com>
639 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
640 round-to-nearest internally then recompute results that
641 underflowed to zero in the original rounding mode.
642 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
643 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
644 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
645 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
646 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
647 * sysdeps/i386/fpu/libm-test-ulps: Update.
648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
650 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
652 * NEWS: Fixed description of link with vector math library.
654 2015-06-25 Andreas Schwab <schwab@suse.de>
657 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
658 * libio/test-fmemopen.c (do_test): Add test for it.
660 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
663 * Makeconfig (no-pie-ldflag): New.
664 (+link): Set to $(+link-pie) if default to PIE.
665 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
666 * config.make.in (build-pie-default): New.
667 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
668 is default. AC_SUBST.
669 * configure: Regenerated.
670 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
672 2015-06-24 Roland McGrath <roland@hack.frob.com>
674 * nptl/descr.h (struct pthread): Change type of field setxid_futex
677 * resolv/gai_misc.h (struct waitlist): Change type of field
678 counterp to 'volatile unsigned int *'.
679 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
680 FUTEXADDR and OLDVAL.
681 * resolv/getaddrinfo_a.c (getaddrinfo_a):
682 Give local variable TOTAL type 'volatile unsigned int'.
683 (struct async_waitlist): Change type of field counter to 'unsigned int'.
684 * resolv/gai_suspend.c (gai_suspend):
685 Give local variable CNTR type 'unsigned int'.
687 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
688 counterp to 'volatile unsigned int *'.
689 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
690 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
691 (aio_suspend): Give local variable CNTR type 'unsigned int'.
692 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
693 Give local variable TOTAL type 'volatile unsigned int'.
694 (struct async_waitlist): Change type of field counter to 'unsigned int'.
696 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
699 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
700 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
701 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
702 comment for i386/x86-64.
703 (test-xfail-tst-tlsalign-extern-static): Removed.
705 2015-06-24 Joseph Myers <joseph@codesourcery.com>
707 * math/test-double.h: New file.
708 * math/test-float.h: Likewise.
709 * math/test-ldouble.h: Likewise.
710 * math/test-math-inline.h: Likewise.
711 * math/test-math-no-inline.h: Likewise.
712 * math/test-math-scalar.h: Likewise.
713 * math/test-math-vector.h: Likewise.
714 * math/test-vec-loop.h: Remove file. Contents moved into
716 * math/libm-test.inc (MATHCONST): Do not document macro.
717 * math/test-double.c: Include test-double.h, test-math-no-inline.h
718 and test-math-scalar.h.
719 (FUNC): Remove macro.
720 (FUNC_TEST): Likewise.
722 (MATHCONST): Likewise.
723 (PRINTF_EXPR): Likewise.
724 (PRINTF_XEXPR): Likewise.
725 (PRINTF_NEXPR): Likewise.
726 (TEST_DOUBLE): Likewise.
727 (TEST_MATHVEC): Likewise.
728 (__NO_MATH_INLINES): Likewise.
729 * math/test-float.c: Include test-float.h, test-math-no-inline.h
730 and test-math-scalar.h.
731 (FUNC): Remove macro.
732 (FUNC_TEST): Likewise.
734 (MATHCONST): Likewise.
735 (PRINTF_EXPR): Likewise.
736 (PRINTF_XEXPR): Likewise.
737 (PRINTF_NEXPR): Likewise.
738 (TEST_FLOAT): Likewise.
739 (TEST_MATHVEC): Likewise.
740 (__NO_MATH_INLINES): Likewise.
741 * math/test-idouble.c: Include test-double.h, test-math-inline.h
742 and test-math-scalar.h.
743 (FUNC): Remove macro.
744 (FUNC_TEST): Likewise.
746 (MATHCONST): Likewise.
747 (PRINTF_EXPR): Likewise.
748 (PRINTF_XEXPR): Likewise.
749 (PRINTF_NEXPR): Likewise.
750 (TEST_DOUBLE): Likewise.
751 (TEST_MATHVEC): Likewise.
752 (TEST_INLINE): Likewise.
753 (__NO_MATH_INLINES): Likewise.
754 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
756 (FUNC): Remove macro.
757 (FUNC_TEST): Likewise.
759 (MATHCONST): Likewise.
760 (PRINTF_EXPR): Likewise.
761 (PRINTF_XEXPR): Likewise.
762 (PRINTF_NEXPR): Likewise.
763 (TEST_FLOAT): Likewise.
764 (TEST_MATHVEC): Likewise.
765 (TEST_INLINE): Likewise.
766 (__NO_MATH_INLINES): Likewise.
767 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
768 and test-math-scalar.h.
769 (FUNC): Remove macro.
770 (FUNC_TEST): Likewise.
772 (MATHCONST): Likewise.
773 (PRINTF_EXPR): Likewise.
774 (PRINTF_XEXPR): Likewise.
775 (PRINTF_NEXPR): Likewise.
776 (TEST_LDOUBLE): Likewise.
777 (TEST_MATHVEC): Likewise.
778 (TEST_INLINE): Likewise.
779 (__NO_MATH_INLINES): Likewise.
780 * math/test-ldouble.c: Include test-ldouble.h,
781 test-math-no-inline.h and test-math-scalar.h.
782 (FUNC): Remove macro.
783 (FUNC_TEST): Likewise.
785 (MATHCONST): Likewise.
786 (PRINTF_EXPR): Likewise.
787 (PRINTF_XEXPR): Likewise.
788 (PRINTF_NEXPR): Likewise.
789 (TEST_LDOUBLE): Likewise.
790 (TEST_MATHVEC): Likewise.
791 (__NO_MATH_INLINES): Likewise.
792 * math/test-double-vlen2.h: Include test-double.h,
793 test-math-no-inline.h and test-math-vector.h.
794 (FLOAT): Remove macro.
796 (MATHCONST): Likewise.
797 (PRINTF_EXPR): Likewise.
798 (PRINTF_XEXPR): Likewise.
799 (PRINTF_NEXPR): Likewise.
800 (TEST_DOUBLE): Likewise.
801 (TEST_MATHVEC): Likewise.
802 (__NO_MATH_INLINES): Likewise.
805 (WRAPPER_NAME): Likewise.
806 (WRAPPER_DECL): Likewise.
807 (WRAPPER_DECL_ff): Likewise.
808 (WRAPPER_DECL_fFF): Likewise.
809 (VECTOR_WRAPPER): Likewise.
810 (VECTOR_WRAPPER_ff): Likewise.
811 (VECTOR_WRAPPER_fFF): Likewise.
812 (VEC_LEN): New macro.
813 * math/test-double-vlen4.h: Include test-double.h,
814 test-math-no-inline.h and test-math-vector.h.
815 (FLOAT): Remove macro.
817 (MATHCONST): Likewise.
818 (PRINTF_EXPR): Likewise.
819 (PRINTF_XEXPR): Likewise.
820 (PRINTF_NEXPR): Likewise.
821 (TEST_DOUBLE): Likewise.
822 (TEST_MATHVEC): Likewise.
823 (__NO_MATH_INLINES): Likewise.
826 (WRAPPER_NAME): Likewise.
827 (WRAPPER_DECL): Likewise.
828 (WRAPPER_DECL_ff): Likewise.
829 (WRAPPER_DECL_fFF): Likewise.
830 (VECTOR_WRAPPER): Likewise.
831 (VECTOR_WRAPPER_ff): Likewise.
832 (VECTOR_WRAPPER_fFF): Likewise.
833 (VEC_LEN): New macro.
834 * math/test-double-vlen8.h: Include test-double.h,
835 test-math-no-inline.h and test-math-vector.h.
836 (FLOAT): Remove macro.
838 (MATHCONST): Likewise.
839 (PRINTF_EXPR): Likewise.
840 (PRINTF_XEXPR): Likewise.
841 (PRINTF_NEXPR): Likewise.
842 (TEST_DOUBLE): Likewise.
843 (TEST_MATHVEC): Likewise.
844 (__NO_MATH_INLINES): Likewise.
847 (WRAPPER_NAME): Likewise.
848 (WRAPPER_DECL): Likewise.
849 (WRAPPER_DECL_ff): Likewise.
850 (WRAPPER_DECL_fFF): Likewise.
851 (VECTOR_WRAPPER): Likewise.
852 (VECTOR_WRAPPER_ff): Likewise.
853 (VECTOR_WRAPPER_fFF): Likewise.
854 (VEC_LEN): New macro.
855 * math/test-float-vlen4.h: Include test-float.h,
856 test-math-no-inline.h and test-math-vector.h.
857 (FLOAT): Remove macro.
859 (MATHCONST): Likewise.
860 (PRINTF_EXPR): Likewise.
861 (PRINTF_XEXPR): Likewise.
862 (PRINTF_NEXPR): Likewise.
863 (TEST_FLOAT): Likewise.
864 (TEST_MATHVEC): Likewise.
865 (__NO_MATH_INLINES): Likewise.
868 (WRAPPER_NAME): Likewise.
869 (WRAPPER_DECL): Likewise.
870 (WRAPPER_DECL_ff): Likewise.
871 (WRAPPER_DECL_fFF): Likewise.
872 (VECTOR_WRAPPER): Likewise.
873 (VECTOR_WRAPPER_ff): Likewise.
874 (VECTOR_WRAPPER_fFF): Likewise.
875 (VEC_LEN): New macro.
876 * math/test-float-vlen8.h: Include test-float.h,
877 test-math-no-inline.h and test-math-vector.h.
878 (FLOAT): Remove macro.
880 (MATHCONST): Likewise.
881 (PRINTF_EXPR): Likewise.
882 (PRINTF_XEXPR): Likewise.
883 (PRINTF_NEXPR): Likewise.
884 (TEST_FLOAT): Likewise.
885 (TEST_MATHVEC): Likewise.
886 (__NO_MATH_INLINES): Likewise.
889 (WRAPPER_NAME): Likewise.
890 (WRAPPER_DECL): Likewise.
891 (WRAPPER_DECL_ff): Likewise.
892 (WRAPPER_DECL_fFF): Likewise.
893 (VECTOR_WRAPPER): Likewise.
894 (VECTOR_WRAPPER_ff): Likewise.
895 (VECTOR_WRAPPER_fFF): Likewise.
896 (VEC_LEN): New macro.
897 * math/test-float-vlen16.h: Include test-float.h,
898 test-math-no-inline.h and test-math-vector.h.
899 (FLOAT): Remove macro.
901 (MATHCONST): Likewise.
902 (PRINTF_EXPR): Likewise.
903 (PRINTF_XEXPR): Likewise.
904 (PRINTF_NEXPR): Likewise.
905 (TEST_FLOAT): Likewise.
906 (TEST_MATHVEC): Likewise.
907 (__NO_MATH_INLINES): Likewise.
910 (WRAPPER_NAME): Likewise.
911 (WRAPPER_DECL): Likewise.
912 (WRAPPER_DECL_ff): Likewise.
913 (WRAPPER_DECL_fFF): Likewise.
914 (VECTOR_WRAPPER): Likewise.
915 (VECTOR_WRAPPER_ff): Likewise.
916 (VECTOR_WRAPPER_fFF): Likewise.
917 (VEC_LEN): New macro.
918 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
920 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
921 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
922 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
923 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
924 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
925 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
926 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
928 2015-06-24 Roland McGrath <roland@hack.frob.com>
930 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
931 (__getlogin_r): ... this.
933 2015-06-24 Joseph Myers <joseph@codesourcery.com>
936 * math/s_ccosh.c (__ccosh): Compare with least normal value
937 instead of comparing class with FP_SUBNORMAL.
938 * math/s_ccoshf.c (__ccoshf): Likewise.
939 * math/s_ccoshl.c (__ccoshl): Likewise.
940 * math/s_cexp.c (__cexp): Likewise.
941 * math/s_cexpf.c (__cexpf): Likewise.
942 * math/s_cexpl.c (__cexpl): Likewise.
943 * math/s_csin.c (__csin): Likewise.
944 * math/s_csinf.c (__csinf): Likewise.
945 * math/s_csinh.c (__csinh): Likewise.
946 * math/s_csinhf.c (__csinhf): Likewise.
947 * math/s_csinhl.c (__csinhl): Likewise.
948 * math/s_csinl.c (__csinl): Likewise.
949 * math/s_ctan.c (__ctan): Likewise.
950 * math/s_ctanf.c (__ctanf): Likewise.
951 * math/s_ctanh.c (__ctanh): Likewise.
952 * math/s_ctanhf.c (__ctanhf): Likewise.
953 * math/s_ctanhl.c (__ctanhl): Likewise.
954 * math/s_ctanl.c (__ctanl): Likewise.
955 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
956 csin, csinh, ctan and ctanh.
957 * math/auto-libm-test-out: Regenerated.
958 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
959 * sysdeps/i386/fpu/libm-test-ulps: Update.
960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
962 2015-06-24 Roland McGrath <roland@hack.frob.com>
964 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
965 return value is wrong, print the expected value too.
967 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
970 * elf/readlib.c (is_gdb_python_file): New.
971 (process_file): Don't issue errors on filenames with -gdb.py
974 2015-06-24 Joseph Myers <joseph@codesourcery.com>
976 * math/auto-libm-test-in: Add more tests of csin and csinh.
977 * math/auto-libm-test-out: Regenerated.
978 * math/libm-test.inc (csin_test_data): Remove tests moved to
980 (csinh_test_data): Likewise.
983 * math/s_csin.c (__csin): Negate before rather than after possibly
984 overflowing multiplication.
985 * math/s_csinf.c (__csinf): Likewise.
986 * math/s_csinh.c (__csinh): Likewise.
987 * math/s_csinhf.c (__csinhf): Likewise.
988 * math/s_csinhl.c (__csinhl): Likewise.
989 * math/s_csinl.c (__csinl): Likewise.
990 * math/auto-libm-test-in: Add some tests of csin and csinh.
991 * math/auto-libm-test-out: Regenerated.
992 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
993 (csinh_test_data): Likewise.
994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
997 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
998 underflow exception for small results.
1000 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
1002 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1003 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1004 variable and included header.
1005 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1006 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1007 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1008 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1009 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1010 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1011 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1012 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1013 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1014 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1015 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1016 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1017 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1018 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1019 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1020 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1022 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1026 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1027 (__sin): Force underflow exception for arguments with small
1029 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1030 (__kernel_sinf): Force underflow exception for arguments with
1031 small absolute value.
1032 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1033 (__kernel_sincosl): Force underflow exception for arguments with
1034 small absolute value.
1035 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1036 (__kernel_sinl): Force underflow exception for arguments with
1037 small absolute value.
1038 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1039 (__kernel_sincosl): Force underflow exception for arguments with
1040 small absolute value.
1041 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1042 (__kernel_sinl): Force underflow exception for arguments with
1043 small absolute value.
1044 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1045 (__kernel_sinl): Force underflow exception for arguments with
1046 small absolute value.
1047 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1048 (__kernel_sinf): Force underflow exception for arguments with
1049 small absolute value.
1050 * math/auto-libm-test-in: Add more tests of sin and sincos.
1051 * math/auto-libm-test-out: Regenerated.
1055 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1056 (__kernel_standard_l): Use feholdexcept and fesetenv around
1057 conversion to double instead of special-casing overflow and
1059 * math/libm-test.inc (fmod_test_data): Add more tests.
1060 (remainder_test_data): Likewise.
1061 (sqrt_test_data): Likewise.
1063 2015-06-23 Torvald Riegel <triegel@redhat.com>
1066 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1067 atomic_read_barrier, atomic_write_barrier): Define.
1068 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1069 atomic_read_barrier, atomic_write_barrier): Define.
1071 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1073 * math/Makefile [$(PERL) != no]
1074 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1075 dependency on libm-test.stmp below the inclusion of Rules.
1077 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
1079 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1080 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1081 and included header.
1082 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1083 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1084 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1085 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1086 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1087 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1088 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1089 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1090 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1091 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1092 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1093 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1094 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1095 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1096 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1097 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1098 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1099 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1100 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1102 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1105 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1106 intermediate but not final result might underflow.
1107 * math/s_csqrtf.c (__csqrtf): Likewise.
1108 * math/s_csqrtl.c (__csqrtl): Likewise.
1109 * math/auto-libm-test-in: Add more tests of csqrt.
1110 * math/auto-libm-test-out: Regenerated.
1111 * sysdeps/i386/fpu/libm-test-ulps: Update.
1114 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1115 threshold on absolute value of exponent for which scaling is used.
1116 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1117 * math/auto-libm-test-in: Add more tests of exp2.
1118 * math/auto-libm-test-out: Regenerated.
1120 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
1123 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1124 when initializing interface list, based on the bug analysis
1125 and the patch proposed by Eric Newton.
1126 * resolv/tst-res_hconf_reorder.c: New test.
1127 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1128 tst-res_hconf_reorder.
1129 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1130 and $(shared-thread-library).
1131 (tst-res_hconf_reorder-ENV): New variable.
1133 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1136 2015-06-22 Joseph Myers <joseph@codesourcery.com>
1139 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1140 (__expm1): Force underflow exception for arguments with small
1142 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1143 (__expm1f): Force underflow exception for arguments with small
1145 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1146 (__expm1): Force underflow exception for arguments with small
1148 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1149 (__expm1f): Force underflow exception for arguments with small
1151 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1152 Check for small arguments before calling __expm1.
1153 * math/auto-libm-test-in: Do not mark underflow exceptions as
1154 possibly missing for bug 16353.
1155 * math/auto-libm-test-out: Regenerated.
1157 2015-06-22 Andreas Schwab <schwab@suse.de>
1160 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1163 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
1165 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1167 * string/strcoll_l.c: Remove unused struct element idxnow.
1169 2015-06-21 Joseph Myers <joseph@codesourcery.com>
1172 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1173 underflow and return argument in case of subnormal argument.
1174 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1176 * math/auto-libm-test-in: Add more tests of expm1.
1177 * math/auto-libm-test-out: Regenerated.
1180 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1181 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1183 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1184 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1186 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
1187 mark underflow exceptions as possibly missing for bug 16361.
1188 * math/auto-libm-test-out: Regenerated.
1190 2015-06-19 Joseph Myers <joseph@codesourcery.com>
1192 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1193 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1195 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1196 (test-xfail-XOPEN2K8/utmpx.h/conform).
1198 * conform/conformtest.pl ($xerrors): New variable.
1199 (note_error): New function.
1200 (compiletest): New argument $xfail. Use not_error.
1201 (runtest): Likewise.
1202 (top level): Handle xfail- lines. Update calls to compiletest and
1203 runtest. Handle xfail- and optional- in headers listed with
1205 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1207 (O_SEARCH): Likewise.
1208 * conform/data/stropts.h-data (ioctl): Likewise.
1209 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1210 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1211 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1212 (msghdr.msg_controllen): Likewise.
1213 (cmsghdr.cmsg_len): Likewise.
1214 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1215 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1217 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1218 (test-xfail-XPG4/stropts.h/conform): Likewise.
1219 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1220 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1221 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1222 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1223 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1224 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1225 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1226 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1227 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1228 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1229 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1230 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1231 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1232 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1233 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1234 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1235 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1236 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1237 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1239 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
1241 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1242 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1243 definitions for proper unfolding of __MATHDECL_VEC.
1245 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1247 * benchtests/bench-strcoll.c:
1249 (main): Remove unused variable res.
1251 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1253 * timezone/Makefile (%/UTC %/Universal):
1254 Generate test-result files for UTC and Universal.
1256 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1258 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1260 2015-06-18 Joseph Myers <joseph@codesourcery.com>
1263 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1264 for arguments with small absolute value.
1265 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1266 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1267 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1268 (__asinh): Force underflow exception for arguments with small
1270 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1271 (__asinhf): Force underflow exception for arguments with small
1273 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1274 (__asinhl): Force underflow exception for arguments with small
1276 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1277 (__asinhl): Force underflow exception for arguments with small
1279 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1280 (__asinhl): Force underflow exception for arguments with small
1282 * math/auto-libm-test-in: Do not mark underflow exceptions as
1283 possibly missing for bug 16350.
1284 * math/auto-libm-test-out: Regenerated.
1286 * include/bits/ipc.h: Remove file.
1287 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1289 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1290 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1291 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1292 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1293 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1294 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1295 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1296 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1297 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1299 * math/auto-libm-test-in: Remove spurious underflow allowance for
1301 * math/auto-libm-test-out: Regenerated.
1304 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1305 unconditional definition.
1306 (MCAST_BLOCK_SOURCE): Likewise.
1307 (MCAST_UNBLOCK_SOURCE): Likewise.
1308 (MCAST_LEAVE_GROUP): Likewise.
1309 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1310 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1311 (MCAST_MSFILTER): Likewise.
1312 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1314 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1315 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1316 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1317 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1318 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1320 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
1322 * NEWS: Mention addition of x86_64 vector sincosf.
1323 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1324 * math/test-float-vlen4.h: Likewise.
1325 * math/test-float-vlen8.h: Likewise.
1326 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1327 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1328 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1329 * sysdeps/x86_64/fpu/Versions: New versions added.
1330 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1331 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1332 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1333 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1334 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1335 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1336 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1337 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1338 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1339 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1340 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1341 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1342 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1343 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1344 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1345 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1346 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1347 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1348 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1349 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1350 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1351 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1352 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1353 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1355 * NEWS: Mention addition of x86_64 vector sincos.
1356 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1357 * math/math.h (__MATHDECL_VEC): New macro.
1358 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1359 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1360 declaration under condition.
1361 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1362 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1363 TEST_VEC_LOOP change.
1364 * math/test-double-vlen4.h: Likewise.
1365 * math/test-double-vlen8.h: Likewise.
1366 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1367 * math/test-float-vlen4.h: Likewise.
1368 * math/test-float-vlen8.h: Likewise.
1369 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1370 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1371 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1372 * sysdeps/x86_64/fpu/Versions: New versions added.
1373 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1374 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1375 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1376 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1377 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1378 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1379 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1380 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1381 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1382 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1383 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1384 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1385 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1386 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1387 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1388 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1389 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1390 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1391 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1392 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1393 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1394 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1395 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1396 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1398 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1399 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1400 redirections for powf.
1401 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1402 * sysdeps/x86_64/fpu/Versions: New versions added.
1403 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1404 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1405 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1406 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1407 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1408 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1409 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1410 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1411 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1412 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1413 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1414 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1415 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1416 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1417 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1418 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1419 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1420 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1421 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1422 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1423 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1424 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1425 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1426 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1427 * math/test-float-vlen16.h: Fixed 2 argument macro.
1428 * math/test-float-vlen4.h: Likewise.
1429 * math/test-float-vlen8.h: Likewise.
1430 * NEWS: Mention addition of x86_64 vector powf.
1432 2015-06-17 Joseph Myers <joseph@codesourcery.com>
1434 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1436 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1438 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1439 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1440 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1443 * resource/getpriority.c (getpriority): Rename to __getpriority
1444 and define as weak alias of __getpriority.
1445 * resource/setpriority.c (setpriority): Rename to __setpriority
1446 and define as weak alias of __setpriority.
1447 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1448 __getpriority and define as weak alias of __getpriority.
1449 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1450 __setpriority and define as weak alias of __setpriority.
1451 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1453 (setpriority): Use __setpriority as strong name.
1454 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1455 __getpriority and define as weak alias of __getpriority.
1456 * include/sys/resource.h (__getpriority): Declare. Use
1458 (__setpriority): Likewise.
1459 (getpriority): Don't use libc_hidden_proto.
1460 (setpriority): Likewise.
1461 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1462 getpriority. Call __setpriority instead of setpriority.
1463 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1467 * misc/getttyent.c (getttynam): Rename to __getttynam and define
1468 as weak alias of __getttynam. Use prototype function definition.
1469 Call __setttyent, __getttyent and __endttyent instead of
1470 setttyent, getttyent and endttyent.
1471 (getttyent): Rename to __getttyent and define as weak alias of
1472 __getttyent. Call __setttyent instead of setttyent. Call
1473 __fgets_unlocked instead of fgets_unlocked.
1474 (setttyent): Rename to __setttyent and define as weak alias of
1476 (endttyent): Rename to __endttyent and define as weak alias of
1478 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
1479 (__setttyent): Likewise.
1480 (__endttyent): Likewise.
1481 (getttyent): Don't use libc_hidden_proto.
1482 (setttyent): Likewise.
1483 (endttyent): Likewise.
1484 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1485 __endttyent instead of setttyent, getttyent and endttyent.
1486 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1490 * socket/recv.c (__recv): Use libc_hidden_def.
1491 * socket/socket.c (__socket): Likewise.
1492 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1493 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1494 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1495 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1496 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1498 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1500 * include/sys/socket.h (__socket): Do not use attribute_hidden.
1501 Use libc_hidden_proto.
1503 * socket/Versions (libc): Export __recv and __socket at version
1505 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1507 (init_mq_netlink): Call __socket instead of socket.
1508 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1512 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1513 __mq_timedreceive and define as alias of __mq_timedreceive. Use
1515 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1516 define as alias of __mq_timedsend. Use hidden_weak.
1517 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1518 __mq_timedsend as strong name.
1519 (mq_timedreceive): Use __mq_timedreceive as strong name.
1520 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
1521 (__mq_timedreceive): Likewise.
1522 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1523 __mq_timedreceive instead of mq_timedreceive.
1524 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1525 instead of mq_timedsend.
1526 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1529 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1530 hidden_def and hidden_weak instead of libc_hidden_def and
1532 (top level): Refer to hidden_def in comment.
1533 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1534 macro. Use it instead of libc_hidden_def.
1535 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1536 specify __GI_* name explicitly.
1537 (mq_timedreceive): Likewise.
1538 (mq_setattr): Likewise.
1541 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1542 __pthread_barrier_init and define as weak alias of
1543 __pthread_barrier_init.
1544 * sysdeps/sparc/nptl/pthread_barrier_init.c
1545 (pthread_barrier_init): Likewise.
1546 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1547 __pthread_barrier_wait and define as weak alias of
1548 __pthread_barrier_wait.
1549 * sysdeps/sparc/nptl/pthread_barrier_wait.c
1550 (pthread_barrier_wait): Likewise.
1551 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1552 (pthread_barrier_wait): Likewise.
1553 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1554 (pthread_barrier_wait): Likewise.
1555 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1556 (pthread_barrier_wait): Likewise.
1557 * nptl/Versions (libpthread): Export __pthread_barrier_init and
1558 __pthread_barrier_wait at version GLIBC_PRIVATE.
1559 * include/pthread.h (__pthread_barrier_init): Declare.
1560 (__pthread_barrier_wait): Likewise.
1561 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1562 Call __pthread_barrier_wait instead of pthread_barrier_wait.
1563 (helper_thread): Likewise.
1564 (init_mq_netlink): Call __pthread_barrier_init instead of
1565 pthread_barrier_init.
1568 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1569 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1570 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
1571 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1573 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1577 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1578 strong alias of _IO_fflush. Use libc_hidden_def.
1579 * libio/iofflush_u.c (fflush_unlocked): Rename to
1580 __fflush_unlocked and define as weak alias of __fflush_unlocked.
1581 Use libc_hidden_weak.
1582 * include/stdio.h (__fflush_unlocked): Declare. Use
1584 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1586 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1590 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1591 define as weak alias of __addseverity.
1592 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1594 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1595 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1596 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1599 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1600 (__tfind): Likewise.
1601 (__tdelete): Likewise.
1602 (__twalk): Likewise.
1603 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1604 __twalk to GLIBC_PRIVATE.
1605 * include/search.h (__tsearch): Use libc_hidden_proto.
1606 (__tfind): Likewise.
1607 (__tdelete): Likewise.
1608 (__twalk): Likewise.
1609 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1610 Call __tdelete instead of tdelete.
1611 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1612 tfind. Call __tsearch instead of tsearch.
1613 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1614 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1616 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1619 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1620 (dprintf): Define as a weak alias of __dprintf, not a strong
1622 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
1623 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1625 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1627 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1628 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1631 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1633 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1637 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1638 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
1639 (in6addr_loopback): Rename to __in6addr_loopback and define as
1640 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
1641 * include/netinet/in.h (__in6addr_loopback): Declare. Use
1643 (__in6addr_any): Likewise.
1644 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1646 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1648 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1650 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
1652 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1653 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1654 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1655 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1656 redirections for pow.
1657 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1658 * sysdeps/x86_64/fpu/Versions: New versions added.
1659 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1660 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1661 build of SSE, AVX2 and AVX512 IFUNC versions.
1662 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1663 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1664 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1665 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1666 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1667 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1668 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1669 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1670 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1671 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1672 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1673 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1674 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1675 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1676 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1677 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1678 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1679 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1680 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1681 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1682 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1683 * NEWS: Mention addition of x86_64 vector pow.
1685 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1686 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1687 redirections for expf.
1688 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1689 * sysdeps/x86_64/fpu/Versions: New versions added.
1690 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1691 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1692 build of SSE, AVX2 and AVX512 IFUNC versions.
1693 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1694 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1695 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1696 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1697 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1698 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1699 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1700 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1701 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1702 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1703 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1704 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1705 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1706 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1707 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1708 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1709 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1710 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1711 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1712 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1713 * NEWS: Mention addition of x86_64 vector expf.
1715 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1716 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1717 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1718 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1719 redirections for exp.
1720 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1721 * sysdeps/x86_64/fpu/Versions: New versions added.
1722 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1723 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1724 build of SSE, AVX2 and AVX512 IFUNC versions.
1725 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1726 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1727 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1728 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1729 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1730 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1731 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1732 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1733 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1734 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1735 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1736 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1737 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1738 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1739 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1740 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1741 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1742 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1743 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1744 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1745 * NEWS: Mention addition of x86_64 vector exp.
1747 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1748 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1749 redirections for logf.
1750 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1751 * sysdeps/x86_64/fpu/Versions: New versions added.
1752 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1753 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1754 build of SSE, AVX2 and AVX512 IFUNC versions.
1755 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1756 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1757 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1758 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1759 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1760 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1761 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1762 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1763 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1764 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1765 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1766 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1767 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1768 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1769 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1770 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1771 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1772 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1773 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1774 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1775 * NEWS: Mention addition of x86_64 vector logf.
1777 * bits/libm-simd-decl-stubs.h: Added stubs for log.
1778 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1779 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1780 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1781 redirections for log.
1782 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1783 * sysdeps/x86_64/fpu/Versions: New versions added.
1784 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1785 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1786 build of SSE, AVX2 and AVX512 IFUNC versions.
1787 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1788 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1789 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1790 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1791 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1792 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1793 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1794 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1795 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1796 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1797 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1798 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1799 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1801 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1802 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1803 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1804 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1805 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1806 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1807 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1808 * NEWS: Mention addition of x86_64 vector log.
1810 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
1812 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1813 cfi_adjust_cfa_offset argument.
1814 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1815 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1818 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1819 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1820 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1821 ordering using ldar.
1822 (_dl_tlsdesc_dynamic): Likewise.
1823 (_dl_tlsdesc_return_lazy): Likewise.
1824 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1825 relaxed atomics instead of volatile and synchronize with release store.
1826 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1828 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1830 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
1832 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1833 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1834 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1835 * sysdeps/x86_64/fpu/Versions: New versions added.
1836 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1837 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1838 build of SSE, AVX2 and AVX512 IFUNC versions.
1839 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1840 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1841 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1842 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1843 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1844 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1845 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1846 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1847 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1848 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1849 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1850 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1851 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1852 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1853 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1854 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1855 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1856 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1857 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1858 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1859 * NEWS: Mention addition of x86_64 vector sinf.
1861 2015-06-14 Joseph Myers <joseph@codesourcery.com>
1863 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1864 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1865 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1867 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1868 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1870 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1873 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1874 strong alias of _IO_fputs. Use libc_hidden_def.
1875 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1876 and define as weak alias of __fputs_unlocked. Use
1878 * include/stdio.h (__fputs_unlocked): Declare. Use
1880 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1884 * resolv/netdb.h [__USE_POSIX]: Change condition to
1886 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1888 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1889 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1890 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1891 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1892 [XPG4 || UNIX98] (AI_ALL): Likewise.
1893 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1894 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1895 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1896 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1897 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1898 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1899 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1900 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1901 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1902 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1903 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1904 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1905 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1906 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1907 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1908 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1909 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1910 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1911 [XPG4 || UNIX98] (gai_strerror): Likewise.
1912 [XPG4 || UNIX98] (getaddrinfo): Likewise.
1913 [XPG4 || UNIX98] (getnameinfo): Likewise.
1916 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1917 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1919 (getgrent): Likewise.
1920 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1922 [XPG3 || POSIX2008] (endgrent): Likewise.
1923 [XPG3] (setgrent): Likewise.
1924 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1926 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1929 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1930 define as weak alias of __getlogin_r. Use libc_hidden_weak.
1931 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1932 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1933 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1934 * include/unistd.h (__getlogin_r): Declare. Use
1936 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1937 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1939 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1940 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1941 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1943 2015-06-12 Martin Sebor <msebor@redhat.com>
1946 * Makerules (check-install-supported): New target.
1947 (install): Add check-install-supported as a dependency.
1948 * manual/install.texi (Installing the C Library): Document
1949 that overriding prefix and exec_prefix is not supported.
1951 * INSTALL: Regenerate from the above.
1953 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1956 * posix/Versions (libc): Export __libc_pread at version
1958 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1960 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1965 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1966 (cvt_symbol): Use weak_alias instead of strong_alias.
1967 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1968 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1970 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1971 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1974 * inet/herrno.c (h_errno): Rename to __h_errno.
1975 (__libc_h_errno): Define as alias of __h_errno not h_errno.
1976 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1977 to __h_errno instead of h_errno.
1978 * nptl/herrno.c (h_errno): Rename to __h_errno.
1979 (__h_errno_location): Refer to __h_errno not h_errno.
1980 * resolv/Versions (h_errno): Rename to __h_errno.
1981 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1983 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1985 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
1987 * configure.ac: More strict check for AVX512 assembler support.
1988 * configure: Regenerated.
1990 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1991 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1992 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1993 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1994 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1995 * sysdeps/x86_64/fpu/Versions: New versions added.
1996 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1997 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1998 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1999 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2000 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2001 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2002 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2003 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2004 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2005 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2006 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2007 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2008 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2009 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2010 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2011 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2013 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2014 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2015 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2016 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2017 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2018 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2019 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2020 * NEWS: Mention addition of x86_64 vector sin.
2022 2015-06-11 Florian Weimer <fweimer@redhat.com>
2024 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2027 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2030 * nptl/pt-interp.c: New file.
2031 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2033 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2034 $(common-objpfx)runtime-linker.h.
2036 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
2038 * Makeconfig (+interp): Remove unused variable.
2039 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2040 only. Depend on $(common-objpfx)runtime-linker.h instead of
2041 $(elf-objpfx)runtime-linker.h.
2042 ($(elf-objpfx)runtime-linker.h): Rename to
2043 $(common-objpfx)runtime-linker.h and move ...
2044 * Makerules [$(build-shared) = yes]: ... here.
2045 * elf/interp.c: Include <runtime-linker.h> instead of
2046 <elf/runtime-linker.h>.
2048 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2050 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2051 (__gettimeofday_syscall): Remove vsyscall fallback.
2052 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2053 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2054 Add syscall fallback function.
2055 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2056 if vDSO is not present.
2057 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2059 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2061 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2062 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2064 2015-06-09 Joseph Myers <joseph@codesourcery.com>
2067 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2069 (wcscmp): Define as weak alias of WCSCMP.
2070 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2072 (USE_HIDDEN_DEF): Define.
2073 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2074 __wcscoll. Don't use libc_hidden_weak.
2075 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2077 * sysdeps/i386/i686/multiarch/wcscmp-c.c
2078 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2080 (weak_alias): Undefine and redefine.
2081 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2082 __wcscmp and define as weak alias of __wcscmp.
2083 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2084 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
2085 (__wcscoll): Likewise.
2086 (wcscmp): Don't use libc_hidden_proto.
2087 (wcscoll): Likewise.
2088 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2090 * posix/regexec.c (check_node_accept_bytes): Likewise.
2091 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2093 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2094 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2097 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2098 __fstatvfs and define as weak alias of __fstatvfs. Use
2100 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2101 and define as weak alias of __statvfs. Use libc_hidden_weak.
2102 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2103 Define as alias of __fstatvfs, not fstatvfs.
2104 (fstatvfs64): Likewise.
2105 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2106 Define as alias of __statvfs, not statvfs.
2107 (statvfs64): Likewise.
2108 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2111 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2114 (HAVE_GETCPU_VSYSCALL): Define.
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2116 (HAVE_GETCPU_VSYSCALL): Likewise.
2117 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2118 * sysdeps/unix/sysv/linux/sched_getcpu.c
2119 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2120 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2121 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2123 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2124 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2125 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2126 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2128 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2129 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2130 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2131 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2133 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
2135 * sysdeps/x86_64/fpu/Makefile: New file.
2136 * sysdeps/x86_64/fpu/Versions: New file.
2137 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2138 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2139 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2140 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2141 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2142 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2143 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2144 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2145 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2146 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2147 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2148 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2149 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2150 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2151 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2152 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2153 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2154 * sysdeps/x86_64/configure.ac: Options for libmvec build.
2155 * sysdeps/x86_64/configure: Regenerated.
2156 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2157 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2158 * manual/install.texi (Configuring and compiling): Document
2160 * INSTALL: Regenerated.
2161 * NEWS: Mention addition of libmvec and x86_64 vector cos.
2163 * math/Makefile: Added rules for vector tests.
2164 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2165 declaration under condition.
2166 * math/test-double-vlen2.h: New file.
2167 * math/test-double-vlen4.h: New file.
2168 * math/test-double-vlen8.h: New file.
2169 * math/test-vec-loop.h: Added initialization macro.
2170 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2171 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2172 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2173 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2174 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2175 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2176 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2177 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2178 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2179 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2180 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2182 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2183 * sysdeps/x86_64/fpu/Versions: New versions added.
2184 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2185 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2186 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2187 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2188 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2189 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2190 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2191 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2192 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2193 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2194 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2195 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2196 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2197 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2198 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2199 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2200 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2201 * NEWS: Mention addition of x86_64 vector cosf.
2203 * math/Makefile: Added CFLAGS for new tests.
2204 * math/test-float-vlen16.h: New file.
2205 * math/test-float-vlen4.h: New file.
2206 * math/test-float-vlen8.h: New file.
2207 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2208 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2209 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2210 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2211 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2212 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2213 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2214 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2215 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2216 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2217 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2219 2015-06-09 Marko Myllynen <myllynen@redhat.com>
2221 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2222 * locale/programs/ld-ctype.c: Likewise.
2224 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
2226 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2227 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2228 bit_ZMM16_31_state): New macro.
2229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2230 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2232 2015-06-08 Joseph Myers <joseph@codesourcery.com>
2234 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2236 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
2238 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2240 2015-06-05 Joseph Myers <joseph@codesourcery.com>
2243 * libio/memstream.c (open_memstream): Rename to __open_memstream
2244 and define as weak alias of __open_memstream.
2245 * include/stdio.h (__open_memstream): Declare. Use
2247 (open_memstream): Don't use libc_hidden_proto.
2248 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2250 * posix/getopt.c (_getopt_internal_r): Likewise.
2251 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2253 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2254 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2255 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2258 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2262 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2263 [__USE_XOPEN2K8]. Remove redundant #endif.
2264 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2265 Remove redundant #if.
2266 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2268 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2269 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2272 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2273 (__iswlower): Likewise.
2274 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
2275 (__iswlower): Likewise.
2276 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2277 instead of towlower.
2278 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2279 instead of iswlower. Call __towupper instead of towupper.
2280 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2281 instead of iswalnum.
2283 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2285 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2288 2015-06-05 Florian Weimer <fweimer@redhat.com>
2292 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2293 Check for overflow properly. Check for O_APPEND. Ignore large
2294 file system block sizes. Add comments about problems.
2295 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2296 * manual/filesys.texi (Storage Allocation): New node.
2298 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2300 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2301 cancellable syscalls.
2302 (SYS_ify): Add guard to no redefine it.
2303 (INLINE_SYSCALL): Likewise.
2304 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2305 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2306 SYSCALL_CANCEL instead.
2307 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2308 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2309 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2310 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2311 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2312 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2313 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2314 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2315 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2316 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2317 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2318 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2319 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2320 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2321 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2322 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2324 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2325 (__libc_pread64): Likewise.
2326 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2327 (__libc_preadv): Likewise.
2328 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2329 (__libc_readv64): Likewise.
2330 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2331 (__libc_pwrite): Likewise.
2332 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2333 (__libc_pwrite64): Likewise.
2334 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2335 (__libc_pwritev): Likewise.
2336 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2337 (__libc_pwritev64): Likewise.
2338 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2339 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2340 (sync_file_range): Likewise.
2341 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2343 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2345 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2346 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2347 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2348 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2349 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2350 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2351 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2352 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2356 (__libc_read64): Likewise.
2357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2366 (__libc_pread64): Likewise.
2367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2370 (__libc_pwrite64): Likewise.
2371 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2372 (sync_file_range): Likewise.
2373 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2374 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2375 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2376 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2377 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2378 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2379 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2380 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2381 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2382 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2383 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2384 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2385 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2386 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2387 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2388 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2389 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2390 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2391 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2393 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2395 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2396 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2398 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2399 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2400 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2401 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2403 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2404 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2405 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2406 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2407 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2409 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
2411 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2413 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2414 Use VDSO routines for gettimeofday, clock_gettime if
2416 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2417 Declare VDSO symbols.
2418 * sysdeps/unix/sysv/linux/arm/sysdep.h:
2419 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2420 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2421 * sysdeps/unix/sysv/linux/arm/Versions: Add
2422 __vdso_clock_gettime.
2424 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2426 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2427 be an inline implementation regardless of library is built within.
2428 (open_not_cancel_2): Likewise.
2429 (__read_nocancel): Likewise.
2430 (__write_nocancel): Likewise.
2431 (openat_not_cancel): Likewise.
2432 (openat_not_cancel_3): Likewise.
2433 (openat64_not_cancel): Likewise.
2434 (openat64_not_cancel_3): Likewise.
2435 (__close_nocancel): Likewise.
2436 (pause_not_cancel): Likewise.
2437 (nanosleep_not_cancel): Likewise.
2438 (sigsuspend_not_cancel): Likewise.
2440 2015-06-04 Torvald Riegel <triegel@redhat.com>
2443 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2445 (__pthread_rwlock_rdlock_slow): Likewise.
2446 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2448 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2450 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2451 * nptl/tst-rwlock16.c: New file.
2452 * nptl/Makefile (tests): Add new test.
2454 2015-06-04 Torvald Riegel <triegel@redhat.com>
2457 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2458 missing wake-up of readers.
2459 * nptl/tst-rwlock15.c: New file.
2460 * nptl/Makefile (tests): Add new test.
2462 2015-06-03 Roland McGrath <roland@hack.frob.com>
2464 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2465 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2466 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2467 and __nacl_supply_interface_rtld.
2468 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2469 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2470 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2471 Add __nacl_supply_interface_rtld.
2472 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2474 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2476 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2478 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2479 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2481 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2483 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2484 __signbit* with standard C99 macros.
2485 * math/e_exp10l.c: Likewise.
2486 * math/e_exp2l.c: Likewise.
2487 * math/e_scalb.c: Likewise.
2488 * math/e_scalbf.c: Likewise.
2489 * math/e_scalbl.c: Likewise.
2490 * math/s_ldexp.c: Likewise.
2491 * math/s_ldexpf.c: Likewise.
2492 * math/s_ldexpl.c: Likewise.
2493 * math/w_atan2.c: Likewise.
2494 * math/w_atan2f.c: Likewise.
2495 * math/w_atan2l.c: Likewise.
2496 * math/w_cosh.c: Likewise.
2497 * math/w_coshf.c: Likewise.
2498 * math/w_coshl.c: Likewise.
2499 * math/w_exp10.c: Likewise.
2500 * math/w_exp10f.c: Likewise.
2501 * math/w_exp10l.c: Likewise.
2502 * math/w_exp2.c: Likewise.
2503 * math/w_exp2f.c: Likewise.
2504 * math/w_exp2l.c: Likewise.
2505 * math/w_fmod.c: Likewise.
2506 * math/w_fmodf.c: Likewise.
2507 * math/w_fmodl.c: Likewise.
2508 * math/w_hypot.c: Likewise.
2509 * math/w_hypotf.c: Likewise.
2510 * math/w_hypotl.c: Likewise.
2511 * math/w_jnl.c: Likewise.
2512 * math/w_lgamma.c: Likewise.
2513 * math/w_lgamma_r.c: Likewise.
2514 * math/w_lgammaf.c: Likewise.
2515 * math/w_lgammaf_r.c: Likewise.
2516 * math/w_lgammal.c: Likewise.
2517 * math/w_lgammal_r.c: Likewise.
2518 * math/w_pow.c: Likewise.
2519 * math/w_powf.c: Likewise.
2520 * math/w_powl.c: Likewise.
2521 * math/w_remainder.c: Likewise.
2522 * math/w_remainderf.c: Likewise.
2523 * math/w_remainderl.c: Likewise.
2524 * math/w_scalb.c: Likewise.
2525 * math/w_scalbf.c: Likewise.
2526 * math/w_scalbl.c: Likewise.
2527 * math/w_scalbln.c: Likewise.
2528 * math/w_scalblnf.c: Likewise.
2529 * math/w_scalblnl.c: Likewise.
2530 * math/w_sinh.c: Likewise.
2531 * math/w_sinhf.c: Likewise.
2532 * math/w_sinhl.c: Likewise.
2533 * math/w_tgamma.c: Likewise.
2534 * math/w_tgammaf.c: Likewise.
2535 * math/w_tgammal.c: Likewise.
2536 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2537 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2538 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2539 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2540 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2542 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2543 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2544 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2545 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2546 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2547 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2548 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2549 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2550 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2551 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2552 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2553 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2554 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2555 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2556 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2557 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2558 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2559 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2560 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2561 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2562 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2563 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2564 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2565 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2566 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2567 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2568 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2569 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2570 * stdio-common/printf_fp.c: Likewise.
2571 * stdio-common/printf_fphex.c: Likewise.
2572 * stdio-common/printf_size.c: Likewise.
2574 2015-06-03 Joseph Myers <joseph@codesourcery.com>
2577 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2579 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2581 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2582 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2583 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2584 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2585 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2586 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2587 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2588 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2589 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2590 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2593 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2594 weak alias of __wmemchr. Use libc_hidden_weak.
2595 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
2596 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2599 2015-06-02 Roland McGrath <roland@hack.frob.com>
2602 * elf/tst-tlsalign-extern.c: New file.
2603 * elf/tst-tlsalign-extern-static.c: New file.
2604 * elf/tst-tlsalign-vars.c: New file.
2605 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2606 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2607 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2608 ($(objpfx)tst-tlsalign-extern-static): Likewise.
2609 (test-xfail-tst-tlsalign-extern-static): New variable.
2611 2015-06-02 Joseph Myers <joseph@codesourcery.com>
2613 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2614 Use variable name _sc_err instead of err.
2615 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2617 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2618 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2619 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2620 (INLINE_SYSCALL): Likewise.
2622 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2623 * include/string.h (__strnlen): Use libc_hidden_proto.
2624 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2625 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2626 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2627 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2628 (libc_hidden_def): Undefine and redefine.
2629 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2630 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2632 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2634 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2637 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2638 weak alias of __towlower. Use libc_hidden_weak.
2639 (towupper): Rename to __towupper and define as weak alias of
2640 __towupper. Use libc_hidden_weak.
2641 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
2642 (__towupper): Likewise.
2643 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2644 __towlower instead of towlower.
2646 2015-06-02 Roland McGrath <roland@hack.frob.com>
2648 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2649 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2651 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2653 * sysdeps/aarch64/libm-test-ulps: Update.
2655 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2657 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2659 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2661 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2662 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2663 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2664 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2665 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2667 2015-06-01 Martin Sebor <msebor@redhat.com>
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2671 (__setcontext): Use extended four-operand version of mtsf whenever
2673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2674 (__novec_swapcontext): Likewise.
2676 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2678 * benchtests/scripts/compare_bench.py: New file.
2679 * benchtests/scripts/import_bench.py (mean): New function.
2680 (split_list): Likewise.
2681 (do_for_all_timings): Likewise.
2682 (compress_timings): Likewise.
2684 * benchtests/scripts/import_bench.py: New file.
2685 * benchtests/scripts/validate_benchout.py: Import import_bench
2686 instead of jsonschema.
2687 (validate_bench): Remove function.
2688 (main): Use import_bench.
2690 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
2692 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2693 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2695 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2699 2015-05-28 Roland McGrath <roland@hack.frob.com>
2701 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2702 set THREAD_SELF->tid to a magic value and futex-wake it.
2703 Pass its address to the thread_exit system call.
2704 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2706 * sysdeps/nacl/lowlevellock.h: New file.
2707 * sysdeps/nacl/lll_timedwait_tid.c: New file.
2709 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2710 Add TIMEOUT to current time, don't subtract it.
2712 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
2715 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2716 ($(objpfx)tst-audit2.out): Also depend on
2717 $(objpfx)tst-auditmod9b.so.
2718 * elf/tst-audit2.c: Include <dlfcn.h>.
2719 (calloc_called): New.
2720 (calloc): Allow to be called more than once.
2721 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2723 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
2725 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2726 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2728 2015-05-27 Marko Myllynen <myllynen@redhat.com>
2730 * stdlib/monetary.h: Fix comment.
2732 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
2734 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2735 Avoid using variables in #defines that might cause shadowing.
2736 (INTERNAL_VSYSCALL_CALL): Likewise.
2738 2015-05-26 Roland McGrath <roland@hack.frob.com>
2740 * sysdeps/nacl/lll_timedlock_wait.c: New file.
2742 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2743 * nptl/lll_timedlock_wait.c: ... to this new file.
2744 * nptl/Makefile (libpthread-routines): Add it.
2745 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2746 * nptl/lll_timedwait_tid.c: ... to this new file.
2747 * nptl/Makefile (libpthread-routines): Add it.
2748 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2749 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2750 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2751 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2752 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2753 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2754 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2755 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2756 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2757 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2759 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2761 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2762 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2763 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2764 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2765 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2766 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2767 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2768 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2769 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2770 * sysdeps/unix/sysv/linux/tile/sysdep.h
2771 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2772 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2773 using vDSO syscall macro.
2775 2015-05-26 Andriy Rysin <arysin@gmail.com>
2778 * uk_UA: Fix sorting order for Ukrainian locale
2780 2015-05-26 Marko Myllynen <myllynen@redhat.com>
2782 * stdlib/monetary.h: Fix comment.
2784 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2787 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2788 st_mtim and st_ctim members.
2789 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2790 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2791 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2792 (struct stat64): Likewise.
2793 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2794 (struct stat64): Likewise.
2795 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2796 (struct stat64): Likewise.
2798 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2800 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2801 Define and include sysdep-vdso.h.
2802 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2804 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2806 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2807 Define with VDSO_SYMBOL and use PTR_MANGLE.
2808 (__vdso_clock_gettime): Likewise.
2809 (__vdso_clock_getres): Likewise.
2810 (_libc_vdso_platform_setup): Likewise.
2811 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2813 (_libc_vdso_platform_setup): Likewise.
2814 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2816 (__vdso_clock_gettime): Likewise.
2817 (__vdso_clock_getres): Likewise.
2818 (__vdso_get_tbfreq): Likewise.
2819 (__vdso_getcpu): Likewise.
2820 (__vdso_time): Likewise.
2821 (__vdso_sigtramp_rt64): Likewise.
2822 (__vdso_signtramp32): Likewise.
2823 (__vdso_sigtramp_rt32): Likewise.
2824 (_libc_vdso_platform_setup): Likewise.
2825 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2827 (__vdso_clock_gettime): Likewise.
2828 (__vdso_clock_getres): Likewise.
2829 (_libc_vdso_platform_setup): Likewise.
2830 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2832 (__vdso_clock_gettime): Likewise.
2833 (_libc_vdso_platform_setup): Likewise.
2834 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2836 (__vdso_getcpu): Likewise.
2837 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2838 Use VDSO_SYMBOL macro to define.
2839 (__vdso_clock_gettime): Likewise.
2840 (__vdso_clock_getres): Likewise.
2841 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2843 (__vdso_clock_gettime): Likewise.
2844 (__vdso_clock_getres): Likewise.
2845 (__vdso_get_tbfreq): Likewise.
2846 (__vdso_getcpu): Likewise.
2847 (__vdso_time): Likewise.
2848 (__vdso_sigtramp_rt64): Likewise.
2849 (__vdso_signtramp32): Likewise.
2850 (__vdso_sigtramp_rt32): Likewise.
2851 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2853 (__vdso_clock_gettime): Likewise.
2854 (__vdso_clock_getres): Likewise.
2855 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2857 (__vdso_clock_gettime): Likewise.
2858 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2860 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
2862 (INTERNAL_VSYSCALL): Likewise.
2863 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2865 (INTERNAL_VSYSCALL): Likewise.
2866 (INTERNAL_VSYSCALL_NCS): Likewise.
2867 (INTERNAL_VSYSCALL_CALL): New macro.
2868 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2869 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2871 (INTERNAL_VSYSCALL): Likewise.
2872 (INTERNAL_VSYSCALL_NCS): Likewise.
2873 (INTERNAL_VSYSCALL_CALL): New macro.
2874 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2876 (INLINE_VSYSCALL): Remove macro.
2877 (INTERNAL_VSYSCALL): Remove macro.
2878 (INTERNAL_VSYSCALL_NCS): Remove macro.
2879 (INTERNAL_VSYSCALL_CALL): New macro.
2880 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2881 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2882 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2883 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2884 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2886 (INLINE_VSYSCALL): Remove macro.
2887 (INTERNAL_VSYSCALL): Likewise.
2888 (INTERNAL_VSYSCALL_NCS): Likewise.
2889 (INTERNAL_VSYSCALL_CALL): New macro.
2890 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2891 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2892 PTR_DEMANGLE on vDSO pointer.
2893 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2894 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2896 (INTERNAL_SYSCALL): Likewise.
2897 (INTERNAL_VSYSCALL_NCS): Remove macro.
2898 (INTERNAL_VSYSCALL_CALL): New macro.
2899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2901 (INTERNAL_VSYSCALL): Likewise.
2902 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2903 sysdep-vdso.h instead of libc-vdso.h.
2904 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2906 (INLINE_VSYSCALL): Likewise.
2907 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2908 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2910 (INLINE_VSYSCALL): Likewise.
2911 (INTERNAL_VSYSCALL): Likewise.
2912 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2913 * sysdeps/unix/sysv/linux/timespec_get.c
2914 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2915 (timespec_get): Use ANSI prototype.
2916 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2917 and definition for Linux.
2919 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
2921 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2922 * include/libc-symbols.h: libmvec_hidden_* macro series added.
2924 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
2927 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2928 for missing DT_PLTRELSZ.
2930 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
2932 Remove obsolete aliases that broke 'locale -a'
2934 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2935 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2936 breaking some applications that use 'locale -a' output.
2937 Change the encoding of this file from Latin-1 to ASCII to avoid
2938 other potential problems with people grepping this file.
2940 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2942 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2943 -fasynchronous-unwind-tables.
2944 (CFLAGS-sendto.c): Likewise.
2945 (CFLAGS-sendmsg.c): Likewise.
2946 (CFLAGS-connect.c): Likewise.
2947 (CFLAGS-recvmsg.c): Likewise.
2948 (CFLAGS-recvfrom.c): Likewise.
2949 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2950 (SOCKETCALL): New macro: non-cancellable socketcall.
2951 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2952 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2953 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2954 * sysdeps/unix/sysv/linux/accept.c: New file.
2955 * sysdeps/unix/sysv/linux/bind.c: Likewise.
2956 * sysdeps/unix/sysv/linux/connect.c: Likewise.
2957 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2958 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2959 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2960 * sysdeps/unix/sysv/linux/listen.c: Likewise.
2961 * sysdeps/unix/sysv/linux/recv.c: Likewise.
2962 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2963 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2964 * sysdeps/unix/sysv/linux/send.c: Likewise.
2965 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2966 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2967 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2968 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2969 * sysdeps/unix/sysv/linux/socket.c: Likewise.
2970 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2971 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2973 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2974 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2975 instead of __internal_xxx function.
2976 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2978 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2979 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2980 instead of __internal_xxx function.
2981 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2983 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2984 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2985 instead of __internal_xxx function.
2986 * sysdeps/unix/sysv/linux/accept.S: Remove file.
2987 * sysdeps/unix/sysv/linux/bind.S: Likewise.
2988 * sysdeps/unix/sysv/linux/connect.S: Likewise.
2989 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2990 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2991 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2992 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2993 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2994 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2995 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2996 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2997 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2998 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2999 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3000 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3001 * sysdeps/unix/sysv/linux/listen.S: Likewise.
3002 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3003 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3004 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3005 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3008 * sysdeps/unix/sysv/linux/recv.S: Likewise.
3009 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3010 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3011 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3012 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3013 * sysdeps/unix/sysv/linux/send.S: Likewise.
3014 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3015 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3016 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3017 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3018 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3019 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3020 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3021 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3022 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3023 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3024 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3025 socketcall is implemented in GLIBC.
3027 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3029 * soft-fp/fmadf4.c: Include <libc-internal.h>.
3030 (__fma): Ignore uninitialized warnings around packing.
3031 * soft-fp/fmasf4.c: Include <libc-internal.h>.
3032 (__fmaf): Ignore uninitialized warnings around packing.
3033 * soft-fp/fmatf4.c: Include <libc-internal.h>.
3034 (__fmal): Ignore uninitialized warnings around packing.
3036 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3037 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3038 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3039 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3041 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3042 switch statement into default case.
3043 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3045 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3046 a conditional in forcing "inexact".
3047 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3050 2015-05-22 Roland McGrath <roland@hack.frob.com>
3052 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3053 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3054 for each INTERNAL_SYSCALL use.
3056 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3059 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3060 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3064 * string/basename.c (basename): Rename to __basename and define as
3065 weak alias of __basename. Use libc_hidden_weak.
3066 * include/string.h (__basename): Declare. Use libc_hidden_proto.
3067 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3068 __basename instead of basename.
3069 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3071 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3073 2015-05-18 Florian Weimer <fweimer@redhat.com>
3075 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3076 (_IO_JUMPS_FILE_plus): New.
3077 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3078 _IO_CAST_FIELD_ACCESS.
3079 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3080 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3081 * libio/freopen.c (freopen): Likewise.
3082 * libio/freopen64.c (freopen64): Likewise.
3083 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3084 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3085 * libio/iofwide.c (_IO_fwide): Likewise.
3086 * libio/memstream.c (open_memstream): Likewise.
3087 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3088 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3089 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3091 2015-05-21 Joseph Myers <joseph@codesourcery.com>
3093 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3094 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3096 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3097 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3099 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3100 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3103 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3106 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3107 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3109 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3110 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3111 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3113 2015-05-21 Florian Weimer <fweimer@redhat.com>
3115 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3116 Adjust jump table label generation macros.
3118 2015-05-21 Florian Weimer <fweimer@redhat.com>
3120 * stdio-common/vfprintf.c (vfprintf): Move local variables
3121 args_malloced, specs, specs_malloced, and the code after
3122 do_positional to the printf_positional function.
3123 (printf_positional): New function.
3125 2015-05-21 Florian Weimer <fweimer@redhat.com>
3127 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3129 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3130 STEP4_TABLE, process_arg): Move macro definitions
3131 out of the vfprintf function. (Cosmetic change only.)
3133 2015-05-21 Carlos O'Donell <carlos@redhat.com>
3135 * benchtests/Makefile (stdio-common-bench): Define.
3136 (benchset): Add stdio-common-bench.
3137 * sprintf-inputs: New file.
3138 * sprintf-source.c: New file.
3140 2015-05-21 Andreas Schwab <schwab@suse.de>
3144 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3145 of struct __res_state.
3146 * resolv/res_send.c (__libc_res_nsend): Likewise.
3147 (get_nsaddr): New function.
3148 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3151 2015-05-20 Joseph Myers <joseph@codesourcery.com>
3153 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3154 -D_POSIX_C_SOURCE=199506L.
3156 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3158 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3159 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3160 Do not mention otherwise.
3161 [POSIX] (_XOPEN_VERSION): Do not expect.
3162 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3163 [POSIX] (_POSIX2_C_BIND): Likewise.
3164 [POSIX] (_POSIX2_VERSION): Likewise.
3165 [POSIX] (_XOPEN_XPG2): Likewise.
3166 [POSIX] (_XOPEN_XPG3): Likewise.
3167 [POSIX] (_XOPEN_XPG4): Likewise.
3168 [POSIX] (_XOPEN_UNIX): Likewise.
3169 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3170 [POSIX] (_POSIX_BARRIERS): Likewise.
3171 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3172 [POSIX] (_POSIX_CPUTIME): Likewise.
3173 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3174 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3175 [POSIX] (_POSIX_SHELL): Likewise.
3176 [POSIX] (_POSIX_SPAWN): Likewise.
3177 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3178 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3179 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3180 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3181 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3182 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3183 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3184 [POSIX] (_XBS5_LP64_OFF64): Likewise.
3185 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3186 [POSIX] (_POSIX_TIMEOUTS): Likewise.
3187 [POSIX] (_POSIX2_PBS): Likewise.
3188 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3189 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3190 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3191 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3192 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3193 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3194 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3195 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3196 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3197 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3198 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3199 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3200 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3201 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3202 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3203 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3204 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3205 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3206 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3207 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3208 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3209 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3210 [POSIX] (_SC_2_C_BIND): Likewise.
3211 [POSIX] (_SC_2_C_VERSION): Likewise.
3212 [POSIX] (_SC_2_PBS): Likewise.
3213 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3214 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3215 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3216 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3217 [POSIX] (_SC_2_PBS_TRACK): Likewise.
3218 [POSIX] (_SC_ATEXIT_MAX): Likewise.
3219 [POSIX] (_SC_BARRIERS): Likewise.
3220 [POSIX] (_SC_BASE): Likewise.
3221 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3222 [POSIX] (_SC_DEVICE_IO): Likewise.
3223 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3224 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3225 [POSIX] (_SC_FD_MGMT): Likewise.
3226 [POSIX] (_SC_FIFO): Likewise.
3227 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3228 [POSIX] (_SC_FILE_LOCKING): Likewise.
3229 [POSIX] (_SC_FILE_SYSTEM): Likewise.
3230 [POSIX] (_SC_IOV_MAX): Likewise.
3231 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3232 [POSIX] (_SC_NETWORKING): Likewise.
3233 [POSIX] (_SC_PAGE_SIZE): Likewise.
3234 [POSIX] (_SC_PASS_MAX): Likewise.
3235 [POSIX] (_SC_PIPE): Likewise.
3236 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3237 [POSIX] (_SC_REGEXP): Likewise.
3238 [POSIX] (_SC_SHELL): Likewise.
3239 [POSIX] (_SC_SIGNALS): Likewise.
3240 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3241 [POSIX] (_SC_SPIN_LOCKS): Likewise.
3242 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3243 [POSIX] (_SC_USER_GROUPS): Likewise.
3244 [POSIX] (_SC_USER_GROUPS_R): Likewise.
3245 [POSIX] (_SC_STREAMS): Likewise.
3246 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3247 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3248 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3249 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3250 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3251 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3252 [POSIX] (_PC_FILESIZEBITS): Likewise.
3253 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3254 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3255 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3256 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3257 [POSIX] (uid_t): Likewise.
3258 [POSIX] (gid_t): Likewise.
3259 [POSIX] (off_t): Likewise.
3260 [POSIX] (pid_t): Likewise.
3261 [POSIX] (cuserid): Allow.
3262 (_SC_2_CHAR_TERM): Require constant.
3263 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3264 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3267 2015-05-20 Roland McGrath <roland@hack.frob.com>
3269 * sysdeps/nacl/pthread-pids.h: New file.
3270 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3271 (create_thread): Use __nacl_get_tid to initialize PD->tid.
3273 * nptl/pthread-pids.h: New file.
3274 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3275 * nptl/nptl-init.c: Include <pthread-pids.h>.
3276 (__pthread_initialize_minimal_internal):
3277 Call __pthread_initialize_pids instead of set_tid_address syscall.
3279 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3280 * sysdeps/posix/usleep.c: ... here.
3282 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3284 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3285 call_pselect6 object.
3286 [$(subdir) = io]: Remove call_sync_file_range object.
3287 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3288 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3289 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3290 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3292 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
3294 * math/s_cproj.c: Add include "math_private.h".
3295 * math/s_cprojf.c: Likewise.
3296 * math/s_cprojl.c: Likewise.
3298 2015-05-19 Joseph Myers <joseph@codesourcery.com>
3301 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3302 high mantissa bit when testing whether P is a NaN.
3303 * math/libm-test.inc (remainder_test_data): Add more tests.
3304 (remquo_test_data): Likewise.
3307 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3308 below -32, return the argument, with underflow if subnormal.
3309 * math/auto-libm-test-in: Add more tests of atanh.
3310 * math/auto-libm-test-out: Regenerated.
3312 2015-05-19 Roland McGrath <roland@hack.frob.com>
3315 * nptl/tst-sem15.c: New file.
3316 * nptl/Makefile (tests): Add it.
3317 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3318 s/<</>>/ to fix typo in EOVERFLOW check.
3319 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3321 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3323 * manual/strings.texi (envz_remove): Fix typo in safety
3326 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
3327 Steve Ellcey <sellcey@imgtec.com>
3329 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3330 in order to avoid strict alias warnings.
3331 (iruserok_af): Ditto for ra.
3333 2015-05-19 James Lemke <jwlemke@codesourcery.com>
3337 (magicbyte): Convert to a function and avoid returning 0x01.
3338 (mem2mem_check): Avoid using a length byte equal to the magic byte.
3339 (mem2chunk_check): Fix unsigned comparisons to zero.
3340 Hoist defs of sz and magic.
3342 2015-05-19 Richard Henderson <rth@redhat.com>
3344 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3346 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3348 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3351 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3352 * malloc/arena.c (arena_lock): Check if arena is corrupt.
3353 (reused_arena): Find a non-corrupt arena.
3354 (heap_trim): Pass arena to unlink.
3355 * malloc/hooks.c (malloc_check_get_size): Pass arena to
3357 (top_check): Likewise.
3358 (free_check): Likewise.
3359 (realloc_check): Likewise.
3360 * malloc/malloc.c (malloc_printerr): Add arena argument.
3362 (munmap_chunk): Adjust.
3363 (ARENA_CORRUPTION_BIT): New macro.
3364 (arena_is_corrupt): Likewise.
3365 (set_arena_corrupt): Likewise.
3366 (sysmalloc): Use mmap if there are no usable arenas.
3367 (_int_malloc): Likewise.
3368 (__libc_malloc): Don't fail if arena_get returns NULL.
3369 (_mid_memalign): Likewise.
3370 (__libc_calloc): Likewise.
3371 (__libc_realloc): Adjust for additional argument to
3373 (_int_free): Likewise.
3374 (malloc_consolidate): Likewise.
3375 (_int_realloc): Likewise.
3376 (_int_memalign): Don't touch corrupt arenas.
3377 * malloc/tst-malloc-backtrace.c: New test case.
3379 * Makefile (summarize-tests): Fix return value on success.
3381 * manual/string.texi (Envz Functions): Add envz_remove.
3383 2015-05-18 Roland McGrath <roland@hack.frob.com>
3385 * sysdeps/posix/opendir.c: Include <stdbool.h>.
3386 (invalid_name): New function, broken out of ...
3387 (__opendirat): ... here. Call it.
3388 (need_isdir_precheck): New function, broken out of ...
3389 (__opendirat): ... here. Call it.
3390 Use __fxstatat64, not __xstatat64.
3391 (opendir_oflags): New function, broken out of ...
3392 (__opendirat): ... here. Call it.
3393 (opendir_tail): New function, broken out of ...
3394 (__opendirat): ... here. Call it.
3395 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3396 opendir_tail, rather than punting to __opendirat.
3397 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3399 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3401 * .gitignore: Ignore generated *.pyc.
3403 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
3405 * include/stdio.h: Define __need_wint_t.
3406 * test-skeleton.c: Avoid `for' loop initial declaration.
3407 * nptl/tst-initializers1.c: Use test-skeleton.c.
3409 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3412 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3414 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3417 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3418 (__ieee754_atanh): Force underflow exception for results with
3419 small absolute value.
3420 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3421 (__ieee754_atanhf): Force underflow exception for results with
3422 small absolute value.
3423 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3424 (__ieee754_atanh): Force underflow exception for results with
3425 small absolute value.
3426 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3427 (__ieee754_atanhf): Force underflow exception for results with
3428 small absolute value.
3429 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3430 (__ieee754_atanhl): Force underflow exception for results with
3431 small absolute value.
3432 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3433 (__ieee754_atanhl): Force underflow exception for results with
3434 small absolute value.
3435 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3436 (__ieee754_atanhl): Force underflow exception for results with
3437 small absolute value.
3438 * math/auto-libm-test-in: Do not allow missing underflow
3439 exceptions from atanh.
3440 * math/auto-libm-test-out: Regenerated.
3443 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3444 2**-28 as threshold for returning x or +/- 1/x.
3445 * math/auto-libm-test-in: Add more tests of tan.
3446 * math/auto-libm-test-out: Regenerated.
3449 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3450 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3451 * math/auto-libm-test-in: Add another test of lgamma.
3452 * math/auto-libm-test-out: Regenerated.
3454 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
3456 * stdio-common/printf_fp.c (___printf_fp): Use abs.
3457 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
3458 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3459 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3460 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
3461 (ADD2A): Use fabs. (SUB2A): Use fabs.
3462 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3463 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3464 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3465 (log1): Use fabs. (my_log2): Use fabs.
3466 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3467 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3468 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3469 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3470 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3471 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
3472 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
3473 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
3474 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
3475 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3476 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3478 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3481 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3482 as threshold for returning 1 - x.
3483 * math/auto-libm-test-in: Add more tests of erfc.
3484 * math/auto-libm-test-out: Regenerated.
3486 2015-05-14 Joseph Myers <joseph@codesourcery.com>
3489 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3490 threshold for large arguments.
3491 * math/auto-libm-test-in: Add another test of atan.
3492 * math/auto-libm-test-out: Regenerated.
3495 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3496 (__log1p): Force underflow exception for results with small
3498 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3499 (__log1pf): Force underflow exception for results with small
3501 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3502 (__log1p): Force underflow exception for results with small
3504 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3505 (__log1pf): Force underflow exception for results with small
3507 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3508 (__log1pl): Force underflow exception for results with small
3510 * math/auto-libm-test-in: Do not allow missing underflow
3511 exceptions from log1p.
3512 * math/auto-libm-test-out: Regenerated.
3514 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
3515 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3518 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3520 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
3522 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3523 (libmvec): New variable.
3524 * configure.ac: Added option for mathvec build.
3525 * configure: Regenerated.
3526 * mathvec/Depend: New file.
3527 * mathvec/Makefile: New file.
3528 * shlib-versions: Added libmvec.
3529 * math/Makefile: Added rule for libm.so installation.
3531 * bits/math-vector.h: New file.
3532 * bits/libm-simd-decl-stubs.h: New header.
3533 * math/Makefile (headers): Added new header
3534 libm-simd-decl-stubs.h.
3535 * math/math.h (__MATHCALL_VEC): New macro.
3537 * math/gen-libm-have-vector-test.sh: Script generates series of macros
3538 for conditions in testing functions.
3539 * math/Makefile: Added call of libm-have-vector-test.sh.
3540 * math/libm-test.inc (HAVE_VECTOR): New macros.
3542 * math/libm-test.inc: START refactored.
3543 * math/test-double.c (TEST_MATHVEC): Add define.
3544 * math/test-float.c: Likewise.
3545 * math/test-idouble.c: Likewise.
3546 * math/test-ifloat.c: Likewise.
3547 * math/test-ildoubl.c: Likewise.
3548 * math/test-ldouble.c: Likewise.
3549 * sysdeps/generic/math-tests-arch.h
3550 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3553 * math/test-double.c (FUNC_TEST): New macro.
3554 * math/test-float.c: Likewise.
3555 * math/test-idouble.c: Likewise.
3556 * math/test-ifloat.c: Likewise.
3557 * math/test-ildoubl.c: Likewise.
3558 * math/test-ldouble.c: Likewise.
3559 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3561 2015-05-13 Roland McGrath <roland@hack.frob.com>
3563 * sysdeps/nacl/fdopendir.c: New file.
3565 * dirent/scandir-tail.c: New file.
3566 * dirent/scandir64-tail.c: New file.
3567 * dirent/Makefile (routines): Add them.
3568 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3569 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3570 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3571 [!SCANDIR] (SCANDIR_TAIL): New macro.
3572 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3573 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3574 (SCANDIRAT): Macro removed.
3575 (SCANDIR_TAIL): New macro.
3576 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3577 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3578 (SCANDIRAT): Just call __opendirat and __scandir_tail.
3579 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3580 (READDIR): Macro removed.
3581 (SCANDIR_TAIL): New macro.
3582 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3583 (SCANDIR_TAIL): New macro.
3585 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3586 * dirent/scandir-cancel.c: ... to this new file.
3587 * dirent/Makefile (routines): Add it.
3588 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3589 * sysdeps/unix/sysv/linux/i386/scandir64.c
3590 (SKIP_SCANDIR_CANCEL): Macro removed.
3591 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3593 * dirent/tst-scandir.c: New file.
3594 * dirent/tst-scandir64.c: New file.
3595 * dirent/Makefile (tests): Add them.
3597 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
3600 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3602 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3604 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3607 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
3609 * benchtests/bench-strcoll.c: New benchmark.
3610 * benchtests/Makefile: Generate locales and run benchmark.
3611 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3612 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3613 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3614 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3615 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3616 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3617 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3618 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3619 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3620 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3621 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3622 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3623 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3624 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3625 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3626 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3627 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3628 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3629 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3630 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3631 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3632 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3633 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3634 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3636 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
3638 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3639 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3641 2015-05-12 Roland McGrath <roland@hack.frob.com>
3643 * posix/uname-values.h: New file.
3644 * posix/uname.c: Include that instead of <config-name.h>.
3645 * sysdeps/nacl/uname-values.h: New file.
3646 * sysdeps/arm/nacl/uname-values.h: New file.
3648 2015-05-12 Joseph Myers <joseph@codesourcery.com>
3650 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3651 splitting into fields.
3653 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
3655 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3656 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3657 * locale/localeinfo.h: Add enum collation_encoding_type.
3658 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3659 * programs/ld-collate.c (collate_output): Add encoding type info.
3660 * string/strcoll_l.c (STRDIFF): New function.
3661 * (STRCOLL): Use STRDIFF to skip over equal prefix.
3662 * wcsmbs/wcscoll_l.c: Define STRDIFF.
3664 2015-05-11 Joseph Myers <joseph@codesourcery.com>
3667 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3668 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
3669 <fpu_control.h> instead of <math/fpu_control.c>.
3670 * sysdeps/mips/mips32/fpu/Makefile: New file.
3672 2015-05-11 Andreas Schwab <schwab@suse.de>
3675 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3677 (_nss_compat_endgrent): Call nss_endgrent.
3678 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3680 (_nss_compat_endpwent): Call nss_endpwent.
3681 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3682 needent, call nss_setspent only if non-zero.
3683 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3684 (internal_endspent): Don't call nss_endspent.
3685 (_nss_compat_endspent): Call nss_endspent.
3686 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3687 Remove. All uses removed.
3688 (internal_setent): Remove parameter stayopen, add parameter
3689 stream. Use it instead of global variable.
3690 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3691 (internal_endent, internal_getent): Add parameter stream. Use it
3692 instead of global variable.
3693 (CONCAT(_nss_files_end,ENTNAME))
3694 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3695 (_nss_files_get##name##_r): Pass local stream. Remove locking.
3696 * nss/nss_files/files-alias.c (position, last_use): Remove. All
3698 (internal_setent, internal_endent): Add parameter stream. Use it
3699 instead of global variable.
3700 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3702 (get_next_alias): Add parameter stream.
3703 (_nss_files_getaliasent_r): Pass global stream.
3704 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
3705 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3706 (_nss_files_gethostbyname4_r): Pass local stream to
3707 internal_setent, internal_getent and internal_endent. Remove
3710 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3712 * tst-strfmon1.c (tests): Update expected currency symbol.
3714 2015-05-08 Roland McGrath <roland@hack.frob.com>
3716 * sysdeps/nacl/gethostname.c: New file.
3718 2015-05-08 Joseph Myers <joseph@codesourcery.com>
3720 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3722 * math/auto-libm-test-out: Regenerated.
3723 * sysdeps/i386/fpu/libm-test-ulps: Update.
3724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3726 2015-05-08 Carlos O'Donell <carlos@redhat.com>
3729 * stdlib/tst-setcontext3.c: New file.
3730 * stdlib/tst-setcontext3.sh: New file.
3731 * stdlib/Makefile (tests): Add tst-setcontext3.
3732 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3733 to verify test program created output file.
3734 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3735 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3736 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3737 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3739 2015-05-06 Roland McGrath <roland@hack.frob.com>
3742 * elf/tst-tlsalign.c: New file.
3743 * elf/tst-tlsalign-static.c: New file.
3744 * elf/tst-tlsalign-lib.c: New file.
3745 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3746 (tests-static): Add tst-tlsalign-static.
3747 (modules-names): Add tst-tlsalign-lib.
3748 (test-xfail-tst-tlsalign): New variable.
3749 (test-xfail-tst-tlsalign-static): New variable.
3751 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3752 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3754 2015-05-06 Joseph Myers <joseph@codesourcery.com>
3756 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3757 csqrt, erfc, sin and sincos.
3758 * math/auto-libm-test-out: Regenerated.
3759 * sysdeps/i386/fpu/libm-test-ulps: Update.
3760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3762 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3764 * sysdeps/aarch64/libm-test-ulps: Update.
3766 2015-05-05 Joseph Myers <joseph@codesourcery.com>
3768 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3769 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3770 * math/auto-libm-test-out: Regenerated.
3771 * sysdeps/i386/fpu/libm-test-ulps: Update.
3772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3774 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3777 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3778 (wcsncpy): Likewise.
3780 2015-05-05 Florian Weimer <fweimer@redhat.com>
3782 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3783 Assume __ASSUME_FALLOCATE is always true.
3784 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3785 (__posix_fallocate64_l64): Likweise.
3786 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3787 (posix_fallocate): Likewise.
3788 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3789 (__posix_fallocate64_l64): Likewise.
3790 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3791 [!__ASSUME_FALLOCATE]: Add comment.
3793 2015-05-05 Florian Weimer <fweimer@redhat.com>
3795 * sysdeps/unix/sysv/linux/i386/Makefile
3796 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3797 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3798 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3799 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3800 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3801 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3802 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3804 2015-05-02 Joseph Myers <joseph@codesourcery.com>
3806 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3807 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
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-01 Joseph Myers <joseph@codesourcery.com>
3815 * math/auto-libm-test-in: Add more tests of tgamma.
3816 * math/auto-libm-test-out: Regenerated.
3817 * sysdeps/i386/fpu/libm-test-ulps: Update.
3818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3820 * math/auto-libm-test-in: Add more tests of tanh.
3821 * math/auto-libm-test-out: Regenerated.
3822 * sysdeps/i386/fpu/libm-test-ulps: Update.
3823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3825 * math/auto-libm-test-in: Add more tests of tan.
3826 * math/auto-libm-test-out: Regenerated.
3827 * sysdeps/i386/fpu/libm-test-ulps: Update.
3828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3830 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3831 * math/auto-libm-test-out: Regenerated.
3832 * sysdeps/i386/fpu/libm-test-ulps: Update.
3833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3835 * math/auto-libm-test-in: Add another test of pow.
3836 * math/auto-libm-test-out: Regenerated.
3837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3839 * math/auto-libm-test-in: Add more tests of lgamma.
3840 * math/auto-libm-test-out: Regenerated.
3841 * sysdeps/i386/fpu/libm-test-ulps: Update.
3842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3844 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3846 * math/auto-libm-test-out: Regenerated.
3847 * sysdeps/i386/fpu/libm-test-ulps: Update.
3848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3850 2015-05-01 Mark Wielaard <mjw@redhat.com>
3852 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3853 Elf64_Chdr structs and ELFCOMPRESS constants.
3855 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3857 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3859 * math/auto-libm-test-out: Regenerated.
3860 * sysdeps/i386/fpu/libm-test-ulps: Update.
3861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3863 * math/auto-libm-test-in: Add more tests of erf and erfc.
3864 * math/auto-libm-test-out: Regenerated.
3865 * sysdeps/i386/fpu/libm-test-ulps: Update.
3866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3868 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3870 * config.h.in (HAVE_AARCH64_BE): Add.
3872 2015-04-30 Joseph Myers <joseph@codesourcery.com>
3874 * math/auto-libm-test-in: Add more tests of csqrt.
3875 * math/auto-libm-test-out: Regenerated.
3876 * sysdeps/i386/fpu/libm-test-ulps: Update.
3877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3879 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3880 * math/auto-libm-test-out: Regenerated.
3881 * sysdeps/i386/fpu/libm-test-ulps: Update.
3882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3884 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3886 2015-04-29 Roland McGrath <roland@hack.frob.com>
3888 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3889 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3891 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3892 (euidaccess, eaccess): Define as weak aliases.
3894 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3895 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
3896 but __suseconds_t is often 'long int' so some sources assume that
3897 type is being used (e.g. they use %ld to print tv_usec).
3899 2015-04-29 Florian Weimer <fweimer@redhat.com>
3902 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3904 * nss/tst-nss-getpwent.c: New file.
3905 * nss/Makefile (tests): Add new test.
3907 2015-04-28 Joseph Myers <joseph@codesourcery.com>
3910 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3911 exponents less than 48 as cases where high part of mantissa needs
3912 examining to determine whether argument is integral.
3913 * math/libm-test.inc (round_test_data): Add more tests.
3915 2015-04-28 Mark Wielaard <mjw@redhat.com>
3917 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3919 2015-04-27 David S. Miller <davem@davemloft.net>
3921 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3923 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3925 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
3928 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3930 2015-04-27 Florian Weimer <fweimer@redhat.com>
3933 * time/tzset.c (parse_tzname): Return error on memory allocation
3935 * test-skeleton.c (struct temp_name_list): Change type of name
3936 member to non-const.
3937 (add_temp_file): Create a copy of the file name.
3938 (delete_temp_files): Deallocate memory.
3939 (create_temp_file): Add comment.
3941 2015-04-24 Florian Weimer <fweimer@redhat.com>
3943 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3944 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3946 2015-04-24 Roland McGrath <roland@hack.frob.com>
3948 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3949 * sysdeps/arm/configure: Regenerated.
3951 2015-04-24 Florian Weimer <fweimer@redhat.com>
3954 * time/tzfile.c (__tzfile_read): Check for large values of
3955 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
3956 * time/tzset.c (__tzstring_len): New function, based on the old
3957 __tzstring function.
3958 (__tzstring): Call __tzstring_len.
3959 (parse_tzname): New helper function extracted from
3960 __tzset_parse_tz. Call __tzstring_len, without making a copy of
3962 (parse_offset): New helper function extracted from
3963 __tzset_parse_tz. Replace switch with fallthrough with
3964 initialization before sscanf.
3965 (parse_rule): Likewise.
3966 (__tzset_parse_tz): Rewrite using the new helper functions. Use
3967 new-style function definition.
3968 * timezone/Makefile (tests): Add tst-tzset.
3969 (tst-tzset.out): Dependencies on time zone files.
3970 (tst-tzset-ENV): Set TZDIR.
3971 (testdata/XT%): Copy crafted time zone files.
3972 * timezone/README: Mention crafted time zone files.
3973 * timezone/testdata/XT1, timezone/testdata/XT2,
3974 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3976 * timezone/tst-tzset.c: New test.
3978 2015-04-24 Florian Weimer <fweimer@redhat.com>
3980 * Makeconfig (+gccwarn): Remove -Winline.
3982 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3984 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3986 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3988 * NEWS: Mention sysconf() cache information support for s390.
3989 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3991 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
3993 * math/k_casinh.c (__kernel_casinh): Use __copysign.
3994 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3995 (__nearbyint): Likewise.
3996 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3997 (copysignl): Likewise.
3999 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
4002 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4003 based on padding. (CVE-2015-1781)
4005 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4007 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4009 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4010 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4011 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4012 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4013 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4014 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4015 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4016 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4017 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4018 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4019 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4020 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4021 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4022 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4023 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4024 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4025 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4026 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4027 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4028 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4029 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4030 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4031 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4033 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
4035 * stdlib/setenv.c (__add_to_environ):
4036 Dump core quickly if setenv (..., NULL, ...) is called.
4037 This time, do it the right way, and pacify GCC with a pragma.
4039 2015-04-17 Roland McGrath <roland@hack.frob.com>
4041 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4042 IMAP->l_prev cannot be null, and #if out the code for the contrary
4043 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4044 believe that NS (&_dl_ns[NSID]) could point outside the array.
4046 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4047 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4048 before using NSID as an index.
4050 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
4053 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4054 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4055 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4057 2015-04-17 Roland McGrath <roland@hack.frob.com>
4059 Add preliminary port to Google Native Client on ARM.
4060 * abi-tags (.*-.*-nacl.*): New entry.
4061 * sysdeps/arm/nacl: New directory.
4062 * sysdeps/nacl: New directory.
4064 2015-04-16 David S. Miller <davem@davemloft.net>
4066 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4067 lowlevellock-futex.h
4069 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
4071 * sysdeps/tile/configure.ac: New file.
4072 * sysdeps/tile/configure: Regenerated.
4074 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4076 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
4077 conditionals for weak_alias and libc_hidden_weak.
4078 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4079 libc_hidden_weak and weak_alias.
4080 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4081 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4082 and weak_alias for static one.
4084 2015-04-15 David S. Miller <davem@davemloft.net>
4086 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4088 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4091 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4092 Use signed comparision instead of substraction to avoid
4094 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4095 Take the sign of ret.
4096 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4097 Do not expect precise return values. Only the sign matters.
4098 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4099 * wcsmbs/test-wcsncmp.c: New File.
4100 * string/test-strncmp.c: Add wcsncmp support.
4102 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4105 * math/w_log1p.c: New file.
4106 * math/w_log1pf.c: Likewise.
4107 * math/w_log1pl.c: Likewise.
4108 * math/Makefile (libm-calls): Add w_log1p.
4109 * math/s_log1pl.c (log1pl): Remove weak_alias.
4110 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4111 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4112 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4113 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4114 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4115 [NO_LONG_DOUBLE] (log1pl): Likewise.
4116 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4117 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4118 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4119 (log1p): Remove long_double_symbol.
4120 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4121 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4122 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4123 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4124 remove weak_alias for corresponding log1p function.
4125 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4126 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4127 * sysdeps/ia64/fpu/w_log1p.c: New file.
4128 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4129 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4130 * math/libm-test.inc (log1p_test_data): Add errno expectations.
4132 2015-04-10 Joseph Myers <joseph@codesourcery.com>
4135 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4136 decimal exponent by 1.
4137 * stdlib/tst-strtod-round-data: Add more tests.
4138 * stdlib/tst-strtod-round.c (tests): Regenerated.
4140 2015-04-09 Joseph Myers <joseph@codesourcery.com>
4142 * math/auto-libm-test-in: Add more tests of clog and clog10.
4143 * math/auto-libm-test-out: Regenerated.
4144 * sysdeps/i386/fpu/libm-test-ulps: Update.
4145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4147 2015-04-09 Roland McGrath <roland@hack.frob.com>
4149 * Makeconfig (module-cppflags): Exclude all .v.i files.
4150 (skip-module-cppflags): Variable removed.
4152 * configure.ac (libc_config_ok): Initialize before reading
4153 preconfigure scripts, not after.
4154 * configure: Regenerated.
4156 * test-skeleton.c (TIMEOUT): Move #define to top level.
4157 (main): Grok environment variable TEST_DIRECT. If set, print
4158 test expectation details into that file and then behave as if
4161 2015-04-09 Florian Weimer <fweimer@redhat.com>
4163 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4166 2015-04-08 David S. Miller <davem@davemloft.net>
4168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4170 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4172 * math/auto-libm-test-in: Add more tests of atanh.
4173 * math/auto-libm-test-out: Regenerated.
4174 * sysdeps/i386/fpu/libm-test-ulps: Update.
4175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4177 * math/auto-libm-test-in: Add more tests of atan.
4178 * math/auto-libm-test-out: Regenerated.
4179 * sysdeps/i386/fpu/libm-test-ulps: Update.
4180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4182 2015-04-08 Florian Weimer <fweimer@redhat.com>
4184 * elf/pldd.c (main): Rewrite to use struct
4185 scratch_buffer instead of extend_alloca.
4186 * elf/pldd-xx.c (find_maps): Likewise.
4187 * grp/initgroups.c: Include <scratch_buffer.h> instead of
4189 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4190 scratch_buffer instead of extend_alloca.
4191 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4192 grp/compat-initgroups.c.
4193 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4194 Rewrite to use struct scratch_buffer instead of extend_alloca.
4195 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4196 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4198 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4200 * math/auto-libm-test-in: Add more tests of cbrt.
4201 * math/auto-libm-test-out: Regenerated.
4202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4204 * math/auto-libm-test-in: Add more tests of cabs.
4205 * math/auto-libm-test-out: Regenerated.
4206 * sysdeps/i386/fpu/libm-test-ulps: Update.
4207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4211 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4212 (__ieee754_atan2): Set FE_TONEAREST mode for internal
4214 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4216 * math/auto-libm-test-out: Regenerated.
4217 * sysdeps/i386/fpu/libm-test-ulps: Update.
4218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4221 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4222 (atan): Set FE_TONEAREST mode for internal computations.
4223 * math/auto-libm-test-in: Add more tests of atan.
4224 * math/auto-libm-test-out: Regenerated.
4226 2015-04-07 James Cowgill <james410@cowgill.org.uk>
4229 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4231 2015-04-07 Florian Weimer <fweimer@redhat.com>
4233 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4235 2015-04-07 Florian Weimer <fweimer@redhat.com>
4237 * include/scratch_buffer.h: New file.
4238 * malloc/scratch_buffer_grow.c: Likewise.
4239 * malloc/scratch_buffer_grow_preserve.c: Likewise.
4240 * malloc/scratch_buffer_set_array_size.c: Likewise.
4241 * malloc/tst-scratch_buffer.c: Likewise.
4242 * malloc/Makefile (routines): Add scratch_buffer_grow.
4243 (tests): Add test case.
4244 * malloc/Versions (GLIBC_PRIVATE): Export
4245 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4246 __libc_scratch_buffer_set_array_size.
4248 2015-04-06 Richard Henderson <rth@redhat.com>
4250 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4251 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4253 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4254 unsigned int before printing.
4256 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4259 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4260 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4262 2015-04-02 Florian Weimer <fweimer@redhat.com>
4264 * include/libc-internal.h (libc_max_align_t): Define.
4266 2015-04-02 Andreas Schwab <schwab@suse.de>
4269 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4271 2015-04-02 Mel Gorman <mgorman@suse.de>
4274 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4275 as well as the main arena.
4277 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4280 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4281 sharing L2 cache to 2 for Silvermont/Knights Landing.
4283 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4286 * config.make.in (have-protected-data): New.
4287 * configure.ac: Check linker support for protected data symbol.
4288 * configure: Regenerated.
4289 * elf/Makefile (modules-names): Add tst-protected1moda and
4290 tst-protected1modb if $(have-protected-data) is yes.
4291 (tests): Add tst-protected1a and tst-protected1b if
4292 $(have-protected-data) is yes.
4293 ($(objpfx)tst-protected1a): New.
4294 ($(objpfx)tst-protected1b): Likewise.
4295 (tst-protected1modb.so-no-z-defs): Likewise.
4296 * elf/tst-protected1a.c: New file.
4297 * elf/tst-protected1b.c: Likewise.
4298 * elf/tst-protected1mod.h: Likewise.
4299 * elf/tst-protected1moda.c: Likewise.
4300 * elf/tst-protected1modb.c: Likewise.
4302 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4305 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4306 indicates it is called from do_lookup_x on relocation against
4307 protected data, skip the data definion in the executable from
4309 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4310 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4311 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4312 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4313 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4315 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4316 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4317 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4318 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4319 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4320 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4322 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
4324 * sysdeps/nptl/pthread.h: Remove duplicate definition of
4325 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4327 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
4329 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4331 * sysdeps/x86_64/nptl/tls.h: Ditto.
4333 2015-03-27 Roland McGrath <roland@hack.frob.com>
4335 * dlfcn/tststatic.c (main): Converted to ...
4336 (do_test): ... this.
4337 (TEST_FUNCTION): New macro.
4338 Include test-skeleton.c.
4340 2015-03-26 Alan Modra <amodra@gmail.com>
4342 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4343 Don't segfault if ifunc resolver returns a NULL. Do set plt to
4344 zero for undefined weak.
4345 (elf_machine_plt_conflict): Similarly.
4347 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4349 * math/auto-libm-test-in: Add more tests of acosh, asinh and
4351 * math/auto-libm-test-out: Regenerated.
4352 * sysdeps/i386/fpu/libm-test-ulps: Update.
4353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4355 * math/auto-libm-test-in: Add another test of asin.
4356 * math/auto-libm-test-out: Regenerated.
4357 * sysdeps/i386/fpu/libm-test-ulps: Update.
4358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4360 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4362 (LLL_EBX_REG): Likewise.
4363 (LLL_ENTER_KERNEL): Likewise.
4365 * math/auto-libm-test-in: Add more tests of asin.
4366 * math/auto-libm-test-out: Regenerated.
4367 * sysdeps/i386/fpu/libm-test-ulps: Update.
4368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4371 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4372 libc_do_syscall_args): New structure.
4373 (INTERNAL_SYSCALL_MAIN_0): New macro.
4374 (INTERNAL_SYSCALL_MAIN_1): Likewise.
4375 (INTERNAL_SYSCALL_MAIN_2): Likewise.
4376 (INTERNAL_SYSCALL_MAIN_3): Likewise.
4377 (INTERNAL_SYSCALL_MAIN_4): Likewise.
4378 (INTERNAL_SYSCALL_MAIN_5): Likewise.
4379 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
4380 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4381 Replace conditional definitions by conditional definitions of ....
4382 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
4383 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4384 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4385 (libpthread-sysdep_routines): Add libc-do-syscall.
4386 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4387 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4388 to __NR_futex not 240.
4390 2015-03-25 Alan Modra <amodra@gmail.com>
4392 * NEWS: Advertise TLS optimization.
4393 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4394 (DT_PPC_NUM): Increment.
4395 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4396 (CHECK_STATIC_TLS): Use here.
4397 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4400 * sysdeps/powerpc/dl-tls.c: New file.
4401 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4402 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4403 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4404 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4409 2015-03-25 Alan Modra <amodra@gmail.com>
4411 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4412 for overlapping .opd entries" to "support...".
4413 * sysdeps/powerpc/powerpc64/configure: Regenerate
4415 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4417 * math/auto-libm-test-in: Add more tests of acos.
4418 * math/auto-libm-test-out: Regenerated.
4419 * sysdeps/i386/fpu/libm-test-ulps: Update.
4420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4422 * math/auto-libm-test-in: Add more tests of expm1.
4423 * math/auto-libm-test-out: Regenerated.
4424 * sysdeps/i386/fpu/libm-test-ulps: Update.
4425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4427 2015-03-24 Joseph Myers <joseph@codesourcery.com>
4429 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4430 * math/auto-libm-test-out: Regenerated.
4431 * sysdeps/i386/fpu/libm-test-ulps: Update.
4432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4434 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4437 * math/auto-libm-test-in: Add more tests of log2.
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 2015-03-23 Roland McGrath <roland@hack.frob.com>
4444 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4445 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
4446 _IO_IS_APPENDING bit in READ_WRITE instead.
4448 2015-03-23 Florian Weimer <fweimer@redhat.com>
4450 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4451 (__determine_cpumask_size): Replace extend_alloca with a
4452 variable-length array. Do not treat res == 0 as an error.
4454 2015-03-23 Florian Weimer <fweimer@redhat.com>
4457 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4458 and integer overflow.
4459 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4460 (main): Add integer overflow tests.
4461 * manual/pattern.texi (Calling Wordexp): Document additional use
4464 2015-03-23 Alan Modra <amodra@gmail.com>
4466 * config.h.in: Remove HAVE_ASM_PPC_REL16.
4467 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4468 and false branch of conditional.
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4472 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
4474 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4476 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4477 unused declaration of _hurd_intr_rpc_msg_in_trap.
4478 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4479 defined instead of whether it is non-zero.
4480 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4481 input constraint instead of both input and output constraint. Use ecx
4482 clobber instead of %ecx.
4483 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4484 mutex_unlock): Use a statement expression instead of an expression list.
4485 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4486 type to vm_size_t instead of vm_address_t.
4487 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4488 defined instead of whether it is non-zero.
4489 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4490 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4491 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4492 comparisons with mapaddr.
4493 * nscd/nscd-client.h: Include <time.h>.
4494 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4495 9th parameter to __vm_region instead of int.
4496 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4497 * scripts/check-local-headers.sh (exclude): Add device/,
4498 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4501 2015-03-19 Roland McGrath <roland@hack.frob.com>
4503 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4504 to account for alignment padding.
4505 * sysdeps/arm/memmove.S: Likewise.
4507 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
4509 * sysdeps/unix/sysv/linux/generic/README: New file.
4511 2015-03-18 Joseph Myers <joseph@codesourcery.com>
4514 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4515 (futex_abstimed_wait)
4516 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4517 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4518 of lll_futex_timed_wait.
4520 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
4523 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4525 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
4532 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4533 entries with Static TLS too. Skip entries past the end of the
4534 allocated DTV, from Alan Modra.
4535 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
4536 Static TLS DTV entry set up from...
4537 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4538 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4539 * nptl/allocatestack.c (init_one_static_tls): ... and here...
4540 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4542 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
4543 that the slot we find is associated with the given map before
4544 using its generation count.
4545 * nptl_db/db_info.c: Include ldsodefs.h.
4546 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4547 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4548 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4549 (link_map::l_tls_offset): New struct field.
4550 (dtv_t::counter): Likewise.
4551 (rtld_global): New struct.
4552 (_rtld_global): New rtld variable.
4553 (dl_tls_dtv_slotinfo_list): New rtld global field.
4554 (dtv_slotinfo_list): New struct.
4555 (dtv_slotinfo): Likewise.
4556 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4557 (td_lookup): Rename to...
4558 (td_mod_lookup): ... this. Use new mod parameter instead of
4560 * nptl_db/td_thr_tlsbase.c: Include link.h.
4561 (dtv_slotinfo_list, dtv_slotinfo): New functions.
4562 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
4563 addresses even if the DTV is out of date or missing them.
4564 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4565 index zero-length arrays.
4566 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4567 (td_lookup): Make it a macro implemented in terms of...
4568 (td_mod_lookup): ... this declaration.
4569 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4570 (DB_MAIN_VARIABLE): Likewise.
4572 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
4575 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4577 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
4579 * stdlib/setenv.c (__add_to_environ): Revert previous change.
4581 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
4584 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4585 (atomic_add, atomic_increment_and_test)
4586 (atomic_decrement_and_test): Fix 64-bit arithmetic.
4588 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
4590 * stdlib/setenv.c (__add_to_environ):
4591 Dump core quickly if setenv (..., NULL, ...) is called.
4593 2015-03-13 Roland McGrath <roland@hack.frob.com>
4595 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4596 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4597 all the necessary asm magic in one place.
4598 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4601 2015-03-13 Carlos O'Donell <carlos@redhat.com>
4604 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4605 traced file mtime. Use consistent log message.
4606 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4607 (register_traced_file): Call install_watches. Always set mtime.
4608 (invalidate_cache): Iterate over all trace files. Call install_watches.
4609 (inotify_check_files): Don't inline. Handle watching parent
4610 directories and configuration file movement in and out.
4611 (handle_inotify_events): New function.
4612 (main_loop_poll): Call handle_inotify_events.
4613 (main_loop_epoll): Likewise.
4614 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4615 (struct traced_file): Use array of inotify fds. Add parent directory,
4617 (struct database_dyn): Remove unused file_mtime.
4618 (init_traced_file): New inline function.
4619 (define_traced_file): New macro.
4620 * nss/nss_db/db-init.c: Use define_traced_file.
4621 (_nss_db_init): Use init_traced_file.
4622 * nss/nss_files/files-init.c: Use define_traced_file.
4623 (_nss_files_init): Use init_traced_file.
4625 2015-03-12 Joseph Myers <joseph@codesourcery.com>
4627 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4628 [_LIBC]: Do not include <stdlib.h>.
4629 [!_LIBC] (abort): Remove declaration.
4630 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4631 _FP_STATIC_ASSERT instead of conditionally calling abort.
4632 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4633 (_FP_EXTEND_CNAN): Likewise.
4634 (FP_TRUNC): Likewise.
4635 (__FP_CLZ): Likewise.
4636 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4638 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
4640 * manual/string.texi (XPG basename): Fix prototype.
4642 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4645 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4646 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4647 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4648 (__setcontext): Likewise.
4649 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4650 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4651 Call rt_sigprocmask syscall one time to set new signal mask
4652 and retrieve the current signal mask instead of two calls.
4653 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4654 (__swapcontext): Likewise.
4655 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4656 * stdlib/tst-setcontext2.c: New file.
4658 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4660 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4662 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
4665 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4668 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4671 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4673 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4675 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4676 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4678 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4679 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4680 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4681 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4682 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4683 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4685 * nptl_db/td_symbol_list.c (td_lookup): Remove
4686 HAVE_ASM_GLOBAL_DOT_NAME code.
4687 * sysdeps/powerpc/powerpc64/configure.ac: Remove
4688 HAVE_ASM_GLOBAL_DOT_NAME check.
4689 * sysdeps/powerpc/powerpc64/configure: Regenerate.
4690 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4691 (DOT_LABEL): Remove define.
4692 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4693 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4694 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4695 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4696 (__TLS_GET_ADDR): Likewise.
4697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4698 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4700 2015-03-11 Carlos O'Donell <carlos@redhat.com>
4703 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4704 (_FPU_SETCW): Initialize cw from fpsr before storing.
4705 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4706 (fesetexceptflag): Rewrite using fpu_control.h.
4707 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4709 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
4712 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4714 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4716 2015-03-11 Joseph Myers <joseph@codesourcery.com>
4718 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4719 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4721 (_FP_FMA): Likewise.
4722 (_FP_DIV): Likewise.
4724 2015-03-10 Roland McGrath <roland@hack.frob.com>
4726 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4727 with 0 in that case.
4728 * Makefile (summarize-tests): New canned sequence, factored out of
4729 commands for targets tests and xtests. Display summary lines that
4730 don't start with PASS: or XFAIL: rather than ones that do start with
4731 ERROR: or FAIL:. Make the commands fail if any summary lines fail
4732 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4733 do start with ERROR: or FAIL:.
4734 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4735 (except for [$(build-shared) = yes]).
4736 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4737 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4738 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4739 * nptl/Makefile: Revert 2015-03-04 changes.
4740 [$(CXX) empty] (tests-unsupported): New variable.
4741 * debug/Makefile: Likewise.
4743 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4744 gnulib file. Replace __attribute with __attribute__ throughout.
4746 2015-03-10 Carlos O'Donell <carlos@redhat.com>
4748 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4750 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4753 * math/auto-libm-test-in: Add another test of pow.
4754 * math/auto-libm-test-out: Regenerated.
4756 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4758 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4759 $(config-cflags-nofma).
4761 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4763 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4764 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4765 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4766 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4767 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4768 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4769 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4770 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4771 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4772 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4773 Add comment on closing #endif.
4775 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4777 * posix/wordexp.c (CHAR_IN_SET): New macro.
4778 (parse_param): Use it.
4780 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4782 * sysdeps/powerpc/fpu/libm-test-ulps: update.
4784 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4787 * posix/wordexp.c (parse_param): Fix buffer overflow.
4788 * posix/wordexp-test.c (test_case): Add test case.
4790 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4793 * posix/wordexp.c (parse_backtick): Fix off-by-one.
4794 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4796 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4799 * posix/wordexp-test.c (test_case): Add test for BZ #18043
4800 (do_bz18043): Delete.
4802 (testit): Refactor to have words at the edge of unreadable page.
4804 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4807 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4808 Cleanup read-only streams as well.
4809 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4811 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4813 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4816 2015-03-07 Joseph Myers <joseph@codesourcery.com>
4818 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
4820 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4821 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4822 * soft-fp/op-common.h (_FP_DECL): Likewise.
4824 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
4826 * elf/ifuncdep2.c (global): Replace
4827 __attribute__((visibility("protected"))) with
4828 asm (".protected global").
4829 * elf/ifuncmod1.c (global): Likewise.
4830 * elf/ifuncmod5.c (global): Likewise.
4832 2015-03-06 Joseph Myers <joseph@codesourcery.com>
4834 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4835 <asm/sfp-machine.h> instead of <sfp-machine.h>.
4837 2015-03-06 Roland McGrath <roland@hack.frob.com>
4839 * manual/install.texi (Configuring and compiling):
4840 Document test-wrapper-env-only.
4841 * INSTALL: Regenerated.
4843 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4846 * posix/wordexp.c (parse_param): Fix buffer overflow.
4847 * posix/wordexp-test.c (do_bz18043): Add test case.
4849 2015-03-06 Vincent Bernat <vincent@bernat.im>
4851 * time/tst-strptime2.c (do_test): Ensure failing tests are
4853 * time/tst-strptime3.c (do_test): Likewise.
4855 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
4857 Fix aio_error thread-safety.
4858 * sysdeps/pthread/aio_error.c: New file
4859 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4862 2015-03-06 Florian Weimer <fweimer@redhat.com>
4864 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4865 (group_number, vfprintf): Use it.
4866 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4867 (JUMP, REF): Use it.
4868 (WORK_BUFFER_SIZE): New enum constant.
4869 (process_arg, vfprintf): Use it.
4871 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
4873 * manual/errno.texi (Error Messages): Complete example function
4874 by adding missing #define.
4875 (program_invocation_name): Add statement indicating GNU
4876 extension and reference which header file declares the variable.
4877 (program_invocation_short_name): Likewise.
4879 2015-03-06 Mike Frysinger <vapier@gentoo.org>
4881 * manual/errno.texi (Error Messages): Delete strerror ISO C89
4884 2015-03-05 Roland McGrath <roland@hack.frob.com>
4886 * Makeconfig (test-wrapper-env-only): New variable.
4887 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4888 then use that with $(test-wrapper-env-only) rather than using
4889 $(test-wrapper-env) $(run-program-env) $($*-ENV).
4891 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
4894 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4895 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4896 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4897 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4898 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4899 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4900 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4901 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4903 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4904 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4906 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4908 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4910 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4912 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4913 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4915 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4917 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4918 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4920 2015-03-04 Roland McGrath <roland@hack.frob.com>
4922 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4923 (ETH_ALEN): New macro.
4924 (struct ether_addr): Use it for length of ether_addr_octet.
4926 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4927 (setdb): Don't call __nss_configure_lookup for "rpc".
4928 (do_test): Don't call test_rpc.
4929 (output_rpcent, test_rpc): Functions moved ...
4930 * sunrpc/test-rpcent.c: ... to this new file.
4931 * sunrpc/Makefile (tests): Add it.
4933 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4935 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4936 * nptl/tst-signal6.c: Likewise.
4937 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4938 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4940 * configure.ac (libc_cv_cxx_link_ok): New check.
4941 Reset CXX to empty if it fails to link.
4942 * configure: Regenerated.
4943 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4944 bug-atexit3-lib only if $(CXX) is nonempty.
4945 * nptl/Makefile (tests): Likewise for tst-cancel24.
4946 (tests, tests-static): Likewise for tst-cancel24-static.
4947 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4948 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4949 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4950 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4952 2015-03-04 Andreas Schwab <schwab@suse.de>
4955 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4956 for non-GCC compilers.
4957 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4960 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4963 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4964 integer before bitwise and assembly operations.
4965 (feclearexcept): Likewise.
4966 * math/test-fenvinline.c: New file.
4967 * math/Makefile: Add test-fenvinline test.
4969 2015-03-03 Alan Modra <amodra@gmail.com>
4972 * scripts/localplt.awk: Strip off symbol version.
4973 * NEWS: Mention bug fix.
4975 2015-03-02 Roland McGrath <roland@hack.frob.com>
4977 * sysdeps/pthread/timer_routines.c
4978 (timer_free_list, thread_free_list, thread_active_list): Make static.
4980 2015-03-02 Joseph Myers <joseph@codesourcery.com>
4983 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4984 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4986 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4987 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4989 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4990 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4993 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4996 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4997 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4999 2015-03-02 Andreas Schwab <schwab@suse.de>
5001 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5004 2015-03-02 Florian Weimer <fweimer@redhat.com>
5006 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5007 Return error status.
5009 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
5012 * locale/findlocale.c (_nl_find_locale): Introduce const
5013 version of loc_name and drop unsafe type casts.
5015 2015-02-27 Roland McGrath <roland@hack.frob.com>
5017 * dlfcn/tststatic2.c (main): Converted to ...
5018 (do_test): ... this.
5019 (TEST_FUNCTION): New macro.
5020 Include test-skeleton.c.
5022 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
5025 * elf/Makefile (tests): Add vismain only if PIE is enabled.
5026 (tests-pie): Add vismain.
5027 (CFLAGS-vismain.c): New.
5028 * elf/vismain.c: Add comments for PIE requirement.
5030 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5034 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5035 0x1p-56L as threshold for just returning the argument.
5036 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5037 0x1p-32L as threshold for just returning the argument.
5038 * math/auto-libm-test-in: Add more tests of atanh.
5039 * math/auto-libm-test-out: Regenerated.
5040 * sysdeps/i386/fpu/libm-test-ulps: Update.
5041 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5043 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5045 * string/bcopy.c (bcopy): Call memmove for performance.
5047 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5049 * string/bzero.c (__bzero): Call memset for performance.
5051 2015-02-27 John David Anglin <dave.anglin@bell.net>
5054 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5057 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5059 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5061 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5063 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5064 (__kernel_standard): Use CSTR macro when setting exc.name.
5065 * sysdeps/ieee754/Makefile [$(subdir) = math]
5066 (CFLAGS-k_standard.c): Remove variable.
5068 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5069 setting p and q from "else if" to "else".
5071 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5073 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5075 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5077 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5079 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5084 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5085 return pi/2 for arguments below 0x1p-113L.
5086 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5087 return pi/2 for arguments below 0x1p-106L.
5088 * math/auto-libm-test-in: Add more tests of acos.
5089 * math/auto-libm-test-out: Regenerated.
5092 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5094 (__ieee754_asin): Force underflow exception for results with small
5096 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5098 (__ieee754_asinf): Force underflow exception for results with
5099 small absolute value.
5100 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5101 (__ieee754_asin): Force underflow exception for results with small
5103 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5104 (__ieee754_asinf): Force underflow exception for results with
5105 small absolute value.
5106 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5107 (__ieee754_asinl): Force underflow exception for results with
5108 small absolute value.
5109 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5110 (__ieee754_asinl): Force underflow exception for results with
5111 small absolute value.
5112 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5113 (__ieee754_asinl): Force underflow exception for results with
5114 small absolute value.
5115 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5117 * math/auto-libm-test-in: Do not mark underflow exceptions as
5118 possibly missing for bug 16351.
5119 * math/auto-libm-test-out: Regenerated.
5122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5123 of power of 2 down when low part has opposite sign.
5124 * math/libm-test.inc (logb_test_data): Add more tests.
5126 2015-02-26 Andreas Schwab <schwab@suse.de>
5129 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5130 over collating symbol inside a bracket expression. Minor cleanup.
5131 * posix/tst-fnmatch3.c (do_test): Add test case.
5133 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5136 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5137 Adjust exponent of power of 2 down when low part has opposite
5139 * math/libm-test.inc (ilogb_test_data): Add more tests.
5141 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
5144 * locale/findlocale.c (_nl_find_locale): Fix constness error in
5145 the previous change.
5148 * locale/findlocale.c (_nl_find_locale): Retry archive search
5149 after alias expansion.
5151 2015-02-25 Roland McGrath <roland@hack.frob.com>
5153 * iconv/tst-iconv3.c (main): Converted to ...
5154 (do_test): ... this.
5155 (TEST_FUNCTION): New macro.
5156 Include test-skeleton.c.
5158 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5159 (convert): Make function static.
5160 (test_unalign): Likewise. Add const to argument pointee types.
5161 (main): Replace with static function do_test.
5162 Print "Succeeded." only if RET is zero.
5163 (TEST_FUNCTION): New macro.
5164 Include test-skeleton.c.
5166 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5167 returns a null pointer.
5169 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5171 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5172 to __memcpy_ppc only for static builds.
5174 2015-02-25 Joseph Myers <joseph@codesourcery.com>
5177 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5178 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5179 * math/auto-libm-test-in: Add more tests of asinh.
5180 * math/auto-libm-test-out: Regenerated.
5181 * sysdeps/i386/fpu/libm-test-ulps: Update.
5182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5184 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
5187 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5188 and ip6_mtuinfo definitions here.
5189 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5190 in this define too. Update comment.
5192 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
5194 * elf/sprof.c (load_shobj): Tweak error message to match others.
5196 2015-02-24 Kevin Easton <kevin@guarana.org>
5198 [BZ #16145] (partial fix)
5199 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5200 to reduce lock contention.
5202 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
5204 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5205 (struct timex): Update time comment.
5206 (ADJ_SETOFFSET): Define.
5208 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5211 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5212 2**56 not 2**28 as threshold for log (2x) formula.
5213 * math/auto-libm-test-in: Add more tests of acosh.
5214 * math/auto-libm-test-out: Regenerated.
5215 * sysdeps/i386/fpu/libm-test-ulps: Update.
5216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5218 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5220 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5221 parenthesis around the buf assignment.
5222 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5224 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5227 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5228 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5229 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5230 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5231 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5232 * math/libm-test.inc (scalb_test_data): Add more tests.
5234 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5237 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5238 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5240 2015-02-24 Eric Rannaud <e@nanocritical.com>
5243 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5244 * io/bits/fcntl2.h (open): Use it.
5246 * io/open.c (__libc_open): Likewise.
5247 * io/open64.c (__libc_open64): Likewise.
5248 * io/open64_2.c (__open64_2): Likewise.
5249 * io/open_2.c (__open_2): Likewise.
5250 * io/openat.c (__openat): Likewise.
5251 * io/openat64.c (__openat64): Likewise.
5252 * io/openat64_2.c (__openat64_2): Likewise.
5253 * io/openat_2.c (__openat_2): Likewise.
5254 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5255 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5256 * sysdeps/posix/open64.c (__libc_open64): Likewise.
5257 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5258 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5259 (__open_nocancel): Likewise.
5260 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5261 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5262 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5264 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5267 * resolv/gethnamaddr.c (getanswer): Skip logging if
5268 RES_USE_DNSSEC is set.
5269 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5271 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5273 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5275 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
5277 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5278 201304L, for Unicode 7.
5280 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
5283 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5284 shared library. Add gmon-start.os otherwise.
5285 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5286 $(objpfx)gmon-start.os if builing shared library.
5287 ($(objpfx)g$(static-start-installed-name)): Likewise.
5289 2015-02-23 Andreas Schwab <schwab@suse.de>
5291 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5293 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5296 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5297 (enlarge_userbuf): Likewise.
5299 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
5301 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5302 * math/atest-exp.c (TIMEOUT): Adjust to 200.
5303 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5304 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5306 2015-02-20 Joseph Myers <joseph@codesourcery.com>
5308 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5309 expression inside statement expression.
5311 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5313 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5314 <sysdeps/nptl/lowlevellock.h> and remove macros and
5315 functions that are now defined there.
5316 (SYS_futex): Remove.
5317 (lll_compare_and_swap): Remove.
5318 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5320 2015-02-19 Joseph Myers <joseph@codesourcery.com>
5323 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5324 instead of scandirat.
5325 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5326 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5327 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5329 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5330 (__scandirat): Declare. Use libc_hidden_proto.
5331 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5333 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5335 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5338 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5340 (__ieee754_atan2): For results with small absolute value, force
5341 underflow exception and remove excess range and precision from
5343 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5345 (__ieee754_atan2f): For results with small absolute value, force
5346 underflow exception and remove excess range and precision from
5348 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5350 (__atan): For results with small absolute value, force underflow
5351 exception and remove excess range and precision from return value.
5352 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5354 (__atanf): For results with small absolute value, force underflow
5355 exception and remove excess range and precision from return value.
5356 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5358 (__ieee754_atan2): Force underflow exception for results with
5359 small absolute value.
5360 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5362 (atan): Force underflow exception for results with small absolute
5364 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5365 (__atanf): Force underflow exception for results with small
5367 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5369 (__atanl): Force underflow exception for results with small
5371 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5372 (__atanl): Force underflow exception for results with small
5374 * sysdeps/x86/fpu/bits/mathinline.h
5375 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5376 (__ieee754_atan2): Only define inline for long double.
5377 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5378 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5379 * math/auto-libm-test-in: Do not mark underflow exceptions as
5380 possibly missing for bug 15319. Add more tests of atan2.
5381 * math/auto-libm-test-out: Regenerated.
5382 * math/libm-test.inc (casin_test_data): Do not mark underflow
5383 exceptions as possibly missing for bug 15319.
5384 (casinh_test_data): Likewise.
5385 * sysdeps/i386/fpu/libm-test-ulps: Update.
5387 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
5389 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5390 * sysdeps/mips/bits/endian.h: Fix comments.
5392 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5395 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5396 (hdestroy_r): Likewise.
5397 (hsearch_r): Likewise.
5398 (__hcreate_r): Declare and use libc_hidden_proto.
5399 (__hdestroy_r): Likewise.
5400 (__hsearch_r): Likewise.
5401 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5402 (hcreate): Call __hcreate_r instead of hcreate_r.
5403 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5404 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5405 as weak alias of __hcreate_r.
5406 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5408 (hsearch_r): Rename to __hsearch_r and define as weak alias of
5410 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5412 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5413 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5414 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5415 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5417 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5419 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5420 arena_lock into a single arena_get.
5422 2015-02-17 Carlos O'Donell <carlos@redhat.com>
5424 * dl-reloc.c: Inlucde libc-internal.h.
5425 (_dl_try_allocate_static_tls): Call ALIGN_UP.
5426 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5427 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5428 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5429 (grow_heap): Likewise.
5430 * malloc/malloc.c: Include libc-internal.h.
5431 (do_check_malloc): Call powerof2.
5432 (sysmalloc): Use pagesize. Call ALIGN_UP.
5433 (systrim): Use pagesize.
5434 (mremap_chunk): Use pagesize. Call ALIGN_UP.
5435 (__libc_valloc): Use pagesize.
5436 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5438 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5441 * include/sys/resource.h (__getrlimit64): Declare. Use
5443 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5444 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
5445 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5447 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5449 [!getrlimit64] (getrlimit64): Define as weak alias of
5450 __getrlimit64. Use libc_hidden_weak.
5451 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5452 using __getrlimit64 not __new_getrlimit64.
5453 (__GI_getrlimit64): Likewise.
5454 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5456 (__GI_getrlimit64): Likewise.
5457 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5459 (getrlimit): Add __getrlimit64 alias.
5460 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5462 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5464 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5465 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5467 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5469 * libio/fileops.c: Add missing sys/mman.h
5470 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5472 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5474 * manual/math.texi (Errors in Math Functions): Clarify goals
5475 regarding inexact and underflow exceptions.
5477 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5479 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5480 * sysdeps/mips/memset.S: Ditto.
5482 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5484 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5486 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5488 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5489 (__v1longjmp): Remove versioned symbol.
5490 (__v1siglongjmp): Remove alias and versioned symbol.
5491 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5492 (__v2siglongjmp): Likewise.
5494 2015-02-16 Torvald Riegel <triegel@redhat.com>
5496 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5498 2015-02-16 Mike Frysinger <vapier@gentoo.org>
5500 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5502 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5505 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5506 zero result does not depend on the sign resulting from
5508 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5510 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5511 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5512 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5513 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5514 * math/libm-test.inc (remquo_test_data): Add more tests.
5516 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
5518 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5519 Problem reported by J William Piggott.
5521 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5524 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5525 products 4 * y and 2 * y where those would overflow.
5526 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5528 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5529 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5530 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5531 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5532 * math/libm-test.inc (remquo_test_data): Add more tests.
5534 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5536 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5537 [defined _COMPILING_NEWLIB].
5538 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5539 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5541 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5542 [!defined __mips_isa_rev || __mips_isa_rev < 6].
5544 2015-02-16 Torvald Riegel <triegel@redhat.com>
5546 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5549 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
5552 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5553 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5554 HOST_STACK_END_ADDR): Likewise.
5556 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
5558 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5559 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5560 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5562 2015-02-13 Roland McGrath <roland@hack.frob.com>
5564 * sysdeps/generic/c++-types.data: New file.
5565 * sysdeps/generic/ld.abilist: New file.
5566 * sysdeps/generic/libBrokenLocale.abilist: New file.
5567 * sysdeps/generic/libanl.abilist: New file.
5568 * sysdeps/generic/libc.abilist: New file.
5569 * sysdeps/generic/libcrypt.abilist: New file.
5570 * sysdeps/generic/libdl.abilist: New file.
5571 * sysdeps/generic/libm.abilist: New file.
5572 * sysdeps/generic/libpthread.abilist: New file.
5573 * sysdeps/generic/libresolv.abilist: New file.
5574 * sysdeps/generic/librt.abilist: New file.
5576 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5579 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5580 Compute absolute value of x as modified by fmod, not original
5582 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5583 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
5584 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
5585 RUN_TEST_ffI_f1_mod8.
5586 (remquo_test_data): Add more tests.
5588 2015-02-13 Roland McGrath <roland@hack.frob.com>
5590 * sysdeps/init_array/pt-crti.S: New file.
5592 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5595 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5596 __builtin_fmaf instead of relying on contraction of a * b + c.
5598 2015-02-12 J William Piggott <elseifthen@gmx.com>
5601 * manual/time.texi: correct the zoneinfo path in the TZ Variable
5604 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5607 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5608 __builtin_fma instead of relying on contraction of a * b + c.
5610 2015-02-12 Roland McGrath <roland@hack.frob.com>
5612 * Makeconfig (ASFLAGS): Add -Werror=undef.
5613 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5614 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5615 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5617 * Makeconfig (after-link): New variable.
5618 (+link-pie, +link-pie-tests): Use it.
5619 (+link-static, +link-static-tests): Likewise.
5620 (+link, +link-tests): Likewise.
5621 * Makerules (build-module, build-module-asneeded): Likewise.
5622 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5624 * elf/Makefile ($(objpfx)ld.so): Likewise.
5626 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5629 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5630 both struct timeval and struct timespec.
5632 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5635 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5637 (__ieee754_exp2l): Do not multiply small fractional parts by
5639 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5641 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5642 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5643 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5644 * math/auto-libm-test-in: Add more tests of exp2.
5645 * math/auto-libm-test-out: Regenerated.
5647 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5649 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5652 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5654 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5657 2015-02-12 Andreas Schwab <schwab@suse.de>
5660 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5661 Filter out elision flags from value returned in kind.
5662 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5663 * nptl/tst-pthread-mutexattr.c: New file.
5665 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
5667 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5668 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5669 into gnu-gnu, and update comment to refer to abi-tags.
5671 2015-02-11 Joseph Myers <joseph@codesourcery.com>
5674 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5675 (__sincos): Set errno to EDOM for infinite argument.
5676 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5677 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5678 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5679 (__sincosl): Set errno to EDOM for infinite argument.
5680 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5681 (__sincosl): Set errno to EDOM for infinite argument.
5682 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5683 (__sincosl): Set errno to EDOM for infinite argument.
5684 * math/libm-test.inc (sincos_test_data): Test errno setting.
5686 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
5688 * string/strxfrm_l.c: Remove #define STRCMP.
5689 * string/strcoll_l.c: Remove #define STRLEN.
5690 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5691 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5693 2015-02-10 Joseph Myers <joseph@codesourcery.com>
5695 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5696 * sysdeps/mips/mips32/sfp-machine.h: ... here.
5697 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5698 * sysdeps/mips/mips64/Makefile: ... here.
5699 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5700 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5701 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5702 * sysdeps/mips/mips64/sfp-machine.h: ... here.
5703 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5704 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5705 * sysdeps/mips/mips64/n64/Implies: Likewise.
5707 2015-02-10 Roland McGrath <roland@hack.frob.com>
5709 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5710 <sys/time.h>, <string.h>, and <errno.h>.
5711 (dest_offset, dest_address, value, zero): Remove unused variables.
5712 (ldouble): Remove typedef.
5713 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5714 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
5716 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5717 (check): Function removed.
5719 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
5720 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5721 Don't call set_sigaction_FP and remove_sigaction_FP here.
5722 (ldouble_test): Just use 'long double' as macro argument, no need for
5723 the 'ldouble' typedef.
5724 (do_test): Set up SIGFPE handler at start, using plain signal rather
5725 than sigaction. Fix code style.
5727 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
5730 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5733 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5735 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5736 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5738 * sysdeps/powerpc/configure.ac: Remove file.
5739 * sysdeps/powerpc/configure: Likewise.
5741 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5742 [sysdep_routines]: Remove wordcopy-power6 object.
5743 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5744 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5745 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5746 (__memmove_ppc32): Likewise.
5747 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5749 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5750 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5751 Remove preprocessor.
5753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5754 [sysdep_routines]: Remove wide chars objects.
5755 [wcsmbs]: New rule for wide char objects.
5757 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5758 Remove wordcopy-power6 obejct.
5759 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5760 Use local call for wordcopy and memcpy symbols.
5761 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5762 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5763 implementation for loader.
5764 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5766 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5767 Remove wordcopy-power7 object.
5768 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5769 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5770 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5771 (_wordcopy_fwd_dest_aligned): Likewise.
5772 (_wordcopy_bwd_aligned): Likewise.
5773 (_wordcopy_bwd_dest_aligned): Likewise.
5775 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5776 Rewrite to call __memmove_ppc instead of include default
5779 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5780 Remove wide chars objects.
5781 [wcsmbs]: New rule for wide char objects.
5783 2015-02-09 Andreas Schwab <schwab@suse.de>
5786 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5787 in terms of __O_DIRECTORY.
5789 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5791 * time/getdate.c: Include <stdbool.h>.
5792 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5794 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5797 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
5799 Add ersatz _Static_assert on older C hosts
5800 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5801 pre-C11 C platform that is not known to support _Static_assert.
5803 2015-02-07 Richard Braun <rbraun@sceen.net>
5805 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5807 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5809 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5811 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5812 priority against unexistent AIO_PRIO_DELTA_MAX.
5813 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5815 * misc/fchflags.c (fchflags): Likewise.
5816 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5817 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5818 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5819 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5820 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5822 [__USE_MISC] (chflags, fchflags): Declare functions.
5823 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5824 EINVAL when nfds is greater than FD_SETSIZE.
5825 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5826 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5828 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5829 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5830 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5832 * hurd/hurd/signal.h (_hurd_self_sigstate,
5833 _hurd_critical_section_lock, _hurd_critical_section_unlock):
5834 Explicit casts from void *.
5835 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5836 * abi-tags: Rename gnu-gnu os into gnu.
5839 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5840 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5841 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5842 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5843 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5844 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5847 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5848 duplicates ADDR->sun_path with sockaddr LEN limitation.
5849 * sysdeps/mach/hurd/connect.c: Include <string.h>
5850 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5851 * sysdeps/mach/hurd/sendmsg.c: Likewise.
5852 * sysdeps/mach/hurd/sendto.c: Likewise.
5853 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5854 implementing it by hand.
5856 2015-02-06 Roland McGrath <roland@hack.frob.com>
5858 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5859 Use sfi_breg on ldr.
5860 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5863 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5865 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5866 Test SIGSETXID only if it's defined.
5868 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5870 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5871 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
5873 * nptl/tst-align2.c: Moved ...
5874 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5875 * nptl/Makefile (tests): Remove tst-align2.
5876 * sysdeps/unix/sysv/linux/Makefile
5877 [$(subdir) = nptl] (tests): Add tst-align-clone.
5878 * nptl/tst-getpid1.c: Moved ...
5879 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5880 * nptl/tst-getpid2.c: Moved ...
5881 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5882 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5883 * sysdeps/unix/sysv/linux/Makefile
5884 [$(subdir) = nptl] (tests): ... here.
5885 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5886 * sysdeps/unix/sysv/linux/Makefile
5887 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5889 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5890 Drop trailing \n from perror argument. Use return rather than exit.
5892 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5894 * nptl/tst-cancel21.c (do_test): Likewise.
5895 * debug/tst-backtrace6.c: Include <signal.h> first thing.
5896 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5897 [!SA_SIGINFO]: Make it a stub test.
5899 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5900 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5902 * posix/tst-getlogin.c: Move to ...
5903 * login/tst-getlogin.c: ... here.
5904 * posix/Makefile (tests): Move tst-getlogin to ...
5905 * login/Makefile (tests): ... here.
5907 * libio/tst-atime.c (do_test): Move local variables SV and E
5908 inside [ST_NOATIME] conditional.
5910 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5912 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5914 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5915 (wait_code): New function replaces macro.
5916 Call nanosleep rather than syscall.
5918 * nptl/pt-system.c: Rewritten. Put everything under
5919 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5920 Use IFUNC to redirect when possible.
5922 * nptl/pt-longjmp.c: Rewritten. Put everything under
5923 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5924 Use IFUNC to redirect when possible.
5926 * nptl/pt-fork.c: Rewritten. Put everything under
5927 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5928 Use IFUNC to redirect when possible.
5929 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5931 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5932 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5933 unconditionally nowadays. This included the only reference to
5934 __vdso_clock_gettime that appears outside libc proper.
5935 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5936 Remove version set (containing only __vdso_clock_gettime).
5937 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5938 Add attribute_hidden.
5939 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5940 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5941 libc_hidden_data_def.
5942 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5943 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5945 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5946 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5947 setrpcent, and getrpcport to ...
5948 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5949 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5950 getrpcbynumber_r, and getrpcent_r to ...
5951 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5952 * inet/getrpcbyname.c: Moved ...
5953 * sunrpc/getrpcbyname.c: ... here.
5954 * inet/getrpcbyname_r.c: Moved ...
5955 * sunrpc/getrpcbyname_r.c: ... here.
5956 * inet/getrpcbynumber.c: Moved ...
5957 * sunrpc/getrpcbynumber.c: ... here.
5958 * inet/getrpcbynumber_r.c: Moved ...
5959 * sunrpc/getrpcbynumber_r.c: ... here.
5960 * inet/getrpcent.c: Moved ...
5961 * sunrpc/getrpcent.c: ... here.
5962 * inet/getrpcent_r.c: Moved ...
5963 * sunrpc/getrpcent_r.c: ... here.
5964 * inet/Makefile (routines): Move those to ...
5965 * sunrpc/Makefile (routines): ... here.
5966 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5967 the $(subdirs) list.
5968 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
5969 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5970 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5971 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5973 * elf/Makefile (routines): Include $(all-dl-routines), not just
5975 (rtld-routines): Likewise. Use = rather than :=.
5976 * sysdeps/aarch64/Makefile [$(subdir) = elf]
5977 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5978 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5979 * sysdeps/arm/Makefile: Likewise.
5980 * sysdeps/i386/Makefile: Likewise.
5981 * sysdeps/x86_64/Makefile: Likewise.
5982 * sysdeps/hppa/Makefile [$(subdir) = elf]
5983 (sysdep_routines, sysdep-rtld-routines): Don't add
5984 $(sysdep-dl-routines) to these.
5985 * sysdeps/ia64/Makefile: Likewise.
5986 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5987 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5988 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5989 Don't add dl-static to these; sysdep-dl-routines alone is enough.
5990 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5991 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5992 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5993 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5994 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5995 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5996 these; sysdep-dl-routines alone is enough.
5998 2015-02-06 Joseph Myers <joseph@codesourcery.com>
6001 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6002 where multiplication results in zero and third argument is finite
6004 * math/auto-libm-test-in: Add more tests of fma.
6005 * math/auto-libm-test-out: Regenerated.
6007 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6008 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6009 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6010 (_FP_CMP_EQ): Likewise.
6011 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6013 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6014 extra argument CHECK_NAN. Redefine as wrapper around
6017 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
6019 * version.h (RELEASE): Set to "stable".
6020 (VERSION): Set to "2.21"
6021 * include/features.h (__GLIBC_MINOR__): Set to 21.
6023 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6025 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6026 Paul Eggert <eggert@cs.ucla.edu>
6029 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6030 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6031 size in bytes. Store needed elements in wpmax. Use needed size
6032 in bytes for extend_alloca.
6034 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
6036 * manual/install.texi: Latest tested versions are GCC 4.9.2,
6037 binutls 2.25, and texinfo 5.2.
6038 * INSTALL: Regenerate.
6039 * sysdeps/nios2/configure: Regenerate.
6040 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6041 * manual/contrib.texi: Update.
6065 * po/pt_BR.po: Update.
6074 * po/zh_CN.po: Update.
6075 * po/zh_TW.po: Update.
6077 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6078 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6079 * sysdeps/hppa/dl-irel.h: Remove #warning.
6080 * sysdeps/hppa/entry.h: Provide prototype for
6081 __canonicalize_funcptr_for_compare and cast argument.
6082 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6083 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6084 * sysdeps/hppa/sotruss-lib.c: New file.
6085 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6086 (atomic_compare_and_exchange_val_acq): Use __typeof__.
6087 (atomic_compare_and_exchange_bool_acq): Likewise.
6088 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6089 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6091 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6092 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6093 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6095 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6097 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6098 called function in non-PIC case.
6100 2015-01-31 David S. Miller <davem@davemloft.net>
6102 * sysdeps/sparc/sparc32/bits/atomic.h
6103 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6104 unlock not after it.
6105 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6106 volatile register usage warnings from the compiler.
6108 * sysdeps/sparc/nptl/sem_init.c: Delete.
6109 * sysdeps/sparc/nptl/sem_post.c: Delete.
6110 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6111 * sysdeps/sparc/nptl/sem_wait.c: Delete.
6112 * sysdeps/sparc/sparc32/sem_init.c: New file.
6113 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6114 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6115 padding explicitly initialized.
6116 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6117 padding for in-semaphore spinlock.
6118 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6119 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6120 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6121 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6122 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6123 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6124 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6125 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6127 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6128 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6130 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
6133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6134 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6135 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6137 (index_AVX_Fast_Unaligned_Load): Likewise.
6138 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6139 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6140 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6141 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6142 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6143 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6144 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6145 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6146 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6148 2015-01-29 Andreas Schwab <schwab@suse.de>
6150 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6152 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6155 * nscd/nscd_stat.c (send_stats): Initialize DATA.
6157 2015-01-28 Martin Sebor <msebor@redhat.com>
6159 * math/README.libm-test: Clarify. Add "How to read the test output."
6161 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
6163 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6166 2015-01-28 Joseph Myers <joseph@codesourcery.com>
6168 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6169 (__HAVE_64B_ATOMICS): Define to 0.
6171 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6174 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6175 value to set as new flag.
6178 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6179 and use _ARCH_PPCSQ instead.
6180 (__ieee754_sqrt): Likewise.
6181 (__ieee754_sqrtf): Likewise.
6182 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6183 _ARCH_PPCSQ is defined.
6184 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6186 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6187 _ARCH_PPCSQ is defined.
6188 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6190 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6192 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6194 * iconv/loop.c: Suppress array out of bound warning caused by GCC
6195 bug (GCC BZ #64739).
6197 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
6199 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6200 Mark _retval as used.
6201 (lll_futex_wake_unlock): Likewise.
6202 (lll_futex_timed_wait_requeue_pi): Likewise.
6204 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6205 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6208 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6211 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6212 (__bswap_64): Mark as __always_inline.
6214 2015-01-25 Bram <bug_rh@spam.wizbit.be>
6217 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6218 when none of the search directories exist.
6220 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6223 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6224 power8 in .machine directive.
6227 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6228 set dependency from opd value.
6230 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6233 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6236 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6239 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6241 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6243 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6244 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6245 Replace 1UL with (uint64_t) 1.
6246 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6249 2015-01-23 Roland McGrath <roland@hack.frob.com>
6251 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6252 (if_freenameindex): Likewise.
6254 * resource/getrlimit64.c: Add missing libc_hidden_def.
6256 2015-01-22 Joseph Myers <joseph@codesourcery.com>
6258 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6260 (_FP_FMA): Likewise.
6261 (_FP_TO_INT_ROUND): Likewise.
6262 (_FP_FROM_INT): Likewise.
6264 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6267 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6268 Make code racy and cancel safe.
6270 2015-01-21 Carlos O'Donell <carlos@redhat.com>
6272 * sysdeps/arm/unwind-resume.h: Fix copyright year.
6273 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6276 * pwd/tst-getpw.c: Rewrite.
6279 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6280 (modules-names): Add moddummy1 and moddummy2.
6281 ($(objpfx)tst-rec-dlopen): Define.
6282 * dlfcn/moddummy1.c: New file.
6283 * dlfcn/moddummy2.c: New file.
6284 * dlfcn/tst-rec-dlopen.c: New file.
6285 * elf/dl-cache.c (_dl_load_cache_lookup):
6286 Return char*. Copy result with alloca/strcpy/strdup.
6287 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6288 returns char*. Free cached. If not saving realname
6290 * elf/dl-open.c (dl_open_worker): Do not assert that
6291 _r_debug->r_state is RT_CONSISTENT.
6292 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6295 2015-01-21 Torvald Riegel <triegel@redhat.com>
6296 Carlos O'Donell <carlos@redhat.com>
6299 * nptl/sem_waitcommon.c: New file.
6300 * nptl/sem_wait.c: Include sem_waitcommon.c.
6301 (__sem_wait_cleanup, do_futex_wait): Remove.
6302 (__new_sem_wait): Adapt.
6303 (__new_sem_trywait): New function.
6304 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6305 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6306 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6307 (sem_timedwait): Adapt.
6308 * nptl/sem_post.c (__new_sem_post): Adapt.
6309 (futex_wake): New function.
6310 (__old_sem_post): Add release MO fence.
6311 * nptl/sem_open.c (sem_open): Adapt.
6312 * nptl/sem_init.c (__new_sem_init): Adapt.
6313 (futex_private_if_supported): New function.
6314 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6315 (__old_sem_getvalue): Add using previous code.
6316 * sysdeps/nptl/internaltypes.h: Adapt.
6317 * nptl/tst-sem13.c (do_test): Adapt.
6318 * nptl/tst-sem11.c (main): Adapt.
6319 * nptl/sem_trywait.c: Remove.
6320 * nptl/DESIGN-sem.txt: Remove.
6321 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6322 (gen-as-const-headers): Remove structsem.sym.
6323 * nptl/structsem.sym: Remove.
6324 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6325 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6326 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6327 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6328 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6329 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6330 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6331 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6332 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6333 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6334 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6335 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6336 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6337 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6338 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6339 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6340 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6341 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6342 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6343 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6344 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6345 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6347 2015-01-20 Carlos O'Donell <carlos@redhat.com>
6349 * INSTALL: Regenerated.
6351 * po/libc.pot: Regenerated.
6353 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
6354 Sandra Loosemore <sandra@codesourcery.com>
6355 Andrew Jenner <andrew@codesourcery.com>
6356 Joseph Myers <joseph@codesourcery.com>
6357 Nathan Sidwell <nathan@codesourcery.com>
6359 * NEWS: Mention new Nios II port.
6360 * sysdeps/nios2/Implies: New file.
6361 * sysdeps/nios2/Makefile: New file.
6362 * sysdeps/nios2/Subdirs: New file.
6363 * sysdeps/nios2/Versions: New file.
6364 * sysdeps/nios2/__longjmp.S: New file.
6365 * sysdeps/nios2/abort-instr.h: New file.
6366 * sysdeps/nios2/backtrace.c: New file.
6367 * sysdeps/nios2/bits/endian.h: New file.
6368 * sysdeps/nios2/bits/fenv.h: New file.
6369 * sysdeps/nios2/bits/link.h: New file.
6370 * sysdeps/nios2/bits/setjmp.h: New file.
6371 * sysdeps/nios2/bsd-_setjmp.S: New file.
6372 * sysdeps/nios2/bsd-setjmp.S: New file.
6373 * sysdeps/nios2/configure: New generated file.
6374 * sysdeps/nios2/configure.ac: New file.
6375 * sysdeps/nios2/crti.S: New file.
6376 * sysdeps/nios2/crtn.S: New file.
6377 * sysdeps/nios2/dl-init.c: New file.
6378 * sysdeps/nios2/dl-machine.h: New file.
6379 * sysdeps/nios2/dl-sysdep.h: New file.
6380 * sysdeps/nios2/dl-tls.h: New file.
6381 * sysdeps/nios2/dl-trampoline.S: New file.
6382 * sysdeps/nios2/gccframe.h: New file.
6383 * sysdeps/nios2/gmp-mparam.h: New file.
6384 * sysdeps/nios2/jmpbuf-offsets.h: New file.
6385 * sysdeps/nios2/jmpbuf-unwind.h: New file.
6386 * sysdeps/nios2/ldsodefs.h: New file.
6387 * sysdeps/nios2/libc-tls.c: New file.
6388 * sysdeps/nios2/libm-test-ulps: New file.
6389 * sysdeps/nios2/machine-gmon.h: New file.
6390 * sysdeps/nios2/math-tests.h: New file.
6391 * sysdeps/nios2/math_private.h: New file.
6392 * sysdeps/nios2/memusage.h: New file.
6393 * sysdeps/nios2/nptl/Makefile: New file.
6394 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6395 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6396 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6397 * sysdeps/nios2/nptl/pthreaddef.h: New file.
6398 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6399 * sysdeps/nios2/nptl/tls.h: New file.
6400 * sysdeps/nios2/preconfigure: New file.
6401 * sysdeps/nios2/s_fma.c: New file.
6402 * sysdeps/nios2/s_fmaf.c: New file.
6403 * sysdeps/nios2/setjmp.S: New file.
6404 * sysdeps/nios2/sfp-machine.h: New file.
6405 * sysdeps/nios2/sotruss-lib.c: New file.
6406 * sysdeps/nios2/stackguard-macros.h: New file.
6407 * sysdeps/nios2/stackinfo.h: New file.
6408 * sysdeps/nios2/start.S: New file.
6409 * sysdeps/nios2/sysdep.h: New file.
6410 * sysdeps/nios2/tls-macros.h: New file.
6411 * sysdeps/nios2/tst-audit.h: New file.
6412 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6413 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6414 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6415 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6416 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6417 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6418 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6419 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6420 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6421 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6422 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6423 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6424 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6425 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6426 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6427 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6428 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6429 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6430 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6431 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6432 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6433 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6434 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6435 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6436 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6437 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6438 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6439 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6440 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6441 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6442 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6443 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6444 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6445 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6446 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6447 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6448 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6449 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6450 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6451 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6452 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6453 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6454 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6455 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6457 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6460 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6461 (getutent): Use weak_alias in non SHARED case
6462 and default_symbol_version in SHARED case.
6463 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6464 (getutent_r, pututline): Likewise.
6465 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6466 (getutid): Likewise.
6467 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6468 (getutid_r): Likewise.
6469 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6470 (getutline): Likewise.
6471 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6472 (getutline_r): Likewise.
6473 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6474 (updwtmp): Likewise.
6476 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6479 * sysdeps/s390/s390-32/memcmp.S
6480 (memcmp_g5): Rename to __memcmp_g5.
6481 * sysdeps/s390/s390-32/memcpy.S
6482 (memcpy_g5): Rename to __memcpy_g5.
6483 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6484 (memcpy_mvcle) Rename to __memcpy_mvcle.
6485 * sysdeps/s390/s390-32/memset.S
6486 (memset_g5): Rename to __memset_g5.
6487 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6488 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6489 and use prefixed functions.
6490 * sysdeps/s390/s390-32/multiarch/memcmp.S
6491 (memcmp_z196): Rename to __memcmp_z196.
6492 (memcmp_z10): Rename to __memcmp_z10.
6493 (memcmp): Set alias to __memcmp_g5.
6494 (bcmp): Set alias to __memcmp_g5.
6495 * sysdeps/s390/s390-32/multiarch/memcpy.S
6496 (memcpy_z196): Rename to __memcpy_z196.
6497 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6498 (memcpy_z10): Rename to __memcpy_z10.
6499 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6500 (memcpy): Set alias to __memcpy_g5.
6501 * sysdeps/s390/s390-32/multiarch/memset.S
6502 (memset_z196): Rename to __memset_z196.
6503 Jump to __memset_mvcle instead of memset_mvcle.
6504 (memset_z10): Rename to __memset_z10.
6505 Jump to __memset_mvcle instead of memset_mvcle.
6506 (memset_mvcle) Rename to __memset_mvcle.
6507 (memset): Set alias to __memset_g5.
6508 * sysdeps/s390/s390-64/memcmp.S
6509 (memcmp_z900): Rename to __memcmp_z900.
6510 * sysdeps/s390/s390-64/memcpy.S
6511 (memcpy_z900): Rename to __memcpy_z900.
6512 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6513 (memcpy_mvcle) Rename to __memcpy_mvcle.
6514 * sysdeps/s390/s390-64/memset.S
6515 (memset_z900): Rename to __memset_z900.
6516 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6517 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6518 and use prefixed functions.
6519 * sysdeps/s390/s390-64/multiarch/memcmp.S
6520 (memcmp_z196): Rename to __memcmp_z196.
6521 (memcmp_z10): Rename to __memcmp_z10.
6522 (memcmp): Set alias to __memcmp_z900.
6523 (bcmp): Set alias to __memcmp_z900.
6524 * sysdeps/s390/s390-64/multiarch/memcpy.S
6525 (memcpy_z196): Rename to __memcpy_z196.
6526 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6527 (memcpy_z10): Rename to __memcpy_z10.
6528 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6529 (memcpy): Set alias to __memcpy_z900.
6530 * sysdeps/s390/s390-64/multiarch/memset.S
6531 (memset_z196): Rename to __memset_z196.
6532 Jump to __memset_mvcle instead of memset_mvcle.
6533 (memset_z10): Rename to __memset_z10.
6534 Jump to __memset_mvcle instead of memset_mvcle.
6535 (memset_mvcle) Rename to __memset_mvcle.
6536 (memset): Set alias to __memset_z900.
6538 2015-01-14 Joseph Myers <joseph@codesourcery.com>
6541 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6542 __fesetenv instead of fesetenv.
6544 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6546 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6549 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6551 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6554 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6555 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6556 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6557 strncmp-power8 object.
6558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6559 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6560 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6563 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6564 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6566 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6567 trailing byte check.
6569 2015-01-13 David S. Miller <davem@davemloft.net>
6571 * include/signal.h (__sigreturn): Guard with __USE_MISC.
6573 2015-01-13 Roland McGrath <roland@hack.frob.com>
6575 * login/logout.c (logout): Use memset rather than bzero.
6576 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6577 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6578 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6579 (_gethtbyaddr): Likewise.
6580 * locale/programs/simple-hash.c (bcopy): Macro removed.
6582 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6584 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6585 Add strcmp-power8 object.
6586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6587 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6588 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6589 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6590 __strcmp_power8 implementation.
6591 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6594 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6595 Add strncpy-power8 and stpncpy-power8 objects.
6596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6597 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6599 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6600 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6601 __stpncpy_power8 implementation.
6602 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6603 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6604 __strncpy_power8 implementation.
6605 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6606 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6609 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6610 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6611 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6613 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6614 strncat-power8 object.
6615 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6616 __strcat_power8 implementation.
6617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6618 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6619 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6620 optimized strcat for power8.
6622 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6623 strcpy-power8 and stpcpy-power8 objects.
6624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6625 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6627 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6628 multiarch stpcpy implementation for POWER8.
6629 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6630 multiarch strcpy implementation for POWER8.
6631 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6632 __strcpy_power8 function.
6633 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6635 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6639 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
6642 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6643 weights and rules. Use do_xfrm_cached if data fits in cache,
6644 do_xfrm otherwise. Moved former main loop to...
6645 * (do_xfrm_cached): New function.
6646 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6647 find_idx, find_position and stack_push.
6648 * (find_idx): New function.
6649 * (find_position): Likewise.
6650 * localedata/sort-test.sh: Added test run for do_xfrm.
6651 * localedata/xfrm-test.c (main): Added command line option
6652 -nocache to run the test with strings that are too large for
6655 2015-01-13 Torvald Riegel <triegel@redhat.com>
6657 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6658 variable to lll_futex_wake call, not the value itself.
6660 2015-01-12 Joseph Myers <joseph@codesourcery.com>
6663 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6664 twom64. Adjust value to 0x1p-64L.
6665 (__scalblnl): Only return standard underflowing result for K <=
6666 -64 not K <= -63; adjust exponent for underflowing result by 64
6668 * math/libm-test.inc (scalbn_test_data): Add more tests.
6669 (scalbln_test_data): Likewise.
6672 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6674 (__scalblnl): Get new exponent of adjusted subnormal value from ES
6676 * math/libm-test.inc (scalbn_test_data): Add more tests.
6677 (scalbln_test_data): Likewise.
6679 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6680 Stefani Seibold <stefani@seibold.net>
6682 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6683 (sysdep_routines): Add dl-vdso here, ...
6684 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6685 (sysdep_routines): ... not here.
6686 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6687 fallback when vDSO is not presented.
6688 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6689 Define with libc_hidden_proto/libc_hidden_data_def definitions.
6690 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6691 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6692 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6693 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6694 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6695 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6696 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6697 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6698 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
6699 fallback configurable symbol when vDSO is not available.
6700 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6701 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
6702 be able to redefine fallback symbol when vDSO is not available.
6703 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6704 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6706 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6708 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6709 (TLS_INIT_TP): Add tm_capable initialization.
6710 (TLS_DEFINE_INIT_TP): Likewise.
6711 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6713 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6714 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6716 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6717 transactoion is lock elision is built and TCB tm_capable is set.
6718 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6720 (INTERNAL_SYSCALL_NCS): Likewise.
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6722 (INTERNAL_SYSCALL_NCS): Likewise.
6723 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6725 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6727 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6728 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6729 and remove it for 32 bits case.
6730 [pthread_rwlock_t] (__rwelision): New field for lock elision.
6731 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6733 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6734 Disable lock elision with rdlocks if elision is not available.
6736 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6737 (sysdep_routines): Add lock elision objects.
6738 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6739 [pthread_mutex_t] (__spins): Rework to add lock elision field.
6740 [pthread_mutex_t] (__elision): Add field.
6741 [__PTHREAD_SPINS]: Adjust to init lock elision field.
6742 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6743 elision definitions for powerpc.
6744 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6745 implementation of lock elision for powerpc.
6746 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6747 implementation of timed lock elision for powerpc.
6748 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6749 implementation of trylock with lock elision for powerpc.
6750 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6751 implementaion of unlock for lock elision for powerpc.
6752 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6753 automatic enable lock elision for mutexes.
6754 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6755 transaction execution definitions for powerpc.
6756 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6758 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6759 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6760 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6761 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6764 2015-01-09 Roland McGrath <roland@hack.frob.com>
6766 * sysdeps/posix/shm-directory.c: Use <> rather than ""
6767 for #include of <shm-directory.h>.
6769 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
6771 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6772 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6774 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
6777 * NEWS: Mention bug fix.
6778 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6779 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6780 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6782 2015-01-09 Torvald Riegel <triegel@redhat.com>
6784 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6786 2015-01-09 Torvald Riegel <triegel@redhat.com>
6788 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6790 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6792 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6793 pointer and cast to uintptr_t.
6795 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6797 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6799 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6801 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6803 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6806 2015-01-08 Roland McGrath <roland@hack.frob.com>
6808 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6809 <nptl/pthreadP.h> instead.
6810 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6812 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6814 [__SIGRTMIN] (init): Function removed.
6815 [__SIGRTMIN] (initialized): Variable removed.
6816 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6817 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6818 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6819 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6820 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6821 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6822 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6823 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6824 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6825 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6826 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6827 * sysdeps/nptl/allocrtsig.c: New file.
6828 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6829 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6830 * sysdeps/generic/testrtsig.h: File removed.
6832 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6833 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6835 * nptl/nptl-init.c (pthread_functions): Conditionalize
6836 .ptr__nptl_setxid initialization on [SIGSETXID].
6838 * sysdeps/nptl/sys/procfs.h: New file.
6839 * nptl_db/Makefile (headers): Add it.
6840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6842 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6843 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6844 * nptl/pthread_attr_setaffinity.c: Include it.
6845 * nptl/pthread_setattr_default_np.c: Likewise.
6846 * nptl/check-cpuset.h: New file.
6848 2015-01-08 Richard Henderson <rth@redhat.com>
6850 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6851 (CFLAGS-tst-execstack-prog.c): Likewise.
6852 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6854 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
6855 Sandra Loosemore <sandra@codesourcery.com>
6856 Andrew Jenner <andrew@codesourcery.com>
6857 Joseph Myers <joseph@codesourcery.com>
6858 Nathan Sidwell <nathan@codesourcery.com>
6860 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6861 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6862 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6863 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6864 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6865 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6866 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6867 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6868 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6869 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6870 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6871 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6872 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6873 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6874 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6875 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6876 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6878 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6880 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6881 timespec struct member in syscall macro.
6882 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6883 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6884 first timeval struct member in syscall macro.
6885 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6887 2015-01-07 Joseph Myers <joseph@codesourcery.com>
6890 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6891 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6892 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6893 __feupdateenv and define as weak alias of __feupdateenv. Use
6895 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6897 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6898 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
6899 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6900 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6902 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6903 __feupdateenv and define as weak alias of __feupdateenv. Use
6905 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6907 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6908 __feupdateenv and define as weak alias of __feupdateenv. Use
6910 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6912 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6913 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6914 (__feupdateenv): Likewise.
6915 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6916 __feupdateenv and define as weak alias of __feupdateenv. Use
6918 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6919 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6921 * sysdeps/tile/math_private.h (__feupdateenv): New inline
6923 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6925 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6926 __feupdateenv instead of feupdateenv.
6927 (default_libc_feupdateenv_test): Likewise.
6928 (libc_feresetround_ctx): Likewise.
6930 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6932 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6935 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
6937 * posix/regcomp.c (parse_bracket_exp): Initialize type to
6938 COLL_SYM in a couple of places to avoid uninitialized variable
6939 wanings on tilegx gcc 4.8.2.
6941 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6943 * sysdeps/aarch64/strcpy.S: New file.
6944 * sysdeps/aarch64/stpcpy.S: New file.
6947 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6949 * sysdeps/aarch64/strrchr.S: New file.
6952 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
6955 * stdlib/setenv.c: Fix memory leak when setting large,
6958 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
6961 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6962 and tabs from buffer before parsing fstab entry.
6963 * misc/tst-mntent.c (main): Add test for mount entry with
6964 trailing spaces and tabs.
6966 2015-01-06 Joseph Myers <joseph@codesourcery.com>
6969 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
6970 * math/fesetround.c (fesetround): Rename to __fesetround and
6971 define as weak alias of __fesetround. Use libm_hidden_weak.
6972 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6973 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6974 * sysdeps/arm/fesetround.c (fesetround): Likewise.
6975 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6976 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6977 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6978 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6979 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6980 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6981 __fesetround_inline.
6982 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6983 __fesetround_inline instead of __fesetround.
6984 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6985 __fesetround and define as weak alias of __fesetround. Use
6986 libm_hidden_weak. Call __fesetround_inline instead of
6988 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6989 __fesetround and define as weak alias of __fesetround. Use
6991 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6993 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6994 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6995 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6996 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6997 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6998 __fesetround and define as weak alias of __fesetround. Use
7000 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7001 __fesetround instead of fesetround.
7002 (default_libc_feholdexcept_setround): Likewise.
7003 (libc_feholdsetround_ctx): Likewise.
7004 (libc_feholdsetround_noex_ctx): Likewise.
7007 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7008 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7009 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7010 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7011 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7012 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7013 define as weak alias of __fesetenv. Use libm_hidden_weak.
7014 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7015 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7016 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7017 define as weak alias of __fesetenv. Use libm_hidden_weak.
7018 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7019 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7020 define as weak alias of __fesetenv. Use libm_hidden_weak.
7021 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7023 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7024 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7026 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7027 define as weak alias of __fesetenv. Use libm_hidden_weak.
7028 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7029 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7030 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7031 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7032 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7033 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7034 __fesetenv instead of fesetenv.
7035 (libc_feresetround_noex_ctx): Likewise.
7036 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7037 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7038 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7039 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7040 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7041 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7042 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7043 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7044 (__feupdateenv): Likewise.
7045 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7046 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7047 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7048 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7050 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7053 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7054 addresses have been freed.
7056 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7058 * resolv/res_init.c (__res_vinit): Improve comments about nserv
7061 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
7063 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7064 Clean up check_pf allocation pattern. addresses
7066 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7068 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7069 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7070 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7071 * nptl/pthread_exit.c (__pthread_exit): Likewise.
7072 * nptl/pthread_join.c (pthread_join): Likewise.
7073 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7074 * sysdeps/posix/waitid.c (__waitid): Likewise.
7075 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7076 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7077 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7078 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7079 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7081 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7082 (__libc_pread64): Likewise.
7083 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7084 (__libc_pwrite): Likewise.
7085 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7086 (__libc_pwrite64): Likewsie.
7087 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7088 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7089 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7090 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7091 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7092 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7093 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7097 (__libc_pread64): Likewise.
7098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7101 (__libc_pwrite64): Likewise.
7102 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7103 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7104 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7105 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7106 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7107 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7108 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7109 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7110 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7111 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7112 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7113 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7114 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7115 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7116 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7117 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7120 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7122 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7123 (CFLAGS-test-double.c): Likewise.
7124 (CFLAGS-test-ldouble.c): Likewise.
7125 (CPPFLAGS-test-ifloat.c): Likewise.
7126 (CPPFLAGS-test-idouble.c): Likewise.
7127 (CPPFLAGS-test-ildoubl.c): Likewise.
7128 (CFLAGS-test-test-fenv.c): Remove variable.
7129 (CFLAGS-test-misc.c): Likewise.
7131 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
7134 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7135 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7136 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7137 CLOCKS_PER_SEC == 1000000.
7138 * time/clocktest.c (main): Replace %ld with %jd and cast to
7141 2015-01-05 Roland McGrath <roland@hack.frob.com>
7143 * sysdeps/generic/unwind-resume.h: New file.
7144 * sysdeps/gnu/unwind-resume.c: Include it.
7145 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7146 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7148 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7149 global rather than static.
7150 (_Unwind_Resume): Update user.
7151 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7152 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
7153 rather than static. Add __attribute__ ((cold)).
7154 (_Unwind_Resume, __gcc_personality_v0): Update callers.
7155 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7156 * sysdeps/arm/arm-unwind-resume.S: New file.
7157 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7158 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7159 * sysdeps/arm/Makefile [$(subdir) = csu]
7160 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7161 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7162 Add rt-arm-unwind-resume.
7164 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7165 Add pt-arm-unwind-resume.
7166 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7167 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7169 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7172 * include/fenv.h (__feholdexcept): Declare. Use
7174 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7175 define as weak alias of __feholdexcept. Use libm_hidden_weak.
7176 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7177 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7178 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7179 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7180 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7181 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7182 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7183 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7184 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7185 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7186 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7187 (feholdexcept): Likewise.
7188 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7189 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7190 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7191 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7192 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7193 __feholdexcept instead of feholdexcept.
7194 (default_libc_feholdexcept_setround): Likewise.
7196 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7198 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7199 to avoid using stl/str to align destination.
7201 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7203 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7205 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7208 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7209 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7210 Define as weak alias not strong alias.
7212 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7214 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7215 bltzal with addiupc.
7216 (RTLD_START): Ditto.
7218 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
7220 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7221 for __vdso_* functions in declarations.
7222 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7224 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7225 INTERNAL_VSYSCALL): Use struct return types to check for error.
7227 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7228 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7229 function with cast from llround().
7230 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7231 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7234 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7237 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7238 Define as weak alias not strong alias.
7241 * ctype/ctype-c99.c: New file. isblank implementation moved from
7243 * ctype/ctype-extn.c: ... here.
7244 (__isblank_l): Move to ...
7245 * ctype/ctype-c99_l.c: ... here. New file.
7246 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7247 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7249 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7250 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7251 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7252 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7253 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7256 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7257 (posix_fadvise64): Define as weak alias not strong alias.
7258 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7259 (posix_fallocate64): Likewise.
7260 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7262 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7263 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7264 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7265 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7266 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7268 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
7271 * NEWS: Mention bug fix.
7272 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7273 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7274 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7275 (HOST_STACK_END_ADDR): Likewise.
7277 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7280 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
7281 * math/fegetround.c (fegetround): Rename to __fegetround and
7282 define as weak alias of __fegetround. Use libm_hidden_weak.
7283 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7284 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7285 * sysdeps/arm/fegetround.c (fegetround): Likewise.
7286 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7287 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7288 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7289 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7290 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7291 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7292 Undefine after rather than before function definition; use
7293 parentheses around function name in definition.
7294 (__fegetround): Also undefine macro after function definition.
7295 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7296 __fegetround and define as weak alias of __fegetround. Use
7297 libm_hidden_weak. Do not undefine as macro.
7298 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7300 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7301 __fegetround and define as weak alias of __fegetround. Use
7303 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7304 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7305 * sysdeps/tile/math_private.h (__fegetround): New inline function.
7306 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7307 __fegetround and define as weak alias of __fegetround. Use
7309 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7310 __fegetround instead of fegetround.
7313 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7314 Condition macro definition on [__USE_MISC].
7317 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7318 (struct sigaction): Change type of sa_flags field to int.
7321 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7322 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7325 * nptl/version.c (banner): Use single year in copyright notice.
7327 * NEWS: Update copyright dates.
7328 * catgets/gencat.c (print_version): Likewise.
7329 * csu/version.c (banner): Likewise.
7330 * debug/catchsegv.sh: Likewise.
7331 * debug/pcprofiledump.c (print_version): Likewise.
7332 * debug/xtrace.sh (do_version): Likewise.
7333 * elf/ldconfig.c (print_version): Likewise.
7334 * elf/ldd.bash.in: Likewise.
7335 * elf/pldd.c (print_version): Likewise.
7336 * elf/sotruss.sh: Likewise.
7337 * elf/sprof.c (print_version): Likewise.
7338 * iconv/iconv_prog.c (print_version): Likewise.
7339 * iconv/iconvconfig.c (print_version): Likewise.
7340 * locale/programs/locale.c (print_version): Likewise.
7341 * locale/programs/localedef.c (print_version): Likewise.
7342 * login/programs/pt_chown.c (print_version): Likewise.
7343 * malloc/memusage.sh (do_version): Likewise.
7344 * malloc/memusagestat.c (print_version): Likewise.
7345 * malloc/mtrace.pl: Likewise.
7346 * manual/libc.texinfo: Likewise.
7347 * nptl/version.c (banner): Likewise.
7348 * nscd/nscd.c (print_version): Likewise.
7349 * nss/getent.c (print_version): Likewise.
7350 * nss/makedb.c (print_version): Likewise.
7351 * posix/getconf.c (main): Likewise.
7352 * scripts/test-installation.pl: Likewise.
7353 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7355 2015-01-02 Will Newton <will.newton@linaro.org>
7357 * sysdeps/arm/armv7/configure: Removed.
7358 * sysdeps/arm/armv7/configure.ac: Likewise.
7360 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7362 * All files with FSF copyright notices: Update copyright dates
7363 using scripts/update-copyrights.
7364 * intl/plural.c: Regenerated.
7365 * locale/programs/charmap-kw.h: Likewise.
7366 * locale/programs/locfile-kw.h: Likewise.
7368 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7370 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7372 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7375 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7376 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7377 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7378 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7379 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7380 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7381 define as weak alias of __fegetenv. Use libm_hidden_weak.
7382 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7383 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7384 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7385 define as weak alias of __fegetenv. Use libm_hidden_weak.
7386 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7387 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7388 define as weak alias of __fegetenv. Use libm_hidden_weak.
7389 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7391 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7392 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7394 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7395 define as weak alias of __fegetenv. Use libm_hidden_weak.
7396 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7397 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7398 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7399 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7400 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7401 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7402 __fegetenv instead of fegetenv.
7403 (libc_feholdsetround_noex_ctx): Likewise.
7405 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
7407 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7408 (Elf_MIPS_ABIFlags_v0): New structure.
7409 (EF_MIPS_FP64): Define.
7410 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7411 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7412 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7413 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7414 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7415 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7416 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7417 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7418 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7419 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7420 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7421 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7422 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7423 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7424 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7425 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7426 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7427 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7428 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7429 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7430 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7431 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7433 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7435 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7436 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7437 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7438 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7439 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7440 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7441 * sysdeps/mips/tst-abi-interlink.c: Likewise.
7442 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7443 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7444 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7445 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7446 record the current FP ABI extension.
7447 (mips-mode-switch): Define to show if kernel headers support mode
7449 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7450 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7451 supported SYSV ABI version to 3.
7452 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7455 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7456 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7458 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7460 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7462 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7464 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7465 __fegetround and redefine to call __fegetround. Remove condition
7466 on [!__NO_MATH_INLINES].
7467 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7469 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7470 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7472 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7473 instead of <fenv_libc.h>.
7474 (__llrintl): Call fegetround instead of __fegetround.
7475 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7476 instead of <fenv_libc.h>.
7477 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7478 (__lrintl): Call fegetround instead of __fegetround.
7479 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7480 instead of <fenv_libc.h>.
7481 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7482 (__rintl): Call fegetround instead of __fegetround.
7484 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7486 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7489 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7492 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7493 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7494 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7496 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7498 * sysdeps/i386/tls-macros.h: Include <features.h>.
7499 (TLS_LE): Use non-PIC version for GCC >= 5.0.
7503 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7504 define for GCC >= 5.0.
7506 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
7508 * math/test-fenv.c (test_single_exception, set_single_exc,
7509 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7510 feexcp_mask_test, feenable_test, fe_single_test): Add
7511 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7512 case where they are not used.
7513 * math/libm-test.inc: Likewise.
7514 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7515 unused in the absence of FP rounding/exception support.
7516 * stdio-common/tst-printf-round.c: Likewise.
7517 * stdlib/tst-strtod-round.c: Likewise.
7518 * stdlib/tst-strtod-underflow.c: Likewise.
7520 2014-12-30 Joseph Myers <joseph@codesourcery.com>
7523 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7524 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7525 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7526 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7528 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7529 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7530 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7532 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7533 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7535 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7537 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7538 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7539 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7541 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7543 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7544 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7545 (__feraiseexcept): Likewise.
7546 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7547 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7549 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7550 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7552 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7553 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7554 Use libm_hidden_def.
7555 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7557 (feraiseexcept): Define as weak not strong alias. Use
7559 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7560 New inline function. Factored out of ...
7561 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
7562 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7563 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7565 * math/w_acos.c (__acos): Likewise.
7566 * math/w_asin.c (__asin): Likewise.
7567 * math/w_ilogb.c (__ilogb): Likewise.
7568 * math/w_j0.c (y0): Likewise.
7569 * math/w_j1.c (y1): Likewise.
7570 * math/w_jn.c (yn): Likewise.
7571 * math/w_log.c (__log): Likewise.
7572 * math/w_log10.c (__log10): Likewise.
7573 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7574 * sysdeps/aarch64/fpu/math_private.h
7575 (libc_feupdateenv_test_aarch64): Likewise.
7576 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7577 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7578 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7579 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7580 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7581 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7582 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7583 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7584 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7585 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7587 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7590 * io/test-utime.c (main): Replace %ld with %jd and cast to
7592 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7593 * nptl/tst-mutex5.c: Include <stdint.h>.
7594 (do_test): Replace %ld with %jd and cast to intmax_t.
7595 * posix/tst-regex.c (run_test): Likewise.
7596 (run_test_backwards): Likewise.
7597 * rt/tst-clock.c: Include <stdint.h>.
7598 (clock_test): Replace %ld with %jd and cast to intmax_t.
7599 * rt/tst-cpuclock1.c: Include <stdint.h>.
7600 (do_test): Replace %lu with %ju and cast to uintmax_t.
7601 * rt/tst-cpuclock2.c: Include <stdint.h>.
7602 (do_test): Replace %lu with %ju and cast to uintmax_t.
7603 * rt/tst-mqueue1.c: Include <stdint.h>.
7604 (check_attrs): Replace %ld with %jd and cast to intmax_t.
7605 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7607 * rt/tst-mqueue4.c (do_test): Likewise.
7608 * rt/tst-timer4.c: Include <stdint.h>.
7609 (check_ts): Replace %ld with %jd and cast to intmax_t.
7610 (do_test): Likewise.
7611 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7612 and cast to intmax_t.
7613 * sysdeps/pthread/tst-timer.c (main): Likewise.
7614 * time/clocktest.c (main): Likewise.
7615 * time/tst-posixtz.c (do_test): Likewise.
7616 * timezone/tst-timezone.c (main): Likewise.
7618 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7619 H.J. Lu <hongjiu.lu@intel.com>
7621 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7622 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7623 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7624 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7625 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7626 version if bit_Fast_Unaligned_Load is set.
7627 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7628 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7629 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7630 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7631 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7632 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7634 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7635 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7636 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7638 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7639 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7640 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7641 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7643 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
7645 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7646 instead of #if to avoid a Wundef warning.
7647 * stdlib/tst-limits.c (do_test): Likewise.
7649 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7650 parallel other exception macros.
7651 (fegetenv): Convert from macro to extern inline so that it applies
7652 retroactively to inline functions already seen by the compiler.
7653 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7655 * posix/Makefile (before-compile): Use $(objpfx) for
7656 posix-conf-vars-def.h.
7658 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7660 * posix/getconf.c (main): Use size_t for type of I.
7661 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7664 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7665 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7666 * posix/posix-envs.def: Likewise.
7667 * sysdeps/posix/sysconf.c: Likewise.
7668 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7669 (specs): Remove array.
7670 * scripts/gen-posix-conf-vars.awk: Support generation of specs
7673 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7674 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7675 (__sysconf): Use CONF_IS_* macros.
7677 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7678 ($(objpfx)posix-conf-vars-def.h): New target.
7679 * posix/posix-conf-vars.list: New file.
7680 * posix/posix-conf-vars.h: New file.
7681 * posix/confstr.c: Include posix-conf-vars.h.
7682 (confstr): Use CONF_IS_* macros.
7683 * posix/posix-envs.def: Include posix-conf-vars.h. Use
7685 * scripts/gen-posix-conf-vars.awk: New file.
7687 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
7689 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7690 fegetround): Add no-op macros to avoid linknamespace issues.
7692 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7693 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7695 * sysdeps/unix/sysv/linux/tile/sysdep.h
7696 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7697 assembly-specific section to avoid a redefinition warning.
7699 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7700 long before casting to pointer to avoid a cast warning.
7702 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
7704 * sysdeps/tile/tilegx/Implies: New file.
7706 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
7708 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7710 2014-12-23 Florian Weimer <fweimer@redhat.com>
7712 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7714 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7716 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7718 * sysdeps/unix/sysv/linux/utimes.c: Do not include
7719 <kernel-features.h>.
7720 (__utimes) [__NR_utimes]: Make code unconditional.
7721 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7722 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7723 (__ASSUME_UTIMES): Do not undefine.
7724 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7725 (__ASSUME_UTIMES): Likewise.
7726 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7727 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7728 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7729 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7731 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7733 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7735 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
7738 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7739 alias to weak alias for j0l, y0l.
7740 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7741 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7744 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7747 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7749 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7750 to zero if not already defined.
7752 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7755 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7756 (__kernel_standard_f): Remove. Moved to k_standardf.c.
7757 (__kernel_standard_l): Remove. Moved to k_standardl.c with
7758 (char *) casts added.
7759 * sysdeps/ieee754/k_standardf.c: New file.
7760 * sysdeps/ieee754/k_standardl.c: Likewise.
7761 * math/Makefile (libm-support): Remove k_standard.
7762 (libm-calls): Add k_standard.
7764 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7766 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7767 Optimize to avoid an unnecessary FPCR read.
7769 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7771 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7772 Optimize to reduce FPCR/FPSR accesses.
7774 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7776 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7777 Call libc_fetestexcept_aarch64.
7779 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7781 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7782 Call libc_fesetround_aarch64.
7784 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7787 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7788 (__bind): Do not define as weak alias.
7789 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7791 (__getsockname): Do not define as weak alias.
7793 2014-12-22 Will Newton <will.newton@linaro.org>
7795 * manual/install.texi: Document that we require bison 2.7
7797 * INSTALL: Regenerate.
7798 * configure.ac: Use AC_CHECK_PROG_VER instead of
7799 AC_PATH_PROG when checking for bison and check for
7800 version 2.7 or above.
7801 * configure: Regenerate.
7803 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
7806 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7807 * sysdeps/tile/ffsll.c (ffsll): To here.
7809 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7811 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7813 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7815 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7817 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7818 hidden ___tls_get_addr.
7819 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7820 hidden __tls_get_addr.
7821 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7822 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7825 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
7827 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7830 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7832 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7833 from "call _dl_init@PLT".
7834 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7836 2014-12-21 Anders Kaseorg <andersk@mit.edu>
7838 * manual/search.texi: (Array Sort Function): Clarify stable sorting
7841 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
7843 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7845 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7848 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7851 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7853 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7855 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7856 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7857 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7858 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7859 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7861 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7863 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7864 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7865 (PTR_SUBU): Use subu for mips32r6/mips64r6.
7866 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7867 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7869 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7871 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
7873 * string/strncat.c (STRNCAT): Simplify implementation.
7875 2014-12-19 David S. Miller <davem@davemloft.net>
7877 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7878 access the quad as both a long double and as a series of 4 words.
7880 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7881 link_map->l_info array access.
7883 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7885 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7887 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7888 * math/atest-exp2.c (TIMEOUT): Likewise.
7889 * math/atest-sincos.c (TIMEOUT): Likewise.
7891 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7893 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7894 -Wno-error with -fno-builtin-lround.
7896 2014-12-19 Torvald Riegel <triegel@redhat.com>
7898 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7899 Contains futex constants and functions moved over from ...
7900 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
7901 <lowlevellock-futex.h>.
7902 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7903 (lll_timedwait_tid): Add comments and parentheses around macro
7906 2014-12-19 Torvald Riegel <triegel@redhat.com>
7908 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7909 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
7910 (__lll_private_flag): Remove.
7911 (lll_futex_wait): Likewise.
7912 (lll_futex_timed_wait): Likewise.
7913 (lll_futex_wake): Likewise.
7914 (lll_futex_requeue): Likewise.
7915 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7916 (__lll_timedwait_tid): Spell out argument names.
7917 (lll_timedwait_tid): Add comments and parentheses around macro
7919 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7920 LLL_SHARED and LLL_PRIVATE usable from assembly code.
7922 2014-12-19 Torvald Riegel <triegel@redhat.com>
7924 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7925 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7926 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7927 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7928 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7929 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7930 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7931 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7932 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7933 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7934 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7935 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7936 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7937 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7938 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7939 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7940 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7941 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7942 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7944 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7946 * sysdeps/x86_64/x32/Makefile: New file.
7948 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7950 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7951 1L with (mp_limb_t) 1.
7953 2014-12-17 Roland McGrath <roland@hack.frob.com>
7955 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7956 * nptl/libc_pthread_init.c: ... here.
7957 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7958 * nptl/register-atfork.c: ... here.
7960 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7961 Use pthread_sigmask rather than INTERNAL_SYSCALL.
7962 Use assert_perror to check its return value.
7963 (__gai_create_helper_thread): Likewise.
7965 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7967 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7969 2014-12-17 Joseph Myers <joseph@codesourcery.com>
7972 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7974 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7976 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7978 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7980 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7981 (profil_counter): Likewise.
7982 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7983 (profil_counter): Likewise.
7984 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7986 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7988 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7989 (profil_counter): Likewise.
7990 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7992 [!__profil_counter] (profil_counter): Define as weak alias of
7994 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7995 (profil_counter): Rename to __profil_counter.
7996 [!__profil_counter] (profil_counter): Define as weak alias of
7998 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7999 (profil_counter): Rename to __profil_counter.
8000 [!__profil_counter] (profil_counter): Define as weak alias of
8002 * sysdeps/posix/profil.c: Update comment referring to
8004 (__profil): Use __profil_counter instead of profil_counter.
8005 * sysdeps/posix/sprofil.c (profil_counter): Rename to
8006 __profil_counter. Use __profil_counter_ushort and
8007 __profil_counter_uint in definitions.
8008 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8009 instead of profil_counter_uint and profil_counter_ushort.
8012 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8013 define as weak alias of __inet_makeaddr.
8014 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8015 as weak alias of __inet_addr.
8016 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8017 as weak alias of __inet_pton. Use libc_hidden_weak.
8018 * include/arpa/inet.h (__inet_pton): Declare. Use
8020 (inet_makeaddr): Don't use libc_hidden_proto.
8021 (__inet_makeaddr): Declare. Use libc_hidden_proto.
8022 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8023 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
8024 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8026 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8027 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8029 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
8031 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8033 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8035 * stdio-common/bug-vfprintf-nargs.c (do_test):
8036 Cast value to intptr_t to avoid format warning
8037 for usage with PRIdPTR printing macro.
8039 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8041 * libio/tst-widetext.c (do_test):
8042 Use format type %td instead of %Zd for ptrdiff_t
8043 in order to avoid format warning.
8045 2014-12-17 Andreas Schwab <schwab@suse.de>
8047 * nscd/mem.c (gc): Add size_t cast to match printf format.
8049 2014-12-16 Roland McGrath <roland@hack.frob.com>
8051 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8052 (init): Apply PTR_MANGLE to pointers before storing them.
8053 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8056 2014-12-16 Joseph Myers <joseph@codesourcery.com>
8059 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8060 define as weak alias of __memrchr.
8061 (__memrchr): Do not define as strong alias of memrchr.
8062 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8064 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8065 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8066 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8069 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8070 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
8071 (if_indextoname): Rename to __if_indextoname and define as weak
8072 alias of __if_indextoname. Use libc_hidden_weak.
8073 (if_freenameindex): Rename to __if_freenameindex and define as
8074 weak alias of __if_freenameindex.
8075 (if_nameindex): Rename to __if_nameindex and define as weak alias
8077 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8078 __if_nametoindex and define as weak alias of __if_nametoindex.
8079 Use libc_hidden_weak.
8080 (if_freenameindex): Rename to __if_freenameindex and define as
8081 weak alias of __if_freenameindex.
8082 (if_nameindex): Rename to __if_nameindex and define as weak alias
8084 (if_indextoname): Rename to __if_indextoname and define as weak
8085 alias of __if_indextoname. Use libc_hidden_weak.
8086 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8087 __if_nametoindex and define as weak alias of __if_nametoindex.
8088 Use libc_hidden_weak.
8089 (if_freenameindex): Rename to __if_freenameindex and define as
8090 weak alias of __if_freenameindex. Use libc_hidden_weak.
8091 (if_nameindex_netlink): Use __if_freenameindex instead of
8093 (if_nameindex): Rename to __if_nameindex and define as weak alias
8094 of __if_nameindex. Use libc_hidden_weak.
8095 (if_indextoname): Rename to __if_indextoname and define as weak
8096 alias of __if_indextoname. Use libc_hidden_weak.
8097 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8099 [!_ISOMAC] (__if_freenameindex): Likewise.
8100 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8102 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8104 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8105 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8106 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8107 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8108 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8109 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8110 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8112 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8114 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8115 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8117 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8119 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8120 subscript above bounds'
8122 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8125 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
8127 * libio/tst-fopenloc.c: Use test-skeleton.c.
8129 * stdlib/tst-bsearch.c: Use test-skeleton.c.
8130 (entry): Rename to ITEM.
8131 (do_test, comp): Adjust.
8133 * stdio-common/tst-fseek.c: Use test-skeleton.c.
8135 2014-12-16 Torvald Riegel <triegel@redhat.com>
8137 * string/tester.c: Include <libc-internal.h>.
8138 (test_memset): Ignore -Wmemset-transposed-args.
8140 2014-12-16 Torvald Riegel <triegel@redhat.com>
8142 * misc/tst-mntent2.c (do_test): Fix warning.
8144 2014-12-16 Torvald Riegel <triegel@redhat.com>
8146 * elf/tst-unique4lib.cc(a): Mark as used.
8148 2014-12-16 Florian Weimer <fweimer@redhat.com>
8151 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8154 2014-12-16 Allan McRae <allan@archlinux.org>
8156 * stdio-common/Makefile (tests): Re-add bug26.
8158 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
8161 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8164 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
8166 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8167 (__lll_lock_wait): Likewise.
8168 (__lll_timedlock_wait): Likewise.
8169 (__lll_timedwait_tid): Likewise.
8170 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8171 (__lll_robust_timedlock_wait): Likewise.
8172 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8173 (lll_cond_trylock): Likewise.
8174 (__lll_lock): Likewise.
8175 (__lll_robust_lock): Likewise.
8176 (__lll_cond_lock): Likewise.
8177 (lll_robust_cond_lock): Likewise.
8178 (__lll_timedlock): Likewise.
8179 (__lll_robust_timedlock): Likewise.
8180 (__lll_unlock): Likewise.
8181 (__lll_robust_unlock): Likewise.
8182 (lll_wait_tid): Likewise.
8183 (lll_timedwait_tid): Likewise.
8185 2014-12-15 Torvald Riegel <triegel@redhat.com>
8187 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8189 2014-12-15 Torvald Riegel <triegel@redhat.com>
8191 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8193 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8195 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8196 * stdio-common/tst-sprintf.c: Likewise.
8198 2014-12-15 Torvald Riegel <triegel@redhat.com>
8200 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8202 2014-12-15 Jeff Law <law@redhat.com>
8205 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8206 on the heap. (CVE-2012-3406)
8207 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8208 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
8209 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8211 2014-12-15 Will Newton <will.newton@linaro.org>
8213 * manual/install.texi: Bump required version of texinfo
8215 * INSTALL: Regenerated.
8216 * configure.ac: Check for makeinfo version 4.7 and above.
8217 * configure: Regenerated.
8219 2014-12-12 Roland McGrath <roland@hack.frob.com>
8221 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8222 PREFIX, string constant to insert between directory and name.
8223 * sysdeps/posix/shm_open.c: Update caller.
8224 * sysdeps/posix/shm_unlink.c: Likewise.
8225 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8226 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8227 (SEM_SHM_PREFIX): New macro.
8228 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8229 [$(have-thread-library) = no].
8230 * nptl/Makefile (libpthread-routines): Add shm-directory.
8231 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8232 * sysdeps/nptl/shm-directory.h: New file.
8233 * sysdeps/posix/shm-directory.c
8234 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8235 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8236 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8238 (__where_is_shmfs): Function removed.
8239 (mountpoint, defaultmount, defaultdir, __namedsem_once):
8241 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8243 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
8245 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8246 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8247 unconditional for use inside libpthread.
8248 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8250 2014-12-12 Roland McGrath <roland@hack.frob.com>
8252 * nptl/pthread_getaffinity.c: New file.
8253 * nptl/pthread_setaffinity.c: New file.
8254 * nptl/pthread_getname.c: New file.
8255 * nptl/pthread_setname.c: New file.
8257 * nptl/pthread_create.c (START_THREAD_DEFN)
8258 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8260 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8261 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8263 * resolv/res_send.c (send_vc): Disable warning resplen may
8264 be used uninitialized.
8266 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8269 (ATTR_NULL): New define checks ATTR against NULL.
8270 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8271 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8273 2014-12-11 James Lemke <jwlemke@codesourcery.com>
8277 (mem2mem_check): Revert my previous change.
8278 (malloc_check_get_size): Revert my previous change.
8279 (mem2chunk_check): Revert my previous change.
8281 2014-12-11 Roland McGrath <roland@hack.frob.com>
8283 * sysdeps/posix/shm-directory.c: New file.
8284 * sysdeps/posix/shm-directory.h: New file.
8285 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8286 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8287 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
8288 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8289 Transmute EPERM to EACCES.
8290 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8292 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
8293 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8295 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8297 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8298 pointer and cast to uintptr_t.
8299 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8300 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8301 Add cast to avoid warning.
8302 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8304 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8306 * nptl/semaphore.h: Move to ...
8307 * sysdeps/pthread/semaphore.h: ... here.
8308 * Makefile (installed-headers): Change nptl/semaphore.h to
8309 sysdeps/pthread/semaphore.h.
8311 2014-12-11 Roland McGrath <roland@hack.frob.com>
8313 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8314 generated error format strings.
8316 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8317 -Wformat-extra-args warnings for scanf formats.
8318 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8319 test of zero-length format (duh).
8320 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8321 corner-case scanf format test.
8322 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8323 generated fprintf format string.
8324 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8325 corner-case sprintf format tests.
8326 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8327 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8328 -Wformat-extra-args warnings throughout.
8329 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8330 (CFLAGS-scanf4.c): Likewise.
8331 (CFLAGS-scanf7.c): Likewise.
8332 (CFLAGS-tst-sprintf.c): Likewise.
8333 (CFLAGS-tst-printf.c): Likewise.
8334 (CFLAGS-tst-printfsz.c): Likewise.
8336 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8338 * include/cpio.h: New file.
8339 * include/fmtmsg.h: Likewise.
8341 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
8342 corresponding format argument to size_t.
8343 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
8345 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
8346 corresponding format argument to size_t.
8347 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
8349 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
8350 corresponding format argument to size_t.
8351 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8352 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8353 (CFLAGS-tst-mbswcs2.c): Likewise.
8354 (CFLAGS-tst-mbswcs3.c): Likewise.
8355 (CFLAGS-tst-mbswcs4.c): Likewise.
8356 (CFLAGS-tst-mbswcs5.c): Likewise.
8357 (CFLAGS-tst-trans.c): Likewise
8359 2014-12-11 Roland McGrath <roland@hack.frob.com>
8361 * posix/regexbug1.c (main): Use "%s" format with regerror results,
8362 rather than assuming they won't contain any '%'s.
8364 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
8366 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8367 inhibit_loop_to_libcall to avoid recursive calls.
8368 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8369 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8371 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8373 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8376 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8378 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8379 integer value instead of boolean.
8381 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8383 * malloc/malloc.c: Fix powerof2 check.
8385 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8387 * locale/programs/locfile.h (maybe_swap_uint32):
8388 Remove inline and add unused attribute.
8390 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8392 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8393 Truncating assembler expression to a .long expression.
8395 2014-12-11 Andreas Schwab <schwab@suse.de>
8397 * elf/rtld.c (struct map_args): Constify str member.
8398 (do_preload): Constify fname argument.
8400 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8402 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8403 constants definition.
8405 2014-12-11 Andreas Schwab <schwab@suse.de>
8408 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8409 FORCE_ELISION instead of DO_ELISION.
8410 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8412 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8415 * iconvdata/gconv-modules: Remove duplicate entry.
8417 2014-12-11 Will Newton <will.newton@linaro.org>
8419 Merge gettext 0.19.3 into intl/.
8421 This involves a number of cosmetic changes to comments
8422 and ANSI function definitions and prototypes throughout
8423 all the files. The gettext copyright header is used but
8424 with the date ranges taken from the glibc copy.
8426 * NEWS: Add gettext merge to 2.21.
8427 * intl/bindtextdom.c: Switch to gettext copyright.
8428 Use ANSI definitions and prototypes.
8429 Use gl_* locking primitives rather than __libc_* ones.
8430 Use __builtin_expect rather than __glibc_likely/unlikely.
8431 * intl/dcgettext.c: Switch to gettext copyright.
8432 Use ANSI definitions and prototypes.
8433 * intl/dcigettext.c: Switch to gettext copyright.
8434 Use ANSI definitions and prototypes.
8435 (INTDIV0_RAISES_SIGFPE): New define.
8436 Use gl_* locking primitives rather than __libc_* ones.
8437 Include eval-plural.h instead of plural-eval.c.
8438 Use __builtin_expect rather than __glibc_likely/unlikely.
8439 * intl/dcngettext.c: Switch to gettext copyright.
8440 Use ANSI definitions and prototypes.
8441 * intl/dgettext.c: Likewise.
8442 * intl/dngettext.c: Likewise.
8443 * intl/plural-eval.c: Renamed to...
8444 * intl/eval-plural.h: ...this.
8445 * intl/explodename.c: Switch to gettext copyright.
8446 Use ANSI definitions and prototypes.
8447 (_nl_explode_name): Use strchr instead of __rawmemchr.
8448 * intl/finddomain.c: Switch to gettext copyright.
8449 Use ANSI definitions and prototypes.
8450 Use gl_* locking primitives rather than __libc_* ones.
8451 (_nl_find_domain): Use malloc rather than alloca for
8452 allocation of temporary locale name.
8453 * intl/gettext.c: Switch to gettext copyright.
8454 Use ANSI definitions and prototypes.
8455 * intl/gettextP.h: Switch to gettext copyright.
8456 Use ANSI definitions and prototypes.
8457 Use gl_* locking primitives rather than __libc_* ones.
8458 * intl/gmo.h: Switch to gettext copyright.
8459 (struct sysdep_string): Move struct segment_pair outside of
8461 * intl/hash-string.c: Use ANSI definitions and prototypes.
8462 * intl/hash-string.h: Switch to gettext copyright.
8463 Use ANSI definitions and prototypes.
8464 * intl/l10nflist.c: Switch to gettext copyright.
8465 Use ANSI definitions and prototypes.
8466 (_nl_normalize_codeset): Avoid integer overflow.
8467 * intl/loadinfo.h: Switch to gettext copyright.
8468 Use ANSI definitions and prototypes.
8469 (LIBINTL_DLL_EXPORTED): New define.
8470 (PATH_SEPARATOR): New define.
8471 * intl/loadmsgcat.c: Switch to gettext copyright.
8472 * intl/localealias.c: Switch to gettext copyright.
8473 Use ANSI definitions and prototypes.
8474 (_nl_expand_alias): Use PATH_SEPARATOR.
8475 * intl/ngettext.c: Switch to gettext copyright.
8476 Use ANSI definitions and prototypes.
8477 * intl/plural-exp.c: Likewise.
8478 * intl/plural-exp.h: Switch to gettext copyright.
8479 Use ANSI definitions and prototypes.
8480 (struct expression): Move definition of enum operator outside
8481 of struct definition.
8482 * intl/plural.c: Regenerate.
8483 * intl/plural.y: Switch to gettext copyright.
8484 Use ANSI definitions and prototypes.
8486 * intl/textdomain.c: Switch to gettext copyright.
8487 Use ANSI definitions and prototypes.
8488 Use gl_* locking primitives rather than __libc_* ones.
8490 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
8492 * debug/warning-nop.c: Add used atrribute.
8494 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8496 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8498 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8499 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8500 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8502 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8503 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8506 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8507 Undefine after defining function. Define as weak alias of
8508 __wcschr. Use libc_hidden_weak.
8509 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
8510 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8511 (libc_hidden_def): Also define __GI___wcschr alias.
8512 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8513 __wcschr and define as weak alias of __wcschr.
8514 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8516 [!WCSCHR] (DEFAULT_WCSCHR): Define.
8517 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8518 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
8519 libc_hidden_weak. Do not use libc_hidden_def.
8520 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8521 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8522 __GI___wcschr alias.
8523 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8524 [IS_IN (libc)] (wcschr): Define as macro expanding to
8526 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8527 [IS_IN (libc)] (__wcschr_power6): Likewise.
8528 [IS_IN (libc)] (__wcschr_power7): Likewise.
8529 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
8531 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8533 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8534 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8535 __wcschr and define as weak alias of __wcschr. Use
8536 libc_hidden_builtin_def.
8537 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8538 as weak alias of __wcschr. Use libc_hidden_weak.
8539 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8541 * time/era.c (_nl_init_era_entries): Likewise.
8542 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8544 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8545 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8547 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8549 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8550 format for long int variable.
8552 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
8555 * manual/search.texi: (Array Sort Function): Remove claim how to make
8558 2014-12-10 Andreas Schwab <schwab@suse.de>
8561 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8562 user-controlled locks.
8564 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
8566 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8569 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8571 * configure.ac (--disable-werror): New configure option.
8572 (enable_werror): New AC_SUBST.
8573 * configure: Regenerated.
8574 * config.make.in (enable-werror): New variable.
8575 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8577 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8578 * manual/install.texi (Configuring and compiling): Document
8580 * INSTALL: Regenerated.
8581 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8582 (CFLAGS-tst-chk2.c): Likewise.
8583 (CFLAGS-tst-chk3.c): Likewise.
8584 (CFLAGS-tst-chk4.cc): Likewise.
8585 (CFLAGS-tst-chk5.cc): Likewise.
8586 (CFLAGS-tst-chk6.cc): Likewise.
8587 (CFLAGS-tst-lfschk1.c): Likewise.
8588 (CFLAGS-tst-lfschk2.c): Likewise.
8589 (CFLAGS-tst-lfschk3.c): Likewise.
8590 (CFLAGS-tst-lfschk4.cc): Likewise.
8591 (CFLAGS-tst-lfschk5.cc): Likewise.
8592 (CFLAGS-tst-lfschk6.cc): Likewise.
8594 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8595 (main): Disable -Wdeprecated-declarations around calls to
8596 register_printf_function.
8598 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8599 (do_test): Disable -Wdiv-by-zero around some calls to
8600 fwrite_unlocked and fread_unlocked.
8602 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8603 (DIAG_POP_NEEDS_COMMENT): Likewise.
8604 (_DIAG_STR1): Likewise.
8605 (_DIAG_STR): Likewise.
8606 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8607 * stdio-common/bug21.c: Include <libc-internal.h>.
8608 (do_test): Disable -Wformat around call to sscanf.
8609 * stdio-common/scanf14.c: Include <libc-internal.h>.
8610 (main): Disable -Wformat around some calls to scanf functions.
8612 2014-12-09 Torvald Riegel <triegel@redhat.com>
8614 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8616 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8618 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8619 stack variable alignment.
8621 2014-12-06 Joseph Myers <joseph@codesourcery.com>
8624 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8625 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8626 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8627 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8628 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8629 __getrlimit instead of getrlimit.
8630 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8631 __gettimeofday instead of gettimeofday.
8632 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8634 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8636 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8637 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8639 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8640 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8642 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8644 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8645 for wide-character tests.
8647 2014-12-04 Roland McGrath <roland@hack.frob.com>
8649 * io/openat64.c: #include <libc-internal.h>
8650 (__openat64): Prototypify. Use ignore_value on MODE.
8651 * io/openat.c: Likewise.
8652 * misc/reboot.c: #include <libc-internal.h>
8653 (reboot): Prototypify. Use ignore_value on HOWTO.
8654 * misc/ptrace.c: #include <libc-internal.h>
8655 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
8657 2014-12-04 Joseph Myers <joseph@codesourcery.com>
8659 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8660 XPG4, UNIX98 and XOPEN2K.
8661 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8663 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8665 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8667 * libio/fileops.c: Use ISO C style for function definitions.
8668 * libio/iofopen.c: Likewise.
8669 * libio/wfileops.c: Likewise.
8672 * libio/fileops.c (_IO_new_file_underflow): Unset cached
8674 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8675 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8676 (fgets_func): Function pointer to fgets and fgetws.
8677 (do_ftell_test): Add test to verify ftell value after read
8679 (do_test): Set fgets_func.
8681 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8682 O_TRUNC flag for w and w+ modes.
8683 (do_rewind_test): Likewise.
8684 (do_ftell_test): Likewise.
8685 (do_write_test): Likewise.
8688 * libio/fileops.c (do_ftell): Seek only when there are
8690 * libio/wfileops.c (do_ftell_wide): Likewise.
8691 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8693 (do_one_test): Call it.
8695 2014-12-03 Joseph Myers <joseph@codesourcery.com>
8697 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8698 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8699 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8701 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8702 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8703 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8705 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8707 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8709 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8712 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8713 as weak alias of __getifaddrs. Use libc_hidden_weak.
8714 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8715 __freeifaddrs. Use libc_hidden_weak.
8716 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8717 define as weak alias of __getifaddrs. Use libc_hidden_weak.
8718 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8719 __freeifaddrs. Use libc_hidden_weak.
8720 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8721 __getifaddrs and define as weak alias of __getifaddrs. Use
8723 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8724 __freeifaddrs. Use libc_hidden_weak.
8725 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8727 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8728 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8730 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8733 * sysdeps/mips/start.S (__start): Use indirect jump to call
8736 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8738 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8740 * nptl/tst-mutex1.c: Include <stdbool.h>.
8741 [!ATTR] (ATTR_NULL): New macro.
8742 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8743 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8744 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8746 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8750 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8751 Change conditional to [__USE_MISC].
8754 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8756 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8758 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8760 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8762 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8763 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8764 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8765 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8766 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8767 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8768 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8769 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8770 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8772 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8774 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8776 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8777 Remove strpbrk objects.
8778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8779 (__libc_ifunc_impl_list): Remove strpbrk implementation.
8780 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8781 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8782 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8783 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8785 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8786 Remove strcspn objects.
8787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8788 (__libc_ifunc_impl_list): Remove strcspn implementation.
8789 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8790 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8791 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8792 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8794 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8795 Remove strspn objetcs.
8796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8797 (__libc_ifunc_impl_list): Remove strspn implementation.
8798 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8799 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8800 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8801 * sysdeps/powerpc/powerpc64/strspn.S: New file.
8803 2014-12-01 James Lemke <jwlemke@codesourcery.com>
8807 (mem2mem_check): Add a terminator to the chain of checking blocks.
8808 (malloc_check_get_size): Use it here.
8809 (mem2chunk_check): Ditto.
8811 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8813 * sysdeps/powerpc/powerpc64/strtok.S: New file.
8814 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8816 2014-11-29 Carlos O'Donell <carlos@redhat.com>
8818 * bits/ioctl-types.h: Indent preprocessor directives correctly.
8820 * nptl/nptl-init.c: Include libc-internal.h.
8821 (__pthread_initialize_minimal_internal): Use ROUND_UP.
8823 * elf/ldconfig.c (search_dir): Expand comment.
8825 2014-11-29 Joseph Myers <joseph@codesourcery.com>
8827 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8829 (linknamespace-symlist-stdlibs-tests): Likewise.
8830 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8831 instead of $(objpfx)symlist-stdlibs.
8832 (linknamespace-libs-isoc): New variable.
8833 (linknamespace-libs): Use $(linknamespace-libs-isoc).
8834 (linknamespace-libs-ISO): New variable.
8835 (linknamespace-libs-ISO99): Likewise.
8836 (linknamespace-libs-ISO11): Likewise.
8837 (linknamespace-libs-XPG3): Likewise.
8838 (linknamespace-libs-XPG4): Likewise.
8839 (linknamespace-libs-POSIX): Likewise.
8840 (linknamespace-libs-UNIX98): Likewise.
8841 (linknamespace-libs-XOPEN2K): Likewise.
8842 (linknamespace-libs-POSIX2008): Likewise.
8843 (linknamespace-libs-XOPEN2K8): Likewise.
8844 ($(objpfx)symlist-stdlibs): Replace by
8845 $(linknamespace-symlist-stdlibs-tests). Use
8846 $(linknamespace-libs-$*) as set of libraries.
8847 ($(linknamespace-header-tests)): Update dependencies. Use
8848 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8849 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8850 * conform/linknamespace.pl: Remove comment about considering
8851 definitions of symbols from irrelevant libraries.
8853 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
8856 * elf/dl-tls.c: Include <atomic.h>.
8857 (oom): Remove #ifdef SHARED/#endif.
8858 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8859 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
8860 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8862 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8863 * nptl/Makefile (tests): Add tst-stack4.
8864 (modules-names): Add tst-stack4mod.
8865 ($(objpfx)tst-stack4): New.
8866 (tst-stack4mod.sos): Likewise.
8867 ($(objpfx)tst-stack4.out): Likewise.
8868 ($(tst-stack4mod.sos)): Likewise.
8870 * nptl/tst-stack4.c: New file.
8871 * nptl/tst-stack4mod.c: Likewise.
8873 2014-11-27 J. Brown <jb999@gmx.de>
8875 * sysdeps/x86/bits/string.h: Add recent CPUs.
8877 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8879 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8882 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8885 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8888 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
8890 * nscd/connections.c: Include libc-internal.h because of macro
8893 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8895 * string/bits/string3.h (__warn_memset_zero_len): Don't
8896 declare for gcc newer than 5.0.
8897 (memset): Don't test for zero-length __LEN for gcc newer than
8900 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8902 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8903 size_t for %zu format.
8905 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8906 difference, not %ju.
8908 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8910 * include/libc-internal.h (ignore_value): New macro.
8911 * nscd/connections.c (restart): Wrap calls to setuid and setgid
8914 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8917 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8918 pthread_cleanup_push to void *.
8920 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8925 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8926 instead of 1L << 52.
8928 * libio/bug-rewind.c (do_test): Check fwscanf return values.
8929 * libio/bug-rewind2.c (do_test): Likewise.
8931 * debug/test-stpcpy_chk-ifunc.c: Remove file.
8932 * debug/test-strcpy_chk-ifunc.c: Likewise.
8933 * wcsmbs/test-wcschr-ifunc.c: Likewise.
8934 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8935 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8936 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8937 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8938 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8939 * Rules [$(multi-arch) = no] (tests): Do not filter out
8941 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8942 * debug/Makefile (tests-ifunc): Remove variable.
8943 (tests): Do not add $(tests-ifunc).
8944 * wcsmbs/Makefile (tests-ifunc): Remove variable.
8945 (tests): Do not add $(tests-ifunc).
8946 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8947 [TEST_IFUNC]: Remove conditionals.
8948 * string/test-string.h (TEST_IFUNC): Remove macro.
8949 [TEST_IFUNC]: Remove conditionals.
8951 * string/test-strchr.c [!WIDE] (L): New macro.
8952 [WIDE] (L): Likewise.
8953 (check1): Use CHAR instead of char. Use L on string and character
8956 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
8958 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8960 * sysdeps/powerpc/bits/atomic.h
8961 (__arch_atomic_exchange_and_add_32_acq): Add definition.
8962 (__arch_atomic_exchange_and_add_32_rel): Likewise.
8963 (atomic_exchange_and_add_acq): Likewise.
8964 (atomic_exchange_and_add_rel): Likewise.
8965 * sysdeps/powerpc/powerpc32/bits/atomic.h
8966 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8967 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8968 * sysdeps/powerpc/powerpc64/bits/atomic.h
8969 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8970 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8972 2014-11-26 Torvald Riegel <triegel@redhat.com>
8974 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8975 Change synchronization of __sched_fifo_min_prio and
8976 __sched_fifo_max_prio.
8977 * nptl/pthread_mutexattr_getprioceiling.c
8978 (pthread_mutexattr_getprioceiling): Likewise.
8979 * nptl/pthread_mutexattr_setprioceiling.c
8980 (pthread_mutexattr_setprioceiling): Likewise.
8981 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8982 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8985 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8987 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8990 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8992 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8993 third argument const.
8995 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8997 fnmatch: work around GCC compiler warning bug with uninit var
8998 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8999 This works around a bug with x86-64 GCC 4.9.2 and earlier
9000 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9001 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9002 used uninitialized in this function [-Wmaybe-uninitialized]".
9004 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9006 * posix/bug-regex31.c (main): Return RES not 0.
9008 2014-11-25 Anton Blanchard <anton@samba.org>
9010 * sysdeps/powerpc/bits/atomic.h
9011 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9013 2014-11-24 Sterling Augustine <saugustine@google.com>
9015 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9017 2014-11-24 Ryan Cumming <etaoins@gmail.com>
9020 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9022 2014-11-24 Joseph Myers <joseph@codesourcery.com>
9025 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9026 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9028 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9029 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9031 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9033 * string/strncpy.c (strncpy): Improve performance by using memset.
9035 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9037 * string/strcpy.c (strcpy):
9038 Improve performance by using strlen and memcpy.
9040 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
9042 * string/strcoll_l.c (get_next_seq): __always_inline.
9043 * string/strcoll_l.c (do_compare): __always_inline.
9045 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9047 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9049 * include/mqueue.h: Likewise.
9050 * include/stdlib.h: Likewise.
9052 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9053 (get_null_defines): Adjust.
9054 * sunrpc/Makefile: Adjust comment.
9055 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9056 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9057 (CFLAGS-interp.c): Likewise.
9058 (CFLAGS-ldconfig.c): Likewise.
9059 (CPPFLAGS-.os): Likewise.
9060 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9061 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9062 * extra-modules.mk (extra-modules.mk): Likewise.
9063 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9064 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9065 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9066 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9067 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9068 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9069 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9070 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9071 * iconvdata/Makefile (CPPFLAGS): Likewise.
9072 (cpp-srcs-left): Add libof for all iconvdata routines.
9073 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9074 * include/assert.h: Likewise.
9075 * include/ctype.h: Likewise.
9076 * include/errno.h: Likewise.
9077 * include/libc-symbols.h: Likewise.
9078 * include/math.h: Likewise.
9079 * include/netdb.h: Likewise.
9080 * include/resolv.h: Likewise.
9081 * include/stdio.h: Likewise.
9082 * include/stdlib.h: Likewise.
9083 * include/string.h: Likewise.
9084 * include/sys/stat.h: Likewise.
9085 * include/wctype.h: Likewise.
9086 * intl/l10nflist.c: Likewise.
9087 * libidn/idn-stub.c: Likewise.
9088 * libio/libioP.h: Likewise.
9089 * nptl/libc_multiple_threads.c: Likewise.
9090 * nptl/pthreadP.h: Likewise.
9091 * posix/regex_internal.h: Likewise.
9092 * resolv/res_hconf.c: Likewise.
9093 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9094 * sysdeps/arm/memmove.S: Likewise.
9095 * sysdeps/arm/sysdep.h: Likewise.
9096 * sysdeps/generic/_itoa.h: Likewise.
9097 * sysdeps/generic/symbol-hacks.h: Likewise.
9098 * sysdeps/gnu/errlist.awk: Likewise.
9099 * sysdeps/gnu/errlist.c: Likewise.
9100 * sysdeps/i386/i586/memcpy.S: Likewise.
9101 * sysdeps/i386/i586/memset.S: Likewise.
9102 * sysdeps/i386/i686/memcpy.S: Likewise.
9103 * sysdeps/i386/i686/memmove.S: Likewise.
9104 * sysdeps/i386/i686/mempcpy.S: Likewise.
9105 * sysdeps/i386/i686/memset.S: Likewise.
9106 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9107 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9108 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9109 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9110 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9111 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9112 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9113 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9114 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9115 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9116 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9117 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9118 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9119 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9120 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9121 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9122 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9123 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9124 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9125 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9126 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9127 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9128 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9129 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9130 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9131 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9132 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9133 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9134 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9135 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9136 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9137 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9139 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9140 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9141 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9142 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9143 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9144 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9145 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9146 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9147 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9148 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9149 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9150 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9151 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9152 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9153 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9154 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9155 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9156 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9157 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9158 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9159 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9160 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9161 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9162 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9163 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9164 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9165 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9166 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9167 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9168 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9169 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9170 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9171 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9172 * sysdeps/posix/closedir.c: Likewise.
9173 * sysdeps/posix/opendir.c: Likewise.
9174 * sysdeps/posix/readdir.c: Likewise.
9175 * sysdeps/posix/rewinddir.c: Likewise.
9176 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9177 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9178 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9179 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9180 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9181 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9182 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9183 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9184 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9185 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9186 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9187 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9188 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9189 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9190 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9191 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9192 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9193 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9194 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9195 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9196 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9197 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9198 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9199 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9200 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9201 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9202 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9203 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9204 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9205 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9206 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9208 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9209 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9210 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9211 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9212 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9213 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9214 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9215 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9216 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9217 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9218 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9219 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9220 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9221 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9222 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9223 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9224 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9225 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9226 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9227 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9228 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9229 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9230 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9231 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9232 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9233 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9234 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9235 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9236 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9237 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9238 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9239 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9240 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9241 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9242 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9243 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9244 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9245 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9246 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9247 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9248 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9249 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9250 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9251 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9252 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9253 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9254 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9255 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9256 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9257 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9258 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9259 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9260 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9261 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9262 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9263 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9264 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9265 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9266 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9267 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9268 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9269 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9270 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9271 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9272 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9273 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9274 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9275 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9276 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9277 * sysdeps/unix/alpha/sysdep.S: Likewise.
9278 * sysdeps/unix/alpha/sysdep.h: Likewise.
9279 * sysdeps/unix/make-syscalls.sh: Likewise.
9280 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9281 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9282 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9283 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9284 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9285 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9286 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9287 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9288 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9289 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9290 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9291 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9292 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9293 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9294 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9295 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9296 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9297 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9298 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9299 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9300 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9301 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9302 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9303 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9304 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9305 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9306 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9309 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9310 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9311 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9312 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9313 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9314 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9315 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9316 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9317 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9318 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9319 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9320 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9321 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9322 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9323 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9324 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9325 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9326 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9327 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9329 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9330 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9331 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9332 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9333 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9334 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9335 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9336 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9338 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9339 * sysdeps/x86_64/memcpy.S: Likewise.
9340 * sysdeps/x86_64/memmove.c: Likewise.
9341 * sysdeps/x86_64/memset.S: Likewise.
9342 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9343 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9344 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9345 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9346 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9347 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9348 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9349 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9350 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9351 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9352 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9353 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9354 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9355 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9356 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9357 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9358 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9359 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9360 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9361 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9362 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9363 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9364 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9365 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9366 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9367 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9368 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9369 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9370 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9371 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9372 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9373 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9374 * sysdeps/x86_64/strcmp.S: Likewise.
9376 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9378 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9379 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9380 * elf/rtld-Rules: Likewise.
9381 * elf/setup-vdso.h: Likewise.
9382 * include/assert.h: Likewise.
9383 * include/bits/stdlib-float.h: Likewise.
9384 * include/errno.h: Likewise.
9385 * include/sys/stat.h: Likewise.
9386 * include/unistd.h: Likewise.
9387 * sysdeps/aarch64/setjmp.S: Likewise.
9388 * sysdeps/alpha/setjmp.S: Likewise.
9389 * sysdeps/arm/__longjmp.S: Likewise.
9390 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9391 * sysdeps/arm/setjmp.S: Likewise.
9392 * sysdeps/arm/sysdep.h: Likewise.
9393 * sysdeps/generic/_itoa.h: Likewise.
9394 * sysdeps/generic/dl-sysdep.h: Likewise.
9395 * sysdeps/generic/ldsodefs.h: Likewise.
9396 * sysdeps/i386/dl-tls.h: Likewise.
9397 * sysdeps/i386/setjmp.S: Likewise.
9398 * sysdeps/m68k/setjmp.c: Likewise.
9399 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9400 * sysdeps/mach/hurd/opendir.c: Likewise.
9401 * sysdeps/posix/getcwd.c: Likewise.
9402 * sysdeps/posix/opendir.c: Likewise.
9403 * sysdeps/posix/profil.c: Likewise.
9404 * sysdeps/powerpc/dl-procinfo.h: Likewise.
9405 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9406 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9407 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9408 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9409 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9410 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9411 * sysdeps/s390/dl-tls.h: Likewise.
9412 * sysdeps/s390/s390-32/setjmp.S: Likewise.
9413 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9414 * sysdeps/sh/sh3/setjmp.S: Likewise.
9415 * sysdeps/sh/sh4/setjmp.S: Likewise.
9416 * sysdeps/unix/alpha/sysdep.h: Likewise.
9417 * sysdeps/unix/arm/sysdep.S: Likewise.
9418 * sysdeps/unix/i386/sysdep.S: Likewise.
9419 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9420 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9421 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9422 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9423 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9424 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9425 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9426 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9427 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9428 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9429 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9430 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9431 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9434 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9435 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9436 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9437 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9438 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9439 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9440 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9441 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9442 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9443 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9444 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9445 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9446 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9447 * sysdeps/x86_64/setjmp.S: Likewise.
9449 * include/math.h: Use IS_IN instead of IS_IN_libm.
9450 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9451 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9452 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9453 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9454 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9455 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9456 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9457 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9458 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9459 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9460 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9461 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9462 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9463 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9464 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9465 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9466 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9467 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9468 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9469 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9470 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9471 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9472 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9473 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9474 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9475 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9476 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9477 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9478 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9479 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9480 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9481 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9482 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9493 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9494 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9495 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9496 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9497 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9498 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9504 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9505 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9506 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9507 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9508 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9509 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9510 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9511 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9512 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9513 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9514 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9515 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9516 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9517 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9519 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9521 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9522 * nptl/pthreadP.h: Likewise.
9523 * nptl_db/structs.def: Likewise.
9524 * sysdeps/arm/sysdep.h: Likewise.
9525 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9526 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9527 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9528 * sysdeps/unix/alpha/sysdep.h: Likewise.
9529 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9530 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9531 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9532 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9533 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9534 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9535 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9536 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9537 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9538 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9539 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9540 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9541 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9542 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9545 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9546 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9547 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9548 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9549 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9550 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9551 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9552 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9553 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9554 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9556 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9557 * nptl/pthreadP.h: Likewise.
9558 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9559 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9560 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9561 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9562 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9563 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9564 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9565 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9566 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9567 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9568 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9569 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9574 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9575 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9576 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9577 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9578 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9579 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9580 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9581 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9583 * dlfcn/dladdr.c: Use IS_IN.
9584 * dlfcn/dladdr1.c: Likewise.
9585 * dlfcn/dlclose.c: Likewise.
9586 * dlfcn/dlerror.c: Likewise.
9587 * dlfcn/dlinfo.c: Likewise.
9588 * dlfcn/dlmopen.c: Likewise.
9589 * dlfcn/dlopen.c: Likewise.
9590 * dlfcn/dlsym.c: Likewise.
9591 * dlfcn/dlvsym.c: Likewise.
9593 * include/ifaddrs.h: Use IS_IN.
9594 * inet/check_pf.c: Likewise.
9595 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9596 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9598 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9600 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9601 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9603 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9604 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9607 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9609 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9610 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9611 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9612 * include/libc-symbols.h (IS_IN_LIB): New macro.
9613 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9614 * include/netdb.h: Likewise.
9615 * include/stap-probe.h: Remove all uses of IN_LIB.
9617 * Makeconfig (module-cppflags-real): Define MODULE_NAME
9618 instead of IN_MODULE.
9619 * include/libc-symbols.h (IN_MODULE): Define using
9621 (PASTE_NAME, PASTE_NAME1): New macros.
9622 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9624 (STAP_PROBE_ASM): Likewise.
9626 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
9628 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9629 __mach_init in dlopened libc.
9631 2014-11-22 Mike Frysinger <vapier@gentoo.org>
9633 * sysdeps/arm/preconfigure.ac: Delete EABI check.
9634 * sysdeps/arm/preconfigure: Regenerate.
9636 2014-11-21 Roland McGrath <roland@hack.frob.com>
9638 * nptl/pthread_create.c (__pthread_create_2_1): Set
9639 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9640 when copying values from IATTR into PD.
9642 2014-11-21 Will Newton <will.newton@linaro.org>
9643 Andrew Pinski <andrew.pinski@caviumnetworks.com>
9645 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9646 Refactor inline-asm. Also add comment.
9648 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9649 ElfW macro instead of hardcoded Elf64 types.
9650 (la_aarch64_gnu_pltenter): Likewise.
9651 * sysdeps/aarch64/dl-machine.h
9652 (elf_machine_runtime_setup): Use ElfW(Addr).
9654 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9655 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9656 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9657 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9658 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9659 (R_AARCH64_TLS_DTPMOD64): Rename to ..
9660 (R_AARCH64_TLS_DTPMOD): This.
9661 (R_AARCH64_TLS_DTPREL64): Rename to ...
9662 (R_AARCH64_TLS_DTPREL): This.
9663 (R_AARCH64_TLS_TPREL64): Rename to ...
9664 (R_AARCH64_TLS_TPREL): This.
9665 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9666 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9667 R_AARCH64_TLS_TPREL64.
9668 (elf_machine_rela): Likewise.
9670 2014-11-21 Torvald Riegel <triegel@redhat.com>
9672 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9673 by setting it to 0. 64b atomics are not supported currently.
9675 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9678 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9679 search domain names.
9681 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9685 * resolv/res_query.c (__libc_res_nquerydomain): Retain
9687 * posix/tst-getaddrinfo5.c: New.
9688 * posix/Makefile (tests): Add it.
9690 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9694 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9695 after parsing line but before break_if_match.
9696 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9697 if there is a protocol mismatch.
9699 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9701 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9702 because the potential race is on the user-supplied stream.
9704 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9706 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9707 string literal if not passed a buffer.
9708 * manual/job.texi (ctermid): Update reasoning, note deviation
9709 from posix, suggest mtasurace when not passed a buffer, for
9710 future non-preliminary safety notes.
9712 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9714 * manual/users.texi (cuserid): Fix MT-Safety note for the case
9715 of not passing it a buffer.
9716 Reported by Peng Haitao.
9718 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9720 * manual/Makefile ($(objpfx)stamp-summary): Require
9721 check-safety.sh to pass.
9722 * manual/check-safety.sh: Wish for verification that every
9723 @deftypefn and @deftypefun is followed by a @safety remark.
9725 2014-11-20 Roland McGrath <roland@hack.frob.com>
9727 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9729 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9730 PTHREAD_CANCEL_ASYNCHRONOUS.
9731 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9734 * nptl/default-sched.h: New file.
9735 * sysdeps/unix/sysv/linux/default-sched.h: New file.
9736 * nptl/pthread_create.c: Include it.
9737 (__pthread_create_2_1): Use collect_default_sched instead of making
9738 Linux syscalls here directly.
9740 2014-11-20 Torvald Riegel <triegel@redhat.com>
9742 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9743 __pthread_once): Use C11 atomics.
9745 2014-11-20 Torvald Riegel <triegel@redhat.com>
9747 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9749 2014-11-20 Torvald Riegel <triegel@redhat.com>
9751 * include/atomic.h (__atomic_link_error, __atomic_check_size,
9752 atomic_thread_fence_acquire, atomic_thread_fence_release,
9753 atomic_thread_fence_seq_cst, atomic_load_relaxed,
9754 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9755 atomic_compare_exchange_weak_relaxed,
9756 atomic_compare_exchange_weak_acquire,
9757 atomic_compare_exchange_weak_release,
9758 atomic_exchange_acquire, atomic_exchange_release,
9759 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9760 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9761 atomic_fetch_and_acquire,
9762 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9764 2014-11-20 Torvald Riegel <triegel@redhat.com>
9766 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9767 USE_ATOMIC_COMPILER_BUILTINS): Define.
9768 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9769 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9770 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9771 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9772 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9773 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9774 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9775 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9776 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9777 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9778 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9779 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9780 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9781 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9782 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9783 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9784 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9785 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9786 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9787 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9788 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9789 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9790 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9791 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9792 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9793 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9794 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9795 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9796 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9797 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9798 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9799 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9800 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9801 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9802 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9803 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9804 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9805 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9806 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9807 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9809 2014-11-19 Roland McGrath <roland@hack.frob.com>
9811 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9812 the sched_priority value here. It was already checked when the user
9813 called pthread_attr_setschedparam.
9815 * nptl/tst-bad-schedattr.c: New file.
9816 * nptl/Makefile (tests): Add it.
9818 2014-11-19 Carlos O'Donell <carlos@redhat.com>
9819 Florian Weimer <fweimer@redhat.com>
9820 Joseph Myers <joseph@codesourcery.com>
9821 Adam Conrad <adconrad@0c3.net>
9822 Andreas Schwab <schwab@suse.de>
9823 Brooks <bmoses@google.com>
9826 * wordexp-test.c (__dso_handle): Add prototype.
9827 (__register_atfork): Likewise.
9828 (__app_register_atfork): New function.
9829 (registered_forks): New global.
9830 (register_fork): New function.
9831 (test_case): Add 3 new tests for WRDE_CMDSUB.
9832 (main): Call __app_register_atfork.
9833 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9834 fork count is non-zero fail the test.
9835 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9837 (parse_dollars): Remove check for WRDE_NOCMD.
9838 (parse_dquote): Likewise.
9840 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9842 * Makeconfig (built-modules): List non-library modules to be
9844 (module-cppflags): Include libc-modules.h for
9845 everything except shlib-versions.v.i.
9847 (before-compile): Add libc-modules.h.
9848 ($(common-objpfx)libc-modules.h,
9849 $(common-objpfx)libc-modules.stmp): New targets.
9850 (common-generated): Add libc-modules.h and libc-modules.stmp.
9851 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9852 * include/libc-symbols.h: Don't include libc-modules.h.
9853 * include/libc-modules.h: Remove file.
9854 * scripts/gen-libc-modules.awk: New script to generate
9856 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9857 Depend on libc-modules.stmp.
9859 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9861 * Makeconfig (in-module): Get value of libof set for the
9863 (CPPFLAGS): Use $(in-module).
9864 * Makerules: Don't suffix routine names for nonlib.
9865 * include/libc-modules.h: New file.
9866 * include/libc-symbols.h: Include libc-modules.h
9867 (IS_IN): New macro to replace IS_IN_* macros.
9868 * elf/Makefile: Set libof-* for each routine.
9869 * elf/rtld-Rules: Likewise.
9870 * extra-modules.mk: Likewise.
9871 * iconv/Makefile: Likewise.
9872 * iconvdata/Makefile: Likewise.
9873 * locale/Makefile: Likewise.
9874 * malloc/Makefile: Likewise.
9875 * nss/Makefile: Likewise.
9876 * sysdeps/gnu/Makefile: Likewise.
9877 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9878 * sysdeps/unix/sysv/linux/Makefile: Likewise.
9879 * sysdeps/s390/s390-64/Makefile: Likewise.
9880 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
9881 CPPFLAGS for nscd instead of nonlib.
9883 2014-11-18 Roland McGrath <roland@hack.frob.com>
9885 * nptl/createthread.c: New file.
9887 * nptl/createthread.c: Moved ...
9888 * sysdeps/unix/sysv/linux/createthread.c: ... here.
9890 * nptl/createthread.c: Add proper top-line comment.
9891 (do_clone): Folded into ...
9892 (create_thread): ... here. Take new arguments STOPPED_START and
9893 THREAD_RAN. Always set PD->stopped_start to something here. Don't
9894 increment __nptl_threads, do event-reporting logic, do
9895 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9896 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
9897 resource cleanup if sched_setaffinity or sched_setscheduler fails,
9898 just send SIGCANCEL.
9899 * nptl/pthread_create.c: Forward-declare create_thread before
9900 including createthread.c.
9901 (start_thread): Use new macro START_THREAD_DEFN to replace defining
9902 declaration, and new macro START_THREAD_SELF to replace argument.
9903 Remove return statement.
9904 (report_thread_creation): New function.
9905 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
9906 synchronization logic, and __nptl_nthreads increment here, around
9907 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
9908 PD->parent_cancelhandling here, before create_thread. When
9909 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9910 __deallocate_stack, and ENOMEM translation here.
9912 2014-11-18 Joseph Myers <joseph@codesourcery.com>
9915 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9916 (mptwo): Rename to __mptwo.
9917 (__inv): Use __mptwo instead of mptwo.
9918 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9919 (mptwo): Rename to __mptwo.
9920 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9921 of mpone and __mptwo instead of mptwo.
9922 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9924 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9925 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9926 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9927 of mpone and __mptwo instead of mptwo.
9928 (__mpranred): Use __mpone instead of mpone.
9929 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9931 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9932 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9933 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9934 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9935 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9936 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9937 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9938 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9939 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9940 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9941 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9942 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9943 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9944 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9945 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9946 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9947 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9948 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9949 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9951 2014-11-18 Tom de Vries <tom@codesoucery.com>
9953 * manual/signal.texi (Primitives Interrupted by Signals): In section,
9954 replace BSD Handler xref with BSD Signal Handling.
9956 2014-11-17 Richard Henderson <rth@redhat.com>
9958 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9959 (_FP_PACK_RAW_2): Remove.
9960 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9961 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9962 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9963 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9964 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9965 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9966 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9967 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9968 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9969 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9970 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9971 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9972 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9973 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9974 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9975 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9977 2014-11-14 Roland McGrath <roland@hack.frob.com>
9979 * signal/signal.h [__USE_MISC]
9980 (struct sigvec): Remove type.
9981 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9982 (sigvec): Remove declaration.
9983 * sysdeps/posix/sigvec.c: Moved ...
9984 * signal/sigvec.c: ... here, replacing old file.
9985 (struct sigvec): New type, copied from old signal.h definition.
9986 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9987 (__sigvec): Convert definition to prototype.
9988 (sigvec): Replace weak_alias with compat_symbol.
9989 * signal/Versions (libc: GLIBC_2.21): New version set.
9990 * include/signal.h: Remove __sigvec declaration.
9991 * sysdeps/unix/bsd/sigvec.c: Remove file.
9992 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9993 * manual/signal.texi (BSD Handler): Remove subsection.
9994 Move siginterrupt up to ...
9995 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9996 (Blocking in BSD): Fold subsection into its parent.
9997 * NEWS: Mention sigvec removal.
9999 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10001 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10002 (DLA_FMS): Make definition conditional only on [__FMA4__].
10003 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10006 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10007 Make definition conditional only on [PROF].
10008 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10010 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10011 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10013 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10015 * include/signal.h (__sigpause): Move declaration above call to
10017 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10019 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10020 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10022 2014-11-14 David S. Miller <davem@davemloft.net>
10024 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10025 Define before including <string/memcpy.c> and <string/mempcpy.c>.
10027 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10029 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10030 * configure: Regenerated.
10031 * manual/install.texi (Tools for Compilation): Document a
10032 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10033 compiler verified to work.
10034 * INSTALL: Regenerated.
10036 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10037 redeclare with asm name.
10038 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10039 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10040 including <string.h>.
10041 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10042 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10043 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10044 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10045 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10046 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10047 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10049 2014-11-13 Joseph Myers <joseph@codesourcery.com>
10051 * stdlib/strtol.c (__strtol): Use prototype definition.
10054 * stdlib/strtol.c (SYM__): New macro.
10055 (SYM__1): Likewise.
10056 (__strtol): Likewise.
10057 (strtol): Rename to __strtol and define as weak alias of
10058 __strtol. Use libc_hidden_weak.
10060 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10062 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10063 Use numbered labels in inline assembly.
10065 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10067 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10068 Add setjmp LIBC_PROBE.
10069 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10071 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10072 Add longjmp, longjmp_target LIBC_PROBE.
10073 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10076 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10078 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10079 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10080 to get rid of unused variable warning.
10082 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10084 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10085 Check for unwind_backtrace == NULL only in SHARED case.
10086 (__backchain_backtrace): Compile only in SHARED case.
10087 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10089 (__backchain_backtrace): Declare as static.
10091 2014-11-12 Roland McGrath <roland@hack.frob.com>
10093 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10094 (__libc_multiple_threads_ptr): Variable moved ...
10095 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10097 2014-11-12 Joseph Myers <joseph@codesourcery.com>
10099 * conform/GlibcConform.pm: New file.
10100 * conform/conformtest.pl: Use GlibcConform module.
10101 * conform/linknamespace.pl: New file.
10102 * conform/list-header-symbols.pl: Likewise.
10103 * conform/Makefile (linknamespace-symlists-base): New variable.
10104 (linknamespace-symlists-tests): Likewise.
10105 (linknamespace-header-base): Likewise.
10106 (linknamespace-header-tests): Likewise.
10107 (tests-special): Add new tests.
10108 ($(linknamespace-symlists-tests)): New rule.
10109 (linknamespace-libs): New variable.
10110 ($(objpfx)symlist-stdlibs): New rule.
10111 ($(linknamespace-header-tests)): Likewise.
10112 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10113 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10114 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10115 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10116 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10117 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10118 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10119 (test-xfail-ISO/math.h/linknamespace): Likewise.
10120 (test-xfail-ISO/signal.h/linknamespace): Likewise.
10121 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10122 (test-xfail-ISO/time.h/linknamespace): Likewise.
10123 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10124 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10125 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10126 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10127 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10128 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10129 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10130 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10131 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10132 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10133 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10134 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10135 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10136 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10137 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10138 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10139 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10140 (test-xfail-XPG3/search.h/linknamespace): Likewise.
10141 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10142 (test-xfail-XPG3/time.h/linknamespace): Likewise.
10143 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10144 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10145 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10146 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10147 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10148 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10149 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10150 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10151 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10152 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10153 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10154 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10155 (test-xfail-XPG4/search.h/linknamespace): Likewise.
10156 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10157 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10158 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10159 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10160 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10161 (test-xfail-XPG4/time.h/linknamespace): Likewise.
10162 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10163 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10164 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10165 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10166 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10167 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10168 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10169 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10170 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10171 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10172 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10173 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10174 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10175 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10176 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10177 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10178 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10179 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10180 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10181 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10182 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10183 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10184 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10185 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10186 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10187 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10188 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10189 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10190 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10191 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10192 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10193 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10194 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10195 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10196 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10197 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10198 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10199 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10200 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10201 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10202 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10203 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10204 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10205 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10206 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10207 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10208 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10209 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10210 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10211 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10212 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10213 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10214 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10215 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10216 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10217 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10218 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10219 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10220 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10221 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10222 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10223 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10224 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10225 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10226 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10227 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10228 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10229 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10230 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10231 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10232 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10233 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10234 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10235 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10236 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10237 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10238 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10239 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10240 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10241 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10242 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10243 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10244 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10245 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10246 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10247 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10248 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10249 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10250 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10251 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10252 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10253 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10254 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10255 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10256 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10257 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10258 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10259 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10260 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10261 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10262 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10263 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10264 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10265 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10266 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10267 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10268 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10269 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10270 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10271 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10272 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10275 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10279 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10280 (memmem): Rename to __memmem and define as weak alias of
10281 __memmem. Use libc_hidden_weak.
10282 (__memmem): Use libc_hidden_def.
10283 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
10284 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10288 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10289 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
10290 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10291 and define as weak alias of __fgets_unlocked. Use
10293 (__fgets_unlocked): Use libc_hidden_def.
10294 * include/stdio.h (__fgets_unlocked): Declare. Use
10296 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10297 __fgets_unlocked instead of fgets_unlocked.
10298 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10299 (GET_NPROCS_CONF_PARSER): Likewise.
10300 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10301 (GET_NPROCS_CONF_PARSER): Likewise.
10304 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10305 weak alias of __wmemset. Use libc_hidden_weak.
10306 (__wmemset): Use libc_hidden_def.
10307 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
10308 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10312 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10313 with asm name __mempcpy.
10314 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10317 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10318 and define as weak alias of __rawmemchr.
10319 (__rawmemchr): Do not define as strong alias of rawmemchr.
10322 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10323 alias of __qsort_r.
10324 (qsort): Call __qsort_r instead of qsort_r.
10325 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10326 (__qsort_r): Declare. Call libc_hidden_proto.
10327 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10328 instead of qsort_r.
10329 * nscd/gai.c (__qsort_r): Define to qsort_r.
10330 * posix/tst-rfc3484.c (__qsort_r): Likewise.
10331 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10332 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10335 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10336 define as weak alias of __malloc_info.
10339 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10340 as weak alias of __rewinddir. Don't use libc_hidden_def.
10341 (__rewinddir): Use libc_hidden_def.
10342 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10343 as weak alias of __rewinddir. Don't use libc_hidden_def.
10344 (__rewinddir): Use libc_hidden_def.
10345 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10346 weak alias of __rewinddir. Don't use libc_hidden_def.
10347 (__rewinddir): Use libc_hidden_def.
10348 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10349 (__rewinddir): Use libc_hidden_proto.
10350 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10352 (__getcwd): Use __rewinddir instead of rewinddir.
10355 * libio/fileno.c (fileno): Rename to __fileno and define as weak
10356 alias of __fileno. Use libc_hidden_weak.
10357 (__fileno): Use libc_hidden_def.
10358 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10359 * libio/ftello.c (ftello): Rename to __ftello and define as weak
10361 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10363 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10364 (__fread_unlocked): Define as strong alias of _IO_fread. Use
10366 (fread_unlocked): Don't use libc_hidden_ver.
10367 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10368 and define as weak alias of __fread_unlocked. Don't use
10370 (__fread_unlocked): Use libc_hidden_def.
10371 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
10372 (ftello): Don't use libc_hidden_proto.
10373 (__ftello): Declare. Use libc_hidden_proto.
10374 (fread_unlocked): Don't use libc_hidden_proto.
10375 (__fread_unlocked): Declare. Use libc_hidden_proto.
10376 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10377 and __ftello instead of fileno, fread_unlocked and ftello.
10379 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10381 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10383 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10385 (_dl_start_user): Likewise.
10386 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10388 2014-11-12 Carlos O'Donell <carlos@redhat.com>
10389 Siddhesh Poyarekar <siddhesh@redhat.com>
10391 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10392 Move argv and envp down instead of moving argc up.
10393 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10395 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
10398 * test-skeleton.c (main): Return successful if one of
10399 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10400 * string/tst-strcoll-overflow.c: Define expected status.
10402 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
10405 * locale/iso-639.def: Define Bhili and Tulu language codes.
10407 2014-11-11 Alan Hayward <alan.hayward@arm.com>
10409 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10411 2014-11-10 Renlin Li <Renlin.Li@arm.com>
10414 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10416 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10418 * configure.ac: Updated check of minimal required version to
10420 * manual/install.texi (Tools for Compilation): Updated version
10422 * configure: Regenerated.
10423 * INSTALL: Likewise.
10425 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
10427 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10430 2014-11-07 Joseph Myers <joseph@codesourcery.com>
10432 * include/sys/wait.h (__libc_waitpid): Remove declaration.
10433 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10434 (__waitpid): Don't define as alias. Use libc_hidden_def not
10436 (waitpid): Define as alias of __waitpid.
10437 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10439 (__waitpid): Don't define as alias. Use libc_hidden_def not
10441 (waitpid): Define as alias of __waitpid.
10442 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10443 __libc_waitpid alias.
10444 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10445 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10447 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10448 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10449 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10451 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10453 (__waitpid): Don't define as alias. Use libc_hidden_def not
10455 (waitpid): Define as alias of __waitpid.
10457 2014-11-06 Carlos O'Donell <carlos@redhat.com>
10459 * manual/llio.texi: Add comment that write safety has been
10462 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10463 (localplt-build-dso): Add elf/ld.so.
10464 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10465 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10466 and free for ld.so.
10467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10468 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10473 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10474 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10475 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10476 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10477 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10478 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10479 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10480 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10481 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10482 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10483 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10485 2014-11-05 Joseph Myers <joseph@codesourcery.com>
10488 * include/libc-symbols.h (INTUSE): Remove macro.
10489 (INTDEF): Likewise.
10490 (INTVARDEF): Likewise.
10491 (_INTVARDEF): Likewise.
10492 (INTDEF2): Likewise.
10493 (INTVARDEF2): Likewise.
10494 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10495 rtld_hidden_def instead of INTVARDEF.
10496 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10497 (_dl_starting_up_internal): Remove declaration.
10498 (_dl_starting_up): Use rtld_hidden_proto.
10499 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10501 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10502 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10504 * elf/dl-writev.h (_dl_writev): Likewise.
10505 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10506 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10507 _dl_starting_up_internal.
10509 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10511 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10514 2014-11-05 Will Newton <will.newton@linaro.org>
10516 * benchtests/Makefile: (bench-malloc): Add malloc thread
10517 scalability benchmark.
10518 * benchtests/bench-malloc-threads.c: New file.
10520 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
10522 * sysdeps/aarch64/strchrnul.S: New file.
10524 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10526 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10528 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10530 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10532 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10534 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10536 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10539 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
10541 * catgets/test-gencat.c: Use test-skeleton.c.
10542 * catgets/tst-catgets.c: Likewise.
10543 * csu/tst-empty.c: Likewise.
10544 * elf/tst-audit2.c: Likewise.
10545 * elf/tst-global1.c: Likewise.
10546 * elf/tst-pathopt.c: Likewise.
10547 * elf/tst-piemod1.c: Likewise.
10548 * elf/tst-tls10.c: Likewise.
10549 * elf/tst-tls11.c: Likewise.
10550 * elf/tst-tls12.c: Likewise.
10551 * gnulib/tst-gcc.c: Likewise.
10552 * iconvdata/tst-e2big.c: Likewise.
10553 * iconvdata/tst-loading.c: Likewise.
10554 * iconv/tst-iconv1.c: Likewise.
10555 * iconv/tst-iconv2.c: Likewise.
10556 * inet/test-inet6_opt.c: Likewise.
10557 * inet/tst-gethnm.c: Likewise.
10558 * inet/tst-network.c: Likewise.
10559 * inet/tst-ntoa.c: Likewise.
10560 * intl/tst-codeset.c: Likewise.
10561 * intl/tst-gettext2.c: Likewise.
10562 * intl/tst-gettext3.c: Likewise.
10563 * intl/tst-ngettext.c: Likewise.
10564 * intl/tst-translit.c: Likewise.
10565 * io/test-stat.c: Likewise.
10566 * libio/test-fmemopen.c: Likewise.
10567 * libio/tst-freopen.c: Likewise.
10568 * libio/tst-sscanf.c: Likewise.
10569 * libio/tst-ungetwc1.c: Likewise.
10570 * libio/tst-ungetwc2.c: Likewise.
10571 * libio/tst-widetext.c: Likewise.
10572 * localedata/tst-ctype.c: Likewise.
10573 * localedata/tst-digits.c: Likewise.
10574 * localedata/tst-leaks.c: Likewise.
10575 * localedata/tst-mbswcs1.c: Likewise.
10576 * localedata/tst-mbswcs2.c: Likewise.
10577 * localedata/tst-mbswcs3.c: Likewise.
10578 * localedata/tst-mbswcs4.c: Likewise.
10579 * localedata/tst-mbswcs5.c: Likewise.
10580 * localedata/tst-setlocale.c: Likewise.
10581 * localedata/tst-trans.c: Likewise.
10582 * localedata/tst-wctype.c: Likewise.
10583 * localedata/tst-xlocale1.c: Likewise.
10584 * login/tst-grantpt.c: Likewise.
10585 * malloc/tst-calloc.c: Likewise.
10586 * malloc/tst-malloc.c: Likewise.
10587 * malloc/tst-mallocstate.c: Likewise.
10588 * malloc/tst-mcheck.c: Likewise.
10589 * malloc/tst-mtrace.c: Likewise.
10590 * malloc/tst-obstack.c: Likewise.
10591 * math/atest-exp2.c: Likewise.
10592 * math/atest-exp.c: Likewise.
10593 * math/atest-sincos.c: Likewise.
10594 * math/test-matherr.c: Likewise.
10595 * math/test-misc.c: Likewise.
10596 * math/test-powl.c: Likewise.
10597 * math/tst-definitions.c: Likewise.
10598 * misc/tst-dirname.c: Likewise.
10599 * misc/tst-efgcvt.c: Likewise.
10600 * misc/tst-fdset.c: Likewise.
10601 * misc/tst-hsearch.c: Likewise.
10602 * misc/tst-mntent2.c: Likewise.
10603 * nptl/tst-sem7.c: Likewise.
10604 * nptl/tst-sem8.c: Likewise.
10605 * nptl/tst-sem9.c: Likewise.
10606 * nss/test-netdb.c: Likewise.
10607 * posix/tst-fnmatch.c: Likewise.
10608 * posix/tst-getlogin.c: Likewise.
10609 * posix/tst-gnuglob.c: Likewise.
10610 * posix/tst-mmap.c: Likewise.
10611 * pwd/tst-getpw.c: Likewise.
10612 * resolv/tst-inet_ntop.c: Likewise.
10613 * rt/tst-timer.c: Likewise.
10614 * stdio-common/test-fseek.c: Likewise.
10615 * stdio-common/test-popen.c: Likewise.
10616 * stdio-common/test-vfprintf.c: Likewise.
10617 * stdio-common/tst-cookie.c: Likewise.
10618 * stdio-common/tst-fileno.c: Likewise.
10619 * stdio-common/tst-gets.c: Likewise.
10620 * stdio-common/tst-obprintf.c: Likewise.
10621 * stdio-common/tst-perror.c: Likewise.
10622 * stdio-common/tst-sprintf2.c: Likewise.
10623 * stdio-common/tst-sprintf3.c: Likewise.
10624 * stdio-common/tst-sprintf.c: Likewise.
10625 * stdio-common/tst-swprintf.c: Likewise.
10626 * stdio-common/tst-tmpnam.c: Likewise.
10627 * stdio-common/tst-unbputc.c: Likewise.
10628 * stdio-common/tst-wc-printf.c: Likewise.
10629 * stdlib/tst-environ.c: Likewise.
10630 * stdlib/tst-fmtmsg.c: Likewise.
10631 * stdlib/tst-limits.c: Likewise.
10632 * stdlib/tst-rand48-2.c: Likewise.
10633 * stdlib/tst-rand48.c: Likewise.
10634 * stdlib/tst-random2.c: Likewise.
10635 * stdlib/tst-random.c: Likewise.
10636 * stdlib/tst-strtol.c: Likewise.
10637 * stdlib/tst-strtoll.c: Likewise.
10638 * stdlib/tst-tls-atexit.c: Likewise.
10639 * stdlib/tst-xpg-basename.c: Likewise.
10640 * string/test-ffs.c: Likewise.
10641 * string/tst-bswap.c: Likewise.
10642 * string/tst-inlcall.c: Likewise.
10643 * string/tst-strtok.c: Likewise.
10644 * string/tst-strxfrm.c: Likewise.
10645 * sysdeps/x86_64/tst-audit10.c: Likewise.
10646 * sysdeps/x86_64/tst-audit3.c: Likewise.
10647 * sysdeps/x86_64/tst-audit4.c: Likewise.
10648 * sysdeps/x86_64/tst-audit5.c: Likewise.
10649 * time/tst-ftime_l.c: Likewise.
10650 * time/tst-getdate.c: Likewise.
10651 * time/tst-mktime3.c: Likewise.
10652 * time/tst-mktime.c: Likewise.
10653 * time/tst-posixtz.c: Likewise.
10654 * time/tst-strptime2.c: Likewise.
10655 * time/tst-strptime3.c: Likewise.
10656 * wcsmbs/tst-btowc.c: Likewise.
10657 * wcsmbs/tst-mbrtowc.c: Likewise.
10658 * wcsmbs/tst-mbsrtowcs.c: Likewise.
10659 * wcsmbs/tst-wchar-h.c: Likewise.
10660 * wcsmbs/tst-wcpncpy.c: Likewise.
10661 * wcsmbs/tst-wcrtomb.c: Likewise.
10662 * wcsmbs/tst-wcsnlen.c: Likewise.
10663 * wcsmbs/tst-wcstof.c: Likewise.
10665 2014-11-04 Joseph Myers <joseph@codesourcery.com>
10668 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10670 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10672 (_dl_mcount): Use rtld_hidden_proto.
10673 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10675 * elf/rtld.c (_rtld_global_ro): Likewise.
10678 * elf/dl-init.c (_dl_init): Don't use INTDEF.
10679 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10680 of _dl_init_internal.
10681 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10682 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10683 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10684 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10685 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10686 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10687 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10688 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10689 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10690 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10691 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10692 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10693 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10694 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10695 * sysdeps/tile/dl-start.S (_start): Likewise.
10696 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10697 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10700 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10701 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10702 (rtld_progname): Make macro definition unconditional.
10703 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10705 (dlmopen_doit): Do not use INTUSE with _dl_argv.
10706 (dl_main): Likewise.
10707 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10708 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10709 instead of _dl_argv_internal.
10710 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10711 __GI__dl_argv instead of INTUSE(_dl_argv).
10712 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10713 __GI__dl_argv instead of _dl_argv_internal.
10715 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10716 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10718 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10719 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10721 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10722 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10724 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10725 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10727 2014-11-04 Andreas Schwab <schwab@suse.de>
10729 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10731 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10733 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10734 mtvsrd instruction in binary form.
10736 2014-11-03 Andreas Schwab <schwab@suse.de>
10739 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10740 for less than MB_LEN_MAX use a local buffer of that size.
10741 * libio/tst-fputws.c: New file.
10742 * libio/Makefile (tests): Add tst-fputws.
10744 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
10746 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10747 the size of the fpu_fr.fpu_dregs[] array.
10749 2014-11-01 Joseph Myers <joseph@codesourcery.com>
10751 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10752 (__nanosleep): Do not define as alias.
10753 (nanosleep): Define as alias of __nanosleep.
10754 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10755 __libc_nanosleep name.
10757 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10759 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10760 install.texi in comment.
10762 2014-10-31 Torvald Riegel <triegel@redhat.com>
10764 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10765 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10766 ... add here and use lwsync or sync ...
10767 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10768 ... and add here using lwsync.
10770 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
10772 * elf/dl-machine-reject-phdr.h: New file.
10773 * elf/dl-load.c: #include that.
10774 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10775 if that returned true.
10777 2014-10-31 Roland McGrath <roland@hack.frob.com>
10780 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10781 gen-as-const-headers chunk. Add a big scare comment after the last
10782 safe place to touch before-compile.
10784 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10786 * manual/install.texi (Tools for Compilation): Update autoconf
10787 version requirements.
10788 * INSTALL: Regenerated.
10790 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10791 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10792 (__libc_pselect): Likewise.
10795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10800 2014-10-31 Torvald Riegel <triegel@redhat.com>
10802 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10803 correct barrier instruction.
10804 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10806 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10809 2014-10-30 Roland McGrath <roland@hack.frob.com>
10811 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10812 after defining inlines. Instead, just use parens to defeat macro
10813 expansion of __isctype in its declaration.
10815 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10817 * include/sys/uio.h (__libc_readv): Remove declaration.
10818 (__libc_writev): Likewise.
10819 * misc/readv.c (__libc_readv): Rename to __readv.
10820 (__readv): Do not define as alias.
10821 (readv): Define as alias of __readv.
10822 * misc/writev.c (__libc_writev): Rename to __writev.
10823 (__writev): Do not define as alias.
10824 (writev): Define as alias of __writev.
10825 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10826 (__readv): Do not define as alias.
10827 (readv): Define unconditionally as alias of __readv.
10828 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10829 (__writev): Do not define as alias.
10830 (writev): Define unconditionally as alias of __writev.
10831 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10833 (writev): Do not define __libc_writev name.
10835 2014-10-30 Roland McGrath <roland@hack.frob.com>
10837 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10838 (convert_charseq): New function, broken out of ...
10839 (use_from_charmap): ... here. Call it.
10840 (use_to_charmap): Use convert_charseq and free instead of duplicating
10841 its code with a variable-length stack struct.
10843 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10845 * include/fcntl.h (__libc_creat): Remove declaration.
10846 * io/creat.c (__libc_creat): Rename to creat.
10847 (creat): Do not define as alias.
10848 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10849 of creat instead of __libc_creat.
10850 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10852 (creat): Do not define as alias.
10853 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10855 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10857 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10860 2014-10-29 Carlos O'Donell <carlos@redhat.com>
10862 * manual/llio.texi: Add comments discussing why write() may be
10863 considered MT-unsafe on Linux.
10865 2014-10-28 Carlos O'Donell <carlos@redhat.com>
10867 * dl-load.c (local_strdup): Remove.
10868 (expand_dynamic_string_token): Use __strdup.
10869 (decompose_rpath): Likewise.
10870 (_dl_map_object): Likewise.
10872 2014-10-28 Joseph Myers <joseph@codesourcery.com>
10875 * sysdeps/generic/unwind-dw2-fde.c
10876 (__register_frame_info_bases_internal): Do not declare.
10877 (__register_frame_info_table_bases_internal): Likewise.
10878 (__deregister_frame_info_bases_internal): Likewise.
10879 (__register_frame_info_bases): Declare and use hidden_proto before
10880 definition. Use hidden_def instead of INTDEF.
10881 (__register_frame_info_table_bases): Likewise.
10882 (__deregister_frame_info_bases): Likewise.
10883 (__register_frame_info): Do not use INTUSE.
10884 (__register_frame): Likewise.
10885 (__register_frame_info_table): Likewise.
10886 (__register_frame_table): Likewise.
10887 (__deregister_frame_info): Likewise.
10888 (__deregister_frame): Likewise.
10890 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
10892 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10893 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10895 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10897 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10900 2014-10-27 Joseph Myers <joseph@codesourcery.com>
10903 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10904 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10905 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10906 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10907 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10908 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10909 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10910 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10911 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10912 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10913 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10914 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10915 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10917 (setfsuid): Likewise.
10918 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10919 (setfsuid): Likewise.
10920 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10921 (setfsuid): Likewise.
10922 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10924 (setfsuid): Likewise.
10925 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10926 (setfsuid): Likewise.
10927 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10929 (setfsuid): Likewise.
10931 2014-10-27 Andreas Schwab <schwab@suse.de>
10934 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10935 check for Slow_SSE4_2 feature bit.
10936 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10937 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10938 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10939 Likewise. Fix check for Fast_Unaligned_Load feature bit.
10941 2014-10-24 Roland McGrath <roland@hack.frob.com>
10943 * configure.ac: Validate compiler version with a empirical test of
10944 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10946 * configure: Regenerated.
10948 * inet/htons.c (htons): Prototypify.
10949 * inet/htonl.c (htonl): Likewise.
10951 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10953 * string/strncat.c (strncat): Improve performance by using strlen.
10955 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10957 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10959 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10961 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10962 Call libc_fetestexcept_aarch64.
10964 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10966 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10967 Call libc_feholdexcept_aarch64.
10969 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10971 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10972 Call get_rounding_mode.
10974 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10976 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10979 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10981 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10984 2014-10-24 Joseph Myers <joseph@codesourcery.com>
10987 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10988 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10989 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10990 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10991 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10992 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10993 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10994 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10995 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10996 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10997 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10998 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10999 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11000 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11001 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11002 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11003 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11004 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11005 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11006 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11007 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11008 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11009 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11010 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11011 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11012 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11013 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11014 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11015 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11016 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11017 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11018 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11019 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11020 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11021 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11022 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11023 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11024 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11025 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11026 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11027 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11029 (geteuid): Likewise.
11030 (getgid): Likewise.
11031 (getuid): Likewise.
11032 (getresgid): Likewise.
11033 (getresuid): Likewise.
11034 (getgroups): Likewise.
11035 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11036 (geteuid): Likewise.
11037 (getgid): Likewise.
11038 (getuid): Likewise.
11039 (getresgid): Likewise.
11040 (getresuid): Likewise.
11041 (getgroups): Likewise.
11042 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11043 (geteuid): Likewise.
11044 (getgid): Likewise.
11045 (getuid): Likewise.
11046 (getresgid): Likewise.
11047 (getresuid): Likewise.
11048 (getgroups): Likewise.
11049 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11051 (geteuid): Likewise.
11052 (getgid): Likewise.
11053 (getuid): Likewise.
11054 (getresgid): Likewise.
11055 (getresuid): Likewise.
11056 (getgroups): Likewise.
11057 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11058 (geteuid): Likewise.
11059 (getgid): Likewise.
11060 (getuid): Likewise.
11061 (getresgid): Likewise.
11062 (getresuid): Likewise.
11063 (getgroups): Likewise.
11064 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11066 (geteuid): Likewise.
11067 (getgid): Likewise.
11068 (getuid): Likewise.
11069 (getgroups): Likewise.
11072 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11073 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11074 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11075 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11076 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11077 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11078 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11079 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11080 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11081 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11082 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11083 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11084 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11086 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11087 (lchown): Likewise.
11088 (fchown): Likewise.
11089 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11091 (lchown): Likewise.
11092 (fchown): Likewise.
11093 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11094 (lchown): Likewise.
11095 (fchown): Likewise.
11096 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11098 (lchown): Likewise.
11099 (fchown): Likewise.
11101 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11103 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11106 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11108 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11111 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11113 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11114 Remove unused include.
11116 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11118 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11119 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11120 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11121 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11123 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
11124 Helge Deller <deller@gmx.de>
11127 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11128 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11129 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11131 2014-10-23 Joseph Myers <joseph@codesourcery.com>
11134 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11135 Remove macro definition.
11136 (__ashrdi3_v_glibc20): Likewise.
11137 (__lshrdi3_v_glibc20): Likewise.
11138 (__cmpdi2_v_glibc20): Likewise.
11139 (__ucmpdi2_v_glibc20): Likewise.
11140 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11141 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11142 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11143 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11144 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11145 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11147 2014-10-22 Roland McGrath <roland@hack.frob.com>
11149 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11150 old GNU extension [0] syntax.
11151 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11152 alloca rather than an array member with variable length.
11153 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11154 * nscd/nscd.c (invalidate_db): New function, broken out of ...
11155 (parse_opt): ... here. Likewise use alloca there.
11156 Validate the -i argument before checking for rootness.
11157 (send_shutdown): New function, broken out of ...
11158 (parse_opt): ... here.
11160 2014-10-22 Roland McGrath <roland@hack.frob.com>
11162 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11163 macro to get at the _rt_local_ro field.
11164 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11165 ([PIC] case) or _dl_hwcap ([!PIC] case).
11166 * sysdeps/arm/setjmp.S: Likewise.
11168 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11169 * sysdeps/arm/configure.ac: New check to define it.
11170 * sysdeps/arm/configure: Regenerated.
11171 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11172 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11173 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11174 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11175 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11176 Use move/movt pair instead of a load.
11177 (LDST_GLOBAL): Macro removed.
11178 (LDR_GLOBAL): New macro replaces it.
11179 (LDR_HIDDEN): New macro.
11180 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11181 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11183 * setjmp/tst-setjmp-static.c: New file.
11184 * setjmp/Makefile (tests): Add it.
11185 (tests-static): New variable.
11187 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
11190 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11192 2014-10-21 Joseph Myers <joseph@codesourcery.com>
11195 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11197 2014-10-21 Roland McGrath <roland@hack.frob.com>
11199 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11201 2014-10-20 Roland McGrath <roland@hack.frob.com>
11203 * io/fts.c (dirent_not_directory): New function.
11204 (fts_build): Call it.
11206 2014-10-20 Roland McGrath <roland@hack.frob.com>
11208 * nptl/version.c (__nptl_main): Use normal __write rather than
11210 (banner): Update copyright years.
11212 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11214 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11215 * nptl/pthread_cond_timedwait.c: Likewise.
11216 * nptl/pthread_mutex_timedlock.c: Likewise.
11217 * nptl/sem_timedwait.c: Likewise.
11219 * sysdeps/nptl/bits/libc-lock.h
11220 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11221 (__libc_lock_init_recursive): Return void, not 0.
11222 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11223 (__libc_rwlock_init): Likewise.
11224 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11226 2014-10-20 Torvald Riegel <triegel@redhat.com>
11229 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11230 (__pthread_once_slow): ... here.
11231 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11232 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11234 2014-10-20 Torvald Riegel <triegel@redhat.com>
11237 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11238 __PTHREAD_ONCE_FORK_GEN_INCR): New.
11239 * sysdeps/nptl/fork.c (__libc_fork): Use them.
11240 * nptl/pthread_once.c (__pthread_once): Likewise.
11243 2014-10-20 Joseph Myers <joseph@codesourcery.com>
11246 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11248 (writev): Use __libc_writev as strong name.
11249 * sysdeps/unix/sysv/linux/readv.c: Remove file.
11250 * sysdeps/unix/sysv/linux/writev.c: Likewise.
11252 2014-10-17 Roland McGrath <roland@hack.frob.com>
11254 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11256 * sysdeps/i386/nptl/tls.h
11257 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11258 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11260 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11261 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11262 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11263 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11264 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11265 Call CHECK_THREAD_SYSINFO instead of doing an assert.
11267 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11268 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11270 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11272 (__pthread_mutex_init): ... here. Call it.
11273 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11274 Conditionalize PI cases on [__NR_futex].
11275 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11276 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11277 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11279 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11280 conditional on [SIGSETXID].
11281 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11282 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11283 is defined. Likewise for SIGSETXID.
11284 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11285 Conditionalize definitions on [SIGSETXID].
11286 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11287 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11288 unblocking on [SIGCANCEL].
11290 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11291 [__NR_set_robust_list].
11293 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11295 * string/strcoll_l.c (get_next_seq): Fix up formatting.
11296 (do_compare): Likewise.
11298 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
11301 * string/strcoll_l.c: Don't include stdio.h.
11302 (coll_seq): Remove members idxarr and rulearr.
11303 (get_next_seq_cached): Remove function.
11304 (get_next_seq): Likewise.
11305 (get_next_seq_nocache): Rename to get_next_seq.
11306 (do_compare): Remove function.
11307 (do_compare_nocache): Rename to do_compare.
11308 (STRCOLL): Remove weight and rules cache.
11310 2014-10-16 Roland McGrath <roland@hack.frob.com>
11312 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11313 * sysdeps/arm/sfp-machine.h: ... to here.
11314 * sysdeps/arm/Implies: Remove arm/soft-fp.
11316 2014-10-14 Joseph Myers <joseph@codesourcery.com>
11318 * conform/data/sys/utsname.h-data (*_t): Allow.
11319 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11320 [POSIX] (WEXITED): Do not expect constant.
11321 [POSIX] (WSTOPPED): Likewise.
11322 [POSIX] (WNOHANG): Likewise.
11323 [POSIX] (WNOWAIT): Likewise.
11324 [POSIX] (siginfo_t): Do not expect type or elements.
11325 [POSIX] (pid_t): Do not expect type.
11326 [POSIX] (signal.h): Do not allow header.
11327 [POSIX] (sys/resource.h): Likewise.
11328 [POSIX] (si_*): Do not allow pattern.
11329 [POSIX] (W*): Likewise.
11330 [POSIX] (P_*): Likewise.
11331 [POSIX] (BUS_*): Likewise.
11332 [POSIX] (CLD_*): Likewise.
11333 [POSIX] (FPE_*): Likewise.
11334 [POSIX] (ILL_*): Likewise.
11335 [POSIX] (POLL_*): Likewise.
11336 [POSIX] (SEGV_*): Likewise.
11337 [POSIX] (SI_*): Likewise.
11338 [POSIX] (TRAP_*): Likewise.
11339 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11342 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
11345 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11346 infinite loop when __recvmsg returns 0.
11348 2014-10-10 Joseph Myers <joseph@codesourcery.com>
11350 * CANCEL-FCT-WAIVE: Remove file.
11351 * CANCEL-FILE-WAIVE: Likewise.
11354 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11355 instead of INTVARDEF.
11356 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11357 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11358 rtld_hidden_data_def instead of INTVARDEF.
11359 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11360 * elf/dl-deps.c (expand_dst): Likewise.
11361 * elf/dl-load.c (_dl_dst_count): Likewise.
11362 (_dl_dst_substitute): Likewise.
11363 (decompose_rpath): Likewise.
11364 (_dl_init_paths): Likewise.
11365 (open_path): Likewise.
11366 (_dl_map_object): Likewise.
11367 * elf/rtld.c (dl_main): Likewise.
11368 (process_dl_audit): Likewise.
11369 (process_envvars): Likewise.
11370 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11371 Remove declaration.
11372 (__libc_enable_secure): Use rtld_hidden_proto.
11374 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11377 (add_path): New function broken out of _dl_rtld_di_serinfo.
11378 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
11380 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11382 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11383 parentheses around macro arguments.
11384 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11385 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11386 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11387 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11388 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11389 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11390 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11391 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11392 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11393 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11394 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11395 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11396 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11397 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11398 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11399 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11400 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11401 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11402 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11403 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11404 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11405 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11406 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11407 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11408 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11409 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11410 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11411 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11412 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11413 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11414 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11415 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11416 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11417 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11418 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11419 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11421 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11422 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11423 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11424 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11425 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11426 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11427 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11428 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11429 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11430 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11431 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11432 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11433 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11434 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11435 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11436 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11437 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11438 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11439 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11440 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11441 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11442 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11443 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11444 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11445 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11446 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11447 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11448 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11449 (_FP_FRAC_SRS_1): Likewise.
11450 (_FP_FRAC_CLZ_1): Likewise.
11451 (_FP_MUL_MEAT_1_imm): Likewise.
11452 (_FP_MUL_MEAT_1_wide): Likewise.
11453 (_FP_MUL_MEAT_1_hard): Likewise.
11454 (_FP_SQRT_MEAT_1): Likewise.
11455 (_FP_FRAC_ASSEMBLE_1): Likewise.
11456 (_FP_FRAC_DISASSEMBLE_1): Likewise.
11457 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11458 (__FP_CLZ_2): Likewise.
11459 (_FP_MUL_MEAT_2_wide): Likewise.
11460 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11461 (_FP_MUL_MEAT_2_gmp): Likewise.
11462 (_FP_MUL_MEAT_2_120_240_double): Likewise.
11463 (_FP_SQRT_MEAT_2): Likewise.
11464 (_FP_FRAC_ASSEMBLE_2): Likewise.
11465 (_FP_FRAC_DISASSEMBLE_2): Likewise.
11466 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11467 (_FP_FRAC_CLZ_4): Likewise.
11468 (_FP_MUL_MEAT_4_wide): Likewise.
11469 (_FP_MUL_MEAT_4_gmp): Likewise.
11470 (_FP_SQRT_MEAT_4): Likewise.
11471 (_FP_FRAC_ASSEMBLE_4): Likewise.
11472 (_FP_FRAC_DISASSEMBLE_4): Likewise.
11473 * soft-fp/op-common.h (_FP_CMP): Likewise.
11474 (_FP_CMP_EQ): Likewise.
11475 (_FP_CMP_UNORD): Likewise.
11476 (_FP_TO_INT): Likewise.
11477 (_FP_FROM_INT): Likewise.
11478 [!__FP_CLZ] (__FP_CLZ): Likewise.
11479 (_FP_DIV_HELP_imm): Likewise.
11480 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11482 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11483 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11484 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11485 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11486 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11487 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11488 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11489 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11490 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11491 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11492 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11493 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11494 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11495 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11496 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11497 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11498 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11499 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11500 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11501 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11502 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11503 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11504 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11505 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11506 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11507 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11508 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11509 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11510 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11511 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11512 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11513 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11514 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11515 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11516 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11517 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11518 (FP_UNPACK_RAW_SP): Likewise.
11519 (FP_PACK_RAW_S): Likewise.
11520 (FP_PACK_RAW_SP): Likewise.
11521 (FP_UNPACK_S): Likewise.
11522 (FP_UNPACK_SP): Likewise.
11523 (FP_UNPACK_SEMIRAW_S): Likewise.
11524 (FP_UNPACK_SEMIRAW_SP): Likewise.
11525 (FP_PACK_S): Likewise.
11526 (FP_PACK_SP): Likewise.
11527 (FP_PACK_SEMIRAW_S): Likewise.
11528 (FP_PACK_SEMIRAW_SP): Likewise.
11529 (_FP_SQRT_MEAT_S): Likewise.
11530 (FP_CMP_S): Likewise.
11531 (FP_CMP_EQ_S): Likewise.
11532 (FP_CMP_UNORD_S): Likewise.
11533 (FP_TO_INT_S): Likewise.
11534 (FP_FROM_INT_S): Likewise.
11536 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11538 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11539 (FP_EX_INVALID_IMZ): Likewise.
11540 (FP_EX_INVALID_IMZ_FMA): Likewise.
11541 (FP_EX_INVALID_ISI): Likewise.
11542 (FP_EX_INVALID_ZDZ): Likewise.
11543 (FP_EX_INVALID_IDI): Likewise.
11544 (FP_EX_INVALID_SQRT): Likewise.
11545 (FP_EX_INVALID_CVI): Likewise.
11546 (FP_EX_INVALID_VC): Likewise.
11547 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11548 "invalid" exceptions.
11549 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11550 (_FP_ADD_INTERNAL): Likewise.
11551 (_FP_MUL): Likewise.
11552 (_FP_FMA): Likewise.
11553 (_FP_DIV): Likewise.
11554 (_FP_CMP_CHECK_NAN): Likewise.
11555 (_FP_SQRT): Likewise.
11556 (_FP_TO_INT): Likewise.
11557 (FP_EXTEND): Likewise.
11559 2014-10-09 Allan McRae <allan@archlinux.org>
11561 * po/fr.po: Update French translation from translation project.
11563 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11566 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11568 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11569 (__cxa_atexit): Use libc_hidden_proto.
11570 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11573 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11575 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11576 [!_ISOMAC] (__iswspace_l_internal): Likewise.
11577 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11578 [!_ISOMAC] (__iswctype_internal): Likewise.
11579 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11580 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11582 (fcntl): Remove __fcntl_internal alias.
11583 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11584 __connect_internal alias.
11585 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11588 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11589 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11591 (_FP_CHECK_FLUSH_ZERO): New macro.
11592 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11593 (_FP_CMP): Likewise.
11594 (_FP_CMP_EQ): Likewise.
11595 (_FP_TO_INT): Do not set inexact for subnormal arguments if
11597 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11598 (FP_TRUNC): Likewise.
11600 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11601 treated as invalid conversion, not as normal exponent.
11603 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11604 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
11605 (_FP_CMP_EQ): Likewise.
11606 (_FP_CMP_UNORD): Likewise.
11607 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11608 (FP_CMP_EQ_D): Likewise.
11609 (FP_CMP_UNORD_D): Likewise.
11610 * soft-fp/extended.h (FP_CMP_E): Likewise.
11611 (FP_CMP_EQ_E): Likewise.
11612 (FP_CMP_UNORD_E): Likewise.
11613 * soft-fp/quad.h (FP_CMP_Q): Likewise.
11614 (FP_CMP_EQ_Q): Likewise.
11615 (FP_CMP_UNORD_Q): Likewise.
11616 * soft-fp/single.h (FP_CMP_S): Likewise.
11617 (FP_CMP_EQ_S): Likewise.
11618 (FP_CMP_UNORD_S): Likewise.
11619 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11620 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11621 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11622 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11623 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11624 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11625 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11626 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11627 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11628 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11629 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11630 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11631 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11633 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11635 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11636 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11638 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11640 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11641 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11642 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11643 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11645 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11647 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11648 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11650 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11652 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11653 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11654 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11655 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11658 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11659 a subnormal result, set the underflow exception if trapping on
11660 underflow is enabled.
11661 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11662 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11663 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11665 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11666 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11667 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11668 * soft-fp/extendxftf2.c (__extendxftf2): Use
11669 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11671 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11672 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11673 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11674 FP_HANDLE_EXCEPTIONS.
11675 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11676 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11677 FP_HANDLE_EXCEPTIONS.
11678 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11679 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11680 FP_HANDLE_EXCEPTIONS.
11681 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11682 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11683 FP_HANDLE_EXCEPTIONS.
11685 2014-10-08 Joseph Myers <joseph@codesourcery.com>
11688 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11689 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11691 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11692 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11694 (__adjtimex): Define using libc_hidden_ver.
11695 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11696 Remove declaration.
11697 (ntp_gettime): Call __adjtimex directly.
11698 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11699 Remove declaration.
11700 (ntp_gettimex): Call __adjtimex directly.
11701 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11702 __adjtimex_internal alias.
11704 2014-10-08 Roland McGrath <roland@hack.frob.com>
11707 * nscd/nscd.c (more_help): Rewrite list of tables collection
11708 using xstrdup and asprintf.
11710 * nscd/nscd_conf.c: Remove local xstrdup declaration.
11712 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11713 Roland McGrath <roland@hack.frob.com>
11715 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11716 (do_lookup_unique): ... local function 'enter' here; update callers.
11718 2014-10-06 Joseph Myers <joseph@codesourcery.com>
11720 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11721 compat_symbol calls on [SHARED].
11722 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11723 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11725 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11726 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11727 (oldsetrlimit): Remove.
11728 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11730 (lchown): New syscall entry.
11731 (oldsetrlimit): Remove.
11732 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11733 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11734 (oldsetrlimit): Remove.
11735 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11738 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11739 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11740 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11741 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11742 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11743 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11744 (fchown): Likewise.
11745 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11746 (fchown): Likewise.
11747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11750 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11752 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11753 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11754 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11755 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11756 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11758 (__old_sem_post): Likewise.
11760 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
11762 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11763 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11764 HAVE_CLOCK_GETTIME_VSYSCALL macros.
11765 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11766 Use INLINE_VSYSCALL macro.
11767 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11768 __vdso_clock_gettime.
11769 * sysdeps/unix/sysv/linux/tile/init-first.c
11770 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11771 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11772 __vdso_clock_gettime.
11774 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11775 to set up frame more cleanly.
11777 * sysdeps/tile/memcmp.c: New file.
11779 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11781 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11782 * sysdeps/tile/tilegx/strcasestr.c: New file.
11783 * sysdeps/tile/tilegx/strnlen.c: New file.
11784 * sysdeps/tile/tilegx/strstr.c: New file.
11786 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11788 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
11790 * nptl/tst-setuid3.c: Write errors to stdout.
11792 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11795 (preload): New functions broken out of _dl_map_object_deps.
11796 (_dl_map_object_deps): Remove a nested function. Update call sites.
11798 2014-10-01 Joseph Myers <joseph@codesourcery.com>
11801 * sysdeps/unix/sysv/linux/execve.c: Remove file.
11802 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11804 2014-10-01 Steve Ellcey <sellcey@mips.com>
11806 * sysdeps/mips/strcmp.S: New.
11808 2014-09-30 Joseph Myers <joseph@codesourcery.com>
11811 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11812 (linkat): Likewise.
11813 (mkdirat): Likewise.
11814 (readlinkat): Likewise.
11815 (renameat): Likewise.
11816 (symlinkat): Likewise.
11817 (unlinkat): Likewise.
11818 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11819 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11820 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11821 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11822 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11823 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11824 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11826 2014-09-30 Will Newton <will.newton@linaro.org>
11828 * math/math.h: Define long double math functions if
11829 _LIBC_TEST is defined.
11830 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11832 * localedata/Makefile: Move assignment to tests-special
11833 into an ifdef testing run-built-tests.
11834 * timezone/Makefile: Likewise.
11836 2014-09-29 Joseph Myers <joseph@codesourcery.com>
11838 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11839 with $(BASH) not $(SHELL).
11841 2014-09-29 Carlos O'Donell <carlos@redhat.com>
11842 Matthew LeGendre <legendre1@llnl.gov>
11845 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11848 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11850 * stdio-common/printf_fp.c
11851 (hack_digit): New function, broken out of ...
11852 (__printf_fp): ... local function here. Update call sites.
11853 hack_digit now takes an additional parameter that is a pointer
11854 to a struct of the referenced locals. Those locals moved inside
11855 the struct and references updated.
11857 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
11859 * aclocal.m4: Require autoconf 2.69.
11860 * configure: Regenerated.
11861 * sysdeps/aarch64/configure: Likewise.
11862 * sysdeps/alpha/configure: Likewise.
11863 * sysdeps/arm/armv7/configure: Likewise.
11864 * sysdeps/arm/configure: Likewise.
11865 * sysdeps/ia64/configure: Likewise.
11866 * sysdeps/mach/configure: Likewise.
11867 * sysdeps/mips/configure: Likewise.
11868 * sysdeps/s390/configure: Likewise.
11869 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11872 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11874 * sysdeps/ia64/configure.ac: Likewise.
11876 2014-09-26 Joseph Myers <joseph@codesourcery.com>
11878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11879 specify symbol version for ld.so. Do not include entry for
11881 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11882 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11883 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11886 * Makeconfig [$(build-shared) = yes]
11887 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11889 [$(build-shared) = yes && $(soversions.mk-done) = t]
11890 ($(common-objpfx)gnu/lib-names.h): Remove rule.
11891 [$(build-shared) = yes && $(soversions.mk-done) = t]
11892 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
11894 [$(build-shared) = yes && $(soversions.mk-done) = t]
11895 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11897 [$(build-shared) = yes && $(soversions.mk-done) = t]
11898 (common-generated): Don't append gnu/lib-names.h and
11899 gnu/lib-names.stmp here.
11900 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11901 (lib-names-h-abi): New variable.
11902 [$(build-shared) = yes && $(soversions.mk-done) = t]
11903 (lib-names-stmp-abi): Likewise.
11904 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11905 abi-variants] (before-compile): Append
11906 $(common-objpfx)$(lib-names-h-abi).
11907 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11908 abi-variants] (common-generated): Append gnu/lib-names.h.
11909 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11910 abi-variants] (install-others-nosubdir): Depend on
11911 $(inst_includedir)/$(lib-names-h-abi).
11912 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11913 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11914 [$(build-shared) = yes && $(soversions.mk-done) = t]
11915 ($(common-objpfx)$(lib-names-h-abi)): New rule.
11916 [$(build-shared) = yes && $(soversions.mk-done) = t]
11917 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11918 [$(build-shared) = yes && $(soversions.mk-done) = t]
11919 (common-generated): Append $(lib-names-h-abi) and
11920 $(lib-names-stmp-abi).
11921 * scripts/lib-names.awk: Do not handle multi being set.
11922 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11924 (abi-lp64_be-ld-soname): Likewise.
11925 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11927 (abi-hard-ld-soname): Likewise.
11928 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11929 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11931 (abi-o32_hard-ld-soname): Likewise.
11932 (abi-o32_soft_2008-ld-soname): Likewise.
11933 (abi-o32_hard_2008-ld-soname): Likewise.
11934 (abi-n32_soft-ld-soname): Likewise.
11935 (abi-n32_hard-ld-soname): Likewise.
11936 (abi-n32_soft_2008-ld-soname): Likewise.
11937 (abi-n32_hard_2008-ld-soname): Likewise.
11938 (abi-n64_soft-ld-soname): Likewise.
11939 (abi-n64_hard-ld-soname): Likewise.
11940 (abi-n64_soft_2008-ld-soname): Likewise.
11941 (abi-n64_hard_2008-ld-soname): Likewise.
11942 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11944 (abi-64-v2-ld-soname): Likewise.
11945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11947 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11949 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11951 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11953 (abi-64-ld-soname): Likewise.
11954 (abi-x32-ld-soname): Likewise.
11955 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11957 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11959 2014-09-23 Joseph Myers <joseph@codesourcery.com>
11962 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11963 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11964 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11965 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11966 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11967 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11968 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11969 syscall entry for GLIBC_2.2 symbol version.
11970 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11973 (setrlimit): Likewise.
11974 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11977 2014-09-23 Will Newton <will.newton@linaro.org>
11979 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11980 _LINUX_ARM_SYSDEP_H include guard too.
11981 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11984 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11986 * sysdeps/unix/sysv/linux/eventfd.c:
11987 Make first argument unsigned.
11988 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11989 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11991 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
11993 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11994 * socket/sys/socket.h: Likewise
11995 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11997 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11999 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12001 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
12003 * time/tst-ftime.c: New test.
12004 * time/Makefile (tests): Add tst-ftime.
12006 2014-09-17 Joseph Myers <joseph@codesourcery.com>
12008 * soft-fp/extended.h: Fix comment formatting.
12009 * soft-fp/op-1.h: Likewise.
12010 * soft-fp/op-2.h: Likewise.
12011 * soft-fp/op-4.h: Likewise.
12012 * soft-fp/op-8.h: Likewise.
12013 * soft-fp/op-common.h: Likewise.
12014 * soft-fp/soft-fp.h: Likewise.
12016 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12018 2014-09-16 Joseph Myers <joseph@codesourcery.com>
12021 * Makeconfig (soversions-default-setname): Remove variable.
12022 ($(common-objpfx)soversions.i): Don't pass default_setname to
12024 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12025 oldest_abi to abi-versions.awk.
12026 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12027 * config.make.in (oldest-abi): Remove variable.
12028 * configure.ac (--enable-oldest-abi): Remove configure option.
12029 * configure: Regenerated.
12030 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12032 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12033 * scripts/soversions.awk: Do not handle default_setname variable.
12034 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12036 * sysdeps/mach/hurd/configure: Regenerated.
12037 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12039 * sysdeps/unix/sysv/linux/configure: Regenerated.
12041 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12043 * elf/Makefile (CFLAGS-interp.c): Remove.
12044 ($(elf-objpfx)runtime-linker.h): Generate header with linker
12046 * elf/interp.c: Include generated runtime-linker.h
12048 * Makerules (lib%.so): Don't include $(+interp) in
12050 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12051 * dlfcn/eval.c: Remove file.
12053 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12057 * misc/sys/cdefs.h: Define __extern_always_inline for clang
12061 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12063 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12064 Jakub Jelinek <jakub@redhat.com>
12067 * libio/stdio.h: Check definition of __fortify_function
12068 instead of __extern_always_inline to include bits/stdio2.h.
12069 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12070 check if __extern_always_inline is defined.
12071 [__USE_MISC || __USE_XOPEN]: Likewise.
12072 [__USE_ISOC99] Likewise.
12073 * misc/sys/cdefs.h (__fortify_function): Define only if
12074 __extern_always_inline is defined.
12075 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12076 __extern_always_inline and __extern_inline only for g++-4.3
12077 and newer or a compatible gcc.
12079 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
12082 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12083 last change to handle zero prefix length.
12085 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12087 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12090 * posix/getconf.c (vars): Add _POSIX_IPV6 and
12091 _POSIX_RAW_SOCKETS.
12093 2014-09-13 Allan McRae <allan@archlinux.org>
12095 * po/ru.po: Update Russian translation from translation project.
12097 2014-09-12 Roland McGrath <roland@hack.frob.com>
12099 * locale/programs/locale.c (show_locale_vars): Inline local function
12100 into its sole call site. Clean up some style nits.
12101 (print_item): New function, broken out of ...
12102 (show_info): ... local function here. Clean up style nits.
12104 * locale/programs/ld-ctype.c (set_one_default): New function, broken
12106 (set_class_defaults): ... local function set_default here.
12107 Define set_default as a macro locally to pass constant parameters.
12108 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12109 rather than a shared local.
12111 * stdlib/rpmatch.c (try): New function, broken out of ...
12112 (rpmatch): ... local function here. Also, prototypify definition.
12114 2014-09-12 Joseph Myers <joseph@codesourcery.com>
12116 * scripts/soversions.awk: Do not handle configuration names.
12117 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12118 vendor and os variables to soversions.awk.
12119 * configure.ac: Do not modify gnu-* host_os.
12120 * configure: Regenerated
12121 * shlib-versions: Remove first column with configuration names.
12122 * nptl/shlib-versions: Likewise.
12123 * nptl_db/shlib-versions: Likewise.
12124 * sysdeps/hppa/shlib-versions: Likewise.
12125 * sysdeps/m68k/shlib-versions: Likewise.
12126 * sysdeps/mach/hurd/shlib-versions: Likewise.
12127 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12128 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12129 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12130 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12131 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12132 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12133 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12134 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12137 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12138 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12139 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12140 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12141 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12142 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12143 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12144 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12147 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12150 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12152 Condition symbol version definitions on [HAVE_ELFV2_ABI].
12154 * shlib-versions: Remove OS-specific entries. Moved to files in
12156 * sysdeps/mach/hurd/shlib-versions: New file.
12157 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12159 * nptl/shlib-versions: Remove architecture-specific entries.
12160 Moved to files in sysdeps.
12161 * shlib-versions: Likewise.
12162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12164 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12165 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12166 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12167 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12169 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12170 (UDP_NO_CHECK6_RX): Likewise.
12172 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12174 * sysdeps/posix/sysconf.c (__sysconf): Spell
12175 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12177 2014-08-12 Florian Weimer <fweimer@redhat.com>
12179 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12181 * iconv/Versions (__gconv_transliterate): Export for use from
12183 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12184 (struct __gconv_trans_data, __gconv_trans_fct,
12185 __gconv_trans_context_fct, __gconv_trans_query_fct,
12186 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12188 (struct __gconv_step_data): Remove __trans member.
12189 (__gconv_transliterate): Declaration moved from gconv_int.h. No
12190 longer hidden. Remove unused trans_data argument.
12191 * iconv/gconv_int.h (struct trans_struct): Remove definition.
12192 (__gconv_translit_find): Remove declaration.
12193 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
12195 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12196 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12197 trans_data argument. Add hidden definition.
12198 (__gconv_translit_find): Remove.
12199 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12200 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12201 * iconv/skeleton.c: Remove transliteration initialization.
12202 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12203 __gconv_step_data initialization.
12204 * libio/iofwide.c (__libio_translit_): Remove.
12205 (_IO_fwide): Adjust struct __gconv_step_data initialization.
12206 * wcsmbs/btowc.c (__btowc): Likewise.
12207 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12208 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12209 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12210 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12211 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12212 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12213 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12214 * wcsmbs/wctob.c (wctob): Likewise.
12216 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12219 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12220 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
12222 * sysdeps/x86/Makefile: Adjust.
12224 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12225 Roland McGrath <roland@hack.frob.com>
12227 * locale/weight.h: Add include guard.
12228 (findidx): Make static rather than auto; take new parameters
12229 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12230 * locale/weightwc.h: Likewise.
12231 * posix/fnmatch_loop.c
12232 (FCT): Change type of EXTRA from int32_t to wint_t.
12233 Don't include either header inside the function.
12234 Call FINDIDX rather than findidx, and pass new arguments.
12235 #undef FINDIDX at the end of the file.
12236 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12237 FINDIDX before including fnmatch_loop.c for the non-wide version.
12238 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12239 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12240 for the wide version.
12241 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12242 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12243 Pass new arguments to findidx.
12244 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12245 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12246 Don't #include it inside the function. Pass new arguments to findidx.
12247 * posix/regex_internal.h
12248 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12249 (re_string_elem_size_at): Don't #include it inside the function.
12250 Pass new arguments to findidx.
12251 * string/strcoll_l.c: #include WEIGHT_H at top level.
12252 (get_next_seq): Don't #include it inside the function.
12253 Pass new arguments to findidx.
12254 (get_next_seq_nocache): Likewise.
12255 * string/strxfrm_l.c: #include WEIGHT_H at top level.
12256 (STRXFRM): Don't #include it inside the function.
12257 Pass new arguments to findidx.
12259 2014-09-11 Florian Weimer <fweimer@redhat.com>
12262 * malloc/malloc.c (unlink): Turn asserts into a call to
12265 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
12268 * libio/wfileops (do_ftell_wide): Free OUT.
12270 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
12272 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12274 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12277 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12278 group if the current group is empty.
12280 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12282 * benchtests/bench-memset.c (test_main): Add more test from size
12283 from 32 to 512 bytes.
12284 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12285 Add POWER8 memset object.
12286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12287 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12288 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12290 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12292 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12293 multiarch POWER8 memset optimization.
12294 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12295 POWER8 memset optimization.
12297 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12298 Remove bzero multiarch objects.
12299 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12300 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12301 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12302 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12304 [__bzero]: Redefine to specific name.
12305 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12306 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12307 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12309 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12310 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12312 2014-09-10 Florian Weimer <fweimer@redhat.com>
12314 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12315 warnings into errors.
12317 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12318 __cxa_thread_atexit_impl prototype.
12320 2014-09-09 Steve Ellcey <sellcey@mips.com>
12322 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12323 Fix capitalization of error message.
12325 2014-09-09 Steve Ellcey <sellcey@mips.com>
12327 * sysdeps/mips/preconfigure: Modify ABI tests.
12329 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
12331 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12333 2014-09-07 Roland McGrath <roland@hack.frob.com>
12334 Carlos O'Donell <carlos@systemhalted.org>
12336 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12337 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12338 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12339 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12340 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12341 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12342 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12343 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12344 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12345 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12346 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12347 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12348 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12349 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12350 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12351 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12352 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12353 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12354 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12355 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12356 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12357 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12358 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12359 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12360 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12361 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12362 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12363 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12364 Deconditionalize the code that was previously under [RESET_PID].
12365 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12366 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12367 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12368 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12371 2014-09-08 Allan McRae <allan@archlinux.org>
12373 * version.h (RELEASE): Set to "development".
12374 (VERSION): Set to "2.20.90"
12376 2014-09-07 Allan McRae <allan@archlinux.org
12378 * version.h (RELEASE): Set to "stable".
12379 (VERSION): Set to "2.20"
12380 * include/features.h (__GLIBC_MINOR__): Set to 20.
12382 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12385 * po/ko.po: Update Korean translation from translation project.
12387 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
12390 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12391 macro for handling signed relocations.
12393 2014-09-03 Florian Weimer <fweimer@redhat.com>
12396 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12397 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12399 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12400 * iconvdata/ibm935.c (BODY): Likewise.
12401 * iconvdata/ibm937.c (BODY): Likewise.
12402 * iconvdata/ibm939.c (BODY): Likewise.
12403 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12405 * iconvdata/Makefile (iconv-test.out): Pass module list to test
12407 * iconvdata/run-iconv-test.sh: New test loop for checking for
12410 2014-09-02 Khem Raj <raj.khem@gmail.com>
12412 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12415 2014-09-01 Allan McRae <allan@archlinux.org>
12417 * po/eo.po: Update Esperanto translation from translation project.
12419 * po/ca.po: Update Catalan translation from translation project.
12421 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12423 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12424 __proc_dostop call.
12426 2014-08-27 Mark Wielaard <mjw@redhat.com>
12429 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12430 to call set_thread_area instead of hand written asm.
12431 (__NR_set_thread_area): Removed define.
12432 (TLS_FLAG_WRITABLE): Likewise.
12433 (__ASSUME_SET_THREAD_AREA): Remove check.
12434 (TLS_EBX_ARG): Remove define.
12435 (TLS_LOAD_EBX): Likewise.
12437 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12439 Simplify atomicity of socket creation in bind.
12441 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12442 looking up the name after linking the file.
12444 2014-08-27 Allan McRae <allan@archlinux.org>
12446 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12448 2014-08-26 Florian Weimer <fweimer@redhat.com>
12451 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12452 trans_compare, open_translit, __gconv_translit_find):
12453 Remove module loading code.
12455 2014-08-26 Allan McRae <allan@archlinux.org>
12457 * po/vi.po: Update Vietnamese translation from translation project.
12459 * po/uk.po: Update Ukrainian translation from translation project.
12461 * po/fr.po: Update French translation from translation project.
12463 * po/ru.po: Update Russian translation from translation project.
12465 * po/pl.po: Update Polish translation from translation project.
12467 * po/cs.po: Update Czech translation from translation project.
12469 * po/de.po: Update German translation from translation project.
12471 * po/bg.po: Update Bulgarian translation from translation project.
12473 * po/sv.po: Update Sweedish translation from translation project.
12475 * po/nl.po: Update Dutch translation from translation project.
12477 * po/es.po: Update Spanish translation from translation project.
12479 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12481 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12483 * catgets/Makefile (CPPFLAGS-gencat): Remove.
12484 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12485 (CPPFLAGS-iconvconfig): Likewise.
12486 * timezone/Makefile (CPPFLAGS-zic): Likewise.
12488 * include/libc-symbols.h: Remove unnecessary check for
12490 * nptl/pthreadP.h: Likewise.
12491 * sysdeps/aarch64/setjmp.S: Likewise.
12492 * sysdeps/alpha/setjmp.S: Likewise.
12493 * sysdeps/arm/sysdep.h: Likewise.
12494 * sysdeps/i386/setjmp.S: Likewise.
12495 * sysdeps/m68k/setjmp.c: Likewise.
12496 * sysdeps/posix/getcwd.c: Likewise.
12497 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12498 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12499 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12500 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12501 * sysdeps/sh/sh3/setjmp.S: Likewise.
12502 * sysdeps/sh/sh4/setjmp.S: Likewise.
12503 * sysdeps/unix/alpha/sysdep.h: Likewise.
12504 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12505 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12506 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12507 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12510 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12511 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12512 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12513 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12514 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12515 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12517 * sysdeps/x86_64/setjmp.S: Likewise.
12519 2014-08-13 Joseph Myers <joseph@codesourcery.com>
12522 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12524 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12525 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12527 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12529 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12532 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12533 and __x86_64__ when disabling x87 inline functions.
12535 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
12538 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12539 asm statement with __cpuid_count.
12541 2014-08-12 Mike Frysinger <vapier@gentoo.org>
12543 * configure.ac: Change __ehdr_start code to dereference the struct.
12544 Run readelf on the output to look for relocations.
12545 * configure: Regenerated.
12547 2014-08-12 Joseph Myers <joseph@codesourcery.com>
12550 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12552 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12554 2014-08-12 Roland McGrath <roland@hack.frob.com>
12556 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12558 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
12561 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12562 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12564 2014-08-12 Sean Anderson <seanga2@gmail.com>
12566 * malloc/malloc.c: Fix typo in comment.
12568 2014-08-09 Allan McRae <allan@archlinux.org>
12570 * Regenerate libc.po.
12572 2014-08-08 Mike Frysinger <vapier@gentoo.org>
12574 * intl/tst-gettext2.sh: Check every lang file for creation.
12576 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12578 * sysdeps/aarch64/fpu/math_private.h
12579 (libc_feholdsetround_noex_aarch64_ctx): New function.
12581 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12583 * sysdeps/arm/armv6/strcpy.S (strcpy):
12584 Fix performance issue in misaligned cases.
12586 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12588 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12589 Move definition from termios.h.
12590 (struct termio): Likewise.
12591 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12592 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12593 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12594 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12596 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12597 Move definition to ioctl-types.h
12598 (struct termio): Likewise.
12599 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12600 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12601 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12602 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12605 2014-08-05 Richard Henderson <rth@redhat.com>
12607 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12609 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12611 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12612 Use __feraiseexcept.
12613 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12614 Protect libm symbols with IS_IN_libm.
12616 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12618 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
12620 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12622 2014-08-04 Will Newton <will.newton@linaro.org>
12624 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12627 2014-08-04 Mike Frysinger <vapier@gentoo.org>
12629 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12630 variants for each function.
12632 2014-08-04 Roland McGrath <roland@hack.frob.com>
12634 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12636 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12637 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12639 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12640 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12641 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12642 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12643 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12644 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12645 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12646 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12647 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12648 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12649 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12650 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12651 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12652 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12653 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12654 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12655 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12656 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12657 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12658 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12659 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12660 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12661 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12662 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12663 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12664 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12665 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12666 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12667 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12668 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12669 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12670 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12671 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12672 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12673 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12674 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12675 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12676 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12677 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12678 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12679 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12680 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12681 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12682 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12683 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12684 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12685 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12686 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12687 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12688 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12689 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12690 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12691 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12693 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12694 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12696 2014-08-04 Roland McGrath <roland@hack.frob.com>
12698 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12699 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12700 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12701 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12702 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12703 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12705 2014-08-04 Roland McGrath <roland@hack.frob.com>
12707 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12708 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12709 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12710 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12712 2014-08-04 Roland McGrath <roland@hack.frob.com>
12714 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12715 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12716 (__libc_vfork): Define function under this name.
12717 (__vfork): Define as an alias.
12718 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12719 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12721 2014-08-04 Roland McGrath <roland@hack.frob.com>
12723 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12724 that was previously under [RESET_PID].
12725 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12727 2014-08-04 Andreas Schwab <schwab@suse.de>
12729 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12731 2014-08-03 Mike Frysinger <vapier@gentoo.org>
12733 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12736 2014-08-01 Roland McGrath <roland@hack.frob.com>
12738 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12740 2014-08-01 Richard Henderon <rth@redhat.com>
12742 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12743 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12744 typo in exact zero test.
12745 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12746 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12747 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12749 2014-08-01 Roland McGrath <roland@hack.frob.com>
12751 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12752 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12753 * sysdeps/arm/sysdep.h: ... here.
12754 [!__ASSEMBLER__]: Include <stdint.h>.
12756 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12758 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12759 (HAVE_WCTYPE_H): Likewise.
12760 (HAVE_ISWCTYPE): Likewise.
12761 (ENABLE_NLS): Likewise.
12762 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12763 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12765 * posix/regex_internal.c: Check if DEBUG is defined and is
12768 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12769 (HAVE_MBSRTOWCS): Likewise.
12770 * posix/fnmatch.c: Include string.h unconditionally.
12772 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12774 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12777 2014-07-31 Roland McGrath <roland@hack.frob.com>
12779 * sysdeps/generic/safe-fatal.h: New file.
12780 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12781 * nptl/forward.c: Include it.
12782 (__pthread_unwind): Use __safe_fatal as default action, rather
12783 than a bogus use of INTERNAL_SYSCALL that could never work.
12785 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12786 * configure.ac (libc_cv_builtin_trap): New test.
12787 * configure: Regenerated.
12788 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12789 (ABORT_INSTRUCTION): Define using __builtin_trap.
12791 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12792 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12793 * sysdeps/nptl/nptl-signals.h: New file.
12794 * nptl/pthreadP.h: Include <nptl-signals.h>.
12796 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12798 * sysdeps/s390/s390-64/utf16-utf32-z9.c
12799 (ONE_DIRECTION): Define.
12800 * sysdeps/s390/s390-64/utf8-utf16-z9.c
12801 (ONE_DIRECTION): Define.
12802 * sysdeps/s390/s390-64/utf8-utf32-z9.c
12803 (ONE_DIRECTION): Define.
12805 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12807 * sysdeps/s390/Makefile: Delete file.
12808 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12809 * sysdeps/s390/__longjmp.c: Delete file.
12810 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12811 Remove fields __flags and __reserved.
12812 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12813 and add versioning.
12814 * sysdeps/s390/rtld-__longjmp.c: Delete file.
12815 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12816 * sysdeps/s390/rtld-setjmp.S: Likewise.
12817 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12818 * sysdeps/s390/s390-32/__longjmp.c: ... here.
12819 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12820 * sysdeps/s390/s390-32/setjmp.S: ... here.
12822 (__sigsetjmp): Remove setting __flags field.
12823 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12824 * sysdeps/s390/s390-64/__longjmp.c: ... here.
12825 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12826 * sysdeps/s390/s390-64/setjmp.S: ... here.
12828 (__sigsetjmp): Remove setting __flags field.
12829 * sysdeps/s390/setjmp.S: Delete file.
12830 * sysdeps/s390/sigjmp.c: Likewise.
12831 * sysdeps/s390/v1-longjmp.c: Likewise.
12832 * sysdeps/s390/v1-setjmp.h: Likewise.
12833 * sysdeps/s390/v1-sigjmp.c: Likewise.
12834 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12835 Remove v1-longjmp_chk.
12836 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12837 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12838 Include debug/longjmp_chk.c and add versioning.
12839 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12840 Include nptl/pt-longjmp.c and add versioning.
12841 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12842 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12843 Include __longjmp.c.
12844 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12846 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12847 (__getcontext): Remove setting __flags field.
12849 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12850 Don't restore upper high grps.
12851 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12853 (__swapcontext): Remove setting uc_flags field.
12854 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12856 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12857 Include __longjmp.c.
12858 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12860 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12861 (__getcontext): Remove setting __flags field.
12863 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12864 (__swapcontext): Remove setting uc_flags field.
12865 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12866 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12867 Remove fields uc_high_gprs and __reserved.
12868 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12869 New file with reverted content.
12870 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12871 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12873 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12876 2014-07-31 Andreas Schwab <schwab@suse.de>
12878 * config.h.in (HAVE_IFUNC): Define to 0.
12879 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12882 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
12884 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12885 memmove-avx-unaligned, memcpy-avx-unaligned and
12886 mempcpy-avx-unaligned.
12887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12888 Add tests for AVX memcpy functions.
12889 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12890 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12892 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12893 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12895 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12896 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12898 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12899 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12900 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12902 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12905 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12908 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
12911 * manual/llio.texi: Add section about open file description locks.
12912 * manual/examples/ofdlocks.c: Example of open file description
12914 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12915 F_OFD_SETLK, and F_OFD_SETLKW.
12917 2014-07-23 Allan McRae <allan@archlinux.org>
12919 * po/es.po: Update Spanish translation from translation project.
12921 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
12923 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12925 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
12928 * sysdeps/arm/dl-machine.h (elf_machine_rela)
12929 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12930 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12932 2014-07-17 Joseph Myers <joseph@codesourcery.com>
12935 * math/fesetenv.c (__fesetenv)
12936 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12937 * math/feupdateenv.c (__feupdateenv)
12938 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12940 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12941 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12942 (__ASSUME_SOCKETCALL): Do not define.
12944 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12945 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12946 (__ASSUME_SOCKETCALL): Do not define.
12947 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12948 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12949 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12950 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12951 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12952 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12953 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12954 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12956 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12957 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12958 (__ASSUME_SOCKETCALL): Do not define.
12959 (__ASSUME_IPC64): Define unconditionally.
12960 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12961 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12962 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12963 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12964 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12965 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12966 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12969 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12970 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12971 (__ASSUME_SOCKETCALL): Do not define.
12972 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12973 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12974 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12975 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12976 (__ASSUME_REQUEUE_PI): Define unconditionally.
12977 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12978 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12979 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12980 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12981 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12982 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12984 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12985 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12986 (__ASSUME_SOCKETCALL): Do not define.
12987 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12988 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12989 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12990 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12991 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12992 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12994 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12995 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12996 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12997 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12998 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12999 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13000 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13001 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13002 (__ASSUME_GETCPU_SYSCALL): Likewise.
13004 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13005 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
13006 cases for individual architectures.
13007 * sysdeps/gnu/configure: Regenerated.
13008 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13009 LIBC_SLIBDIR_RTLDDIR.
13010 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13011 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13012 LIBC_SLIBDIR_RTLDDIR.
13013 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13015 LIBC_SLIBDIR_RTLDDIR.
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13018 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13019 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13021 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13022 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13024 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13025 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13026 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13027 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13029 * sysdeps/aarch64/shlib-versions: Move to ...
13030 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13031 * sysdeps/alpha/shlib-versions: Move to ...
13032 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13033 * sysdeps/arm/shlib-versions: Move to ...
13034 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13035 * sysdeps/hppa/shlib-versions: Move all contents except for
13036 libgcc_s entry to ...
13037 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
13039 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
13040 * sysdeps/ia64/shlib-versions: Move to ...
13041 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
13043 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
13044 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13045 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13046 * sysdeps/microblaze/shlib-versions: Move to ...
13047 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13048 * sysdeps/mips/shlib-versions: Move to ...
13049 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
13051 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
13052 * sysdeps/tile/shlib-versions: Move to ...
13053 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13054 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13056 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
13057 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13059 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
13061 2014-07-17 Will Newton <will.newton@linaro.org>
13063 * sysdeps/arm/bits/atomic.h
13064 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13065 (__arch_compare_and_exchange_bool_16_int): Likewise.
13066 (__arch_compare_and_exchange_bool_64_int): Likewise.
13068 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13069 into an #else block.
13071 2014-07-16 Roland McGrath <roland@hack.frob.com>
13073 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13074 just Linux configurations. Test empirically that the compiler sets
13075 __ARM_EABI__, rather than using the tuple to decide.
13076 * sysdeps/arm/preconfigure: Regenerated.
13077 * sysdeps/unix/sysv/linux/arm/configure: File removed.
13078 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13079 contents appended ...
13080 * sysdeps/arm/configure.ac: ... here.
13081 * sysdeps/arm/configure: Regenerated.
13083 2014-07-15 Roland McGrath <roland@hack.frob.com>
13085 * nptl/pthread_kill.c: New file.
13086 * nptl/pthread_sigmask.c: New file.
13087 * nptl/pthread_sigqueue.c: New file.
13089 * sysdeps/nptl/lowlevellock.h: New file.
13090 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13091 * sysdeps/nptl/lowlevellock-futex.h: New file.
13093 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13094 Remove dead declarations.
13096 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
13098 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13099 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13100 config-cflags-avx2.
13101 * sysdeps/x86_64/configure.ac: Likewise.
13102 * sysdeps/i386/configure: Regenerated.
13103 * sysdeps/x86_64/configure: Likewise.
13104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13105 memset-avx2 only if config-cflags-avx2 is yes.
13106 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13107 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13109 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13110 only if HAVE_AVX2_SUPPORT is defined.
13111 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13113 2014-07-14 Alan Modra <amodra@gmail.com>
13116 * elf/elf.h (DT_PPC64_NUM): Correct value.
13117 * NEWS: Add to fixed bug list.
13119 2014-07-13 Jim Meyering <meyering@fb.com>
13122 regex: don't deref NULL upon heap allocation failure
13123 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13124 failure in one more place.
13125 To trigger the segfault, configure grep -with-included-regex,
13126 build it, and run these commands:
13127 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13129 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
13131 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13133 2014-07-11 Richard Henderson <rth@redhat.com>
13135 * sysdeps/aarch64/libm-test-ulps: Update.
13137 2014-07-10 Florian Weimer <fweimer@redhat.com>
13140 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13141 * nptl/allocatestack.c (__nptl_setxid_error): New function.
13142 (__nptl_setxid): Initialize error member. Call
13143 __nptl_setxid_error.
13144 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13145 * nptl/descr.h (struct xid_command): Add error member.
13146 * nptl/tst-setuid3.c: New file.
13147 * nptl/Makefile (tests): Add it.
13149 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13151 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13153 (__lll_trylock): Use __lll_base_trylock.
13154 (__lll_cond_trylock): Likewise.
13156 2014-07-10 Roland McGrath <roland@hack.frob.com>
13158 * nptl/pthread_create.c (start_thread): Use atomic_or and
13159 lll_futex_wake directly rather than lll_robust_dead.
13160 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13161 (lll_robust_dead): Macro removed.
13162 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13163 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13164 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13165 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13166 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13167 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13168 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13169 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13170 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13171 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13172 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13173 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13174 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13175 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13176 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13178 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13179 Use atomic_compare_and_exchange_val_acq directly rather than
13180 lll_robust_trylock.
13181 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13182 (__lll_robust_trylock, lll_robust_trylock): Removed.
13183 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13184 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13185 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13186 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13187 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13188 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13189 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13190 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13191 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13192 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13193 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13194 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13195 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13196 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13198 2014-07-02 Florian Weimer <fweimer@redhat.com>
13200 * manual/locale.texi (Locale Names): New section documenting
13201 locale name syntax. Adjust menu and node chaining accordingly.
13202 (Choosing Locale): Reference Locale Names, Locale Categories.
13203 Mention setting LC_ALL=C. Reflect that name syntax is now
13205 (Locale Categories): New section title. Reference Locale Names.
13206 LC_ALL is an environment variable, but not a category.
13207 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13208 description, now in Locale Name. Reference that section. Locale
13209 name syntax is now documented.
13211 2014-07-02 Florian Weimer <fweimer@redhat.com>
13214 * locale/findlocale.c (name_present, valid_locale_name): New
13216 (_nl_find_locale): Use the loc_name variable to store name
13217 candidates. Call name_present and valid_locale_name to check and
13218 validate locale names. Return an error if the locale is invalid.
13220 2014-07-02 Florian Weimer <fweimer@redhat.com>
13222 * locale/setlocale.c (setlocale): Use strdup for allocating
13223 composite name copy.
13225 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13227 Sync up with gnulib.
13228 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13229 [!_LIBC && ENABLE_NLS]: Include gettext.h.
13230 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13231 and _GL_ARG_NONNULL.
13232 [USE_UNLOCKED_IO]: Include unlocked-io.h.
13233 [!_LIBC]: Include code for Windows and Cygwin.
13234 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13235 Include prototype for int strerror_r.
13236 [!_LIBC] (is_open): New function.
13237 (flush_stdout): New function.
13238 (print_errno_message): Use it.
13240 (error_at_line): Likewise.
13241 (error_tail) Add function attribute macros. Use
13244 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13246 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13248 * io/ftw.c: Include sys/param.h unconditionally.
13250 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13253 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13255 (freecache): New function to free CACHE on exit.
13257 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13260 2014-07-09 David S. Miller <davem@davemloft.net>
13262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13264 * sysdeps/sparc/nptl/internaltypes.h: Delete.
13265 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13266 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13267 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13268 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13269 * sysdeps/sparc/nptl/sem_init.c: Likewise.
13270 * sysdeps/sparc/nptl/sem_post.c: Likewise.
13271 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13272 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13273 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13274 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13275 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13276 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13278 2014-07-09 Andreas Schwab <schwab@suse.de>
13280 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13282 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13283 (do_test): Likewise.
13285 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13287 2014-07-09 Will Newton <will.newton@linaro.org>
13289 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13290 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13291 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13292 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13293 * sysdeps/hppa/start.S (_start): Likewise.
13295 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13297 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13299 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13302 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13304 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13305 after checking that it is non-NULL.
13307 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13309 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13311 * sysdeps/powerpc/memmove.c: Remove file.
13312 * sysdeps/powerpc/powerpc32/power4/memcopy.h
13313 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13314 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13315 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13316 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13317 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13318 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13319 string memmove instead of removed powerpc one.
13321 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13322 [weak_alias]: Fix compiler warning due trailing data.
13323 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13324 [weak_alias]: Likewise.
13325 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13326 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13329 (__libc_ifunc_impl_list): Add memmove functions.
13331 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13333 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13335 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13337 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13339 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13341 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13343 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13345 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13347 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13349 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13351 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13353 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13355 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13357 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13359 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13361 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13363 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13365 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13368 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13370 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13371 to avoid alignment traps in non-cacheable memory.
13372 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13376 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13377 file: multiarch power7 memmove.
13378 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13379 multiarch default memmove.
13380 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13381 multiarch memove for powerpc32/power4.
13383 * string/bcopy.c: Use full path to include memmove.c.
13384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13386 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13387 bcopy for powerpc64.
13388 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13389 bcopy for powerpc64.
13390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13391 and memmove implementations.
13392 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13393 optimized multiarch memmove for POWER7/powerpc64.
13394 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13395 default multiarch memmove for powerpc64.
13396 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13397 multiarch for powerpc64.
13398 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13399 for POWER7/powerpc64.
13400 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13401 memmove for POWER7/powerpc64.
13403 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13406 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13407 __ELF_NATIVE_CLASS equal to 64.
13409 2014-07-07 Roland McGrath <roland@hack.frob.com>
13411 * sysdeps/nptl/lowlevellock.h: File removed.
13413 * NEWS: NPTL is no longer an add-on!
13414 * nptl/internaltypes.h: Moved ...
13415 * sysdeps/nptl/internaltypes.h: ... here.
13416 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13417 * sysdeps/nptl/fork.c: Likewise.
13418 * sysdeps/nptl/gai_misc.h: Likewise.
13419 * sysdeps/nptl/librt-cancellation.c: Likewise.
13420 * sysdeps/nptl/jmp-unwind.c: Likewise.
13421 * sysdeps/nptl/setxid.h: Likewise.
13422 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13423 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13424 * sysdeps/unix/sysv/linux/arm/Implies: New file.
13425 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13426 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13427 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13428 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13429 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13430 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13431 * sysdeps/unix/sysv/linux/mips/Implies: New file.
13432 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13433 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13434 * sysdeps/unix/sysv/linux/sh/Implies: New file.
13435 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13436 * sysdeps/unix/sysv/linux/tile/Implies: New file.
13437 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13438 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13439 * nptl/Makeconfig: Moved ...
13440 * sysdeps/nptl/Makeconfig: ... here.
13441 * nptl/configure: File removed.
13442 * nptl/ANNOUNCE: File removed.
13443 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13444 * sysdeps/unix/sysv/linux/configure: Regenerated.
13446 * nptl/Makefile (routines): Add libc_pthread_init,
13447 libc_multiple_threads, register-atfork and unregister-atfork.
13448 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13449 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13450 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13451 pthread-pi-defines.sym, structsem.sym.
13452 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13453 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13454 [$(subdir) = nptl] (tests): Add tst-setgetname.
13455 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13456 * sysdeps/unix/sysv/linux/sigaction.c: Just include
13457 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13458 [!LIBC_SIGACTION]: Remove aliases.
13459 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13460 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13461 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13462 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13463 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13464 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13465 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13466 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13467 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13468 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13469 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13470 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13471 __libc_allocate_rtsig_private.
13472 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13473 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13474 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13475 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13476 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13477 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13478 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13479 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13480 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13481 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13482 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13483 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13484 * nptl/internaltypes.h: ... here.
13485 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13486 * sysdeps/nptl/jmp-unwind.c: ... here.
13487 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13488 * nptl/libc-lowlevellock.c: ... here.
13489 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13490 * nptl/libc_multiple_threads.c: ... here.
13491 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13492 * nptl/libc_pthread_init.c: ... here.
13493 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13494 * nptl/lowlevelbarrier.sym: ... here.
13495 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13496 * nptl/lowlevelcond.sym: ... here.
13497 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13498 * nptl/lowlevellock.c: ... here.
13499 * nptl/lowlevellock.h: Moved ...
13500 * sysdeps/nptl/lowlevellock.h: ... here.
13501 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13502 * nptl/lowlevelrobustlock.c: ... here.
13503 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13504 * nptl/lowlevelrobustlock.sym: ... here.
13505 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13506 * nptl/lowlevelrwlock.sym: ... here.
13507 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13508 * nptl/pt-fork.c: ... here.
13509 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13510 * nptl/pthread-pi-defines.sym: ... here.
13511 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13512 * nptl/pthread_attr_getaffinity.c: ... here.
13513 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13514 * nptl/pthread_attr_setaffinity.c: ... here.
13515 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13516 * nptl/pthread_mutex_cond_lock.c: ... here.
13517 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13519 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13520 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13521 * nptl/pthread_once.c: ... here, replacing old file.
13522 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13523 * nptl/pthread_yield.c: ... here.
13524 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13525 * nptl/register-atfork.c: ... here.
13526 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13527 * nptl/sem_post.c: ... here.
13528 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13529 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13530 * nptl/sem_timedwait.c: ... here.
13531 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13532 * nptl/sem_trywait.c: ... here.
13533 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13534 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13535 * nptl/sem_wait.c: ... here.
13536 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13537 * nptl/structsem.sym: ... here.
13538 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13539 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13540 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13541 * nptl/unregister-atfork.c: ... here.
13542 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13543 * nptl/unwindbuf.sym: ... here.
13544 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13545 * sysdeps/nptl/fork.c: ... here.
13546 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13547 * sysdeps/nptl/fork.h: ... here.
13548 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13549 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13550 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13551 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13552 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13553 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13554 * sysdeps/unix/sysv/linux/getpid.c: ... here.
13555 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13556 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13557 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13558 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13559 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13560 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13561 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13562 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13563 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13564 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13565 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13566 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13567 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13568 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13569 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13570 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13571 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13572 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13573 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13574 * sysdeps/unix/sysv/linux/raise.c: ... here.
13575 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13576 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13577 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13578 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13579 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13580 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13581 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13582 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13583 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13584 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13585 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13586 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13587 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13588 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13589 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13591 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13593 * sysdeps/generic/memcopy.h: Add comment for
13594 MEMCPY_OK_FOR_FWD_MEMMOVE.
13596 2014-07-04 Will Newton <will.newton@linaro.org>
13598 * string/memchr.c: Merge from gnulib.
13599 [_LIBC]: Remove conditionals.
13600 (__ptr_t): Remove define.
13601 (LONG_MAX_32_BITS): Likewise.
13602 (LONG_MAX): Likewise.
13603 (MEMCHR): Use ANSI prototype and optimize algorithm.
13605 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13607 2014-07-03 Roland McGrath <roland@hack.frob.com>
13609 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13610 (lll_futex_timed_wait_bitset): Fix syscall argument count.
13612 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13613 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13614 in a bare environment with no <stdlib.h> installed.
13615 * sysdeps/nptl/configure: Regenerated.
13617 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13619 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13620 AC_EGREP_CPP for kernel header checks, so they only succeed if
13621 including <linux/version.h> actually works right.
13622 * sysdeps/unix/sysv/linux/configure: Regenerated.
13624 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13625 value so it's not diagnosed as unused.
13627 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13628 thing) with "ifeq ($(subdir),rt)".
13630 2014-07-03 Richard Henderson <rth@redhat.com>
13632 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13633 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13634 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13636 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13637 (math_force_eval): New.
13639 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13640 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13642 * sysdeps/alpha/fpu/s_round.c: Remove file.
13643 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13645 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13646 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13647 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13648 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13649 (_dl_start, print_statistics): Likewise.
13650 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13651 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13653 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13654 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13655 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13656 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13657 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13658 (HP_SMALL_TIMING_AVAIL): Define.
13659 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13660 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13661 (HP_SMALL_TIMING_AVAIL): Define.
13662 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13663 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13665 * sysdeps/aarch64/hp-timing.h: New file.
13667 * sysdeps/generic/hp-timing.h: Remove dead comment.
13668 * sysdeps/generic/hp-timing-common.h: New file.
13669 * sysdeps/alpha/hp-timing.h: Include it.
13670 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13671 * sysdeps/i386/i686/hp-timing.h: Likewise.
13672 * sysdeps/ia64/hp-timing.h: Likewise.
13673 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13674 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13675 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13676 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13677 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13678 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13679 (hp_timing_t): New.
13681 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13682 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13683 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13684 * elf/rtld.c (_dl_start_final): Likewise.
13685 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13686 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13687 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13688 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13689 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13690 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13691 (HP_TIMING_DIFF_INIT): Remove.
13692 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13693 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13694 (HP_TIMING_DIFF_INIT): Remove.
13695 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13696 * sysdeps/i386/i686/hp-timing.c: Remove file.
13697 * sysdeps/x86_64/hp-timing.c: Remove file.
13698 * sysdeps/ia64/hp-timing.c: Remove file.
13699 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13700 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13701 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13702 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13704 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13705 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13706 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13707 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13708 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13709 (HP_TIMING_ACCUM): Remove.
13710 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13711 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13712 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13714 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13715 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13716 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13717 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13718 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13719 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13720 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13721 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13723 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13725 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
13727 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13729 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13731 Sync up with gettext.
13732 * intl/loadmsgcat.c: Define O_BINARY if not defined.
13733 [_MSC_VER]: Include malloc.h
13734 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13735 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13736 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
13737 TEMP_FAILURE_RETRY. Cast return of alloca.
13738 [!_LIBC] Call gl_rwlock_init.
13739 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13741 2014-07-02 Roland McGrath <roland@hack.frob.com>
13743 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13744 before checking its value.
13746 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13748 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13750 * debug/memcpy_chk.c: Don't include pagecopy.h.
13751 * debug/mempcpy_chk.c: Likewise.
13752 * string/memcpy.c: Likewise.
13753 * string/memmove.c: Likewise.
13754 * sysdeps/powerpc/memmove.c: Likewise.
13755 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
13756 definition of PAGE_COPY_FWD_MAYBE here...
13757 * sysdeps/generic/pagecopy.h: ... from here.
13758 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13760 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13761 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13763 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13767 (__libc_ifunc_impl_list): Likewise.
13768 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13769 multiarch strcat for PPC64.
13770 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13771 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13773 2014-07-02 Roland McGrath <roland@hack.frob.com>
13775 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13777 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13779 * intl/loadmsgcat.c: Remove declaration of
13780 get_sysdep_segment_value.
13781 (get_sysdep_segment_value): Use ISO C style.
13782 (_nl_load_domain): Use ISO C style. Get rid of redundant
13783 semicolon. Fix typo and formatting in comment.
13784 (_nl_unload_domain): Use ISO C style.
13786 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13788 2014-07-02 Will Newton <will.newton@linaro.org>
13790 * malloc/obstack.c: Merge from gnulib master.
13791 [HAVE_CONFIG_H]: Remove conditional code.
13792 [!_LIBC]: Include config.h.
13793 [!ELIDE_CODE]: Don't include inttypes.h, include
13794 stdint.h unconditionally.
13795 (print_and_abort): Mark as _Noreturn.
13796 (_obstack_allocated_p): Mark as __attribute_pure__.
13797 (obstack_free): Rename to __obstack_free.
13798 [!__attribute__]: Remove conditional code.
13799 * malloc/obstack.h: Merge from gnulib master.
13800 [__cplusplus]: Move conditional down.
13801 [!__attribute_pure__]: Define __attribute_pure__ here
13802 if it is not already defined.
13803 (_obstack_memory_used): Mark as __attribute_pure__.
13804 [!__obstack_free]: Define as obstack_free.
13805 [__GNUC__]: Remove check for ancient NeXT gcc.
13807 2014-07-02 Will Newton <will.newton@linaro.org>
13808 Paul Eggert <eggert@cs.ucla.edu>
13810 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13812 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13814 * resolv/gethnamaddr.c: Add comment warning that the file is
13817 2014-07-01 Carlos O'Donell <carlos@redhat.com>
13819 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13822 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13823 entry for aio_cancel and aio_cancel64.
13824 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13825 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13826 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13827 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13828 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13829 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13830 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13831 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13832 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13833 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13834 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13835 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13836 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13838 2014-07-01 Roland McGrath <roland@hack.frob.com>
13840 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13841 * nptl/pthread_mutex_lock.c: Likewise.
13842 * nptl/pthread_mutex_timedlock.c: Likewise.
13843 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13845 2014-07-01 Richard henderson <rth@redhat.com>
13847 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13848 (__isnan, __isnanl): Remove.
13849 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13851 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13853 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13855 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13857 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13859 * resolv/nss_dns/dns-host.c (getanswer_r)
13860 [MULTI_PTRS_ARE_ALIASES]: Remove code.
13862 2014-07-01 Joseph Myers <joseph@codesourcery.com>
13864 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13865 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13867 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13868 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13870 2014-07-01 Roland McGrath <roland@hack.frob.com>
13872 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13873 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13875 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13876 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13878 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13879 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13881 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13882 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13884 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13885 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13886 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13887 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13889 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13890 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13891 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13892 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13893 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13895 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13897 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13898 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13899 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13900 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13901 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13902 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13903 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13904 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13905 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13906 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13907 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13908 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13909 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13910 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13911 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13912 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13913 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13914 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13915 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13916 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13918 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13919 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13920 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13921 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13922 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13923 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13924 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13925 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13927 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
13929 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13930 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13931 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13934 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13938 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13940 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13941 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13943 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13945 * sysdeps/arm/libm-test-ulps: Regenerated.
13947 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13948 Roland McGrath <roland@hack.frob.com>
13950 * test-skeleton.c (signal_handler): Kill the whole process group
13951 before killing the child individually.
13952 (main): Report any failure on `setpgid'.
13954 2014-06-30 Roland McGrath <roland@hack.frob.com>
13956 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13957 from _TLS_H to _ARM_NPTL_TLS_H.
13958 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13959 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13961 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13964 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13965 (__expm1l): Return argument unchanged when small but not
13968 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13969 include macro name.
13970 (_FP_UNPACK_RAW_1_P): Likewise.
13971 (_FP_PACK_RAW_1): Likewise.
13972 (_FP_PACK_RAW_1_P): Likewise.
13973 (_FP_MUL_MEAT_1_wide): Likewise.
13974 (_FP_MUL_MEAT_DW_1_hard): Likewise.
13975 (_FP_MUL_MEAT_1_hard): Likewise.
13976 (_FP_DIV_MEAT_1_imm): Likewise.
13977 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13978 (_FP_DIV_MEAT_1_udiv): Likewise.
13979 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13980 (_FP_UNPACK_RAW_2): Likewise.
13981 (_FP_UNPACK_RAW_2_P): Likewise.
13982 (_FP_PACK_RAW_2): Likewise.
13983 (_FP_PACK_RAW_2_P): Likewise.
13984 (_FP_MUL_MEAT_DW_2_wide): Likewise.
13985 (_FP_MUL_MEAT_2_wide): Likewise.
13986 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13987 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13988 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13989 (_FP_MUL_MEAT_2_gmp): Likewise.
13990 (_FP_DIV_MEAT_2_udiv): Likewise.
13991 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13992 (_FP_FRAC_SRL_4): Likewise.
13993 (_FP_FRAC_SRST_4): Likewise.
13994 (_FP_FRAC_SRS_4): Likewise.
13995 (_FP_UNPACK_RAW_4): Likewise.
13996 (_FP_UNPACK_RAW_4_P): Likewise.
13997 (_FP_PACK_RAW_4): Likewise.
13998 (_FP_PACK_RAW_4_P): Likewise.
13999 (_FP_MUL_MEAT_DW_4_wide): Likewise.
14000 (_FP_MUL_MEAT_4_wide): Likewise.
14001 (_FP_MUL_MEAT_4_gmp): Likewise.
14002 (umul_ppppmnnn): Likewise.
14003 (_FP_DIV_MEAT_4_udiv): Likewise.
14004 (__FP_FRAC_ADD_4): Likewise.
14005 (__FP_FRAC_SUB_3): Likewise.
14006 (__FP_FRAC_SUB_4): Likewise.
14007 (__FP_FRAC_DEC_3): Likewise.
14008 (__FP_FRAC_DEC_4): Likewise.
14009 (__FP_FRAC_ADDI_4): Likewise.
14010 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14011 (_FP_FRAC_SRL_8): Likewise.
14012 (_FP_FRAC_SRS_8): Likewise.
14014 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14015 include macro name.
14016 (FP_UNPACK_RAW_EP): Likewise.
14017 (FP_PACK_RAW_E): Likewise.
14018 (FP_PACK_RAW_EP): Likewise.
14019 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14020 (_FP_ISSIGNAN): Likewise.
14021 (_FP_ADD_INTERNAL): Likewise.
14022 (_FP_FMA): Likewise.
14023 (_FP_CMP): Likewise.
14024 (_FP_SQRT): Likewise.
14025 (_FP_TO_INT): Likewise.
14026 (_FP_FROM_INT): Likewise.
14027 (FP_EXTEND): Likewise.
14028 (_FP_DIV_MEAT_N_loop): Likewise.
14030 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14032 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14035 2014-06-29 Joseph Myers <joseph@codesourcery.com>
14038 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14039 result with correct sign in case of exponents that produce
14040 overflow except for X very close to 1.
14042 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
14044 mktime: merge #if/#ifdef usage from glibc
14045 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14046 as that works with both Glibc's and Gnulib's style.
14047 See thread starting at Siddhesh Poyarekar's bug report at:
14048 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14050 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14052 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14053 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14054 * sysdeps/tile/tilegx/memmove.c: Remove file.
14056 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14058 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14059 abi-name definition.
14060 * scripts/soversions.awk: Do not handle or generate ABI lines.
14061 * shlib-versions: Remove ABI entries.
14062 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14063 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14065 2014-06-27 Roland McGrath <roland@hack.frob.com>
14067 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14068 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14069 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14070 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14071 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14072 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14073 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14075 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14077 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14078 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14079 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14080 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14081 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14082 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14083 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14084 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14085 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14086 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14087 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14088 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14089 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14091 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14092 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14093 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14094 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14095 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14096 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14098 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14099 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14101 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14102 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14103 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14104 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14106 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14107 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14108 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14109 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14110 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14111 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14112 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14113 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14115 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14116 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14117 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14118 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14120 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14121 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14123 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14124 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14125 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14126 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14128 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14130 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14131 Identical file removed.
14132 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14134 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14135 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14136 Identical file removed.
14137 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14138 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14139 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14141 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14142 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14143 Identical file removed.
14144 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14145 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14146 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14147 Identical file removed.
14148 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14149 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14150 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14151 Identical file removed.
14152 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14153 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14154 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14155 Identical file removed.
14156 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14158 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14159 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14160 Identical file removed.
14161 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14163 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14164 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14165 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14166 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14167 Identical file removed.
14168 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14170 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14172 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14173 Identical file removed.
14174 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14176 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14177 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14178 Identical file removed.
14179 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14181 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14182 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14183 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14184 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14185 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14186 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14188 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14189 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14190 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14192 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14193 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14194 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14195 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14196 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14198 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
14201 * nscd/nscd.c (monitor_child): Return exit status of child
14202 instead of return value from wait syscall.
14204 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14206 * configure.ac (libc_commonpagesize): Remove variable.
14207 (libc_relro_required): Likewise.
14208 (libc_cv_z_relro): Remove configure test.
14209 * configure: Regenerated.
14210 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14212 (libc_relro_required): Likewise.
14213 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14214 (libc_relro_required): Likewise.
14215 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14216 (libc_relro_required): Likewise.
14217 * sysdeps/arm/preconfigure: Regenerated.
14218 * sysdeps/ia64/preconfigure: Remove file.
14219 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14221 (libc_relro_required): Likewise.
14225 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14226 (__ieee754_yn): Set FE_TONEAREST mode internally and then
14227 recompute overflowing results in original rounding mode.
14228 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14229 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14230 recompute overflowing results in original rounding mode.
14231 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14232 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14233 recompute overflowing results in original rounding mode.
14234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14235 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14236 recompute overflowing results in original rounding mode.
14237 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14238 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14239 recompute overflowing results in original rounding mode.
14240 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14241 (libc_feholdsetround_ctx): New macro.
14242 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14243 * sysdeps/i386/fpu/libm-test-ulps: Update.
14244 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14246 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14248 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14249 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14250 corresponding .cpsetup call.
14252 2014-06-26 Roland McGrath <roland@hack.frob.com>
14254 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14255 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14256 * sysdeps/arm/Makefile [$(subdir) = csu]
14257 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14258 (static-only-routines): Add aeabi_read_tp here.
14259 (shared-only-routines): Add libc-aeabi_read_tp here.
14260 (CFLAGS-libc-start.c): Add -fexceptions here.
14261 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14262 (sysdep_routines, static-only-routines, shared-only-routines):
14263 Don't add to these here.
14264 (CFLAGS-libc-start.c): Likewise.
14266 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14267 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14268 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14269 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14270 * sysdeps/arm/Makefile [$(subdir) = rt]
14271 (librt-sysdep_routines, librt-shared-only-routines):
14272 Append rt-aeabi_unwind_cpp_pr1 here.
14273 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14274 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14275 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14276 (libpthread-sysdep_routines, libpthread-shared-only-routines):
14277 Append nptl-aeabi_unwind_cpp_pr1 here.
14278 (tests): Filter out tst-cleanupx4 here.
14279 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14280 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14281 Don't do those here.
14283 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14285 * scripts/list-sources.sh: Do not handle ports specially.
14287 2014-06-26 Roland McGrath <roland@hack.frob.com>
14289 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14290 * sysdeps/arm/feupdateenv.c: Likewise.
14292 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14294 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14296 * manual/texinfo.tex: Update to version 2014-05-05.10 with
14297 trailing whitespace removed.
14298 * scripts/config.guess: Update to version 2014-03-23.
14299 * scripts/config.sub: Update to version 2014-05-01
14300 * scripts/install-sh: Update to version 2013-12-25.23.
14301 * scripts/move-if-change: Update from gnulib.
14303 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14305 * debug/memmove_chk.c: Remove pagecopy.h include.
14307 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
14309 * time/mktime.c (leapyear): Remove inline keyword. The code is now
14310 identical to gnulib mktime.
14312 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14314 * configure.ac: Do not test for machine being rs6000. Do not test
14315 for powerpc*-*soft.
14316 * configure: Regenerated.
14319 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14321 * configure: Regenerated.
14322 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14323 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14324 Remove configure test.
14325 * sysdeps/arm/configure: Regenerated.
14326 * sysdeps/nptl/configure.ac: Do not check
14327 libc_cv_asm_cfi_directives.
14328 * sysdeps/nptl/configure: Regenerated.
14329 * sysdeps/x86_64/nptl/configure.ac: Remove file.
14330 * sysdeps/x86_64/nptl/configure: Remove generated file.
14331 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14333 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14335 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14337 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14338 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14339 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14342 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14343 instead of whether it is defined.
14344 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14345 * sysdeps/hppa/dl-machine.h: Likewise.
14346 * sysdeps/ia64/dl-machine.h: Likewise.
14347 * sysdeps/m68k/dl-machine.h: Likewise.
14348 * sysdeps/microblaze/dl-machine.h: Likewise.
14349 * sysdeps/mips/dl-machine.: Likewise.
14350 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14351 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14352 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14353 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14354 * sysdeps/sh/dl-machine.h: Likewise.
14355 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14356 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14357 * sysdeps/tile/dl-machine.h: Likewise.
14358 * sysdeps/x86_64/dl-machine.h: Likewise.
14360 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14362 (verify_persistent_db): Likewise.
14364 2014-06-26 Roland McGrath <roland@hack.frob.com>
14366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14367 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14369 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14372 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14375 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14377 Identical file removed.
14378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14379 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14381 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14383 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14385 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14387 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14390 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14392 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14394 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14397 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14399 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14401 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14403 Identical file removed.
14404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14405 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14407 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14410 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14413 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14415 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14417 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14419 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14421 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14424 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14427 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14429 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14432 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14434 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14436 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14438 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14439 * sysdeps/unix/sysv/linux/s390/Versions
14440 (libpthread: GLIBC_2.19): New version set.
14441 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14442 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14443 (librt: GLIBC_2.3.3): New version set.
14444 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14445 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14446 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14447 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14448 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14449 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14450 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14451 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14452 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14453 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14454 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14455 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14456 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14457 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14458 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14459 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14460 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14461 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14462 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14463 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14464 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14465 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14466 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14467 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14468 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14469 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14470 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14471 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14472 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14473 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14474 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14475 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14476 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14477 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14478 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14479 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14480 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14481 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14482 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14484 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14485 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14486 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14487 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14488 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14490 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14491 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14492 (__libc_vfork): Define the function under this name.
14493 [!NOT_IN_libc] (__vfork): Make this an alias.
14494 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14495 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14496 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14497 (__libc_vfork): Define the function under this name.
14498 [!NOT_IN_libc] (__vfork): Make this an alias.
14499 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14500 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14501 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14502 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14503 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14504 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14506 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14507 code that was previously under [RESET_PID].
14508 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14509 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14510 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14512 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14513 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14514 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14515 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14516 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14517 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14518 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14519 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14520 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14521 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14522 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14524 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14525 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14526 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14527 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14528 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14529 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14530 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14531 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14532 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14533 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14534 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14535 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14536 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14537 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14538 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14539 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14540 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14541 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14542 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14543 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14544 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14545 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14546 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14547 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14548 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14549 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14550 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14551 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14552 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14554 2014-06-25 Roland McGrath <roland@hack.frob.com>
14556 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14557 that was previously under [RESET_PID].
14558 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14560 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14562 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14563 not undefine and redefine.
14564 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14565 [O_CLOEXEC]: Make code unconditional.
14566 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14567 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14568 <kernel-features.h>.
14569 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14570 conditional variable definition.
14571 (shm_open) [O_CLOEXEC]: Make code unconditional.
14572 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14575 * configure.ac (USE_REGPARMS): Don't define here.
14576 * configure: Regenerated.
14577 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14578 * sysdeps/i386/configure: Regenerated.
14580 * nptl/createthread.c: Don't include kernel-features.h.
14581 * nptl/pthread_cancel.c: Likewise.
14582 * nptl/pthread_condattr_setclock.c: Likewise.
14583 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14584 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14585 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14586 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14587 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14588 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14589 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14590 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14591 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14592 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14593 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14594 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14595 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14596 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14597 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14598 * nscd/gai.c: Likewise.
14599 * nss/nss_db/db-open.c: Likewise.
14600 * sysdeps/generic/ldsodefs.h: Likewise.
14601 * sysdeps/sh/nptl/tls.h: Likewise.
14602 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14603 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14604 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14605 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14606 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14607 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14608 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14609 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14610 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14611 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14612 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14613 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14614 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14615 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14616 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14617 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14618 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14619 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14620 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14621 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14622 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14623 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14624 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14625 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14626 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14627 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14628 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14629 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14630 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14631 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14632 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14633 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14634 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14635 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14636 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14637 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14638 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14639 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14640 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14641 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14642 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14643 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14644 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14645 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14646 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14647 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14648 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14649 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14650 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14651 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14652 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14653 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14654 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14655 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14656 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14657 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14658 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14659 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14682 * sysdeps/unix/sysv/linux/pread.c: Likewise.
14683 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14684 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14685 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14686 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14687 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14688 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14689 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14690 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14691 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14692 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14693 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14694 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14695 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14696 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14697 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14698 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14699 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14700 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14701 * sysdeps/unix/sysv/linux/system.c: Likewise.
14702 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14703 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14704 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14705 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14706 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14707 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14708 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14710 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14711 * configure: Regenerated.
14712 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14714 * configure.ac (base_machine): Do not set specially for particular
14716 * configure: Regenerated.
14717 * sysdeps/powerpc/preconfigure: Move machine and base_machine
14718 settings from configure.ac.
14719 * sysdeps/i386/preconfigure: New file.
14720 * sysdeps/s390/preconfigure: Likewise.
14721 * sysdeps/sh/preconfigure: Likewise.
14722 * sysdeps/sparc/preconfigure: Likewise.
14724 2014-06-25 Roland McGrath <roland@hack.frob.com>
14726 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14727 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14728 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14729 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14730 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14731 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14732 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14733 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14734 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14735 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14736 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14737 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14738 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14739 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14740 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14741 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14742 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14743 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14744 * sysdeps/sparc/sparc64/Makefile: ... appended here.
14746 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14747 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14748 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14749 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14750 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14751 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14752 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14753 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14754 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14755 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14756 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14757 * sysdeps/sparc/sparc32/sem_post.c: ... here.
14758 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14759 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14760 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14761 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14762 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14763 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14764 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14765 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14766 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14767 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14768 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14769 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14770 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14771 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14772 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14773 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14774 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14775 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14776 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14777 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14778 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14779 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14780 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14781 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14782 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14783 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14786 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14788 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14791 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14794 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14796 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14799 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14801 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14803 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14805 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14808 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14811 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14813 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14816 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14818 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14820 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14822 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14824 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14827 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14830 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14832 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14835 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14837 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14839 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14841 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14844 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14847 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14849 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14852 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14854 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14856 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14858 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14860 * timezone/checktab.awk: Update from tzcode 2014e.
14861 * timezone/private.h: Likewise.
14862 * timezone/tzfile.h: Likewise.
14863 * timezone/zdump.c: Likewise.
14864 * timezone/zic.c: Likewise.
14866 * sysdeps/unix/sysv/linux/kernel-features.h
14867 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14868 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14869 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14870 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14871 Remove conditional code.
14873 2014-06-25 Will Newton <will.newton@linaro.org>
14875 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14876 (_dl_arm_cap_flags): Add HWCAP2 values.
14877 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14878 (_DL_HWCAP_COUNT): Increase to 37.
14879 (_DL_HWCAP_LAST): New define.
14880 (_DL_HWCAP2_LAST): New define.
14881 (_dl_procinfo): Add support for printing
14883 (_dl_string_hwcap): Use _dl_hwcap_string.
14885 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14889 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14891 * README: Do not mention ports directory.
14893 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14895 * sysdeps/unix/sysv/linux/futimes.c: Do not include
14896 <kernel-features.h>.
14897 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14898 conditional variable definition.
14899 (__futimes): Update comment.
14900 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14901 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14904 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14905 arguments close to 0.
14906 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14908 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14910 * math/auto-libm-test-in: Add more tests of exp10.
14911 * math/auto-libm-test-out: Regenerated.
14912 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14914 * sysdeps/unix/sysv/linux/kernel-features.h
14915 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14916 * sysdeps/unix/sysv/linux/readv.c: Do not include
14917 <kernel-features.h>.
14918 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14919 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14920 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14922 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14924 * sysdeps/unix/sysv/linux/writev.c: Do not include
14925 <kernel-features.h>.
14926 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14927 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14928 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14930 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14933 2014-06-25 Will Newton <will.newton@linaro.org>
14935 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14936 comment changes throughout the file. Remove checks
14937 for HAVE_*_H definitions that are not required.
14938 (__gen_tempname): Call abort if an unknown kind value is
14941 2014-06-25 Andreas Schwab <schwab@suse.de>
14944 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14945 scalbln, scalblnf, scalblnl in libc.
14947 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14950 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14951 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14952 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14954 2014-06-24 Roland McGrath <roland@hack.frob.com>
14956 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14957 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14958 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14959 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14961 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14962 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14964 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14965 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14966 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14967 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14968 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14969 * sysdeps/x86/bits/pthreadtypes.h: ... here.
14970 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14971 * sysdeps/x86/bits/semaphore.h: ... here.
14972 * sysdeps/x86/nptl/elide.h: Moved ...
14973 * sysdeps/x86/elide.h: ... here.
14974 * sysdeps/x86_64/nptl/Implies: File removed.
14975 * sysdeps/i386/nptl/Implies: File removed.
14977 2014-06-24 Joseph Myers <joseph@codesourcery.com>
14980 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14981 return the argument for normal arguments with exponent below -64.
14982 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14984 * math/auto-libm-test-in: Add another test of expm1.
14985 * math/auto-libm-test-out: Regenerated.
14988 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14989 calling __erfcl for arguments at least 16.
14990 * math/auto-libm-test-in: Add more tests of erf.
14991 * math/auto-libm-test-out: Regenerated.
14993 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14994 individual architectures.
14995 * sysdeps/unix/sysv/linux/configure: Regenerated.
14996 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14997 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14998 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14999 (ldd_rewrite_script): Define variable.
15000 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15005 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15006 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15007 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15008 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15009 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15010 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15011 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15012 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15014 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15017 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15018 Rename member __data.d to __data.__elision_data.
15020 2014-06-24 Wilco <wdijkstr@arm.com>
15022 * NEWS: Add 16918 to fixed bug list.
15024 2014-06-24 Wilco <wdijkstr@arm.com>
15026 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15028 2014-06-24 Wilco <wdijkstr@arm.com>
15030 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15031 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15032 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15033 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15034 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15035 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15036 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15039 2014-06-24 Wilco <wdijkstr@arm.com>
15041 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15043 2014-06-24 Wilco <wdijkstr@arm.com>
15045 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15046 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15047 * sysdeps/arm/fesetround.c (fesetround): Remove space.
15048 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15050 2014-06-24 Wilco <wdijkstr@arm.com>
15053 * sysdeps/arm/feupdateenv.c (feupdateenv):
15054 Rewrite to reduce FPSCR accesses and fix return value.
15056 2014-06-24 Wilco <wdijkstr@arm.com>
15058 * sysdeps/arm/fclrexcpt.c (feclearexcept):
15059 Optimize to avoid unnecessary FPSCR writes.
15060 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15061 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15062 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15063 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15065 2014-06-24 Wilco <wdijkstr@arm.com>
15067 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15068 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15069 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15070 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15071 Call libc_fetestexcept_vfp.
15072 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15073 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15074 __SOFTFP__ ifdef so that they can be built for softfp.
15076 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15078 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15079 argument type signed char.
15081 * Makerules (check-abi): Dump diff of symlist if the test
15084 2014-06-23 Roland McGrath <roland@hack.frob.com>
15086 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15089 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15090 Remove unused variable ST.
15092 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15096 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15097 small arguments before calling __expm1.
15098 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15099 small arguments before calling __expm1f.
15100 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15101 small arguments before calling __expm1l.
15102 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15104 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15105 * math/auto-libm-test-in: Add more cosh tests. Do not allow
15106 spurious underflow for some cosh tests.
15107 * math/auto-libm-test-out: Regenerated.
15108 * sysdeps/i386/fpu/libm-test-ulps: Update.
15111 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15112 (__ieee754_y1): Set errno if return value overflows.
15113 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15114 (__ieee754_y1f): Set errno if return value overflows.
15115 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15116 (__ieee754_y1l): Set errno if return value overflows.
15117 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15118 (__ieee754_y1l): Set errno if return value overflows.
15119 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15120 * math/auto-libm-test-out: Regenerated.
15122 * math/gen-auto-libm-tests.c: Document use of
15123 ignore-zero-inf-sign.
15124 (input_flag_type): Add value flag_ignore_zero_inf_sign.
15125 (input_flags): Add ignore-zero-inf-sign.
15126 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15127 * math/gen-libm-test.pl (generate_testfile): Handle
15128 ignore-zero-inf-sign.
15129 * math/auto-libm-test-in: Mark some cpow tests with
15130 ignore-zero-inf-sign and some with xfail-rounding.
15131 * math/auto-libm-test-out: Regenerated.
15132 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15133 * sysdeps/i386/fpu/libm-test-ulps: Update.
15134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15137 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15138 overflowing or underflowing operations take place with sign of
15140 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15141 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15142 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15143 (__ieee754_pow): Recompute overflowing and underflowing results in
15144 original rounding mode.
15145 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15146 (__powl_helper): Allow negative argument X and scale negated value
15147 as needed. Avoid passing value outside [-1, 1] to f2xm1.
15148 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15149 overflowing or underflowing operations take place with sign of
15151 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15153 * math/auto-libm-test-in: Add more tests of pow.
15154 * math/auto-libm-test-out: Regenerated.
15155 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15156 (pow_tonearest_test_data): Remove.
15157 (pow_test_tonearest): Likewise.
15158 (pow_towardzero_test_data): Likewise.
15159 (pow_test_towardzero): Likewise.
15160 (pow_downward_test_data): Likewise.
15161 (pow_test_downward): Likewise.
15162 (pow_upward_test_data): Likewise.
15163 (pow_test_upward): Likewise.
15164 (main): Don't call removed functions.
15165 * sysdeps/i386/fpu/libm-test-ulps: Update.
15166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15168 2014-06-23 Roland McGrath <roland@hack.frob.com>
15170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15344 2014-06-23 Will Newton <will.newton@linaro.org>
15345 Wilco <wdijkstr@arm.com>
15347 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15348 implementation. Include get-rounding-mode.h.
15349 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15350 [!libc_feholdsetround_noex_ctx]: Define
15351 libc_feholdsetround_noex_ctx.
15352 [!libc_feholdsetround_noexf_ctx]: Define
15353 libc_feholdsetround_noexf_ctx.
15354 [!libc_feholdsetround_noexl_ctx]: Define
15355 libc_feholdsetround_noexl_ctx.
15356 (libc_feholdsetround_ctx): New function.
15357 (libc_feresetround_ctx): New function.
15358 (libc_feholdsetround_noex_ctx): New function.
15359 (libc_feresetround_noex_ctx): New function.
15361 2014-06-23 Roland McGrath <roland@hack.frob.com>
15363 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15364 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15365 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15366 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15367 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15368 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15370 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15371 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15372 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15373 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15374 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15375 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15376 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15377 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15378 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15379 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15380 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15382 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15384 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15385 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15386 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15387 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15388 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15390 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15391 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15392 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15393 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15394 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15395 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15396 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15397 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15399 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15400 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15402 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15403 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15404 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15405 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15407 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15408 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15409 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15410 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15411 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15412 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15413 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15414 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15415 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15416 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15418 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15420 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15421 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15422 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15423 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15424 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15425 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15426 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15427 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15428 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15429 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15430 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15431 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15432 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15434 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15435 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15436 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15437 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15438 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15439 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15441 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15442 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15443 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15444 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15445 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15447 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15448 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15449 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15450 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15451 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15452 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15453 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15454 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15455 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15456 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15457 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15458 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15459 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15460 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15461 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15462 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15463 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15464 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15465 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15466 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15467 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15468 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15469 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15470 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15471 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15472 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15473 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15474 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15476 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15478 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15479 (FALLOC_FL_COLLAPSE_RANGE): New macro.
15480 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15481 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15482 (IPV6_PMTUDISC_INTERFACE): Likewise.
15483 (IPV6_PMTUDISC_OMIT): Likewise.
15485 2014-06-23 Andreas Schwab <schwab@suse.de>
15487 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15488 Remove unused errout label.
15490 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15492 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15493 macro: hardware supports Vector Crypto instructions.
15495 2014-06-23 Will Newton <will.newton@linaro.org>
15497 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15498 rather than __builtin_expect.
15500 * elf/dl-lookup.c (undefined_msg): Remove variable.
15501 (_dl_lookup_symbol_x): Replace undefined_msg with string
15504 * elf/dl-lookup.c (do_lookup_unique): New function.
15505 (do_lookup_x): Move STB_GNU_UNIQUE handling code
15506 to a separate function.
15508 2014-06-23 Andreas Schwab <schwab@suse.de>
15511 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15512 before reading the next line.
15514 2014-06-23 Will Newton <will.newton@linaro.org>
15516 * test-skeleton.c (signal_handler): Use printf and %m
15517 rather than perror. Use printf rather than fprintf to
15518 stderr. Use puts rather than fputs to stderr.
15521 2014-06-22 Ludovic Courtès <ludo@gnu.org>
15523 * nscd/nscd.c (thread_info_t): Remove typedef.
15524 (thread_info): Remove variable.
15526 2014-06-21 Allan McRae <allan@archlinux.org>
15528 * NEWS: Mention CVE-2014-4043.
15530 2014-06-20 Roland McGrath <roland@hack.frob.com>
15532 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15533 * nptl/smp.h: ... here.
15535 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15537 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15538 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15539 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15540 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15542 * nptl/allocatestack.c: Include <stack-aliasing.h>.
15543 * nptl/stack-aliasing.h: New file.
15544 * sysdeps/i386/i686/stack-aliasing.h: New file.
15545 * sysdeps/i386/i686/nptl/Makefile: File removed.
15546 * sysdeps/x86_64/stack-aliasing.h: New file.
15547 * sysdeps/x86_64/nptl/Makefile
15548 (CFLAGS-pthread_create.c): Variable removed.
15550 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15551 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15553 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15554 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15557 2014-06-21 Joseph Myers <joseph@codesourcery.com>
15559 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15560 (__ASSUME_SIGFRAME_V2): Remove macro.
15561 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15562 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15563 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15564 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15565 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15566 Declare as function. Remove conditional macro definitions.
15567 (__default_rt_sa_restorer): Likewise.
15568 (__default_sa_restorer_v1): Remove declaration.
15569 (__default_sa_restorer_v2): Likewise.
15570 (__default_rt_sa_restorer_v1): Likewise.
15571 (__default_rt_sa_restorer_v2): Likewise.
15572 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15573 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15574 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15576 2014-06-20 Roland McGrath <roland@hack.frob.com>
15578 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15579 (libpthread-routines): Add sysdep.
15580 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15581 * sysdeps/unix/sysv/linux/sparc/Versions
15582 (libpthread: GLIBC_2.3.3): New version set.
15583 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15584 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15585 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15586 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15587 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
15588 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15590 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15591 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15592 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15593 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15594 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15595 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15596 * sysdeps/sparc/nptl/sem_init.c: ... here.
15597 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15598 * sysdeps/sparc/nptl/sem_post.c: ... here.
15599 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15600 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15601 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15602 * sysdeps/sparc/nptl/sem_wait.c: ... here.
15603 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15604 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15605 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15606 (libpthread-routines): Add cpu_relax.
15607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15609 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15610 (librt: GLIBC_2.3.3): New version set.
15611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15612 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15613 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15614 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15617 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15620 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15622 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15624 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15626 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15628 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15631 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15635 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15639 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15643 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15645 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15647 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15649 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15651 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15654 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15656 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15658 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15660 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15662 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15665 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15666 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15667 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15668 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15669 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15671 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15673 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15674 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15675 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15676 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15677 * nscd/nscd.c: Likewise.
15678 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15679 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15680 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15681 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15683 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15684 <kernel-features.h>.
15685 (init_mq_netlink): Remove conditional have_sock_cloexec
15686 definitions. Remove code conditional on have_sock_cloexec < 0.
15687 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15688 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15689 * sysdeps/unix/sysv/linux/opensock.c: Do not include
15690 <kernel-features.h>.
15691 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15692 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15694 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15696 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15697 Add tests for memset_chk and memset.
15699 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15702 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15705 * elf/tst-dl-iter-static.c: New file.
15706 * elf/Makefile (tests-static): Add tst-dl-iter-static.
15708 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15711 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15713 * sysdeps/unix/sysv/linux/kernel-features.h
15714 (__ASSUME_F_GETOWN_EX): Remove macro.
15715 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15716 <kernel-features.h>.
15717 (miss_F_GETOWN_EX): Remove variable or macro.
15718 (do_fcntl): Do not check miss_F_GETOWN_EX.
15719 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15721 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15723 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15724 [!__ASSUME_AT_RANDOM]: Remove conditional code.
15725 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15727 * sysdeps/unix/sysv/linux/kernel-features.h
15728 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15729 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15730 [ADJ_OFFSET_SS_READ]: Make code unconditional.
15731 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15733 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15736 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15737 Fix calculation of the symbol's value.
15738 * sysdeps/arm/tst-armtlsdescloc.c: New file.
15739 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15740 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15741 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15742 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15743 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15744 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15745 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15746 (modules-names): Add `tst-armtlsdescmod',
15747 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15748 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15749 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15750 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15751 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15752 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15753 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15754 ($(objpfx)tst-armtlsdescloc): New dependency.
15755 ($(objpfx)tst-armtlsdescextnow): Likewise.
15756 ($(objpfx)tst-armtlsdescextlazy): Likewise.
15757 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15758 TLS scheme support.
15759 * sysdeps/arm/configure: Regenerate.
15761 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15763 * include/fcntl.h (__atfct_seterrno): Remove prototype.
15764 (__atfct_seterrno_2): Likewise.
15765 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15766 <kernel-features.h>.
15767 (__ASSUME_ATFCTS): Do not undefine and redefine.
15768 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15769 (__have_atfcts): Remove conditional definition.
15770 (__fxstatat([__NR_fstatat64]: Make code unconditional.
15771 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15772 unreachable if [__ASSUME_ATFCTS].
15773 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15774 not undefine and redefine.
15775 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15776 <kernel-features.h>.
15777 (faccessat) [__NR_faccessat]: Make code unconditional.
15778 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15779 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15780 <kernel-features.h>.
15781 (fchmodat) [__NR_fchmodat]: Make code unconditional.
15782 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15783 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15784 <kernel-features.h>.
15785 (fchownat) [__NR_fchownat]: Make code unconditional.
15786 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15787 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15788 <kernel-features.h>.
15789 (futimesat) [__NR_futimesat]: Make code unconditional.
15790 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15791 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15792 <kernel-features.h>.
15793 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15794 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15795 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15796 <kernel-features.h>.
15797 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15798 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15799 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15800 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15801 <kernel-features.h>.
15802 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15803 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15804 * sysdeps/unix/sysv/linux/linkat.c: Do not include
15805 <kernel-features.h>.
15806 (linkat) [__NR_linkat]: Make code unconditional.
15807 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15808 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15809 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15810 <kernel-features.h>.
15811 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15812 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15813 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15814 <kernel-features.h>.
15815 (mkdirat) [__NR_mkdirat]: Make code unconditional.
15816 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15817 * sysdeps/unix/sysv/linux/openat.c: Do not include
15818 <kernel-features.h>.
15819 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15820 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15821 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15822 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15823 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15824 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15825 <kernel-features.h>.
15826 (readlinkat) [__NR_readlinkat]: Make code unconditional.
15827 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
15828 result of INLINE_SYSCALL directly, not via int variable.
15829 * sysdeps/unix/sysv/linux/renameat.c: Do not include
15830 <kernel-features.h>.
15831 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15832 (renameat) [__NR_renameat]: Make code unconditional.
15833 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15834 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15835 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15836 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15837 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15838 (__ASSUME_ATFCTS): Do not undefine and redefine.
15839 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15840 <kernel-features.h>.
15841 (symlinkat) [__NR_symlinkat]: Make code unconditional.
15842 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15843 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15844 <kernel-features.h>.
15845 (unlinkat) [__NR_unlinkat]: Make code unconditional.
15846 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15847 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15848 (__ASSUME_ATFCTS): Do not undefine and redefine.
15849 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15850 <kernel-features.h>.
15851 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15852 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15853 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15854 <kernel-features.h>.
15855 (__xmknodat) [__NR_mknodat]: Make code unconditional.
15856 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15858 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15860 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15862 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
15865 * posix/regcomp.c (parse_reg_exp): Deallocate partially
15866 constructed tree before returning error.
15867 * posix/bug-regexp36.c: Expand test case.
15869 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15872 * math/libm-test.inc (scalbln_test_date):
15873 Add errno expectations.
15874 * math/w_scalblnf.c: New File.
15875 Add wrapper which checks for setting errno to ERANGE.
15876 Add weak_alias for corresponding scalbln function.
15877 * math/w_scalbln.c: Likewise.
15878 * math/w_scalblnl.c: Likewise.
15879 * math/Makefile (libm-calls): Add w_scalbln.
15880 * sysdeps/ieee754/flt-32/s_scalblnf.c:
15881 Remove weak_alias for corresponding scalbln function.
15882 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15883 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15884 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15885 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15886 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15887 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15888 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15889 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15890 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15891 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15892 Remove long_double_symbol for scalblnl function in libm, libc.
15893 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15894 Add wrapper which checks for setting errno to ERANGE.
15895 Add long_double_symbol for scalblnl function in libm, libc.
15896 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15897 Remove long_double_symbol for scalblnl in libm.
15898 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15899 Add wrapper which checks for setting errno to ERANGE.
15900 Add long_double_symbol for scalblnl function in libm.
15901 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15902 Do not use wrapper because of own implementation.
15904 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
15906 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15907 3 bytes for __pad1 for x32.
15908 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15910 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
15911 H.J. Lu <hongjiu.lu@intel.com>
15913 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15914 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15915 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15916 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15917 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15919 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
15922 * posix/regcomp.c (parse_expression): Deallocate partially
15923 constructed tree before returning error.
15924 * posix/Makefile.c (tests): Add bug-regex36.
15925 (generated): Add bug-regex36.mtrace.
15926 (tests-special): Add $(objpfx)bug-regex36-mem.out
15927 (bug-regex36-ENV): New variable.
15928 ($(objpfx)bug-regex36-mem.out): New rule.
15929 * posix/bug-regex36.c: New file.
15931 2014-06-19 Will Newton <will.newton@linaro.org>
15933 * malloc/malloc.c (systrim): If extra is zero then return
15936 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15938 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15940 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
15942 * sysdeps/aarch64/strchr.S: New file.
15944 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15947 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15948 from arguments -2 or below.
15949 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15950 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15952 2014-06-18 Andreas Schwab <schwab@suse.de>
15955 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15956 of a bracket expr not to run off the end of the string.
15957 * posix/Makefile (tests): Add tst-fnmatch3.
15958 * posix/tst-fnmatch3.c: New file.
15960 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15962 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15963 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15964 [$(cross-compiling) = no]: Likewise.
15965 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15966 [$(cross-compiling) = no]: Likewise.
15968 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15971 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15972 double, adjusted for any remainder from the high double.
15973 * math/libm-test.inc (nearbyint): Add tests.
15976 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15978 * nptl/sysdeps/powerpc/Makefile: Moved ...
15979 * sysdeps/powerpc/nptl/Makefile: ... here.
15980 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15981 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15982 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15983 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15984 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15985 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15986 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15987 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15988 * nptl/sysdeps/powerpc/tls.h: Moved ...
15989 * sysdeps/powerpc/nptl/tls.h: ... here.
15991 2014-06-16 Joseph Myers <joseph@codesourcery.com>
15994 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15995 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15996 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15997 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15998 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15999 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16000 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16001 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16002 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16004 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
16006 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16008 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
16010 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16013 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16016 2014-06-16 Florian Weimer <fweimer@redhat.com>
16019 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16020 non-executed part of the test.
16022 2014-06-16 Andreas Schwab <schwab@suse.de>
16024 * string/bits/string2.h (strdup, strndup): Update feature guard.
16026 2014-06-14 David S. Miller <davem@davemloft.net>
16028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16030 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
16032 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16033 that was previously under [RESET_PID].
16034 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16036 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16037 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16038 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16039 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16040 (__libc_vfork): New strong alias.
16041 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16043 2014-06-14 Andi Kleen <ak@linux.intel.com>
16045 * sysdeps/generic/elide.h: New file.
16047 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
16049 * Makefile (installed-headers): Adjust path of pthread.h header.
16051 2014-06-13 Roland McGrath <roland@hack.frob.com>
16053 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16054 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16055 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16056 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16058 * nptl/sysdeps/s390/Makefile: Moved ...
16059 * sysdeps/s390/nptl/Makefile: ... here.
16060 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16061 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16062 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16063 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16064 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16065 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16066 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16067 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16068 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16069 * sysdeps/s390/nptl/pthreaddef.h: ... here.
16070 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16071 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16072 * nptl/sysdeps/s390/tls.h: Moved ...
16073 * sysdeps/s390/nptl/tls.h: ... here.
16075 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16076 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16078 2014-06-13 David S. Miller <davem@davemloft.net>
16080 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16082 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16083 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16084 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16086 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16087 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16088 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16089 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16090 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16091 Remove RESET_PID cpp guards.
16092 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16093 Remove RESET_PID cpp guards.
16094 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16096 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
16098 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16101 2014-06-13 Andi Kleen <ak@linux.intel.com>
16103 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16104 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16105 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16106 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16107 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16108 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16109 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16110 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16111 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16112 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16113 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16114 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16115 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16116 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16117 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16118 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16119 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16120 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16121 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16122 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16124 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16125 (pthread_rwlock_rdlock): Add elision.
16126 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16127 (pthread_rwlock_wrlock): Add elision.
16128 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16129 (pthread_rwlock_trywrlock): Add elision.
16130 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16131 (pthread_rwlock_tryrdlock): Add elision.
16132 * nptl/pthread_rwlock_unlock.c: Include elide.h.
16133 (pthread_rwlock_tryrdlock): Add elision unlock.
16134 * nptl/sysdeps/pthread/pthread.h:
16135 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16136 (PTHREAD_RWLOCK_INITIALIZER,
16137 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16138 Handle new elision field.
16139 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16140 * sysdeps/arm/nptl/bits/pthreadtypes.h
16141 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16142 * sysdeps/sh/nptl/bits/pthreadtypes.h
16143 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16144 * sysdeps/tile/nptl/bits/pthreadtypes.h
16145 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16146 * sysdeps/a/nptl/bits/pthreadtypes.h
16147 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16148 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16149 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16150 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16151 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16152 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16153 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16154 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16155 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16156 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16157 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16158 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16159 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16160 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16161 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16162 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16163 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16164 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16165 (elision_init): Set try_xbegin to zero when no RTM.
16166 * sysdeps/x86/nptl/bits/pthreadtypes.h
16167 (pthread_rwlock_t): Change __pad1 to __rwelision.
16168 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16170 2014-06-13 Andi Kleen <ak@linux.intel.com>
16172 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16173 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16174 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16175 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16177 2014-06-13 Meador Inge <meadori@codesourcery.com>
16180 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16181 that the cached result has been set before returning it.
16183 2014-06-12 Roland McGrath <roland@hack.frob.com>
16185 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16186 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16187 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16188 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16189 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16190 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16192 * nptl/sysdeps/sparc/Makefile: Moved ...
16193 * sysdeps/sparc/nptl/Makefile: ... here.
16194 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16195 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16196 * nptl/sysdeps/sparc/tls.h: Moved ...
16197 * sysdeps/sparc/nptl/tls.h: ... here.
16198 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16199 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16200 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16201 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16202 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16203 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16204 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16205 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16206 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16207 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16208 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16209 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16210 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16211 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16212 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16213 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16214 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16215 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16217 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16218 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16220 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16221 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16223 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16224 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16227 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16229 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16230 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16232 * sysdeps/pthread/posix-timer.h: Include <list.h>.
16233 (struct list_links): Type removed.
16234 (struct thread_node, struct timer_node): Replace struct list_links
16235 with struct list_head.
16236 (list_unlink_ip): Likewise.
16237 * sysdeps/pthread/timer_routines.c
16238 (timer_free_list, thread_free_list, thread_active_list): Likewise.
16239 (list_append, list_insbefore): Likewise.
16240 (list_init): Function removed.
16241 (thread_init, init_module): Use INIT_LIST_HEAD instead.
16242 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16243 * sysdeps/pthread/Makefile: ... here, new file.
16245 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16246 * sysdeps/nptl/Implies: ... here.
16247 * sysdeps/unix/sysv/linux/Implies: Add nptl.
16248 * nptl/sysdeps/pthread/list.h: Moved ...
16249 * include/list.h: ... here.
16250 * nptl/sysdeps/pthread/createthread.c: Moved ...
16251 * nptl/createthread.c: ... here.
16252 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16253 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16254 * nptl/pt-longjmp.c: ... here.
16255 * nptl/sysdeps/pthread/Makefile: Moved ...
16256 * sysdeps/nptl/Makefile: ... here.
16257 * nptl/sysdeps/pthread/Subdirs: Moved ...
16258 * sysdeps/nptl/Subdirs: ... here.
16259 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16260 * sysdeps/nptl/aio_misc.h: ... here.
16261 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16262 * sysdeps/nptl/bits/libc-lock.h: ... here.
16263 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16264 * sysdeps/nptl/bits/libc-lockP.h: ... here.
16265 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16266 * sysdeps/nptl/bits/stdio-lock.h: ... here.
16267 * nptl/sysdeps/pthread/configure: Moved ...
16268 * sysdeps/nptl/configure: ... here.
16269 * nptl/sysdeps/pthread/configure.ac: Moved ...
16270 * sysdeps/nptl/configure.ac: ... here.
16271 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16272 * sysdeps/nptl/gai_misc.h: ... here.
16273 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16274 * sysdeps/nptl/librt-cancellation.c: ... here.
16275 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16276 * sysdeps/nptl/malloc-machine.h: ... here.
16277 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16278 * sysdeps/nptl/pthread-functions.h: ... here.
16279 * nptl/sysdeps/pthread/pthread.h: Moved ...
16280 * sysdeps/nptl/pthread.h: ... here.
16281 * nptl/sysdeps/pthread/setxid.h: Moved ...
16282 * sysdeps/nptl/setxid.h: ... here.
16283 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16284 * sysdeps/nptl/sigfillset.c: ... here.
16285 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16286 * sysdeps/nptl/tcb-offsets.h: ... here.
16287 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16288 * sysdeps/nptl/tst-mqueue8x.c: ... here.
16289 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16290 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16291 * nptl/sysdeps/pthread/allocalim.h: Moved ...
16292 * sysdeps/pthread/allocalim.h: ... here.
16293 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16294 * sysdeps/pthread/bits/sigthread.h: ... here.
16295 * nptl/sysdeps/pthread/flockfile.c: Moved ...
16296 * sysdeps/pthread/flockfile.c: ... here.
16297 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16298 * sysdeps/pthread/ftrylockfile.c: ... here.
16299 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16300 * sysdeps/pthread/funlockfile.c: ... here.
16301 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16302 * sysdeps/pthread/posix-timer.h: ... here.
16303 * nptl/sysdeps/pthread/timer_create.c: Moved ...
16304 * sysdeps/pthread/timer_create.c: ... here.
16305 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16306 * sysdeps/pthread/timer_delete.c: ... here.
16307 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16308 * sysdeps/pthread/timer_getoverr.c: ... here.
16309 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16310 * sysdeps/pthread/timer_gettime.c: ... here.
16311 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16312 * sysdeps/pthread/timer_routines.c: ... here.
16313 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16314 * sysdeps/pthread/timer_settime.c: ... here.
16315 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16316 * sysdeps/pthread/tst-timer.c: ... here.
16317 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16318 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16320 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16321 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16323 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16324 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16325 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16326 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16327 Update #include target.
16328 * nptl/sysdeps/i386/i686/Makefile: Moved ...
16329 * sysdeps/i386/i686/nptl/Makefile: ... here.
16330 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16331 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16332 Update #include target.
16333 * nptl/sysdeps/i386/i686/tls.h: Moved ...
16334 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
16335 * nptl/sysdeps/i386/Makefile: Moved ...
16336 * sysdeps/i386/nptl/Makefile: ... here.
16337 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16338 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16339 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16340 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16341 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16342 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16343 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16344 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16345 * sysdeps/i386/nptl/pthreaddef.h: ... here.
16346 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16347 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16348 * nptl/sysdeps/i386/tls.h: Moved ...
16349 * sysdeps/i386/nptl/tls.h: ... here.
16351 * sysdeps/sh/Makefile [$(subdir) = csu]
16352 (gen-as-const-headers): Add tcb-offsets.sym.
16353 * nptl/sysdeps/sh/Makefile: File removed.
16354 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16355 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16356 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16357 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16358 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16359 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16360 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16361 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16362 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16363 * sysdeps/sh/nptl/pthreaddef.h: ... here.
16364 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16365 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16366 * nptl/sysdeps/sh/tls.h: Moved ...
16367 * sysdeps/sh/nptl/tls.h: ... here.
16368 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16369 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16370 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16371 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16372 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16373 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16374 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16375 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16376 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16377 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16378 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16379 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16380 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16381 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16382 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16383 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16384 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16385 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16386 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16387 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16388 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16389 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16390 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16391 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16392 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16394 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16395 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16397 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16398 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16399 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16400 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16401 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16402 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16403 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16404 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16405 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16406 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16407 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16408 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16409 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16410 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16411 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16412 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16413 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16414 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16415 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16417 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16419 * posix/spawn_faction_addopen.c: Include string.h.
16421 2014-06-11 Roland McGrath <roland@hack.frob.com>
16423 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16424 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16425 * nptl/sysdeps/x86_64/Makefile: Moved ...
16426 * sysdeps/x86_64/nptl/Makefile: ... here.
16427 * nptl/sysdeps/x86_64/configure: Moved ...
16428 * sysdeps/x86_64/nptl/configure: ... here.
16429 * nptl/sysdeps/x86_64/configure.ac: Moved ...
16430 * sysdeps/x86_64/nptl/configure.ac: ... here.
16431 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16432 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16433 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16434 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16435 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16436 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16437 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16438 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16439 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16440 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16441 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16442 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16443 * nptl/sysdeps/x86_64/tls.h: Moved ...
16444 * sysdeps/x86_64/nptl/tls.h: ... here.
16445 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16446 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16447 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16448 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16450 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16452 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16456 2014-06-11 Joseph Myers <joseph@codesourcery.com>
16458 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16460 [POSIX] (off_t): Likewise.
16461 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16462 [POSIX] (S_ISBLK): Require macro.
16463 [POSIX] (S_ISCHR): Likewise.
16464 [POSIX] (S_ISDIR): Likewise.
16465 [POSIX] (S_ISFIFO): Likewise.
16466 [POSIX] (S_ISREG): Likewise.
16467 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16469 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16471 [POSIX] (time_t): Likewise.
16472 [POSIX] (timer_t): Likewise.
16474 2014-06-11 Florian Weimer <fweimer@redhat.com>
16477 * posix/spawn_int.h (struct __spawn_action): Make the path string
16478 non-const to support deallocation.
16479 * posix/spawn_faction_addopen.c
16480 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16481 * posix/spawn_faction_destroy.c
16482 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
16483 path in all spawn_do_open actions.
16484 * posix/tst-spawn.c (do_test): Exercise the copy operation in
16485 posix_spawn_file_actions_addopen.
16487 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
16489 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16490 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16491 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16492 conditional code always true.
16493 (__libc_vfork): New alias.
16495 2014-06-11 Roland McGrath <roland@hack.frob.com>
16497 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16498 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16500 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16502 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16503 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16505 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16506 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16508 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16509 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16511 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16513 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16514 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16515 multiarch strcmp for PPC64.
16516 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16517 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16518 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16519 multiarch optimizations.
16520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16521 (__libc_ifunc_impl_list): Likewise.
16523 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16525 * benchtests/scripts/validate_benchout.py: New script.
16526 * benchtests/Makefile (bench-func): Call it.
16527 * benchtests/scripts/benchout.schema.json: New file.
16529 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
16531 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16532 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16533 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16534 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16535 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16536 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16537 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16538 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16539 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16540 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16541 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16542 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16543 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16544 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16545 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16546 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16650 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16651 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16652 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16653 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16654 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16656 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16658 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16659 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16660 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16661 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16662 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16663 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16664 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16665 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16666 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16667 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16668 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16669 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16670 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16672 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16673 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16675 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16676 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16677 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16678 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16680 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16681 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16682 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16683 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16684 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16685 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16686 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16688 2014-06-10 Wilco <wdijkstr@arm.com>
16690 * math/test-fenv-return.c: New file.
16691 * math/Makefile: Add new test test-fenv-return.
16693 2014-06-10 Joseph Myers <joseph@codesourcery.com>
16696 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16697 when x - 1 is zero.
16698 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16699 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16700 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16701 0.0L for an argument of 1.0L.
16702 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16704 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16705 value when x - 1 is zero.
16706 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16707 * sysdeps/i386/fpu/libm-test-ulps: Update.
16708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16710 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
16713 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16715 2014-06-09 Roland McGrath <roland@hack.frob.com>
16717 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16718 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16720 2014-06-09 Roland McGrath <roland@hack.frob.com>
16722 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16723 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16725 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16726 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16728 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16729 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16731 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16732 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16734 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16735 if not already defined.
16736 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16737 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16738 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16739 (TLS_INIT_TP): Use it.
16740 (TLS_DEFINE_INIT_TP): New macro.
16741 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16743 2014-06-09 Joseph Myers <joseph@codesourcery.com>
16745 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16747 [POSIX] (IXANY): Likewise.
16748 [POSIX] (OLCUC): Likewise.
16749 [POSIX || POSIX2008] (CBAUD): Do not allow.
16750 [POSIX || POSIX2008] (DEFECHO): Likewise.
16751 [POSIX || POSIX2008] (ECHOCTL): Likewise.
16752 [POSIX || POSIX2008] (ECHOKE): Likewise.
16753 [POSIX || POSIX2008] (ECHOPRT): Likewise.
16754 [POSIX || POSIX2008] (EXTA): Likewise.
16755 [POSIX || POSIX2008] (EXTB): Likewise.
16756 [POSIX || POSIX2008] (FLUSHO): Likewise.
16757 [POSIX || POSIX2008] (LOBLK): Likewise.
16758 [POSIX || POSIX2008] (PENDIN): Likewise.
16759 [POSIX || POSIX2008] (SWTCH): Likewise.
16760 [POSIX || POSIX2008] (VDISCARD): Likewise.
16761 [POSIX || POSIX2008] (VDSUSP): Likewise.
16762 [POSIX || POSIX2008] (VLNEXT): Likewise.
16763 [POSIX || POSIX2008] (VREPRINT): Likewise.
16764 [POSIX || POSIX2008] (VSTATUS): Likewise.
16765 [POSIX || POSIX2008] (VWERASE): Likewise.
16766 (B*): Change to B[0123456789]*.
16767 * conform/data/time.h-data [POSIX || UNIX98]
16768 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16769 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16770 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16771 [POSIX] (tm_*): Do not allow.
16773 2014-06-07 Joseph Myers <joseph@codesourcery.com>
16775 * Makefile (install): Don't set LANGUAGE.
16776 * Makefile.in (install): Likewise.
16777 * assert/Makefile (test-assert-ENV): Remove variable.
16778 (test-assert-perr-ENV): Likewise.
16779 * elf/Makefile (neededtest4-ENV): Likewise.
16780 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16781 [$(cross-compiling) = no]: Don't set LANGUAGE.
16782 * io/ftwtest-sh (LANG): Remove variable.
16783 * libio/Makefile (tst-widetext-ENV): Likewise.
16784 * manual/install.texi (Running make install): Don't refer to
16785 environment settings for make install.
16786 * INSTALL: Regenerated.
16787 * nptl/tst-tls6.sh: Don't set LANG.
16788 * posix/globtest.sh (LANG): Remove variable.
16789 * string/Makefile (tester-ENV): Likewise.
16790 (inl-tester-ENV): Likewise.
16791 (noinl-tester-ENV): Likewise.
16792 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16793 [$(cross-compiling) = no]: Don't set LANGUAGE.
16794 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16795 without explicit environment settings.
16797 2014-06-06 Roland McGrath <roland@hack.frob.com>
16799 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16800 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16801 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16802 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16804 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
16806 * crypt/crypt-private.h [DOS]: Add some includes taken from the
16807 other files in the crypt directory.
16808 * crypt/crypt.c: Remove duplicate includes.
16809 * crypt/crypt-entry.c: Likewise.
16810 * crypt/crypt_util.c: Likewise.
16812 2014-06-06 Joseph Myers <joseph@codesourcery.com>
16814 * Makeconfig (run-program-env): New variable.
16815 (run-program-prefix-before-env): Likewise.
16816 (run-program-prefix-after-env): Likewise.
16817 (run-program-prefix): Define in terms of new variables.
16818 (built-program-cmd-before-env): New variable.
16819 (built-program-cmd-after-env): Likewise.
16820 (built-program-cmd): Define in terms of new variables.
16821 (test-program-prefix-before-env): New variable.
16822 (test-program-prefix-after-env): Likewise.
16823 (test-program-prefix): Define in terms of new variables.
16824 (test-program-cmd-before-env): New variable.
16825 (test-program-cmd-after-env): Likewise.
16826 (test-program-cmd): Define in terms of new variables.
16827 * Rules (make-test-out): Use $(run-program-env).
16828 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16829 (help): Do not mention environment variables. Mention
16830 --timeoutfactor option.
16831 (timeoutfactor): New variable.
16832 (blacklist_exports): Remove function.
16833 (exports): Remove variable.
16834 (command): Do not include ${exports}.
16835 * manual/install.texi (Configuring and compiling): Do not mention
16836 test wrappers preserving environment variables. Mention that last
16837 assignment to a variable must take precedence.
16838 * INSTALL: Regenerated.
16839 * benchtests/Makefile (run-bench): Use $(run-program-env).
16840 * catgets/Makefile ($(objpfx)test1.cat): Use
16841 $(built-program-cmd-before-env), $(run-program-env) and
16842 $(built-program-cmd-after-env).
16843 ($(objpfx)test2.cat): Do not specify environment variables
16845 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16846 $(run-program-env) and $(built-program-cmd-after-env).
16847 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16848 $(run-program-env) and $(test-program-cmd-after-env).
16849 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16851 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16852 run_program_env and test_program_cmd_after_env arguments.
16853 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16854 * elf/tst-pathopt.sh: Use run_program_env argument.
16855 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16856 $(test-wrapper-env) and $(run-program-env).
16857 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16858 run_program_env arguments.
16859 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16860 * intl/Makefile ($(objpfx)tst-gettext.out): Use
16861 $(test-program-prefix-before-env), $(run-program-env) and
16862 $(test-program-prefix-after-env).
16863 ($(objpfx)tst-gettext2.out): Likewise.
16864 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16865 run_program_env and test_program_prefix_after_env arguments.
16866 * intl/tst-gettext2.sh: Likewise.
16867 * intl/tst-gettext4.sh: Do not set environment variables
16869 * intl/tst-gettext6.sh: Likewise.
16870 * intl/tst-translit.sh: Likewise.
16871 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16872 $(test-program-prefix-before-env), $(run-program-env) and
16873 $(test-program-prefix-after-env).
16874 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16875 run_program_env and test_program_prefix_after_env arguments.
16876 * math/Makefile (run-regen-ulps): Use $(run-program-env).
16877 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16878 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
16879 explicitly with each use of ${test_wrapper_env}.
16880 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16881 $(test-program-prefix-before-env), $(run-program-env) and
16882 $(test-program-prefix-after-env).
16883 * posix/tst-getconf.sh: Do not set environment variables
16885 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16886 run_program_env and test_program_prefix_after_env arguments.
16887 * stdio-common/tst-printf.sh: Do not set environment variables
16889 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16890 $(test-program-prefix-before-env), $(run-program-env) and
16891 $(test-program-prefix-after-env).
16892 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16893 run_program_env and test_program_prefix_after_env arguments.
16894 Split $test calls into $test_pre and $test.
16895 * timezone/Makefile (build-testdata): Use
16896 $(built-program-cmd-before-env), $(run-program-env) and
16897 $(built-program-cmd-after-env).
16899 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16901 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16902 strlen for non SHARED builds.
16904 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16906 * nptl/allocatestack.c (check_list): Inlined function...
16907 (__reclaim_stacks): ... here.
16909 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16912 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16915 2014-06-05 Joseph Myers <joseph@codesourcery.com>
16917 * Rules (make-test-out): Include
16918 LOCPATH=$(common-objpfx)localedata in default environment.
16919 * debug/Makefile (tst-chk1-ENV): Remove variable.
16920 (tst-chk2-ENV): Likewise.
16921 (tst-chk3-ENV): Likewise.
16922 (tst-chk4-ENV): Likewise.
16923 (tst-chk5-ENV): Likewise.
16924 (tst-chk6-ENV): Likewise.
16925 (tst-lfschk1-ENV): Likewise.
16926 (tst-lfschk2-ENV): Likewise.
16927 (tst-lfschk3-ENV): Likewise.
16928 (tst-lfschk4-ENV): Likewise.
16929 (tst-lfschk5-ENV): Likewise.
16930 (tst-lfschk6-ENV): Likewise.
16931 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16932 (tst-iconv7-ENV): Likewise.
16933 * intl/Makefile (LOCPATH-ENV): Likewise.
16934 (tst-codeset-ENV): Likewise.
16935 (tst-gettext3-ENV): Likewise.
16936 (tst-gettext5-ENV): Likewise.
16937 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16938 (tst-fopenloc-ENV): Likewise.
16939 (tst-fgetws-ENV): Remove variable.
16940 (tst-ungetwc1-ENV): Likewise.
16941 (tst-ungetwc2-ENV): Likewise.
16942 (bug-ungetwc2-ENV): Likewise.
16943 (tst-swscanf-ENV): Likewise.
16944 (bug-ftell-ENV): Likewise.
16945 (tst-fgetwc-ENV): Likewise.
16946 (tst-fseek-ENV): Likewise.
16947 (tst-ftell-partial-wide-ENV): Likewise.
16948 (tst-ftell-active-handler-ENV): Likewise.
16949 (tst-ftell-append-ENV): Likewise.
16950 * posix/Makefile (tst-fnmatch-ENV): Likewise.
16951 (tst-regexloc-ENV): Likewise.
16952 (bug-regex1-ENV): Likewise.
16953 (tst-regex-ENV): Likewise.
16954 (tst-regex2-ENV): Likewise.
16955 (bug-regex5-ENV): Likewise.
16956 (bug-regex6-ENV): Likewise.
16957 (bug-regex17-ENV): Likewise.
16958 (bug-regex18-ENV): Likewise.
16959 (bug-regex19-ENV): Likewise.
16960 (bug-regex20-ENV): Likewise.
16961 (bug-regex22-ENV): Likewise.
16962 (bug-regex23-ENV): Likewise.
16963 (bug-regex25-ENV): Likewise.
16964 (bug-regex26-ENV): Likewise.
16965 (bug-regex30-ENV): Likewise.
16966 (bug-regex32-ENV): Likewise.
16967 (bug-regex33-ENV): Likewise.
16968 (bug-regex34-ENV): Likewise.
16969 (bug-regex35-ENV): Likewise.
16970 (tst-rxspencer-ENV): Likewise.
16971 (tst-rxspencer-no-utf8-ENV): Likewise.
16972 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16973 (tst-sscanf-ENV): Likewise.
16974 (tst-swprintf-ENV): Likewise.
16975 (tst-swscanf-ENV): Likewise.
16976 (test-vfprintf-ENV): Likewise.
16977 (scanf13-ENV): Likewise.
16978 (bug14-ENV): Likewise.
16979 (tst-grouping-ENV): Likewise.
16980 * stdlib/Makefile (tst-strtod-ENV): Likewise.
16981 (tst-strtod3-ENV): Likewise.
16982 (tst-strtod4-ENV): Likewise.
16983 (tst-strtod5-ENV): Likewise.
16984 (testmb2-ENV): Likewise./
16985 * string/Makefile (tst-strxfrm-ENV): Likewise.
16986 (tst-strxfrm2-ENV): Likewise.
16987 (bug-strcoll1-ENV): Likewise.
16988 (test-strcasecmp-ENV): Likewise.
16989 (test-strncasecmp-ENV): Likewise.
16990 * time/Makefile (tst-strptime-ENV): Likewise.
16991 (tst-ftime_l-ENV): Likewise.
16992 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16993 (tst-mbrtowc-ENV): Likewise.
16994 (tst-wcrtomb-ENV): Likewise.
16995 (tst-mbrtowc2-ENV): Likewise.
16996 (tst-c16c32-1-ENV): Likewise.
16997 (tst-mbsnrtowcs-ENV): Likewise.
16999 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17001 * manual/resource.texi (How to get information about the memory
17002 subsystem?): Fix typo.
17003 Reported by Peon de la Parra Ivan <peon@keba.com>
17005 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
17008 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17009 (pthread_spin_lock): Branch out of spin loop to proper location.
17010 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17011 (pthread_spin_lock): Likewise.
17013 * nptl/tst-spin4.c: New test.
17014 * nptl/Makefile (tests): Add tst-spin4.
17016 2014-06-03 Andreas Schwab <schwab@suse.de>
17019 * resolv/res_send.c (send_dg): Reload file descriptor after
17022 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
17024 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17026 2014-06-03 Richard Henderson <rth@redhat.com>
17028 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17029 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17030 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17031 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
17032 in the SAVE_PID block.
17033 (__libc_vfork): New alias.
17034 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17036 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17037 child in registers, not on the stack. Remove RESET_PID conditionals.
17038 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17040 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
17042 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17044 2014-06-03 Wilco <wdijkstr@arm.com>
17046 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17047 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17048 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17049 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17050 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17053 2014-06-03 Wilco <wdijkstr@arm.com>
17055 * sysdeps/aarch64/fpu/math_private.h
17056 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17057 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17058 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17059 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17062 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17064 * crypt/crypt-private.h: Include ufc-crypt.h.
17065 (__b64_from_24bit): Declare extern.
17066 * crypt/crypt_util.c(__b64_from_24bit): New function.
17067 (b64t): New static const variable.
17068 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17069 (b64t): Remove variable.
17070 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17071 * crypt/sha256-crypt.c: Include crypt-private.h.
17072 (b64t): Remove variable.
17073 (__sha256_crypt_r): Remove b64_from_24bit and replace
17074 with __b64_from_24bit.
17075 * crypt/sha512-crypt.c: Likewise.
17077 2014-06-02 Roland McGrath <roland@hack.frob.com>
17079 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17080 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17081 Label the code __libc_vfork rather than __vfork.
17082 [!NOT_IN_libc] (vfork): Define as weak alias.
17083 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17084 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17085 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17087 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17089 * malloc/malloc.c (malloc_info): Fix format specifier for
17092 2014-06-02 Wilco <wdijkstr@arm.com>
17094 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17097 2014-06-02 Wilco <wdijkstr@arm.com>
17100 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17101 Rewrite to reduce FPCR/FPSR accesses.
17103 2014-06-01 David S. Miller <davem@davemloft.net>
17105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17107 2014-05-31 David S. Miller <davem@davemloft.net>
17109 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17110 to occur in round to nearest mode when |x| >= 2.0
17112 2014-05-30 Richard Henderson <rth@twiddle.net>
17114 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17115 (PSEUDO_RET_NOERRNO): Remove.
17116 (ret): Don't redefine.
17117 (ret_NOERRNO): Define in terms of ret.
17118 (ret_ERRVAL): Likewise.
17120 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17121 use of PSEUDO_RET; perform the error check directly.
17123 2014-05-30 Marko Myllynen <myllynen@redhat.com>
17125 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17128 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17130 * malloc/malloc (malloc_info): Fix formatting.
17132 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17133 Roland McGrath <roland@hack.frob.com>
17135 * malloc/malloc (malloc_info): Also print mmapped statistics.
17137 2014-05-30 Roland McGrath <roland@hack.frob.com>
17139 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17140 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17142 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
17144 * malloc/malloc.c (malloc_info): Inline mi_arena.
17146 2014-05-29 Richard Henderson <rth@twiddle.net>
17148 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17149 Remove comma before expanding ASM_ARGS_##nr.
17150 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17151 Make _x0 a strict output; make _x8 a strict input; adjust expansion
17153 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17154 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17155 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17156 (ASM_ARGS_1): Add leading comma.
17158 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17159 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17160 to __errno_location.
17161 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17162 Remove the expected plt for __errno_location.
17164 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17165 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17168 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17169 Always allocate 64 bytes of stack frame. Use ldp/stp to create
17170 it and break it down.
17171 (DOCARGS_0, DOCARGS_1): Do nothing.
17172 (DOCARGS_2): Update to store into the new stack frame.
17173 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17174 (UNDOCARGS_1): Update to restore from the new stack frame.
17175 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17176 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17178 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17179 (SINGLE_THREAD_P): New parameter for result regno.
17180 (PSEUDO): Update to match; use cbz instead of beq.
17182 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17183 Use ENTRY to define the _nocancel entry point. Share the syscall
17184 and syscall error check paths with the cancel path.
17187 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17188 whitespace; tabs before and after asm mnemonics.
17190 2014-05-29 Eric Wong <normalperson@yhbt.net>
17193 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17194 Call fstat64 or stat64 internally, depending on arguments passed.
17195 Replace stat buffer argument with file descriptor argument.
17196 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17197 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17198 Pass fd to __internal_statvfs instead of calling fstat64.
17199 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17200 Pass fd to __internal_statvfs64 instead of calling fstat64.
17201 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17202 Pass -1 to __internal_statvfs instead of calling stat64.
17203 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17204 Pass -1 to __internal_statvfs64 instead of calling stat64.
17206 2014-05-28 Roland McGrath <roland@hack.frob.com>
17208 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17209 that was previously under [RESET_PID].
17210 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17212 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17213 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17215 2014-05-27 Roland McGrath <roland@hack.frob.com>
17217 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17219 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17220 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17222 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
17224 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17226 2014-05-27 Andreas Schwab <schwab@suse.de>
17228 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17230 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17231 * elf/rtld.c (init_tls, dl_main): Likewise.
17232 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17233 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17234 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17235 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17236 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17237 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17238 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17239 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17240 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17241 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17242 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17243 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17244 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17245 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17246 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17247 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17248 * sysdeps/generic/tls.h: Update description.
17250 2014-05-27 Will Newton <will.newton@linaro.org>
17253 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17254 and restore r2 rather than just restoring.
17256 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17259 * libio/tst-ftell-append.c: New test case.
17260 * libio/Makefile (tests): Add test case.
17261 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17263 * libio/wfileops.c (do_ftell_wide): Likewise.
17265 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17269 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17273 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17274 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17275 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17276 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17277 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17278 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17279 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17282 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17285 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17286 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17287 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17288 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17289 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17291 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17292 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17294 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17296 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17298 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17299 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17300 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17302 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17303 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17304 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17305 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17307 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17310 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17313 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17316 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17320 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17323 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17328 conditional [RESET_PID].
17329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17330 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17332 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17337 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17338 (__libc_vfork): New strong alias.
17339 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17341 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17346 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17347 (__libc_vfork): New strong alias.
17348 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17350 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17353 2014-05-26 Carlos O'Donell <carlos@redhat.com>
17355 * malloc/malloc.c (mi_arena): New function.
17356 (malloc_info): Remove nested function mi_arena. Call non-nosted
17359 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17361 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17363 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17364 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17365 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17366 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17367 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17368 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17369 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17371 2014-05-26 Andreas Schwab <schwab@suse.de>
17374 * locale/programs/repertoire.c (repertoire_read): Add slash
17375 between I18NPATH element and file name.
17376 * locale/programs/locfile.c (locfile_read): Likewise.
17378 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17380 * nptl/pthread_mutexattr_settype.c
17381 (__pthread_mutexattr_settype):
17382 Disable lock elision for PTHREAD_MUTEX_NORMAL.
17384 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17386 * nptl/tst-mutex5 (do_test):
17387 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17389 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17391 * benchtests/README: Document 'init' directive.
17392 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17394 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17395 (parse_file): Recognize 'init' directive.
17397 2014-05-26 Kyle McMartin <kyle@redhat.com>
17400 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17401 alignment of struct pthread.
17403 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17406 * nscd/netgroupcache.c (addgetnetgrentX): Look for
17407 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17408 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17409 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17411 2014-05-25 Richard Henderson <rth@twiddle.net>
17413 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17414 (SINGLE_THREAD_P_PIC): Remove.
17415 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17416 (SINGLE_THREAD_P_PIC): Remove.
17418 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17419 branch to syscall error ...
17420 (PSEUDO): ... here.
17421 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17422 from __local_syscall_error to .Lsyscall_error.
17423 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17424 (SYSCALL_ERROR): Update label name.
17426 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17427 Do not use DOARGS/UNDOARGS.
17428 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17429 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17430 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17431 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17432 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17434 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17437 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17438 define if !NOT_IN_libc.
17439 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17440 define with non-default symbol versions.
17442 2014-05-23 Richard Henderson <rth@twiddle.net>
17444 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17445 (vfork, __vfork): Define via compat_symbol.
17447 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17448 [!HAVE_IFUNC] (vfork_compat): Remove.
17449 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17451 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17454 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17455 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17458 2014-05-23 Richard Henderson <rth@twiddle.net>
17460 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17461 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17462 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17463 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17465 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17466 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17467 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17468 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17469 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17470 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17471 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17472 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17473 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17474 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17475 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17476 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17477 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17478 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17479 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17480 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17481 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17482 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17483 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17484 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17485 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17486 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17487 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17488 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17489 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17490 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17491 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17492 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17493 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17494 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17495 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17496 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17497 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17498 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17499 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17500 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17501 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17502 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17503 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17504 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17505 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17506 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17507 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17508 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17509 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17510 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17511 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17512 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17513 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17514 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17515 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17516 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17517 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17518 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17519 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17520 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17522 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17523 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17524 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
17525 before exiting on error.
17526 (__libc_vfork): New strong alias.
17527 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17528 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17530 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17531 that was previously under [RESET_PID].
17532 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17534 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17536 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17539 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17540 value when x - 1 is zero.
17541 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17542 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17543 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17544 0.0L for an argument of 1.0L.
17545 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17547 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17548 value when x - 1 is zero.
17549 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17550 * sysdeps/i386/fpu/libm-test-ulps: Update.
17551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17553 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
17555 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17556 alphasort and versionsort.
17558 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17560 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17562 [copysignf]: Likewise.
17564 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17566 * crypt/md5-crypt.c: Fix formatting.
17568 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17570 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17571 (b64_from_24bit): New function.
17573 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17575 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17576 libc_hidden_builtin_def to ifunc.
17577 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17578 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17580 2014-05-21 Roland McGrath <roland@hack.frob.com>
17582 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17583 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17585 2014-05-21 Joseph Myers <joseph@codesourcery.com>
17587 * nscd/Depend (linuxthreads): Remove.
17589 * resolv/Depend (linuxthreads): Remove.
17590 * rt/Depend (linuxthreads): Remove.
17592 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17593 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17594 $(common-objpfx)elf/.
17595 (link-libc-before-gnulib): Likewise.
17596 (elfobjdir): Remove variable.
17597 * Makefile (install): Use $(elf-objpfx) instead of
17598 $(common-objpfx)elf/.
17599 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17601 (link-libc-deps): Likewise.
17602 ($(common-objpfx)libc.so): Likewise.
17603 ($(common-objpfx)linkobj/libc.so): Likewise.
17604 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17605 instead of $(common-objpfx)elf/.
17606 (symbolic-link-list): Likewise.
17607 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17608 [$(cross-compiling) = no]: Likewise.
17609 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17611 (static-gnulib-arch): Likewise.
17612 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17613 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17614 $(common-objpfx)elf/.
17616 2014-05-21 Richard Henderson <rth@redhat.com>
17618 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17619 (SINGLE_THREAD_P): Use the correct width load. Fold
17620 into the ldr offset.
17622 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17623 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17625 2014-05-20 Joseph Myers <joseph@codesourcery.com>
17627 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17628 (libgcc_s_resume): Use __attribute_used__.
17629 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17632 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17634 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17635 optimization when used with float constants.
17637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17639 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
17642 * locale/nl_langinfo_l.c: Make direct reference to every
17643 _nl_current_CATEGORY symbol.
17644 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17645 (tests-static): Add tst-langinfo-static.
17646 (tests-special): Add tst-langinfo-static.out.
17647 ($(objpfx)tst-langinfo.out): Redirect output.
17648 ($(objpfx)tst-langinfo-static.out): New.
17649 * localedata/tst-langinfo.sh: Send output to stdout.
17650 * localedata/tst-langinfo-static.c: New file.
17653 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17654 when the shift amount is modulo the limb size.
17656 2014-05-20 Richard Henderson <rth@redhat.com>
17659 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17660 Change type of sa_flags from unsigned int to int.
17663 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17665 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17667 2014-05-20 Will Newton <will.newton@linaro.org>
17669 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17670 Test the return value of the system call in the nocancel case.
17672 2014-05-20 Will Newton <will.newton@linaro.org>
17673 Yvan Roux <yvan.roux@linaro.org>
17675 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17676 #include of asm/ptrace.h.
17677 (PTRACE_GET_THREAD_AREA): Remove #undef.
17678 (PTRACE_GETHBPREGS): Likewise.
17679 (PTRACE_SETHBPREGS): Likewise.
17680 (struct user_regs_struct): New structure.
17681 (struct user_fpsimd_struct): New structure.
17682 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17683 #include of asm/ptrace.h and second #include of sys/user.h.
17684 (PTRACE_GET_THREAD_AREA): Remove #undef.
17685 (PTRACE_GETHBPREGS): Likewise.
17686 (PTRACE_SETHBPREGS): Likewise.
17687 (ELF_NGREG): Use new struct user_regs_struct.
17688 (elf_fpregset_t): Use new struct user_fpsimd_struct.
17690 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17692 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17693 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17695 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17698 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17699 membar to avoid block loads/stores to overlap previous stores.
17701 2014-05-17 Richard Henderson <rth@redhat.com>
17703 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17704 Create the __##syscall_name##_nocancel entry point.
17705 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17706 Remove; let the sysdep-cancel.h code create it.
17708 2014-05-17 David S. Miller <davem@davemloft.net>
17710 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17711 Protect with __USE_GNU.
17712 (TIOCSET_TEMPT): Likewise.
17713 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17714 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17715 these are already provided in bits/ioctl-types.h
17717 2014-05-16 Roland McGrath <roland@hack.frob.com>
17719 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17720 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17722 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17723 Use wait4 regardless of [__NR_waitpid].
17725 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17728 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17729 (_FP_NANSIGN_Q): Set the quiet bit.
17731 2014-05-16 Joseph Myers <joseph@codesourcery.com>
17733 * benchtests/Makefile
17734 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17735 not $(common-objpfx)math/libm.so.
17736 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17737 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17738 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17739 $(common-objpfx)dlfcn/libdl.so.
17740 ($(objpfx)tst-audit8): Depend on $(libm), not
17741 $(common-objpfx)math/libm.so.
17742 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17743 not $(common-objpfx)dlfcn/libdl.so.
17745 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17746 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
17747 [$(build-shared) = yes].
17748 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17749 $(common-objpfx)nptl/libpthread.so.
17750 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17751 $(common-objpfx)math/libm.so$(libm.so-version) or
17752 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17753 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17754 $(common-objpfx)dlfcn/libdl.so.
17755 * setjmp/Makefile (link-libm): Remove variable.
17756 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17757 * stdio-common/Makefile (link-libm): Remove variable.
17758 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17759 * stdlib/Makefile (link-libm): Remove variable.
17760 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17761 ($(objpfx)tst-strtod-round): Likewise.
17762 ($(objpfx)tst-tininess): Likewise.
17763 ($(objpfx)tst-strtod-underflow): Likewise.
17764 ($(objpfx)tst-strtod6): Likewise.
17765 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17766 $(libdl), not $(common-objpfx)nptl/libpthread.so and
17767 $(common-objpfx)dlfcn/libdl.so.
17769 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17771 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17772 BSD terminal modes definitions.
17774 2014-05-16 Roland McGrath <roland@hack.frob.com>
17776 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17777 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17779 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17780 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17781 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17782 Don't do #include_next.
17783 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17784 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17785 Don't do #include_next.
17786 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17787 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17788 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17789 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17791 2014-05-16 Allan McRae <allan@archlinux.org>
17793 * po/sv.po: Update Swedish translation from translation project.
17795 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17798 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
17801 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17802 errno if the TIOCGPTN ioctl fails with an error different than
17804 * login/tst-ptsname.c: New file.
17805 * login/Makefile (tests): Add tst-ptsname.
17808 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17811 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17815 herrno to return EAI_AGAIN.
17817 2014-05-14 Roland McGrath <roland@hack.frob.com>
17819 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17820 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17821 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17822 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17823 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17824 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17825 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17826 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17827 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17828 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17829 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17830 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17831 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17832 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17833 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17834 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17835 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17836 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17837 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17838 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17839 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17840 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17841 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17842 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17843 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17844 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17845 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17846 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17847 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17848 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17850 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17852 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17855 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17857 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17859 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17861 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17863 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17865 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17867 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17869 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17871 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17873 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17875 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17877 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17879 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17881 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17884 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17886 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17888 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17890 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17892 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17894 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17896 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17898 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17900 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17902 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17905 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17907 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17909 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17910 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17911 (libpthread-sysdep_routines): Add elision-related stuff here instead.
17912 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17913 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17914 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17915 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17916 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17917 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17918 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17919 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17920 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17921 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17922 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17923 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17924 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17925 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17926 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17927 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17928 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17929 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17930 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17931 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17932 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17933 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17934 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17935 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17936 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17937 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17938 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17939 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17941 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17942 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17944 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17945 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17946 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17947 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17948 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17949 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17951 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17952 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17954 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17955 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17957 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17958 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17960 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17961 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17962 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17963 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17965 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17966 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17967 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17968 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17969 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17970 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17971 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17972 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17974 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17975 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17977 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17979 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17980 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17981 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17982 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17983 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17985 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17987 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17989 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17990 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17991 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17992 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17993 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17994 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17996 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17997 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17999 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18000 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18002 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18003 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18005 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18006 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18007 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18008 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18010 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18011 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18012 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18013 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18014 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18015 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18016 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18017 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18019 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18020 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18022 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18024 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18025 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18026 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18027 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18028 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18030 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18032 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18034 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18035 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18036 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18037 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18038 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18039 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18040 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18041 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18042 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18043 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18045 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18046 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18048 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18049 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18051 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18052 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18054 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18055 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18056 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18057 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18058 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18059 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18061 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18062 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18063 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18064 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18065 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18066 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18067 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18068 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18070 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18071 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18073 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18075 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18076 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18077 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18078 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18079 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18081 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18083 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18085 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18086 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18087 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18088 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18089 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18090 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18091 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18092 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18093 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18094 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18095 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18097 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18098 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18100 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18101 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18103 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18104 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18105 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18106 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18107 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18108 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18109 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18110 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18111 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18112 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18113 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18114 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18115 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18116 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18117 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18118 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18119 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18120 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18122 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18123 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18124 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18125 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18127 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18128 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18129 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18130 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18131 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18132 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18133 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18134 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18136 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18137 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18139 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18140 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18141 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18142 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18143 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18144 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18145 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18146 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18147 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18148 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18149 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18150 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18151 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18152 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18153 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18154 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18155 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18157 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18158 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18159 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18160 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18161 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18163 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18164 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18165 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18166 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18167 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18168 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18169 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18170 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18171 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18172 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18174 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18175 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18177 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18178 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18179 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18180 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18181 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18182 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18183 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18184 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18185 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18186 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18187 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18188 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18189 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18190 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18191 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18193 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18195 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18197 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18199 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18201 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18203 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18205 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18207 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18209 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18211 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18212 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18213 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18214 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18215 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18216 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18217 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18218 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18219 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18220 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18221 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18222 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18223 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18224 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
18225 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
18227 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18228 that was previously under [RESET_PID].
18229 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18230 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18231 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18233 * sysdeps/i386/nptl/Implies: New file.
18234 * sysdeps/x86_64/nptl/Implies: New file.
18235 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18236 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18237 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18238 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18240 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18241 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18242 (__libc_vfork): New strong alias.
18243 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18244 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18246 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18247 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18248 (__libc_vfork): New strong alias.
18249 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18250 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18252 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18253 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18254 (__libc_vfork): New strong alias.
18255 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18256 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18257 * nptl/pt-vfork.c: New file.
18258 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18259 (libpthread: GLIBC_2.20): New version set (empty).
18261 2014-05-14 Will Newton <will.newton@linaro.org>
18263 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18266 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18269 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18270 arguments with exponent 65 or above.
18271 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18272 arguments 0x1p113L or above.
18273 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18274 to arguments 0x1p107L or above.
18275 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18276 positive arguments with exponent 65 or above.
18277 * math/auto-libm-test-in: Add more tests of log1p.
18278 * math/auto-libm-test-out: Regenerated.
18281 * math/s_cacos.c (__cacos): Ensure zero real part of result from
18282 non-finite arguments is +0.
18283 * math/s_cacosf.c (__cacosf): Likewise.
18284 * math/s_cacosl.c (__cacosl): Likewise.
18285 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18286 * sysdeps/i386/fpu/libm-test-ulps: Update.
18287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18290 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18292 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18293 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18294 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18295 for explicit high bit of mantissa when testing for argument equal
18297 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18298 * sysdeps/i386/fpu/libm-test-ulps: Update.
18299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18302 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18303 (__erf): Scale by 16 instead of 8 in potentially underflowing
18304 case. Ensure exception if result actually underflows.
18305 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18306 (__erff): Scale by 16 instead of 8 in potentially underflowing
18307 case. Ensure exception if result actually underflows.
18308 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18309 (efx8): Remove variable.
18310 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18311 case. Ensure exception if result actually underflows.
18312 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18313 (efx8): Remove variable.
18314 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18315 case. Ensure exception if result actually underflows.
18316 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18317 (efx8): Remove variable.
18318 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18319 case. Ensure exception if result actually underflows.
18320 * math/auto-libm-test-in: Add more tests of erf.
18321 * math/auto-libm-test-out: Regenerated.
18323 2014-05-14 Andreas Schwab <schwab@suse.de>
18325 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18326 Remove code conditionalized on USE___THREAD.
18328 * config.h.in (HAVE_PT_CHOWN): Define as 0.
18329 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18332 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18334 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18335 Define unconditionally.
18336 (__ASSUME_O_CLOEXEC): Likewise.
18337 (__ASSUME_SOCK_CLOEXEC): Likewise.
18338 (__ASSUME_IN_NONBLOCK): Likewise.
18339 (__ASSUME_PIPE2): Likewise.
18340 (__ASSUME_EVENTFD2): Likewise.
18341 (__ASSUME_SIGNALFD4): Likewise.
18342 (__ASSUME_DUP3): Likewise.
18343 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18344 (__ASSUME_DUP3): Do not define.
18345 (__ASSUME_EVENTFD2): Likewise.
18346 (__ASSUME_IN_NONBLOCK): Likewise.
18347 (__ASSUME_O_CLOEXEC): Likewise.
18348 (__ASSUME_PIPE2): Likewise.
18349 (__ASSUME_SIGNALFD4): Likewise.
18350 (__ASSUME_SOCK_CLOEXEC): Likewise.
18351 (__ASSUME_UTIMES): Undefine.
18352 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18353 (__ASSUME_UTIMES): Do not define.
18354 (__ASSUME_O_CLOEXEC): Likewise.
18355 (__ASSUME_SOCK_CLOEXEC): Likewise.
18356 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18357 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18359 (__ASSUME_PIPE2): Likewise.
18360 (__ASSUME_EVENTFD2): Likewise.
18361 (__ASSUME_SIGNALFD4): Likewise.
18362 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18363 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18365 (__ASSUME_EVENTFD2): Likewise.
18366 (__ASSUME_SIGNALFD4): Likewise.
18367 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18368 (__ASSUME_32BITUIDS): Likewise.
18369 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18370 (__ASSUME_IPC64): Likewise.
18371 (__ASSUME_ST_INO_64_BIT): Likewise.
18372 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18373 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18374 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18375 (__ASSUME_UTIMES): Do not define.
18376 (__ASSUME_PSELECT): Likewise.
18377 (__ASSUME_PPOLL): Likewise.
18378 (__ASSUME_O_CLOEXEC): Likewise.
18379 (__ASSUME_SOCK_CLOEXEC): Likewise.
18380 (__ASSUME_IN_NONBLOCK): Likewise.
18381 (__ASSUME_PIPE2): Likewise.
18382 (__ASSUME_EVENTFD2): Likewise.
18383 (__ASSUME_SIGNALFD4): Likewise.
18384 (__ASSUME_DUP3): Likewise.
18385 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18386 (__ASSUME_UTIMES): Likewise.
18387 (__ASSUME_O_CLOEXEC): Likewise.
18388 (__ASSUME_SOCK_CLOEXEC): Likewise.
18389 (__ASSUME_IN_NONBLOCK): Likewise.
18390 (__ASSUME_PIPE2): Likewise.
18391 (__ASSUME_EVENTFD2): Likewise.
18392 (__ASSUME_SIGNALFD4): Likewise.
18393 (__ASSUME_DUP3): Likewise.
18394 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18395 (__ASSUME_UTIMES): Likewise.
18396 (__ASSUME_O_CLOEXEC): Likewise.
18397 (__ASSUME_SOCK_CLOEXEC): Likewise.
18398 (__ASSUME_IN_NONBLOCK): Likewise.
18399 (__ASSUME_PIPE2): Likewise.
18400 (__ASSUME_EVENTFD2): Likewise.
18401 (__ASSUME_SIGNALFD4): Likewise.
18402 (__ASSUME_DUP3): Likewise.
18403 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18405 (__ASSUME_UTIMES): Likewise.
18406 (__ASSUME_EVENTFD2): Likewise.
18407 (__ASSUME_SIGNALFD4): Likewise.
18408 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18409 (__ASSUME_O_CLOEXEC): Likewise.
18410 (__ASSUME_SOCK_CLOEXEC): Likewise.
18411 (__ASSUME_IN_NONBLOCK): Likewise.
18412 (__ASSUME_PIPE2): Likewise.
18413 (__ASSUME_EVENTFD2): Likewise.
18414 (__ASSUME_SIGNALFD4): Likewise.
18415 (__ASSUME_DUP3): Likewise.
18416 (__ASSUME_UTIMES): Undefine.
18418 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18419 feclearexcept. Remove symbol versioning code.
18420 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
18421 symbol versioning code.
18422 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
18423 symbol versioning code.
18424 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18425 feupdateenv. Remove symbol versioning code.
18426 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18427 fegetexceptflag. Remove symbol versioning code.
18428 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18429 fesetexceptflag. Remove symbol versioning code.
18430 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18431 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
18432 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18433 (__posix_fadvise64_l32): Remove prototype.
18434 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18437 2014-05-13 Roland McGrath <roland@hack.frob.com>
18439 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18440 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18441 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18442 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18444 2014-05-13 Sami Kerola <kerolasa@iki.fi>
18446 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18447 current working directory
18449 2014-05-13 Roland McGrath <roland@hack.frob.com>
18451 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18452 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18453 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18454 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18455 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18456 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18457 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18458 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18459 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18460 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18461 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18462 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18463 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18464 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18465 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18466 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18467 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18468 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18469 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18470 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18471 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18472 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18473 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18474 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18475 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18476 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18477 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18478 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18479 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18480 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18481 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18482 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18483 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18484 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18485 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18486 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18487 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18488 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18489 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18490 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18491 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18492 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18494 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18495 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18497 * sysdeps/unix/sysv/linux/arm/Makefile
18498 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18499 Add rt-aeabi_unwind_cpp_pr1.
18500 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18501 Add nptl-aeabi_unwind_cpp_pr1.
18502 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18503 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18504 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18505 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18506 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18507 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18509 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18510 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18511 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18512 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18514 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18515 Deconditionalize the code that was previously under [RESET_PID].
18516 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18518 * sysdeps/generic/exit-thread.h: New file.
18519 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18520 * include/unistd.h (__exit_thread): Remove declaration.
18521 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18522 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18523 * csu/libc-start.c: Include <exit-thread.h>.
18524 (LIBC_START_MAIN): Pass no argument to __exit_thread.
18525 * nptl/pthread_create.c: Include <exit-thread.h>.
18526 (start_thread): Call __exit_thread in place of __exit_thread_inline.
18527 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18528 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18529 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18530 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18531 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18532 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18533 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18534 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18535 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18536 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18537 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18538 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18539 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18540 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18541 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18542 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18544 2014-05-13 Andreas Schwab <schwab@suse.de>
18546 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18548 2014-05-12 Joseph Myers <joseph@codesourcery.com>
18550 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18551 (__ASSUME_UTIMES): Do not condition on kernel version.
18552 (__ASSUME_PSELECT): Define unconditionally.
18553 (__ASSUME_PPOLL): Likewise.
18554 (__ASSUME_ATFCTS): Likewise.
18555 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18556 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18557 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18558 (__ASSUME_UTIMENSAT): Define unconditionally.
18559 (__ASSUME_PRIVATE_FUTEX): Likewise.
18560 (__ASSUME_FALLOCATE): Likewise.
18561 (__ASSUME_O_CLOEXEC): Likewise.
18562 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18563 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18564 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18565 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18566 (__ASSUME_IN_NONBLOCK): Likewise.
18567 (__ASSUME_PIPE2): Likewise.
18568 (__ASSUME_EVENTFD2): Likewise.
18569 (__ASSUME_SIGNALFD4): Likewise.
18570 (__ASSUME_DUP3): Likewise.
18571 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18572 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18573 (__ASSUME_AT_RANDOM): Likewise.
18574 (__ASSUME_PREADV): Likewise.
18575 (__ASSUME_PWRITEV): Likewise.
18576 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18577 (__ASSUME_F_GETOWN_EX): Define unconditionally.
18578 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18579 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18580 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18581 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18582 (__ASSUME_O_CLOEXEC): Define unconditionally.
18583 (__ASSUME_PSELECT): Do not undefine conditionally.
18584 (__ASSUME_PPOLL): Likewise.
18585 (__ASSUME_ATFCTS): Likewise.
18586 (__ASSUME_SET_ROBUST_LIST): Likewise.
18587 (__ASSUME_UTIMENSAT): Likewise.
18588 (__ASSUME_FDATASYNC): Define unconditionally.
18589 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18590 (__ASSUME_SIGFRAME_V2): Likewise.
18591 )__ASSUME_EVENTFD2): Likewise.
18592 (__ASSUME_SIGNALFD4): Likewise.
18593 (__ASSUME_PSELECT): Do not undefine conditionally.
18594 (__ASSUME_PPOLL): Likewise.
18595 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18596 (__ASSUME_PSELECT): Define unconditionally.
18597 (__ASSUME_PPOLL): Likewise.
18598 (__ASSUME_O_CLOEXEC): Likewise.
18599 (__ASSUME_SOCK_CLOEXEC): Likewise.
18600 (__ASSUME_IN_NONBLOCK): Likewise.
18601 (__ASSUME_PIPE2): Likewise.
18602 (__ASSUME_EVENTFD2): Likewise.
18603 (__ASSUME_SIGNALFD4): Likewise.
18604 (__ASSUME_DUP3): Likewise.
18605 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18606 (__ASSUME_O_CLOEXEC): Likewise.
18607 (__ASSUME_SOCK_CLOEXEC): Likewise.
18608 (__ASSUME_IN_NONBLOCK): Likewise.
18609 (__ASSUME_PIPE2): Likewise.
18610 (__ASSUME_EVENTFD2): Likewise.
18611 (__ASSUME_SIGNALFD4): Likewise.
18612 (__ASSUME_DUP3): Likewise.
18613 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18614 (__ASSUME_EVENTFD2): Likewise.
18615 (__ASSUME_SIGNALFD4): Likewise.
18616 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18618 2014-05-12 Andreas Schwab <schwab@suse.de>
18621 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18622 (_nss_nis_gethostbyname4_r): Return error if item length is larger
18623 than maximum RPC packet size.
18624 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18625 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18626 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18627 (_nss_nis_getservbyport_r): Likewise.
18629 2014-05-12 Will Newton <will.newton@linaro.org>
18631 * malloc/Makefile (tests): Add tst-mallopt.
18632 * malloc/tst-mallopt.c: New file.
18634 2014-05-09 Roland McGrath <roland@hack.frob.com>
18636 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18637 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18639 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18641 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18642 (tst-tlsmod6.so): Likewise.
18644 2014-05-09 Roland McGrath <roland@hack.frob.com>
18646 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18648 2014-05-09 Joseph Myers <joseph@codesourcery.com>
18651 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18652 and <dl-procinfo.h>.
18653 (__fegetenv): Save SSE state in envp->__eip if supported.
18654 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18655 envp->__eip if supported.
18656 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18657 and <dl-procinfo.h>.
18658 (__fesetenv): Always set __eip, __cs_selector, __opcode,
18659 __data_offset and __data_selector in environment to 0. Set SSE
18660 state if supported.
18661 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18663 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18665 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18667 2014-05-09 Will Newton <will.newton@linaro.org>
18669 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18670 and libc_relro_required for ARM.
18671 * sysdeps/arm/preconfigure: Regenerate.
18673 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
18674 Stefan Liebler <stli@linux.vnet.ibm.com>
18676 * config.make.in (enable-lock-elision): New Makefile variable.
18677 * configure.ac: Likewise.
18678 * configure: Regenerate.
18679 * sysdeps/s390/configure.ac:
18680 Add check for gcc transactions support.
18681 * sysdeps/s390/configure: Regenerate.
18682 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18683 Build elision files if enabled.
18684 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18685 Add lock elision support for s390.
18686 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18687 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18688 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18689 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18690 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18691 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18692 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18694 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18696 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18698 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18700 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18701 (__lll_timedlock_elision, __lll_lock_elision)
18702 (__lll_unlock_elision, __lll_trylock_elision)
18703 (lll_timedlock_elision, lll_lock_elision)
18704 (lll_unlock_elision, lll_trylock_elision): Add.
18705 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18706 (pthread_mutex_t): Add lock elision support for s390.
18708 2014-05-14 Wilco <wdijkstr@arm.com>
18710 * sysdeps/arm/fclrexcpt.c: Cleanup.
18711 * sysdeps/arm/fedisblxcpt.c: Cleanup.
18712 * sysdeps/arm/feenablxcpt.c: Cleanup.
18713 * sysdeps/arm/fegetenv.c: Cleanup.
18714 * sysdeps/arm/fegetexcept.c: Cleanup.
18715 * sysdeps/arm/fegetround.c: Cleanup.
18716 * sysdeps/arm/feholdexcpt.c: Cleanup.
18717 * sysdeps/arm/fesetenv.c: Cleanup.
18718 * sysdeps/arm/fesetround.c: Cleanup.
18719 * sysdeps/arm/feupdateenv.c: Cleanup.
18720 * sysdeps/arm/fgetexcptflg.c: Cleanup.
18721 * sysdeps/arm/fraiseexcpt.c: Cleanup.
18722 * sysdeps/arm/fsetexcptflg.c: Cleanup.
18723 * sysdeps/arm/ftestexcept.c: Cleanup.
18724 * sysdeps/arm/get-rounding-mode.h: Cleanup.
18725 * sysdeps/arm/setfpucw.c: Cleanup.
18727 2014-05-09 Will Newton <will.newton@linaro.org>
18729 * sysdeps/arm/armv7/strcmp.S: New file.
18730 * NEWS: Mention addition of ARMv7 optimized strcmp.
18732 2014-05-08 Roland McGrath <roland@hack.frob.com>
18734 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18735 look for %.ac rather than %.in.
18737 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18738 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18739 * sysdeps/mach/hurd/configure: Regenerated.
18740 * sysdeps/unix/sysv/linux/configure: Regenerated.
18742 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18744 2014-05-07 Steve Ellcey <sellcey@mips.com>
18747 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18751 2014-05-07 Andreas Schwab <schwab@suse.de>
18753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18754 when skipping over non-matching result from nscd.
18756 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
18759 * nptl/sockperf.c (client): Check socket return value.
18762 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18763 nscd security class.
18765 2014-05-06 Roland McGrath <roland@hack.frob.com>
18767 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18768 * sysdeps/arm/unwind.h: ... here.
18770 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
18773 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18776 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18778 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18779 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18780 multiarch strncpy for PPC64.
18781 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18782 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18784 multiarch optimizations.
18785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18786 (__libc_ifunc_impl_list): Likewise.
18787 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18788 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18789 multiarch stpncpy for PPC64.
18790 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18791 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18793 2014-05-06 Andreas Schwab <schwab@suse.de>
18796 * gmon/mcount.c (_MCOUNT_DECL): Use
18797 atomic_compare_and_exchange_bool_acq instead of
18798 catomic_compare_and_exchange_bool_acq.
18800 2014-05-05 Roland McGrath <roland@hack.frob.com>
18802 * elf/Makefile (others, install-bin): Remove pldd.
18803 (pldd-modules): Variable removed.
18804 ($(objpfx)pldd): Target removed.
18805 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18806 (others, install-bin): Append pldd here.
18807 ($(objpfx)pldd): New target.
18809 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18810 to 0, so the first #if test emitted later doesn't see it undefined.
18811 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18812 * sysdeps/gnu/errlist.c: Regenerated.
18814 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18816 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18817 [libc_hidden_builtin_def]: Define to empty value.
18818 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18819 [libc_hidden_builtin_def]: Likewise.
18820 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18821 [libc_hidden_builtin_def]: Likewise.
18822 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18823 [libc_hidden_builtin_def]: Likewise.
18824 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18825 __redirect_memcpy and define ifunc as default hidden symbol.
18826 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18827 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18829 2014-05-04 Adam Conrad <adconrad@0c3.net>
18831 * locale/iso-4217.def: Reintroduce XDR currency.
18833 2014-05-04 Allan McRae <allan@archlinux.org>
18835 * po/eo.po: Update Esperanto translation from translation project.
18837 2014-05-02 Carlos O'Donell <carlos@redhat.com>
18839 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18840 and FEATURE_INDEX_MAX to 1.
18841 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18843 2014-05-01 Steve Ellcey <sellcey@mips.com>
18845 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18846 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18847 * iconvdata/big5.c (ONE_DIRECTION): Define.
18848 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18849 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18850 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18851 * iconvdata/cp932.c (ONE_DIRECTION): Define.
18852 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18853 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18854 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18855 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18856 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18857 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18858 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18859 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18860 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18861 * iconvdata/gbk.c (ONE_DIRECTION): Define.
18862 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18863 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18864 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18865 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18866 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18867 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18868 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18869 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18870 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18871 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18872 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18873 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18874 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18875 * iconvdata/iso646.c (ONE_DIRECTION): Define.
18876 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18877 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18878 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18879 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18880 * iconvdata/johab.c (ONE_DIRECTION): Define.
18881 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18882 * iconvdata/sjis.c (ONE_DIRECTION): Define.
18883 * iconvdata/t.61.c (ONE_DIRECTION): Define.
18884 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18885 * iconvdata/tscii.c (ONE_DIRECTION): Define.
18886 * iconvdata/uhc.c (ONE_DIRECTION): Define.
18887 * iconvdata/unicode.c (ONE_DIRECTION): Define.
18888 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18889 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18890 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18892 2014-05-01 Roland McGrath <roland@hack.frob.com>
18894 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18895 (_IO_JUMPS_OFFSET): Define to 0.
18897 * nptl/sysdeps/pthread/bits/libc-lock.h
18898 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18899 (__libc_lock_define_initialized_recursive): Always define using
18900 initializer. Modern compilers treat uninitialized (implicit zero) and
18901 explicit zero initializers the same (i.e. put the datum in bss).
18903 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18905 * nscd/nscd-client.h: Include <string.h>.
18907 2014-05-01 David S. Miller <davem@davemloft.net>
18910 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18911 multiple zero bytes exist at the end of a string.
18912 Reported by Aurelien Jarno <aurelien@aurel32.net>
18914 * string/test-strcmp.c (check): Add explicit test for situations where
18915 there are multiple zero bytes after the first.
18917 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18920 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18921 when compiling wprintf.
18922 * stdio-common/tstdiomisc.c (t3): New function.
18925 2014-05-01 Steve Ellcey <sellcey@mips.com>
18927 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18928 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18929 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18930 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18932 2014-05-01 Steve Ellcey <sellcey@mips.com>
18934 * stdlib/longlong.h: Updated from GCC.
18936 2014-05-01 Will Newton <will.newton@linaro.org>
18937 Bernard Ogden <bernie.ogden@linaro.org>
18939 * NEWS: Update fixed bug list.
18942 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18944 2014-04-30 David S. Miller <davem@davemloft.net>
18946 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18947 (libc_feholdexcept_setround_sparc_ctx): New function.
18948 (libc_fesetenv_sparc_ctx): Likewise.
18949 (libc_feupdateenv_sparc_ctx): Likewise.
18950 (libc_feholdsetround_sparc_ctx): Likewise.
18951 (libc_feholdexcept_setround_ctx): Define.
18952 (libc_feholdexcept_setroundf_ctx): Likewise.
18953 (libc_feholdexcept_setroundl_ctx): Likewise.
18954 (libc_fesetenv_ctx): Likewise.
18955 (libc_fesetenvf_ctx): Likewise.
18956 (libc_fesetenvl_ctx): Likewise.
18957 (libc_feupdateenv_ctx): Likewise.
18958 (libc_feupdateenvf_ctx): Likewise.
18959 (libc_feupdateenvl_ctx): Likewise.
18960 (libc_feresetround_ctx): Likewise.
18961 (libc_feresetroundf_ctx): Likewise.
18962 (libc_feresetroundl_ctx): Likewise.
18963 (libc_feholdsetround_ctx): Likewise.
18964 (libc_feholdsetroundf_ctx): Likewise.
18965 (libc_feholdsetroundl_ctx): Likewise.
18967 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18968 with __USE_GNU instead of XOPEN cpp guards.
18970 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18973 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18974 with XOPEN cpp guards.
18976 2014-04-30 Julian Brown <julian@codesourcery.com>
18979 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18982 2014-04-30 Joseph Myers <joseph@codesourcery.com>
18985 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18987 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18988 * sysdeps/unix/sysv/linux/configure: Regenerated.
18989 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18990 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18991 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18992 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18993 * README: Update reference to required Linux kernel version.
18994 * manual/install.texi (Linux): Update reference to required Linux
18995 kernel headers version.
18996 * INSTALL: Regenerated.
18998 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19000 [POSIX] (limits.h): Likewise.
19001 [POSIX] (math.h): Likewise.
19002 [POSIX] (sys/wait.h): Likewise.
19003 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19005 [POSIX] (stddef.h): Do not allow header inclusion.
19007 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19009 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19011 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
19013 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19014 Return immediately after lll_futex_wake.
19016 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19019 * nscd/nscd-client.h (datahead_init_common): Initialize entire
19021 (datahead_init_pos): Call datahead_init_common early.
19022 (datahead_init_neg): Likewise.
19024 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19025 datahead_init_neg): New functions.
19026 * nscd/aicache.c (addhstaiX): Use them.
19027 * nscd/grpcache.c (cache_addgr): Likewise.
19028 * nscd/hstcache.c (cache_addhst): Likewise.
19029 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19030 * nscd/netgroupcache.c (do_notfound): Likewise.
19031 (addgetnetgrentX): Likewise.
19032 (addinnetgrX): Likewise.
19033 * nscd/pwdcache.c (cache_addpw): Likewise.
19034 * nscd/servicescache.c (cache_addserv): Likewise.
19036 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19037 Atsushi Onoe <atsushi@onoe.org>
19042 * resolv/res_query.c (__libc_res_nsearch): Return if at least
19043 one response is valid.
19044 * resolv/res_send.c (send_dg): Check for validity of other
19045 response if the current response is a referral.
19047 2014-04-29 Steve Ellcey <sellcey@mips.com>
19049 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19051 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
19054 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19055 Always divide by positive zero when computing -Inf result.
19056 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19057 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19059 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19061 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19062 FPSCR if value do not change.
19063 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19064 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19065 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19066 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19067 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19068 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19071 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
19073 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19074 * sysdeps/unix/sysv/linux/hppa: Move directory from
19075 ports/systeps/unix/sysv/linux/hppa.
19076 * README: Update listing for hppa-*-linux-gnu.
19078 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
19081 * manual/stdio.texi (Hook functions): Fix types of stream hook
19084 * socket/sys/socket.h: Fix typo in comment.
19086 2014-04-28 Wilco <wdijkstr@arm.com>
19088 * sysdeps/arm/fenv_private.h: New file.
19089 * sysdeps/arm/math_private.h: New file.
19090 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19092 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
19094 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19096 (La_x86_64_retval): Likewise.
19098 2014-04-24 Ian Bolton <ian.bolton@arm.com>
19100 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19101 fpsr if value didn't change.
19102 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19103 to fpcr if value didn't change.
19104 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19105 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19106 fpsr or fpcr if value didn't change.
19107 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19108 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19109 fpcr if value didn't change.
19110 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19111 to fpsr if value didn't change.
19113 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19115 * nptl/tst-sem3.c: Use test-skeleton.c
19116 (main): Rename to do_test. Use return instead of
19118 * nptl/tst-sem4.c: Use test-skeleton.c
19119 (main): Rename to do_test.
19121 2014-04-22 David S. Miller <davem@davemloft.net>
19123 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19124 (struct sigaction): New struct member __glibc_reserved0, change
19125 type of sa_flags to int.
19127 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
19129 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19130 (COUNT_LEADING_ZEROS_0): Define for AArch64.
19132 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19134 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19135 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19137 2014-04-22 Will Newton <will.newton@linaro.org>
19138 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
19140 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19141 (__longjmp): Add longjmp and longjmp_target SystemTap
19143 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19144 (__sigsetjmp): Add setjmp SystemTap probe.
19146 2014-04-17 Carlos O'Donell <carlos@redhat.com>
19148 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19149 match manual order.
19151 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19153 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19155 * sysdeps/powerpc/fpu/fenv_private.h
19156 (libc_feholdexcept_setroundl_ctx): Define to
19157 libc_feholdexcept_setround_ppc_ctx.
19158 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19159 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19160 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19161 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19163 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19165 * sysdeps/aarch64/math-tests.h: New file.
19167 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
19169 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19172 Check and set bit_AVX2_Usable.
19173 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19175 (bit_AVX2): Likewise.
19176 (index_AVX2_Usable): Likewise.
19177 (CPUID_AVX2): Likewise.
19178 (HAS_AVX2): Likewise.
19180 2014-04-17 Will Newton <will.newton@linaro.org>
19182 * manual/setjmp.texi (System V contexts): Add note that
19183 calling setcontext on a context created by a call to a
19184 signal handler is undefined. Update text to note that
19185 setcontext from a signal handler is possible but not
19189 * stdlib/tst-setcontext.c: Include signal.h.
19190 (main): Check that the signal stack before and
19191 after swapcontext is the same.
19193 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19194 Re-implement to restore registers in user code and avoid
19195 rt_sigreturn system call.
19197 2014-04-17 Wilco <wdijkstr@arm.com>
19199 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19200 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19201 * math/test-fenv.c: Skip exception trap tests on targets which only
19202 support non-stop mode.
19204 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19205 Wilco Dijkstra <wilco.dijkstra@arm.com>
19207 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19208 (libc_feholdsetround_aarch64_ctx)
19209 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19210 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19211 (libc_feresetround_ctx, libc_feresetroundf_ctx)
19212 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19213 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19214 (libc_feresetround_noexl_ctx): Define.
19216 2014-04-16 Richard Henderson <rth@redhat.com>
19218 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19220 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19223 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19224 const from the non-libc, non-ldso copy.
19226 * sysdeps/alpha/libm-test-ulps: Regenerate.
19228 2014-04-16 Ian Bolton <ian.bolton@arm.com>
19229 Wilco Dijkstra <wilco.dijkstra@arm.com>
19231 * sysdeps/aarch64/fpu/math_private.h: New file.
19233 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
19235 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19237 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
19240 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19241 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19242 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19243 Intel MPX bound registers before _dl_profile_fixup.
19244 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19245 registers after _dl_profile_fixup. Save and restore bound
19246 registers bnd0/bnd1 when calling _dl_call_pltexit.
19247 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19248 (LR_BND_OFFSET): Likewise.
19249 (LRV_BND0_OFFSET): Likewise.
19250 (LRV_BND1_OFFSET): Likewise.
19252 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19254 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19256 * sysdeps/mach/hurd/i386/tls.h: ... here.
19257 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19258 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19261 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19263 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19265 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19267 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19269 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19272 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19273 * sysdeps/s390/configure: Regenerate.
19276 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19277 Set round-to-nearest internally to reduce error accumulation.
19279 2014-04-16 Alan Modra <amodra@gmail.com>
19283 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19284 * math/libm-test.inc (frexp_test_data): Add tests.
19285 * NEWS: Update fixed bug list.
19287 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19289 * benchtests/Makefile: Depend on libraries in build directory.
19290 (bench-math): Separate out math tests.
19291 (bench-pthread): Separate out pthread tests.
19292 (bench): Include math and pthread tests.
19294 2014-04-14 Carlos O'Donell <carlos@redhat.com>
19297 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19298 _dl_debug_initialize.
19300 * configure.ac: Remove SELinux header check.
19301 * configure: Regenerate.
19302 * nscd/selinux.c (perms): Array of const char* to permission names.
19303 (nscd_request_avc_has_perm): Call security_deny_unknown to find
19304 default policy. Call string_to_security_class and string_to_av_perm to
19305 translate strings. Enforce default policy and call avs_has_perm with
19306 results of translated strings.
19308 2014-04-13 David S. Miller <davem@davemloft.net>
19310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19312 2014-04-12 Allan McRae <allan@archlinux.org>
19315 * manual/string.texi (Collation Functions): Fix qsort argument
19317 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19319 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
19321 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19322 Make the test a no-op if there are no exceptions defined.
19324 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19326 * elf/Makefile (tests): make tst-dlopen-aout conditional on
19327 enable-hardcoded-path-in-tests
19329 2014-04-11 Will Newton <will.newton@linaro.org>
19331 * benchtests/Makefile (extra-objs): Add json-lib.o.
19332 (bench-func): Tidy up JSON output.
19333 * benchtests/bench-skeleton.c: Include json-lib.h.
19334 (main): Use JSON library functions to do output of
19336 * benchtests/bench-timing-type.c (main): Output the
19337 timing type simply, leaving formatting to the user.
19338 * benchtests/json-lib.c: New file.
19339 * benchtests/json-lib.h: Likewise.
19341 2014-04-11 Torvald Riegel <triegel@redhat.com>
19344 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19345 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
19346 memory barriers. Add comments.
19347 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19348 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19349 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19350 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19351 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19352 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19354 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19356 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19357 * sysdeps/s390/s390-64/configure.ac: ... this ...
19358 * sysdeps/s390/configure.ac: ... to here.
19359 * sysdeps/s390/s390-32/configure: Delete file.
19360 * sysdeps/s390/s390-64/configure: Delete file.
19361 * sysdeps/s390/configure: Regenerate.
19363 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
19365 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19367 2014-04-11 Will Newton <will.newton@linaro.org>
19369 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19370 to zero if it is not defined elsewhere. (mtrim): Test
19371 the value of MALLOC_DEBUG with #if rather than #ifdef.
19373 2014-04-10 Torvald Riegel <triegel@redhat.com>
19375 * benchtests/pthread_once-inputs: New file.
19376 * benchtests/pthread_once-source.c: New file.
19377 * benchtests/README: Update documentation.
19379 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
19380 H.J. Lu <hongjiu.lu@intel.com>
19383 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19384 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19385 * sysdeps/x86_64/configure: Regenerated.
19386 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19388 (REGISTER_SAVE_RAX): Likewise.
19389 (REGISTER_SAVE_RCX): Likewise.
19390 (REGISTER_SAVE_RDX): Likewise.
19391 (REGISTER_SAVE_RSI): Likewise.
19392 (REGISTER_SAVE_RDI): Likewise.
19393 (REGISTER_SAVE_R8): Likewise.
19394 (REGISTER_SAVE_R9): Likewise.
19395 (REGISTER_SAVE_BND0): Likewise.
19396 (REGISTER_SAVE_BND1): Likewise.
19397 (REGISTER_SAVE_BND2): Likewise.
19398 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
19399 bound registers when calling _dl_fixup.
19401 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19403 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19404 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19406 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19407 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19408 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19409 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19410 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19411 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19412 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19414 2014-04-09 Peter Brett <peter@peter-b.co.uk>
19417 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19418 pathconf(_PC_NAME_MAX).
19420 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19422 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19423 Remove macro usage.
19424 (__PTHREAD_SPINS): Move definition to ...
19425 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19426 (__PTHREAD_SPINS): ... here.
19427 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19428 (__PTHREAD_SPIN): Likewise.
19429 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19430 (__PTHREAD_SPIN): Likewise.
19431 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19432 (__PTHREAD_SPIN): Likewise.
19433 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19434 (__PTHREAD_SPIN): Likewise.
19435 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19436 (__PTHREAD_SPIN): Likewise.
19437 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19438 (__PTHREAD_SPIN): Likewise.
19439 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19440 (__PTHREAD_SPIN): Likewise.
19441 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19442 (__PTHREAD_SPIN): Likewise.
19443 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19444 (__PTHREAD_SPIN): Likewise.
19445 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19446 (__PTHREAD_SPIN): Likewise.
19447 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19448 (__PTHREAD_SPIN): Likewise.
19449 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19450 (__PTHREAD_SPIN): Likewise.
19452 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19453 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19454 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19455 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19457 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19458 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19459 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19460 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19461 correct imply path.
19462 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19463 strlen symbol for non multi-arch builds.
19464 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19465 missing hidden_def and weak_alias.
19467 2014-04-08 Carlos O'Donell <carlos@redhat.com>
19469 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19471 2014-04-07 Will Newton <will.newton@linaro.org>
19473 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19474 and contents. [!_LIBC] Remove #ifndef and contents.
19475 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
19476 * string/memccpy.c (__memccpy): Use ANSI prototype.
19477 * string/memfrob.c (memfrob): Likewise.
19478 * string/strcoll.c (STRCOLL): Likewise.
19479 * string/strlen.c (strlen): Likewise.
19480 * string/strtok.c (STRTOK): Likewise.
19481 * string/strcat.c: Remove unused #include of memcopy.h.
19482 (strcat): Use ANSI prototype.
19483 * string/strchr.c: Remove unused #include of memcopy.h.
19484 (strchr): Use ANSI prototype.
19485 * string/strcmp.c: Remove unused #include of memcopy.h.
19486 (strcmp): Use ANSI prototype.
19487 * string/strcpy.c: Remove unused #include of memcopy.h.
19488 (strcpy): Use ANSI prototype.
19490 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19492 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19493 * config.make.in (config-extra-cppflags): Set it from
19494 libc_extra_cppflags.
19495 * configure.ac (libc_extra_cflags): Make it accumulate over
19496 configure fragments.
19497 (libc_extra_cppflags): New flag.
19498 * configure. Regenerate.
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19500 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19501 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19505 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19506 result for FE_DOWNWARD rounding mode.
19507 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19511 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
19513 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19514 in function argument name.
19516 2014-04-03 David Svoboda <svoboda@cert.org>
19519 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19522 2014-04-03 Roland McGrath <roland@hack.frob.com>
19524 * elf/dl-unmap-segments.h: New file.
19525 * sysdeps/generic/ldsodefs.h
19526 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19527 * elf/dl-close.c: Include <dl-unmap-segments.h>.
19528 * elf/dl-fptr.c: Likewise.
19529 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19530 * sysdeps/aarch64/tlsdesc.c: Likewise.
19531 * sysdeps/arm/tlsdesc.c: Likewise.
19532 * sysdeps/i386/tlsdesc.c: Likewise.
19533 * sysdeps/tile/dl-runtime.c: Likewise.
19534 * sysdeps/x86_64/tlsdesc.c: Likewise.
19535 * elf/dl-load.h: New file.
19536 * elf/dl-load.c: Include it.
19537 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19538 Macros moved to dl-load.h.
19539 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19540 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19541 Use _dl_unmap_segments in place of __munmap.
19542 Break out segment-mapping loop into ...
19543 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19545 2014-04-03 Will Newton <will.newton@linaro.org>
19547 * elf/dl-lookup.c (do_lookup_x): Remove comment
19548 referring to nested function and move variable
19549 declarations down to before first use.
19551 2014-04-02 Joseph Myers <joseph@codesourcery.com>
19555 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19557 * math/s_catanf.c (__catanf): Likewise.
19558 * math/s_catanh.c (__catanh): Likewise.
19559 * math/s_catanhf.c (__catanhf): Likewise.
19560 * math/s_catanhl.c (__catanhl): Likewise.
19561 * math/s_catanl.c (__catanl): Likewise.
19562 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19563 by positive zero when computing -Inf result.
19564 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19565 (catanh_test): Likewise.
19566 * sysdeps/i386/fpu/libm-test-ulps: Update.
19567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19570 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19571 instead of using underflowing value in computing result.
19572 * math/s_clog10.c (__clog10): Likewise.
19573 * math/s_clog10f.c (__clog10f): Likewise.
19574 * math/s_clog10l.c (__clog10l): Likewise.
19575 * math/s_clogf.c (__clogf): Likewise.
19576 * math/s_clogl.c (__clogl): Likewise.
19577 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19578 (clog10_test): Likewise.
19579 * sysdeps/i386/fpu/libm-test-ulps: Update.
19580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19582 2014-04-02 Alan Modra <amodra@gmail.com>
19585 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19586 output when value is near a power of two. Use int64_t for lx and
19587 remove casts. Use decimal rather than hex exponent constants.
19588 Don't use long double multiplication when double will suffice.
19589 * math/libm-test.inc (nextafter_test_data): Add tests.
19590 * NEWS: Add 16739 and 16786 to bug list.
19592 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19594 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19596 2014-04-01 Will Newton <will.newton@linaro.org>
19598 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19599 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
19601 2014-04-01 Florian Weimer <fweimer@redhat.com>
19604 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19605 * nptl/tst-setuid2.c: New file.
19606 * nptl/Makefile (xtests): Add tst-setuid2.
19608 2014-04-01 Alan Modra <amodra@gmail.com>
19611 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19613 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19617 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19618 set errno as appropriate.
19619 * math/w_scalbf.c (__scalbf): Likewise.
19620 * math/w_scalbl.c (__scalbl): Likewise.
19621 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19622 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19623 * math/libm-test.inc (scalb_test_data): Add errno expectations.
19624 Add more NaN tests.
19627 * math/w_atan2.c: Include <errno.h>.
19628 (__atan2): Set errno for result underflowing to zero.
19629 * math/w_atan2f.c: Include <errno.h>.
19630 (__atan2f): Set errno for result underflowing to zero.
19631 * math/w_atan2l.c: Include <errno.h>.
19632 (__atan2l): Set errno for result underflowing to zero.
19633 * math/auto-libm-test-in: Don't allow missing errno for some atan2
19635 * math/auto-libm-test-out: Regenerated.
19637 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19639 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19640 Encode instruction correctly in little endian.
19641 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19643 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19645 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19647 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19650 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19653 * sysdeps/unix/sysv/linux/kernel-features.h
19654 [__sparc__ && !__arch64__ && !__sparc_v9__]
19655 (__ASSUME_SET_ROBUST_LIST): Do not define.
19656 [__sparc__ && !__arch64__ && !__sparc_v9__]
19657 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19658 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19660 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19661 (__ASSUME_FUTEX_LOCK_PI): Undefine.
19662 (__ASSUME_REQUEUE_PI): Likewise.
19663 (__ASSUME_SET_ROBUST_LIST): Likewise.
19664 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19665 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19668 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19670 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19672 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19674 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19675 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19677 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19678 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19682 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19683 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19684 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19686 2014-03-31 Will Newton <will.newton@linaro.org>
19688 * benchtests/Makefile (bench): Add ffs and ffsll to list
19690 * benchtests/ffs-inputs: New file.
19691 * benchtests/ffsll-inputs: Likewise.
19693 2014-03-29 Joseph Myers <joseph@codesourcery.com>
19696 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19697 too large before casting to int.
19698 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19699 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19700 * math/libm-test.inc (scalb_test_data): Add more tests.
19702 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19704 * benchtests/Makefile (DETAILED_OPT): New make option.
19705 (bench-func): Run benchmark program with -d if DETAILED_OPT is
19707 * benchtests/bench-skeleton.c: Include stdbool.h.
19708 (main): Store and print timings per input.
19709 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19710 member to each argument value.
19711 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19712 (_print_arg_data): Initialize per-input timing to 0.
19714 * benchtests/Makefile (timing-type): New binary.
19715 (bench-clean): Also remove bench-timing-type.
19716 (bench): New target for timing-type.
19717 (bench-func): Print output in JSON format.
19718 * benchtests/bench-skeleton.c (main): Print output in JSON
19720 * benchtests/bench-timing-type.c: New file.
19721 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19722 (TIMING_PRINT_STATS): Remove.
19723 * benchtests/scripts/bench.py (_print_arg_data): Store variant
19726 * benchtests/bench-modf.c: Remove.
19727 * benchtests/modf-inputs: New inputs file.
19729 2014-03-28 Joseph Myers <joseph@codesourcery.com>
19732 * math/s_clog10.c (M_PI_LOG10E): New macro.
19733 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19734 imaginary parts are 0.
19735 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19736 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19737 imaginary parts are 0.
19738 * math/s_clog10l.c (M_PI_LOG10El): New macro.
19739 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19740 imaginary parts are 0.
19741 * math/libm-test.inc (clog10_test_data): Update expected results
19742 for when real and imaginary parts are 0.
19744 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
19746 * elf/dl-load.c: Finish conversion of __builtin_expect into
19747 __glibc_{un}likely.
19749 2014-03-27 Joseph Myers <joseph@codesourcery.com>
19752 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19753 1+x for argument with exponent below -67.
19754 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19756 * math/auto-libm-test-in: Add more tests of exp.
19757 * math/auto-libm-test-out: Regenerated.
19759 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19762 * inet/getnetgrent_r.c (get_nonempty_val): New function.
19763 (nscd_getnetgrent): Use it.
19766 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19769 2014-03-27 Andi Kleen <ak@linux.intel.com>
19771 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19772 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19773 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19774 (lll_robust_unlock): Remove out of line section. Use cfi
19776 (LLL_STUB_UNWIND_INFO*): Remove.
19777 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19778 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19779 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19780 (lll_robust_unlock): Remove out of line section. Use cfi
19782 (LLL_STUB_UNWIND_INFO*): Remove.
19784 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19787 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19790 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19792 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19794 2014-03-26 Joseph Myers <joseph@codesourcery.com>
19797 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19799 * math/test-fenv-preserve.c: New file.
19800 * math/Makefile (tests): Add test-fenv-preserve.
19802 2014-03-26 Will Newton <will.newton@linaro.org>
19804 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19806 2014-03-25 Roland McGrath <roland@hack.frob.com>
19808 * scripts/versionlist.awk: Partition the version sets and emit all
19809 GLIBC_* (sorted) before all others (sorted).
19811 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19813 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19814 GLIBC_2.2.5 version.
19816 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19818 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19821 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19826 2014-03-25 Andreas Schwab <schwab@suse.de>
19828 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19829 label to be used after in6ailist is initialized.
19831 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19833 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19834 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19836 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19840 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19842 (fp_formats): Update initializers.
19843 (init_fp_formats): Initialize new field.
19844 (output_for_one_input_case): Allow underflow for results up to
19846 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19847 * math/auto-libm-test-in: Don't mark some underflows from asin and
19849 * math/auto-libm-test-out: Regenerated.
19850 * sysdeps/i386/fpu/libm-test-ulps: Update.
19851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19853 2014-03-25 Andreas Schwab <schwab@suse.de>
19855 * libio/Makefile (tst-ftell-partial-wide-ENV)
19856 (tst-ftell-active-handler-ENV): Define.
19858 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19860 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19862 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19864 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19866 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19868 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19869 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19870 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19872 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19875 * elf/dl-load.c (open_verify): Add mode parameter.
19876 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19877 (open_path): Change from boolean 'secure' to complete flag 'mode'
19878 (_dl_map_object): Adjust.
19879 * elf/Makefile (tests): Add tst-dlopen-aout.
19880 * elf/tst-dlopen-aout.c: New test.
19882 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19885 * sysdeps/unix/sysv/linux/s390/bits/stat.h
19886 (struct stat): Rename member pad0 to __glibc_reserved0.
19889 * sysdeps/s390/s390-32/bits/wordsize.h
19890 (__WORDSIZE32_SIZE_ULONG): New define.
19891 * sysdeps/s390/s390-64/bits/wordsize.h
19892 (__WORDSIZE32_SIZE_ULONG): Likewise.
19893 * sysdeps/generic/stdint.h (SIZE_MAX):
19894 Define as UL if __WORDSIZE32_SIZE_ULONG.
19897 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19898 (__glibc_reserved0): New variable.
19899 (sa_flags): Change type to int.
19901 * posix/Makefile (before-compile): Use += before-compile instead
19904 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19905 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19907 2014-03-20 Andreas Schwab <schwab@suse.de>
19910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19911 non-matching result from nscd.
19913 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19915 * scripts/bench.py: Moved to ...
19916 * benchtests/scripts/bench.py: ... here.
19917 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19919 2014-03-24 Andreas Schwab <schwab@suse.de>
19922 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19923 alloca_account and account alloca use for struct in6ailist.
19925 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19928 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19929 rounding mode to recompute results that overflow to infinity or
19931 * math/auto-libm-test-in: Don't mark tests as expected to fail for
19933 * math/auto-libm-test-out: Regenerated.
19934 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19935 (ccosh_test): Likewise.
19936 (csin_test_data): Use plus_oflow.
19937 (csin_test): Use ALL_RM_TEST.
19938 (csinh_test_data): Use plus_oflow.
19939 (csinh_test): Use ALL_RM_TEST.
19940 * sysdeps/i386/fpu/libm-test-ulps: Update.
19941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19943 2014-03-21 Joseph Myers <joseph@codesourcery.com>
19945 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19946 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19947 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19950 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19951 when x - 1 is zero.
19952 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19953 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19954 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19955 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19957 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19958 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19960 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19961 * sysdeps/i386/fpu/libm-test-ulps: Update.
19962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19964 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19966 * scripts/bench.pl: Remove file.
19967 * scripts/bench.py: New benchmark script.
19968 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19969 * benchtests/README: Mention python dependency.
19970 * scripts/pylintrc: New file.
19971 * scripts/pylint: New file.
19973 * bits/mathdef.h: Use #ifdef instead of #if.
19974 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19975 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19976 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19977 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19978 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19979 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19981 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19982 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19984 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19985 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19986 and strpbrk-ppc64 objects.
19987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19988 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19989 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19990 multiarch strpbrk for POWER7.
19991 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19992 multiarch strpbrk for PPC64.
19993 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19995 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19996 strpbrk for POWER7.
19998 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20000 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20001 (atan_test): Likewise.
20002 (atanh_test_data): Use NO_TEST_INLINE for two tests.
20003 (atanh_test): Use ALL_RM_TEST.
20004 (atan2_test_data): Likewise.
20005 (cabs_test): Likewise.
20006 (cacosh_test): Likewise.
20007 (carg_test): Likewise.
20008 (casin_test): Likewise.
20009 (casinh_test): Likewise.
20010 (cbrt_test): Likewise.
20011 (csqrt_test): Likewise.
20012 (erf_test): Likewise.
20013 (erfc_test): Likewise.
20014 (pow10_test): Likewise.
20015 (exp2_test): Likewise.
20016 (hypot_test): Likewise.
20017 (j0_test): Likewise.
20018 (j1_test): Likewise.
20019 (lgamma_test): Likewise.
20020 (gamma_test): Likewise.
20021 (sincos_test): Likewise.
20022 (tanh_test): Likewise.
20023 (y0_test): Likewise.
20024 (y1_test): Likewise.
20025 * sysdeps/i386/fpu/libm-test-ulps: Update.
20026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20028 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20030 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20032 and strcspn-ppc64 objects.
20033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20034 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20035 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20036 multiarch strcspn for POWER7.
20037 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20038 multiarch strcspn for PPC64.
20039 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20041 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20042 strcspn for POWER7.
20044 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20046 * math/gen-libm-test.pl (generate_testfile): Expect only function
20047 name as argument to AUTO_TESTS_* and pass results for all rounding
20048 modes to parse_args.
20049 (parse_auto_input): Separate inputs of automatic tests from
20050 outputs before storing in %auto_tests.
20051 * math/libm-test.inc (acos_test_data): Update call to
20053 (acos_test): Use ALL_RM_TEST.
20054 (acos_tonearest_test_data): Remove.
20055 (acos_test_tonearest): Likewise.
20056 (acos_towardzero_test_data): Likewise.
20057 (acos_test_towardzero): Likewise.
20058 (acos_downward_test_data): Likewise.
20059 (acos_test_downward): Likewise.
20060 (acos_upward_test_data): Likewise.
20061 (acos_test_upward): Likewise.
20062 (acosh_test_data): Update call to AUTO_TESTS_f_f.
20063 (asin_test_data): Likewise.
20064 (asin_test): Use ALL_RM_TEST.
20065 (asin_tonearest_test_data): Remove.
20066 (asin_test_tonearest): Likewise.
20067 (asin_towardzero_test_data): Likewise.
20068 (asin_test_towardzero): Likewise.
20069 (asin_downward_test_data): Likewise.
20070 (asin_test_downward): Likewise.
20071 (asin_upward_test_data): Likewise.
20072 (asin_test_upward): Likewise.
20073 (asinh_test_data): Update call to AUTO_TESTS_f_f.
20074 (atan_test_data): Likewise.
20075 (atanh_test_data): Likewise.
20076 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20077 (cabs_test_data): Update call to AUTO_TESTS_c_f.
20078 (carg_test_data): Likewise.
20079 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20080 (ccos_test_data): Update call to AUTO_TESTS_c_c.
20081 (ccosh_test_data): Likewise.
20082 (cexp_test_data): Likewise.
20083 (clog_test_data): Likewise.
20084 (clog10_test_data): Likewise.
20085 (cos_test_data): Update call to AUTO_TESTS_f_f.
20086 (cos_test): Use ALL_RM_TEST.
20087 (cos_tonearest_test_data): Remove.
20088 (cos_test_tonearest): Likewise.
20089 (cos_towardzero_test_data): Likewise.
20090 (cos_test_towardzero): Likewise.
20091 (cos_downward_test_data): Likewise.
20092 (cos_test_downward): Likewise.
20093 (cos_upward_test_data): Likewise.
20094 (cos_test_upward): Likewise.
20095 (cosh_test_data): Update call to AUTO_TESTS_f_f.
20096 (cosh_test): Use ALL_RM_TEST.
20097 (cosh_tonearest_test_data): Remove.
20098 (cosh_test_tonearest): Likewise.
20099 (cosh_towardzero_test_data): Likewise.
20100 (cosh_test_towardzero): Likewise.
20101 (cosh_downward_test_data): Likewise.
20102 (cosh_test_downward): Likewise.
20103 (cosh_upward_test_data): Likewise.
20104 (cosh_test_upward): Likewise.
20105 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20106 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20107 (ctan_test_data): Likewise.
20108 (ctan_test): Use ALL_RM_TEST.
20109 (ctan_tonearest_test_data): Remove.
20110 (ctan_test_tonearest): Likewise.
20111 (ctan_towardzero_test_data): Likewise.
20112 (ctan_test_towardzero): Likewise.
20113 (ctan_downward_test_data): Likewise.
20114 (ctan_test_downward): Likewise.
20115 (ctan_upward_test_data): Likewise.
20116 (ctan_test_upward): Likewise.
20117 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20118 (ctanh_test): Use ALL_RM_TEST.
20119 (ctanh_tonearest_test_data): Remove.
20120 (ctanh_test_tonearest): Likewise.
20121 (ctanh_towardzero_test_data): Likewise.
20122 (ctanh_test_towardzero): Likewise.
20123 (ctanh_downward_test_data): Likewise.
20124 (ctanh_test_downward): Likewise.
20125 (ctanh_upward_test_data): Likewise.
20126 (ctanh_test_upward): Likewise.
20127 (erf_test_data): Update call to AUTO_TESTS_f_f.
20128 (erfc_test_data): Likewise.
20129 (exp_test_data): Likewise.
20130 (exp_test): Use ALL_RM_TEST.
20131 (exp_tonearest_test_data): Remove.
20132 (exp_test_tonearest): Likewise.
20133 (exp_towardzero_test_data): Likewise.
20134 (exp_test_towardzero): Likewise.
20135 (exp_downward_test_data): Likewise.
20136 (exp_test_downward): Likewise.
20137 (exp_upward_test_data): Likewise.
20138 (exp_test_upward): Likewise.
20139 (exp10_test_data): Update call to AUTO_TESTS_f_f.
20140 (exp10_test): Use ALL_RM_TEST.
20141 (exp10_tonearest_test_data): Remove.
20142 (exp10_test_tonearest): Likewise.
20143 (exp10_towardzero_test_data): Likewise.
20144 (exp10_test_towardzero): Likewise.
20145 (exp10_downward_test_data): Likewise.
20146 (exp10_test_downward): Likewise.
20147 (exp10_upward_test_data): Likewise.
20148 (exp10_test_upward): Likewise.
20149 (exp2_test_data): Update call to AUTO_TESTS_f_f.
20150 (expm1_test_data): Likewise.
20151 (expm1_test): Use ALL_RM_TEST.
20152 (expm1_tonearest_test_data): Remove.
20153 (expm1_test_tonearest): Likewise.
20154 (expm1_towardzero_test_data): Likewise.
20155 (expm1_test_towardzero): Likewise.
20156 (expm1_downward_test_data): Likewise.
20157 (expm1_test_downward): Likewise.
20158 (expm1_upward_test_data): Likewise.
20159 (expm1_test_upward): Likewise.
20160 (fma_test_data): Update call to AUTO_TESTS_fff_f.
20161 (fma_test): Use ALL_RM_TEST.
20162 (fma_towardzero_test_data): Remove.
20163 (fma_test_towardzero): Likewise.
20164 (fma_downward_test_data): Likewise.
20165 (fma_test_downward): Likewise.
20166 (fma_upward_test_data): Likewise.
20167 (fma_test_upward): Likewise.
20168 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20169 (j0_test_data): Update call to AUTO_TESTS_f_f.
20170 (j1_test_data): Likewise.
20171 (jn_test_data): Update call to AUTO_TESTS_if_f.
20172 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20173 (log_test_data): Update call to AUTO_TESTS_f_f.
20174 (log10_test_data): Likewise.
20175 (log1p_test_data): Likewise.
20176 (log2_test_data): Likewise.
20177 (pow_test_data): Update call to AUTO_TESTS_ff_f.
20178 (pow_tonearest_test_data): Likewise.
20179 (sin_test_data): Update call to AUTO_TESTS_f_f.
20180 (sin_test): Use ALL_RM_TEST.
20181 (sin_tonearest_test_data): Remove.
20182 (sin_test_tonearest): Likewise.
20183 (sin_towardzero_test_data): Likewise.
20184 (sin_test_towardzero): Likewise.
20185 (sin_downward_test_data): Likewise.
20186 (sin_test_downward): Likewise.
20187 (sin_upward_test_data): Likewise.
20188 (sin_test_upward): Likewise.
20189 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20190 (sinh_test_data): Update call to AUTO_TESTS_f_f.
20191 (sinh_test): Use ALL_RM_TEST.
20192 (sinh_tonearest_test_data): Remove.
20193 (sinh_test_tonearest): Likewise.
20194 (sinh_towardzero_test_data): Likewise.
20195 (sinh_test_towardzero): Likewise.
20196 (sinh_downward_test_data): Likewise.
20197 (sinh_test_downward): Likewise.
20198 (sinh_upward_test_data): Likewise.
20199 (sinh_test_upward): Likewise.
20200 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20201 (sqrt_test): Use ALL_RM_TEST.
20202 (sqrt_tonearest_test_data): Remove.
20203 (sqrt_test_tonearest): Likewise.
20204 (sqrt_towardzero_test_data): Likewise.
20205 (sqrt_test_towardzero): Likewise.
20206 (sqrt_downward_test_data): Likewise.
20207 (sqrt_test_downward): Likewise.
20208 (sqrt_upward_test_data): Likewise.
20209 (sqrt_test_upward): Likewise.
20210 (tan_test_data): Update call to AUTO_TESTS_f_f.
20211 (tan_test): Use ALL_RM_TEST.
20212 (tan_tonearest_test_data): Remove.
20213 (tan_test_tonearest): Likewise.
20214 (tan_towardzero_test_data): Likewise.
20215 (tan_test_towardzero): Likewise.
20216 (tan_downward_test_data): Likewise.
20217 (tan_test_downward): Likewise.
20218 (tan_upward_test_data): Likewise.
20219 (tan_test_upward): Likewise.
20220 (tanh_test_data): Update call to AUTO_TESTS_f_f.
20221 (tgamma_test_data): Likewise.
20222 (y0_test_data): Likewise.
20223 (y1_test_data): Likewise.
20224 (yn_test_data): Update call to AUTO_TESTS_if_f.
20225 (main): Do not call removed functions.
20227 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20229 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20230 (ldexp_test_data): Remove.
20231 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
20233 (scalb_test): Use ALL_RM_TEST.
20235 2014-03-19 Andreas Schwab <schwab@suse.de>
20237 * nscd/nscd.service: Also invalidate netgroup cache on reload.
20239 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20242 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20243 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20244 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20245 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20246 (__ASSUME_PREADV): Undefine.
20247 (__ASSUME_PWRITEV): Likewise.
20249 2014-03-18 Roland McGrath <roland@hack.frob.com>
20251 * bits/mman-linux.h: Add comment about non-Linux use.
20252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20253 bits/mman-linux.h resting place.
20255 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20256 * bits/mman-linux.h: ... here.
20258 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20260 * conform/conformtest.pl: Add standard definition when calling C
20261 preprocessor on data files.
20262 (checknamespace): Remove unused variable.
20264 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20266 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20267 minus_oflow, plus_uflow and minus_uflow in expected results.
20268 * math/libm-test.inc (scalbn_test_data): Add more tests of
20269 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
20271 (scalbn_test): Use ALL_RM_TEST.
20272 (scalbln_test_data): Add more tests of negative arguments. Use
20273 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20274 (scalbln_test): Use ALL_RM_TEST.
20276 2014-03-18 Roland McGrath <roland@hack.frob.com>
20278 * scripts/abilist.awk: Ignore symbols marked with .hidden.
20280 2014-03-18 Will Newton <will.newton@linaro.org>
20282 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20283 inaccurate comment.
20285 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20287 * Makerules [!subdir] (check-abi): Exit with error status if a
20290 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20292 * math/libm-test.inc (nearbyint_test_data): Include all tests used
20293 for rint. Include results for all rounding modes.
20294 (nearbyint_test): Use ALL_RM_TEST.
20295 (rint_test_data): Include all tests used for nearbyint.
20297 2014-03-17 Will Newton <will.newton@linaro.org>
20299 * nptl/sysdeps/pthread/pthread.h: Revert previous
20302 * sysdeps/generic/ldsodefs.h: Revert previous
20305 * libio/genops.c: Revert previous change.
20306 * libio/libioP.h: Likewise.
20307 * stdio-common/vfprintf.c: Likewise.
20309 * sysdeps/generic/math_private.h: Revert previous
20312 * sysdeps/generic/math_private.h: Check whether
20313 HAVE_RM_CTX is defined with #ifdef rather
20316 * argp/argp-fmtstream.h: Check whether
20317 __STRICT_ANSI__ is defined with #ifdef rather
20319 * argp/argp.h: Likewise.
20321 * libio/genops.c: Check whether
20322 _IO_JUMPS_OFFSET is defined with #ifdef rather
20324 * libio/libioP.h: Likewise.
20325 * stdio-common/vfprintf.c: Likewise.
20327 * sysdeps/generic/ldsodefs.h: Check whether
20328 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20331 * nptl/sysdeps/pthread/pthread.h: Check
20332 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20335 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20337 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20339 * libio/tst-ftell-active-handler.c (do_append_test): Add a
20343 * libio/fileops.c (_IO_file_open): Seek to end of file but
20344 don't cache the offset.
20345 (get_file_offset): Remove function.
20346 (do_ftell): Use cached offset when available.
20347 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20348 don't cache the offset.
20349 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20351 (do_one_test): Call it.
20352 (do_ftell_test): Fix up expected old offset for a+ mode.
20353 * libio/wfileops.c (do_ftell_wide): Used cached offset when
20356 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20357 up test status with function return status.
20358 (do_write_test): Likewise.
20359 (do_append_test): Likewise.
20361 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20362 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20365 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20367 * math/gen-libm-test.pl (parse_args): Handle results specified for
20368 each rounding mode separately.
20369 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20370 tests and results from lrint_tonearest_test_data,
20371 lrint_towardzero_test_data, lrint_downward_test_data and
20372 lrint_upward_test_data.
20373 (lrint_test): Use ALL_RM_TEST.
20374 (lrint_tonearest_test_data): Remove.
20375 (lrint_test_tonearest): Likewise.
20376 (lrint_towardzero_test_data): Likewise.
20377 (lrint_test_towardzero): Likewise.
20378 (lrint_downward_test_data): Likewise.
20379 (lrint_test_downward): Likewise.
20380 (lrint_upward_test_data): Likewise.
20381 (lrint_test_upward): Likewise.
20382 (llrint_test_data): Merge in per-rounding-mode tests and results
20383 from llrint_tonearest_test_data, llrint_towardzero_test_data,
20384 llrint_downward_test_data and llrint_upward_test_data.
20385 (llrint_test): Use ALL_RM_TEST.
20386 (llrint_tonearest_test_data): Remove.
20387 (llrint_test_tonearest): Likewise.
20388 (llrint_towardzero_test_data): Likewise.
20389 (llrint_test_towardzero): Likewise.
20390 (llrint_downward_test_data): Likewise.
20391 (llrint_test_downward): Likewise.
20392 (llrint_upward_test_data): Likewise.
20393 (llrint_test_upward): Likewise.
20394 (rint_test_data): Merge in per-rounding-mode tests and results
20395 from rint_tonearest_test_data, rint_towardzero_test_data,
20396 rint_downward_test_data and rint_upward_test_data. Add
20397 per-rounding-mode results for tests not in those arrays.
20398 (rint_test): Use ALL_RM_TEST.
20399 (rint_tonearest_test_data): Remove.
20400 (rint_test_tonearest): Likewise.
20401 (rint_towardzero_test_data): Likewise.
20402 (rint_test_towardzero): Likewise.
20403 (rint_downward_test_data): Likewise.
20404 (rint_test_downward): Likewise.
20405 (rint_upward_test_data): Likewise.
20406 (rint_test_upward): Likewise.
20407 (main): Don't call removed functions.
20409 2014-03-14 Roland McGrath <roland@hack.frob.com>
20411 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20412 "Compiled on ..." crapola. It is anti-useful.
20414 2014-03-14 Joseph Myers <joseph@codesourcery.com>
20416 * scripts/evaluate-test.sh: Handle fourth argument to determine
20417 whether test run should stop on failure.
20418 * Makeconfig (stop-on-test-failure): New variable.
20419 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20420 $(stop-on-test-failure).
20421 * Makefile (tests): Give a summary of results from testing and
20422 exit with failure status if they include an ERROR or FAIL.
20423 (xtests): Likewise.
20424 * manual/install.texi (Configuring and compiling): Mention
20425 stop-on-test-failure=y.
20426 * INSTALL: Regenerated.
20428 2014-03-14 Roland McGrath <roland@hack.frob.com>
20430 * scripts/versionlist.awk: New file.
20431 * Makerules [$(build-shared) = yes]
20432 (postclean-generated): Add Versions.def, not Versions.def.v and
20434 ($(common-objpfx)Versions.def.v.i): Target removed.
20435 ($(common-objpfx)Versions.def): New target.
20436 ($(common-objpfx)Versions.all): Depend on that rather that
20437 $(common-objpfx)Versions.def.v.
20438 * Versions.def: File removed.
20440 * Makeconfig (+gccwarn): Add -Wundef.
20441 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20442 a dl-sysdep.h breaking its contract.
20443 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20444 * include/stackinfo.h: New file.
20445 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20446 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20447 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20448 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20449 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20450 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20451 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20452 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20453 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20454 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20455 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20456 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20457 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20458 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20459 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20461 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20464 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20466 * math/libm-test.inc (round_test_data): Add more tests.
20469 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20471 * math/libm-test.inc (nearbyint_test_data): Add more tests.
20474 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20476 * math/libm-test.inc (ceil_test_data): Add more tests.
20478 * math/libm-test.inc (trunc_test_data): Add more tests related to
20481 2014-03-14 Roland McGrath <roland@hack.frob.com>
20483 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20484 with #if rather than #ifdef.
20485 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20487 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
20489 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20490 first. Disable AVX-512 GCC support if assembler doesn't support
20492 * sysdeps/x86_64/configure: Regenerated.
20494 2014-03-13 Carlos O'Donell <carlos@redhat.com>
20496 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20497 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20498 (__old_pthread_attr_setstack): Likewise.
20499 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20500 [!_STACK_GROWS_DOWN]: Likewise.
20502 2014-03-13 Mike Frysinger <vapier@gentoo.org>
20504 * config.make.in (have-bash2): Delete.
20505 * configure.ac (libc_cv_have_bash2): Delete.
20506 * configure: Regenerate.
20507 * elf/Makefile (common-ldd-rewrite): Rename to ...
20508 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
20509 (sh-ldd-rewrite): Delete.
20510 (bash-ldd-rewrite): Delete.
20511 (have-bash2): Delete checks.
20512 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20515 * config.make.in (have-ksh): Delete.
20517 * configure.ac (libc_cv_have_ksh): Delete.
20518 * configure: Regenerate.
20520 * elf/Makefile: Delete $(have-ksh) check.
20521 ($(objpfx)sotruss): Change KSH to BASH.
20522 * elf/sotruss.ksh: Rename to ...
20523 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
20524 function style to match POSIX. Drop ksh vim mode setting.
20526 * manual/time.texi (Specifying the Time Zone with TZ): Change
20527 Tuesday to Thursday.
20529 * debug/tst-longjmp_chk2.c: Update header comment.
20530 (stackoverflow_handler): Add comment. Call assert on pass value.
20532 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
20535 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20536 (HAVE_AVX512_ASM_SUPPORT): Likewise.
20537 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20538 (La_x86_64_vector): Add zmm.
20539 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20540 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20541 ($(objpfx)tst-audit10): New target.
20542 ($(objpfx)tst-audit10.out): Likewise.
20543 (tst-audit10-ENV): New.
20544 (AVX512-CFLAGS): Likewise.
20545 (CFLAGS-tst-audit10.c): Likewise.
20546 (CFLAGS-tst-auditmod10a.c): Likewise.
20547 (CFLAGS-tst-auditmod10b.c): Likewise.
20548 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20549 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20550 * sysdeps/x86_64/configure: Regenerated.
20551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20552 AVX-512 zmm register support.
20553 (_dl_x86_64_save_sse): Likewise.
20554 (_dl_x86_64_restore_sse): Likewise.
20555 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20556 size vector registers.
20557 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20558 (ZMM_SIZE): Likewise.
20559 * sysdeps/x86_64/tst-audit10.c: New file.
20560 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20561 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20563 2014-03-13 Roland McGrath <roland@hack.frob.com>
20565 * configure.ac (HAVE_EHDR_START): New check.
20566 * configure: Regenerated.
20567 * config.h.in (HAVE_EHDR_START): New #undef.
20568 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20569 assuming the lowest-addressed segment maps the start of the file.
20571 2014-03-13 Joseph Myers <joseph@codesourcery.com>
20573 * INSTALL: Regenerated.
20575 2014-03-13 Will Newton <will.newton@linaro.org>
20577 * manual/setjmp.texi (System V contexts): Improve
20578 clarity and grammar of documentation.
20580 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
20583 * elf/Makefile (tests): Add tst-pie2.
20584 (tests-pie): Add tst-pie2.
20585 * elf/tst-pie2.c: New file.
20586 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20588 * elf/rtld.c (map_doit): Load executable as lt_executable.
20589 (dl_main): Likewise.
20591 2014-03-12 Joseph Myers <joseph@codesourcery.com>
20594 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20595 (__ASSUME_PSELECT): Undefine.
20597 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20600 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20601 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20603 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20604 selector for static builds.
20606 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20609 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20612 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20614 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20615 IFUNC selector for static builds.
20617 2014-03-11 Joseph Myers <joseph@codesourcery.com>
20619 * sysdeps/mips/math_private.h [__mips_hard_float]
20620 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20621 libc_feresetround_mips_ctx.
20622 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20623 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20624 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20627 * math/s_nextafter.c (__nextafter): Do not return value from
20628 overflowing computation.
20629 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20630 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20631 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20633 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20635 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20636 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20638 2014-03-11 Roland McGrath <roland@hack.frob.com>
20640 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20641 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20642 Move sfi_sp use from the load-multiple (that no longer sets sp) to
20643 the new mov targetting sp.
20645 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20648 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20649 Define it for static builds as well.
20650 (NO_BZERO_IMPL): Likewise.
20652 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20654 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20655 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20656 multiarch strspn for PPC64.
20657 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20658 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20660 (__libc_ifunc_impl_list): Likewise.
20661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20662 multiarch optimizations
20663 * string/strspn.c (strspn): Using macro to redefine symbol name.
20665 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20666 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20668 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20669 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20670 multiarch strncat for PPC64.
20671 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20672 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20674 (__libc_ifunc_impl_list): Likewise.
20675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20676 multiarch optimizations
20678 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20681 * nscd/nscd.service: Make service type forking.
20683 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20685 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20686 sign in non default rounding modes.
20687 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20689 2014-03-08 Joseph Myers <joseph@codesourcery.com>
20691 * math/libm-test.inc (ALL_RM_TEST): New macro.
20692 (ceil_test): Use ALL_RM_TEST.
20693 (cimag_test): Likewise.
20694 (conj_test): Likewise.
20695 (copysign_test): Likewise.
20696 (cproj_test): Likewise.
20697 (creal_test): Likewise.
20698 (fabs_test): Likewise.
20699 (floor_test): Likewise.
20700 (fmax_test): Likewise.
20701 (fmin_test): Likewise.
20702 (fmod_test): Likewise.
20703 (fpclassify_test): Likewise.
20704 (frexp_test): Likewise.
20705 (ilogb_test): Likewise.
20706 (isfinite_test): Likewise.
20707 (finite_test): Likewise.
20708 (isgreater_test): Likewise.
20709 (isgreaterequal_test): Likewise.
20710 (isinf_test): Likewise.
20711 (isless_test): Likewise.
20712 (islessequal_test): Likewise.
20713 (islessgreater_test): Likewise.
20714 (isnan_test): Likewise.
20715 (isnormal_test): Likewise.
20716 (issignaling_test): Likewise.
20717 (isunordered_test): Likewise.
20718 (logb_test): Likewise.
20719 (logb_downward_test_data): Remove.
20720 (logb_test_downward): Likewise.
20721 (lround_test): Use ALL_RM_TEST.
20722 (llround_test): Likewise.
20723 (modf_test): Likewise.
20724 (nexttoward_test): Likewise.
20725 (remainder_test): Likewise.
20726 (drem_test): Likewise.
20727 (remainder_tonearest_test_data): Likewise.
20728 (remainder_test_tonearest): Likewise.
20729 (drem_test_tonearest): Likewise.
20730 (remainder_towardzero_test_data): Likewise.
20731 (remainder_test_towardzero): Likewise.
20732 (drem_test_towardzero): Likewise.
20733 (remainder_downward_test_data): Likewise.
20734 (remainder_test_downward): Likewise.
20735 (drem_test_downward): Likewise.
20736 (remainder_upward_test_data): Likewise.
20737 (remainder_test_upward): Likewise.
20738 (drem_test_upward): Likewise.
20739 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
20740 (round_test): Use ALL_RM_TEST.
20741 (signbit_test): Likewise.
20742 (trunc_test): Likewise.
20743 (significand_test): Likewise.
20744 (main): Don't call removed functions.
20746 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20749 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20750 || __USE_XOPEN2K8].
20751 (ILL_ILLOPN): Likewise.
20752 (ILL_ILLADR): Likewise.
20753 (ILL_ILLTRP): Likewise.
20754 (ILL_PRVOPC): Likewise.
20755 (ILL_PRVREG): Likewise.
20756 (ILL_COPROC): Likewise.
20757 (ILL_BADSTK): Likewise.
20758 (FPE_INTDIV): Likewise.
20759 (FPE_INTOVF): Likewise.
20760 (FPE_FLTDIV): Likewise.
20761 (FPE_FLTOVF): Likewise.
20762 (FPE_FLTUND): Likewise.
20763 (FPE_FLTRES): Likewise.
20764 (FPE_FLTINV): Likewise.
20765 (FPE_FLTSUB): Likewise.
20766 (SEGV_MAPERR): Likewise.
20767 (SEGV_ACCERR): Likewise.
20768 (BUS_ADRALN): Likewise.
20769 (BUS_ADRERR): Likewise.
20770 (BUS_OBJERR): Likewise.
20771 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20772 (TRAP_TRACE): Likewise.
20773 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20775 (CLD_KILLED): Likewise.
20776 (CLD_DUMPED): Likewise.
20777 (CLD_TRAPPED): Likewise.
20778 (CLD_STOPPED): Likewise.
20779 (CLD_CONTINUED): Likewise.
20780 (POLL_IN): Likewise.
20781 (POLL_OUT): Likewise.
20782 (POLL_MSG): Likewise.
20783 (POLL_ERR): Likewise.
20784 (POLL_PRI): Likewise.
20785 (POLL_HUP): Likewise.
20786 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20788 (ILL_ILLOPN): Likewise.
20789 (ILL_ILLADR): Likewise.
20790 (ILL_ILLTRP): Likewise.
20791 (ILL_PRVOPC): Likewise.
20792 (ILL_PRVREG): Likewise.
20793 (ILL_COPROC): Likewise.
20794 (ILL_BADSTK): Likewise.
20795 (FPE_INTDIV): Likewise.
20796 (FPE_INTOVF): Likewise.
20797 (FPE_FLTDIV): Likewise.
20798 (FPE_FLTOVF): Likewise.
20799 (FPE_FLTUND): Likewise.
20800 (FPE_FLTRES): Likewise.
20801 (FPE_FLTINV): Likewise.
20802 (FPE_FLTSUB): Likewise.
20803 (SEGV_MAPERR): Likewise.
20804 (SEGV_ACCERR): Likewise.
20805 (BUS_ADRALN): Likewise.
20806 (BUS_ADRERR): Likewise.
20807 (BUS_OBJERR): Likewise.
20808 (BUS_MCEERR_AR): Likewise.
20809 (BUS_MCEERR_AO): Likewise.
20810 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20811 (TRAP_TRACE): Likewise.
20812 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20814 (CLD_KILLED): Likewise.
20815 (CLD_DUMPED): Likewise.
20816 (CLD_TRAPPED): Likewise.
20817 (CLD_STOPPED): Likewise.
20818 (CLD_CONTINUED): Likewise.
20819 (POLL_IN): Likewise.
20820 (POLL_OUT): Likewise.
20821 (POLL_MSG): Likewise.
20822 (POLL_ERR): Likewise.
20823 (POLL_PRI): Likewise.
20824 (POLL_HUP): Likewise.
20825 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20826 (ILL_ILLOPN): Likewise.
20827 (ILL_ILLADR): Likewise.
20828 (ILL_ILLTRP): Likewise.
20829 (ILL_PRVOPC): Likewise.
20830 (ILL_PRVREG): Likewise.
20831 (ILL_COPROC): Likewise.
20832 (ILL_BADSTK): Likewise.
20833 (FPE_INTDIV): Likewise.
20834 (FPE_INTOVF): Likewise.
20835 (FPE_FLTDIV): Likewise.
20836 (FPE_FLTOVF): Likewise.
20837 (FPE_FLTUND): Likewise.
20838 (FPE_FLTRES): Likewise.
20839 (FPE_FLTINV): Likewise.
20840 (FPE_FLTSUB): Likewise.
20841 (SEGV_MAPERR): Likewise.
20842 (SEGV_ACCERR): Likewise.
20843 (BUS_ADRALN): Likewise.
20844 (BUS_ADRERR): Likewise.
20845 (BUS_OBJERR): Likewise.
20846 (BUS_MCEERR_AR): Likewise.
20847 (BUS_MCEERR_AO): Likewise.
20848 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20849 (TRAP_TRACE): Likewise.
20850 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20852 (CLD_KILLED): Likewise.
20853 (CLD_DUMPED): Likewise.
20854 (CLD_TRAPPED): Likewise.
20855 (CLD_STOPPED): Likewise.
20856 (CLD_CONTINUED): Likewise.
20857 (POLL_IN): Likewise.
20858 (POLL_OUT): Likewise.
20859 (POLL_MSG): Likewise.
20860 (POLL_ERR): Likewise.
20861 (POLL_PRI): Likewise.
20862 (POLL_HUP): Likewise.
20863 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20865 (ILL_ILLOPN): Likewise.
20866 (ILL_ILLADR): Likewise.
20867 (ILL_ILLTRP): Likewise.
20868 (ILL_PRVOPC): Likewise.
20869 (ILL_PRVREG): Likewise.
20870 (ILL_COPROC): Likewise.
20871 (ILL_BADSTK): Likewise.
20872 (ILL_BADIADDR): Likewise.
20873 (ILL_BREAK): Likewise.
20874 (FPE_INTDIV): Likewise.
20875 (FPE_INTOVF): Likewise.
20876 (FPE_FLTDIV): Likewise.
20877 (FPE_FLTOVF): Likewise.
20878 (FPE_FLTUND): Likewise.
20879 (FPE_FLTRES): Likewise.
20880 (FPE_FLTINV): Likewise.
20881 (FPE_FLTSUB): Likewise.
20882 (FPE_DECOVF): Likewise.
20883 (FPE_DECDIV): Likewise.
20884 (FPE_DECERR): Likewise.
20885 (FPE_INVASC): Likewise.
20886 (FPE_INVDEC): Likewise.
20887 (SEGV_MAPERR): Likewise.
20888 (SEGV_ACCERR): Likewise.
20889 (SEGV_PSTKOVF): Likewise.
20890 (BUS_ADRALN): Likewise.
20891 (BUS_ADRERR): Likewise.
20892 (BUS_OBJERR): Likewise.
20893 (BUS_MCEERR_AR): Likewise.
20894 (BUS_MCEERR_AO): Likewise.
20895 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20896 (TRAP_TRACE): Likewise.
20897 (TRAP_BRANCH): Likewise.
20898 (TRAP_HWBKPT): 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/mips/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/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20951 (ILL_ILLOPN): Likewise.
20952 (ILL_ILLADR): Likewise.
20953 (ILL_ILLTRP): Likewise.
20954 (ILL_PRVOPC): Likewise.
20955 (ILL_PRVREG): Likewise.
20956 (ILL_COPROC): Likewise.
20957 (ILL_BADSTK): Likewise.
20958 (FPE_INTDIV): Likewise.
20959 (FPE_INTOVF): Likewise.
20960 (FPE_FLTDIV): Likewise.
20961 (FPE_FLTOVF): Likewise.
20962 (FPE_FLTUND): Likewise.
20963 (FPE_FLTRES): Likewise.
20964 (FPE_FLTINV): Likewise.
20965 (FPE_FLTSUB): Likewise.
20966 (SEGV_MAPERR): Likewise.
20967 (SEGV_ACCERR): Likewise.
20968 (BUS_ADRALN): Likewise.
20969 (BUS_ADRERR): Likewise.
20970 (BUS_OBJERR): Likewise.
20971 (BUS_MCEERR_AR): Likewise.
20972 (BUS_MCEERR_AO): Likewise.
20973 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20974 (TRAP_TRACE): Likewise.
20975 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20977 (CLD_KILLED): Likewise.
20978 (CLD_DUMPED): Likewise.
20979 (CLD_TRAPPED): Likewise.
20980 (CLD_STOPPED): Likewise.
20981 (CLD_CONTINUED): Likewise.
20982 (POLL_IN): Likewise.
20983 (POLL_OUT): Likewise.
20984 (POLL_MSG): Likewise.
20985 (POLL_ERR): Likewise.
20986 (POLL_PRI): Likewise.
20987 (POLL_HUP): Likewise.
20988 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20989 (ILL_ILLOPN): Likewise.
20990 (ILL_ILLADR): Likewise.
20991 (ILL_ILLTRP): Likewise.
20992 (ILL_PRVOPC): Likewise.
20993 (ILL_PRVREG): Likewise.
20994 (ILL_COPROC): Likewise.
20995 (ILL_BADSTK): Likewise.
20996 (FPE_INTDIV): Likewise.
20997 (FPE_INTOVF): Likewise.
20998 (FPE_FLTDIV): Likewise.
20999 (FPE_FLTOVF): Likewise.
21000 (FPE_FLTUND): Likewise.
21001 (FPE_FLTRES): Likewise.
21002 (FPE_FLTINV): Likewise.
21003 (FPE_FLTSUB): Likewise.
21004 (SEGV_MAPERR): Likewise.
21005 (SEGV_ACCERR): Likewise.
21006 (BUS_ADRALN): Likewise.
21007 (BUS_ADRERR): Likewise.
21008 (BUS_OBJERR): Likewise.
21009 (BUS_MCEERR_AR): Likewise.
21010 (BUS_MCEERR_AO): Likewise.
21011 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21012 (TRAP_TRACE): Likewise.
21013 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21015 (CLD_KILLED): Likewise.
21016 (CLD_DUMPED): Likewise.
21017 (CLD_TRAPPED): Likewise.
21018 (CLD_STOPPED): Likewise.
21019 (CLD_CONTINUED): Likewise.
21020 (POLL_IN): Likewise.
21021 (POLL_OUT): Likewise.
21022 (POLL_MSG): Likewise.
21023 (POLL_ERR): Likewise.
21024 (POLL_PRI): Likewise.
21025 (POLL_HUP): Likewise.
21026 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21027 (ILL_ILLOPN): Likewise.
21028 (ILL_ILLADR): Likewise.
21029 (ILL_ILLTRP): Likewise.
21030 (ILL_PRVOPC): Likewise.
21031 (ILL_PRVREG): Likewise.
21032 (ILL_COPROC): Likewise.
21033 (ILL_BADSTK): Likewise.
21034 (ILL_DBLFLT): Likewise.
21035 (ILL_HARDWALL): Likewise.
21036 (FPE_INTDIV): Likewise.
21037 (FPE_INTOVF): Likewise.
21038 (FPE_FLTDIV): Likewise.
21039 (FPE_FLTOVF): Likewise.
21040 (FPE_FLTUND): Likewise.
21041 (FPE_FLTRES): Likewise.
21042 (FPE_FLTINV): Likewise.
21043 (FPE_FLTSUB): Likewise.
21044 (SEGV_MAPERR): Likewise.
21045 (SEGV_ACCERR): Likewise.
21046 (BUS_ADRALN): Likewise.
21047 (BUS_ADRERR): Likewise.
21048 (BUS_OBJERR): Likewise.
21049 (BUS_MCEERR_AR): Likewise.
21050 (BUS_MCEERR_AO): Likewise.
21051 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21052 (TRAP_TRACE): Likewise.
21053 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21055 (CLD_KILLED): Likewise.
21056 (CLD_DUMPED): Likewise.
21057 (CLD_TRAPPED): Likewise.
21058 (CLD_STOPPED): Likewise.
21059 (CLD_CONTINUED): Likewise.
21060 (POLL_IN): Likewise.
21061 (POLL_OUT): Likewise.
21062 (POLL_MSG): Likewise.
21063 (POLL_ERR): Likewise.
21064 (POLL_PRI): Likewise.
21065 (POLL_HUP): Likewise.
21066 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21067 (ILL_ILLOPN): Likewise.
21068 (ILL_ILLADR): Likewise.
21069 (ILL_ILLTRP): Likewise.
21070 (ILL_PRVOPC): Likewise.
21071 (ILL_PRVREG): Likewise.
21072 (ILL_COPROC): Likewise.
21073 (ILL_BADSTK): Likewise.
21074 (FPE_INTDIV): Likewise.
21075 (FPE_INTOVF): Likewise.
21076 (FPE_FLTDIV): Likewise.
21077 (FPE_FLTOVF): Likewise.
21078 (FPE_FLTUND): Likewise.
21079 (FPE_FLTRES): Likewise.
21080 (FPE_FLTINV): Likewise.
21081 (FPE_FLTSUB): Likewise.
21082 (SEGV_MAPERR): Likewise.
21083 (SEGV_ACCERR): Likewise.
21084 (BUS_ADRALN): Likewise.
21085 (BUS_ADRERR): Likewise.
21086 (BUS_OBJERR): Likewise.
21087 (BUS_MCEERR_AR): Likewise.
21088 (BUS_MCEERR_AO): Likewise.
21089 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21090 (TRAP_TRACE): Likewise.
21091 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21093 (CLD_KILLED): Likewise.
21094 (CLD_DUMPED): Likewise.
21095 (CLD_TRAPPED): Likewise.
21096 (CLD_STOPPED): Likewise.
21097 (CLD_CONTINUED): Likewise.
21098 (POLL_IN): Likewise.
21099 (POLL_OUT): Likewise.
21100 (POLL_MSG): Likewise.
21101 (POLL_ERR): Likewise.
21102 (POLL_PRI): Likewise.
21103 (POLL_HUP): Likewise.
21104 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21105 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21108 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21109 before #include of <time.h>.
21110 [!__USE_XOPEN2K] (__need_timespec): Likewise.
21111 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21112 (test-xfail-UNIX98/sched.h/conform): Likewise.
21114 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
21116 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21117 error absence of trapping exception support.
21118 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21120 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21122 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21123 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21124 * timezone/Makefile (testdata): Move definition above include of
21126 (test-zones): New variable.
21127 (tests-special): Add zone files.
21128 (build-testdata): Use $(evaluate-test).
21130 * elf/Makefile (tests-special): Rename tests to end with .out.
21131 ($(objpfx)noload-mem): Likewise.
21132 ($(objpfx)tst-leaks1-mem): Likewise.
21133 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21134 * iconv/Makefile (xtests-special): Change test-iconvconfig to
21135 $(objpfx)test-iconvconfig.out.
21136 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
21137 set -e inside subshell and redirect output to file.
21138 * iconvdata/Makefile (generated): Rename tests to end with .out.
21140 (tests-special): Rename tests to end with .out.
21141 ($(objpfx)mtrace-tst-loading): Likewise.
21142 * intl/Makefile (generated): Likewise.
21143 (tests-special): Likewise.
21144 ($(objpfx)mtrace-tst-gettext): Likewise.
21145 * misc/Makefile (generated): Likewise.
21146 (tests-special): Likewise.
21147 ($(objpfx)tst-error1-mem): Likewise.
21148 * nptl/Makefile (tests-special): Likewise.
21149 ($(objpfx)tst-stack3-mem): Likewise.
21150 (generated): Likewise.
21151 * posix/Makefile (generated): Likewise.
21152 (tests-special): Likewise.
21153 (xtests-special): Likewise.
21154 ($(objpfx)tst-fnmatch-mem): Likewise.
21155 ($(objpfx)bug-regex2-mem): Likewise.
21156 ($(objpfx)bug-regex14-mem): Likewise.
21157 ($(objpfx)bug-regex21-mem): Likewise.
21158 ($(objpfx)bug-regex31-mem): Likewise.
21159 ($(objpfx)tst-vfork3-mem): Likewise.
21160 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21161 ($(objpfx)tst-pcre-mem): Likewise.
21162 ($(objpfx)tst-boost-mem): Likewise.
21163 ($(objpfx)bug-ga2-mem): Likewise.
21164 ($(objpfx)bug-glob2-mem): Likewise.
21165 * resolv/Makefile (generate): Likewise.
21166 (tests-special): Likewise.
21167 (xtests-special): Likewise.
21168 (generated): Likewise.
21169 ($(objpfx)mtrace-tst-leaks): Likewise.
21170 ($(objpfx)mtrace-tst-leaks2): Likewise.
21172 * scripts/merge-test-results.sh: New file.
21173 * Makefile (tests-special-notdir): New variable.
21174 (tests): Run merge-test-results.sh.
21175 (xtests): Likewise.
21176 * Rules (tests-special-notdir): New variable.
21177 (xtests-special-notdir): Likewise.
21178 (tests): Run merge-test-results.sh
21179 (xtests): Likewise.
21181 * Makeconfig (test-xfail-name): New variable.
21182 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21183 compute variable name for expected failures.
21184 * conform/Makefile (conformtest-headers-data): New variable.
21185 (conformtest-standards): Likewise.
21186 (conformtest-headers-ISO): Likewise.
21187 (conformtest-headers-ISO99): Likewise.
21188 (conformtest-headers-ISO11): Likewise.
21189 (conformtest-headers-POSIX): Likewise.
21190 (conformtest-headers-XPG3): Likewise.
21191 (conformtest-headers-XPG4): Likewise.
21192 (conformtest-headers-UNIX98): Likewise.
21193 (conformtest-headers-XOPEN2K): Likewise.
21194 (conformtest-headers-POSIX2008): Likewise.
21195 (conformtest-headers-XOPEN2K8): Likewise.
21196 (conformtest-header-list-base): Likewise.
21197 (conformtest-header-list-tests): Likewise.
21198 (conformtest-header-base): Likewise.
21199 (conformtest-header-tests): Likewise.
21200 (tests-special): Add $(conformtest-header-list-tests). If
21201 [$(fast-check) && !$(cross-compiling)], add
21202 $(conformtest-header-tests) instead of
21203 $(objpfx)run-conformtest.out.
21204 (generated): Add $(conformtest-header-list-base). If
21205 [$(fast-check) && !$(cross-compiling)], add
21206 $(conformtest-header-base). Remove previous setting.
21207 ($(conformtest-header-list-tests)): New target.
21208 (test-xfail-run-conformtest): Remove variable.
21209 ($(objpfx)run-conformtest.out): Remove target.
21210 (test-xfail-ISO11/complex.h/conform): New variable.
21211 (test-xfail-ISO11/stdalign.h/conform): Likewise.
21212 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21213 (test-xfail-XPG3/varargs.h/conform): Likewise.
21214 (test-xfail-XPG4/varargs.h/conform): Likewise.
21215 (test-xfail-UNIX98/varargs.h/conform): Likewise.
21216 (test-xfail-XPG4/ndbm.h/conform): Likewise.
21217 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21218 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21219 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21220 (test-xfail-XPG3/fcntl.h/conform): Likewise.
21221 (test-xfail-XPG3/ftw.h/conform): Likewise.
21222 (test-xfail-XPG3/grp.h/conform): Likewise.
21223 (test-xfail-XPG3/langinfo.h/conform): Likewise.
21224 (test-xfail-XPG3/limits.h/conform): Likewise.
21225 (test-xfail-XPG3/pwd.h/conform): Likewise.
21226 (test-xfail-XPG3/search.h/conform): Likewise.
21227 (test-xfail-XPG3/signal.h/conform): Likewise.
21228 (test-xfail-XPG3/stdio.h/conform): Likewise.
21229 (test-xfail-XPG3/stdlib.h/conform): Likewise.
21230 (test-xfail-XPG3/string.h/conform): Likewise.
21231 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21232 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21233 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21234 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21235 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21236 (test-xfail-XPG3/sys/types.h/conform): Likewise.
21237 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21238 (test-xfail-XPG3/termios.h/conform): Likewise.
21239 (test-xfail-XPG3/time.h/conform): Likewise.
21240 (test-xfail-XPG3/unistd.h/conform): Likewise.
21241 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21242 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21243 (test-xfail-XPG4/langinfo.h/conform): Likewise.
21244 (test-xfail-XPG4/netdb.h/conform): Likewise.
21245 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21246 (test-xfail-XPG4/signal.h/conform): Likewise.
21247 (test-xfail-XPG4/stdio.h/conform): Likewise.
21248 (test-xfail-XPG4/stdlib.h/conform): Likewise.
21249 (test-xfail-XPG4/stropts.h/conform): Likewise.
21250 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21251 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21252 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21253 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21254 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21255 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21256 (test-xfail-XPG4/sys/time.h/conform): Likewise.
21257 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21258 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21259 (test-xfail-XPG4/termios.h/conform): Likewise.
21260 (test-xfail-XPG4/ucontext.h/conform): Likewise.
21261 (test-xfail-XPG4/unistd.h/conform): Likewise.
21262 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21263 (test-xfail-POSIX/sched.h/conform): Likewise.
21264 (test-xfail-POSIX/signal.h/conform): Likewise.
21265 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21266 (test-xfail-POSIX/tar.h/conform): Likewise.
21267 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21268 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21269 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21270 (test-xfail-UNIX98/netdb.h/conform): Likewise.
21271 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21272 (test-xfail-UNIX98/sched.h/conform): Likewise.
21273 (test-xfail-UNIX98/signal.h/conform): Likewise.
21274 (test-xfail-UNIX98/stdio.h/conform): Likewise.
21275 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21276 (test-xfail-UNIX98/stropts.h/conform): Likewise.
21277 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21278 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21279 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21280 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21281 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21282 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21283 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21284 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21285 (test-xfail-UNIX98/unistd.h/conform): Likewise.
21286 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21287 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21288 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21289 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21290 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21291 (test-xfail-XOPEN2K/math.h/conform): Likewise.
21292 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21293 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21294 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21295 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21296 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21297 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21298 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21299 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21300 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21301 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21302 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21303 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21304 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21305 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21306 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21307 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21308 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21309 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21310 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21311 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21312 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21313 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21314 (test-xfail-POSIX2008/signal.h/conform): Likewise.
21315 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21316 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21317 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21318 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21319 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21320 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21321 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21322 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21323 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21324 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21325 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21326 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21327 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21328 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21329 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21330 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21331 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21332 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21333 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21334 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21335 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21336 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21337 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21338 (conformtest-cc-flags): Likewise.
21339 ($(conformtest-header-tests): New target.
21340 * conform/check-header-lists.sh: New file.
21341 * conform/run-conformtest.sh: Remove.
21343 * conform/conformtest.pl: Allow ' and \ in values given for
21345 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21347 [POSIX] (sys/types.h): Likewise.
21348 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21350 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21352 * conform/data/signal.h-data (SIGIO): Remove expectation.
21353 [XPG3] (SIGBUS): Do not expect.
21354 [POSIX || XPG3] (SIGPOLL): Likewise.
21355 [POSIX || XPG3] (SIGPROF): Likewise.
21356 [POSIX || XPG3] (SIGSYS): Likewise.
21357 [XPG3] (SIGTRAP): Likewise.
21358 [POSIX || XPG3] (SIGURG): Likewise.
21359 [POSIX || XPG3] (SIGVTALRM): Likewise.
21360 [POSIX || XPG3] (SIGXCPU): Likewise.
21361 [POSIX || XPG3] (SIGXFSZ): Likewise.
21362 [POSIX] (SA_SIGINFO): Expect.
21363 [XPG3] (siginfo_t): Do not expect type or contents.
21364 [POSIX] (si_pid): Do not expect element.
21365 [POSIX] (si_uid): Likewise.
21366 [POSIX] (si_addr): Likewise.
21367 [POSIX] (si_status): Likewise.
21368 [POSIX] (si_band): Likewise.
21369 [XPG4] (si_value): Likewise.
21370 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21371 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21372 [POSIX || XPG3] (ILL_ILLADR): Likewise.
21373 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21374 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21375 [POSIX || XPG3] (ILL_PRVREG): Likewise.
21376 [POSIX || XPG3] (ILL_COPROC): Likewise.
21377 [POSIX || XPG3] (ILL_BADSTK): Likewise.
21378 [POSIX || XPG3] (FPE_INTDIV): Likewise.
21379 [POSIX || XPG3] (FPE_INTOVF): Likewise.
21380 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21381 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21382 [POSIX || XPG3] (FPE_FLTUND): Likewise.
21383 [POSIX || XPG3] (FPE_FLTRES): Likewise.
21384 [POSIX || XPG3] (FPE_FLTINV): Likewise.
21385 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21386 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21387 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21388 [POSIX || XPG3] (BUS_ADRALN): Likewise.
21389 [POSIX || XPG3] (BUS_ADRERR): Likewise.
21390 [POSIX || XPG3] (BUS_OBJERR): Likewise.
21391 [POSIX || XPG3] (CLD_EXITED): Likewise.
21392 [POSIX || XPG3] (CLD_KILLED): Likewise.
21393 [POSIX || XPG3] (CLD_DUMPED): Likewise.
21394 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21395 [POSIX || XPG3] (CLD_STOPPED): Likewise.
21396 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21397 [POSIX || XPG3] (POLL_IN): Likewise.
21398 [POSIX || XPG3] (POLL_OUT): Likewise.
21399 [POSIX || XPG3] (POLL_MSG): Likewise.
21400 [POSIX || XPG3] (POLL_ERR): Likewise.
21401 [POSIX || XPG3] (POLL_PRI): Likewise.
21402 [POSIX || XPG3] (POLL_HUP): Likewise.
21403 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21404 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21405 (SIG*): Do not allow.
21406 [XPG3] (si_*): Likewise.
21407 [XPG3] (SI_*): Likewise.
21408 [XPG3 || XPG4] (sigev_*): Likewise.
21409 [XPG3 || XPG4] (SIGEV_*): Likewise.
21410 [XPG3 || XPG4] (sival_*): Likewise.
21411 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21412 [POSIX || XPG3] (BUS_*): Likewise.
21413 [POSIX || XPG3] (CLD_*): Likewise.
21414 [POSIX || XPG3] (FPE_*): Likewise.
21415 [POSIX || XPG3] (ILL_*): Likewise.
21416 [POSIX || XPG3] (POLL_*): Likewise.
21417 [POSIX || XPG3] (SEGV_*): Likewise.
21418 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21419 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21420 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21421 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21422 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21423 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21424 Specify type and value.
21425 (TVERSLEN): Likewise.
21426 (REGTYPE): Likewise.
21427 (AREGTYPE): Likewise.
21428 (LNKTYPE): Likewise.
21429 (SYMTYPE): Likewise.
21430 (CHRTYPE): Likewise.
21431 (BLKTYPE): Likewise.
21432 (DIRTYPE): Likewise.
21433 (FIFOTYPE): Likewise.
21434 (CONTTYPE): Likewise.
21438 (TUREAD): Likewise.
21439 (TUWRITE): Likewise.
21440 (TUEXEC): Likewise.
21441 (TGREAD): Likewise.
21442 (TGWRITE): Likewise.
21443 (TGEXEC): Likewise.
21444 (TOREAD): Likewise.
21445 (TOWRITE): Likewise.
21446 (TOEXEC): Likewise.
21447 [POSIX] (TSVTX): Expect constant.
21449 2014-03-06 Joseph Myers <joseph@codesourcery.com>
21451 * Makefile (tests): Change dependencies to ....
21452 (tests-special): ... additions to this variable.
21453 (tests): Depend on $(tests-special).
21454 * Makerules (check-abi-list): New variable.
21455 (check-abi): Depend on $(check-abi-list).
21456 [$(subdir) = elf] (tests-special): Add
21457 $(objpfx)check-abi-libc.out.
21458 [$(build-shared) = yes && subdir] (tests-special): Add
21460 [$(build-shared) = yes && subdir] (tests): Do not depend on
21462 * Rules (tests): Depend on $(tests-special).
21463 (xtests): Depend on $(xtests-special).
21464 * catgets/Makefile (tests): Change dependencies to ....
21465 (tests-special): ... additions to this variable.
21466 * conform/Makefile (tests): Change dependencies to ....
21467 (tests-special): ... additions to this variable.
21468 * elf/Makefile (tests): Change dependencies to ....
21469 (tests-special): ... additions to this variable.
21470 * grp/Makefile (tests): Change dependencies to ....
21471 (tests-special): ... additions to this variable.
21472 * iconv/Makefile (xtests): Change dependencies to ....
21473 (xtests-special): ... additions to this variable.
21474 * iconvdata/Makefile (tests): Change dependencies to ....
21475 (tests-special): ... additions to this variable.
21476 * intl/Makefile (tests): Change dependencies to ....
21477 (tests-special): ... additions to this variable. Also add
21478 $(objpfx)tst-gettext.out.
21479 * io/Makefile (tests): Change dependencies to ....
21480 (tests-special): ... additions to this variable.
21481 * libio/Makefile (tests): Change dependencies to ....
21482 (tests-special): ... additions to this variable.
21483 * malloc/Makefile (tests): Change dependencies to ....
21484 (tests-special): ... additions to this variable.
21485 * misc/Makefile (tests): Change dependencies to ....
21486 (tests-special): ... additions to this variable.
21487 * nptl/Makefile (tests): Change dependencies to ....
21488 (tests-special): ... additions to this variable.
21489 * nptl_db/Makefile (tests): Change dependencies to ....
21490 (tests-special): ... additions to this variable.
21491 * posix/Makefile (tests): Change dependencies to ....
21492 (tests-special): ... additions to this variable.
21493 (xtests): Change dependencies to ....
21494 (xtests-special): ... additions to this variable.
21495 * resolv/Makefile (tests): Change dependencies to ....
21496 (tests-special): ... additions to this variable.
21497 (xtests): Change dependencies to ....
21498 (xtests-special): ... additions to this variable.
21499 * stdio-common/Makefile (tests): Change dependencies to ....
21500 (tests-special): ... additions to this variable.
21501 (do-tst-unbputc): Remove target.
21502 (do-tst-printf): Likewise.
21503 * stdlib/Makefile (tests): Change dependencies to ....
21504 (tests-special): ... additions to this variable.
21505 * string/Makefile (tests): Change dependencies to ....
21506 (tests-special): ... additions to this variable.
21507 * sysdeps/x86/Makefile (tests): Change dependencies to ....
21508 (tests-special): ... additions to this variable.
21510 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21512 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21514 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21515 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21517 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21518 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21519 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21520 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21521 * conform/data/libgen.h-data [XPG3]: Likewise.
21522 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21523 * conform/data/ndbm.h-data [XPG3]: Likewise.
21524 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21525 * conform/data/netdb.h-data [XPG3]: Likewise.
21526 * conform/data/netinet/in.h-data [XPG3]: Likewise.
21527 * conform/data/poll.h-data [XPG3]: Likewise.
21528 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21529 * conform/data/strings.h-data [XPG3]: Likewise.
21530 * conform/data/stropts.h-data [XPG3]: Likewise.
21531 * conform/data/sys/mman.h-data [XPG3]: Likewise.
21532 * conform/data/sys/resource.h-data [XPG3]: Likewise.
21533 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21535 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21536 * conform/data/sys/time.h-data [XPG3]: Likewise.
21537 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21538 * conform/data/sys/uio.h-data [XPG3]: Likewise.
21539 * conform/data/sys/un.h-data [XPG3]: Likewise.
21540 * conform/data/syslog.h-data [XPG3]: Likewise.
21541 * conform/data/ucontext.h-data [XPG3]: Likewise.
21542 * conform/data/utmpx.h-data [XPG3]: Likewise.
21543 * conform/data/varargs.h-data [UNIX98]: Enable file.
21545 * manual/Makefile (INSTALL_INFO): Remove variable setting.
21547 * math/libm-test.inc (struct test_f_f_data): Move expected results
21548 into structure for each rounding mode.
21549 (struct test_ff_f_data): Likewise.
21550 (struct test_ff_f_data_nexttoward): Likewise.
21551 (struct test_fi_f_data): Likewise.
21552 (struct test_fl_f_data): Likewise.
21553 (struct test_if_f_data): Likewise.
21554 (struct test_fff_f_data): Likewise.
21555 (struct test_c_f_data): Likewise.
21556 (struct test_f_f1_data): Likewise.
21557 (struct test_fF_f1_data): Likewise.
21558 (struct test_ffI_f1_data): Likewise.
21559 (struct test_c_c_data): Likewise.
21560 (struct test_cc_c_data): Likewise.
21561 (struct test_f_i_data): Likewise.
21562 (struct test_ff_i_data): Likewise.
21563 (struct test_f_l_data): Likewise.
21564 (struct test_f_L_data): Likewise.
21565 (struct test_fFF_11_data): Likewise.
21567 (RM_FE_DOWNWARD): Likewise.
21568 (RM_FE_TONEAREST): Likewise.
21569 (RM_FE_TOWARDZERO): Likewise.
21570 (RM_FE_UPWARD): Likewise.
21571 (RUN_TEST_LOOP_f_f): Update references to expected results.
21572 (RUN_TEST_LOOP_2_f): Likewise.
21573 (RUN_TEST_LOOP_fff_f): Likewise.
21574 (RUN_TEST_LOOP_c_f): Likewise.
21575 (RUN_TEST_LOOP_f_f1): Likewise.
21576 (RUN_TEST_LOOP_fF_f1): Likewise.
21577 (RUN_TEST_LOOP_fI_f1): Likewise.
21578 (RUN_TEST_LOOP_ffI_f1): Likewise.
21579 (RUN_TEST_LOOP_c_c): Likewise.
21580 (RUN_TEST_LOOP_cc_c): Likewise.
21581 (RUN_TEST_LOOP_f_i): Likewise.
21582 (RUN_TEST_LOOP_f_i_tg): Likewise.
21583 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21584 (RUN_TEST_LOOP_f_b): Likewise.
21585 (RUN_TEST_LOOP_f_b_tg): Likewise.
21586 (RUN_TEST_LOOP_f_l): Likewise.
21587 (RUN_TEST_LOOP_f_L): Likewise.
21588 (RUN_TEST_LOOP_fFF_11): Likewise.
21589 * math/gen-libm-test.pl (parse_args): Output four copies of
21590 expected results for each test.
21592 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21593 (__ASSUME_UTIMES): Remove.
21594 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21595 (__ASSUME_UTIMES): Likewise.
21597 * math/gen-auto-libm-tests.c: Update comment on output format.
21598 (output_for_one_input_case): Generate before-rounding and
21599 after-rounding information as conditions on output flags not
21600 floating-point format.
21601 * math/auto-libm-test-out: Regenerated.
21602 * math/gen-libm-test.pl (cond_value): New function.
21603 (or_cond_value): Use cond_value.
21604 (generate_testfile): Handle conditional exceptions.
21606 2014-03-05 Joseph Myers <joseph@codesourcery.com>
21608 * math/libm-test.inc (max_valid_error): New variable.
21609 (init_max_error): Take new argument specifying whether function
21610 results are exactly determined. Set max_valid_error and bound
21611 other variables for errors based on this argument.
21612 (set_max_error): Do not record results above max_valid_error.
21613 (check_float_internal): Only accept errors of up to 0.5ulps if
21614 also at most max_valid_error.
21615 (START): Take new argument EXACT and pass it to init_max_error.
21616 (acos_test): Update call to START.
21617 (acos_test_tonearest): Likewise.
21618 (acos_test_towardzero): Likewise.
21619 (acos_test_downward): Likewise.
21620 (acos_test_upward): Likewise.
21621 (acosh_test): Likewise.
21622 (asin_test): Likewise.
21623 (asin_test_tonearest): Likewise.
21624 (asin_test_towardzero): Likewise.
21625 (asin_test_downward): Likewise.
21626 (asin_test_upward): Likewise.
21627 (asinh_test): Likewise.
21628 (atan_test): Likewise.
21629 (atanh_test): Likewise.
21630 (atan2_test): Likewise.
21631 (cabs_test): Likewise.
21632 (cacos_test): Likewise.
21633 (cacosh_test): Likewise.
21634 (carg_test): Likewise.
21635 (casin_test): Likewise.
21636 (casinh_test): Likewise.
21637 (catan_test): Likewise.
21638 (catanh_test): Likewise.
21639 (cbrt_test): Likewise.
21640 (ccos_test): Likewise.
21641 (ccosh_test): Likewise.
21642 (ceil_test): Likewise.
21643 (cexp_test): Likewise.
21644 (cimag_test): Likewise.
21645 (clog_test): Likewise.
21646 (clog10_test): Likewise.
21647 (conj_test): Likewise.
21648 (copysign_test): Likewise.
21649 (cos_test): Likewise.
21650 (cos_test_tonearest): Likewise.
21651 (cos_test_towardzero): Likewise.
21652 (cos_test_downward): Likewise.
21653 (cos_test_upward): Likewise.
21654 (cosh_test): Likewise.
21655 (cosh_test_tonearest): Likewise.
21656 (cosh_test_towardzero): Likewise.
21657 (cosh_test_downward): Likewise.
21658 (cosh_test_upward): Likewise.
21659 (cpow_test): Likewise.
21660 (cproj_test): Likewise.
21661 (creal_test): Likewise.
21662 (csin_test): Likewise.
21663 (csinh_test): Likewise.
21664 (csqrt_test): Likewise.
21665 (ctan_test): Likewise.
21666 (ctan_test_tonearest): Likewise.
21667 (ctan_test_towardzero): Likewise.
21668 (ctan_test_downward): Likewise.
21669 (ctan_test_upward): Likewise.
21670 (ctanh_test): Likewise.
21671 (ctanh_test_tonearest): Likewise.
21672 (ctanh_test_towardzero): Likewise.
21673 (ctanh_test_downward): Likewise.
21674 (ctanh_test_upward): Likewise.
21675 (erf_test): Likewise.
21676 (erfc_test): Likewise.
21677 (exp_test): Likewise.
21678 (exp_test_tonearest): Likewise.
21679 (exp_test_towardzero): Likewise.
21680 (exp_test_downward): Likewise.
21681 (exp_test_upward): Likewise.
21682 (exp10_test): Likewise.
21683 (exp10_test_tonearest): Likewise.
21684 (exp10_test_towardzero): Likewise.
21685 (exp10_test_downward): Likewise.
21686 (exp10_test_upward): Likewise.
21687 (pow10_test): Likewise.
21688 (exp2_test): Likewise.
21689 (expm1_test): Likewise.
21690 (expm1_test_tonearest): Likewise.
21691 (expm1_test_towardzero): Likewise.
21692 (expm1_test_downward): Likewise.
21693 (expm1_test_upward): Likewise.
21694 (fabs_test): Likewise.
21695 (fdim_test): Likewise.
21696 (floor_test): Likewise.
21697 (fma_test): Likewise.
21698 (fma_test_towardzero): Likewise.
21699 (fma_test_downward): Likewise.
21700 (fma_test_upward): Likewise.
21701 (fmax_test): Likewise.
21702 (fmin_test): Likewise.
21703 (fmod_test): Likewise.
21704 (fpclassify_test): Likewise.
21705 (frexp_test): Likewise.
21706 (hypot_test): Likewise.
21707 (ilogb_test): Likewise.
21708 (isfinite_test): Likewise.
21709 (finite_test): Likewise.
21710 (isgreater_test): Likewise.
21711 (isgreaterequal_test): Likewise.
21712 (isinf_test): Likewise.
21713 (isless_test): Likewise.
21714 (islessequal_test): Likewise.
21715 (islessgreater_test): Likewise.
21716 (isnan_test): Likewise.
21717 (isnormal_test): Likewise.
21718 (issignaling_test): Likewise.
21719 (isunordered_test): Likewise.
21720 (j0_test): Likewise.
21721 (j1_test): Likewise.
21722 (jn_test): Likewise.
21723 (ldexp_test): Likewise.
21724 (lgamma_test): Likewise.
21725 (gamma_test): Likewise.
21726 (lrint_test): Likewise.
21727 (lrint_test_tonearest): Likewise.
21728 (lrint_test_towardzero): Likewise.
21729 (lrint_test_downward): Likewise.
21730 (lrint_test_upward): Likewise.
21731 (llrint_test): Likewise.
21732 (llrint_test_tonearest): Likewise.
21733 (llrint_test_towardzero): Likewise.
21734 (llrint_test_downward): Likewise.
21735 (llrint_test_upward): Likewise.
21736 (log_test): Likewise.
21737 (log10_test): Likewise.
21738 (log1p_test): Likewise.
21739 (log2_test): Likewise.
21740 (logb_test): Likewise.
21741 (logb_test_downward): Likewise.
21742 (lround_test): Likewise.
21743 (llround_test): Likewise.
21744 (modf_test): Likewise.
21745 (nearbyint_test): Likewise.
21746 (nextafter_test): Likewise.
21747 (nexttoward_test): Likewise.
21748 (pow_test): Likewise.
21749 (pow_test_tonearest): Likewise.
21750 (pow_test_towardzero): Likewise.
21751 (pow_test_downward): Likewise.
21752 (pow_test_upward): Likewise.
21753 (remainder_test): Likewise.
21754 (drem_test): Likewise.
21755 (remainder_test_tonearest): Likewise.
21756 (drem_test_tonearest): Likewise.
21757 (remainder_test_towardzero): Likewise.
21758 (drem_test_towardzero): Likewise.
21759 (remainder_test_downward): Likewise.
21760 (drem_test_downward): Likewise.
21761 (remainder_test_upward): Likewise.
21762 (drem_test_upward): Likewise.
21763 (remquo_test): Likewise.
21764 (rint_test): Likewise.
21765 (rint_test_tonearest): Likewise.
21766 (rint_test_towardzero): Likewise.
21767 (rint_test_downward): Likewise.
21768 (rint_test_upward): Likewise.
21769 (round_test): Likewise.
21770 (scalb_test): Likewise.
21771 (scalbn_test): Likewise.
21772 (scalbln_test): Likewise.
21773 (signbit_test): Likewise.
21774 (sin_test): Likewise.
21775 (sin_test_tonearest): Likewise.
21776 (sin_test_towardzero): Likewise.
21777 (sin_test_downward): Likewise.
21778 (sin_test_upward): Likewise.
21779 (sincos_test): Likewise.
21780 (sinh_test): Likewise.
21781 (sinh_test_tonearest): Likewise.
21782 (sinh_test_towardzero): Likewise.
21783 (sinh_test_downward): Likewise.
21784 (sinh_test_upward): Likewise.
21785 (sqrt_test): Likewise.
21786 (sqrt_test_tonearest): Likewise.
21787 (sqrt_test_towardzero): Likewise.
21788 (sqrt_test_downward): Likewise.
21789 (sqrt_test_upward): Likewise.
21790 (tan_test): Likewise.
21791 (tan_test_tonearest): Likewise.
21792 (tan_test_towardzero): Likewise.
21793 (tan_test_downward): Likewise.
21794 (tan_test_upward): Likewise.
21795 (tanh_test): Likewise.
21796 (tgamma_test): Likewise.
21797 (trunc_test): Likewise.
21798 (y0_test): Likewise.
21799 (y1_test): Likewise.
21800 (yn_test): Likewise.
21801 (significand_test): Likewise.
21803 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21804 individual tests in comment.
21805 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21806 (prev_max_error): New variable.
21807 (prev_real_max_error): Likewise.
21808 (prev_imag_max_error): Likewise.
21809 (compare_ulp_data): Don't refer to test names in comment.
21810 (find_test_ulps): Remove function.
21811 (find_function_ulps): Likewise.
21812 (find_complex_function_ulps): Likewise.
21813 (init_max_error): Take function name as argument. Look up ulps
21815 (print_ulps): Remove function.
21816 (print_max_error): Use prev_max_error instead of calling
21817 find_function_ulps.
21818 (print_complex_max_error): Use prev_real_max_error and
21819 prev_imag_max_error instead of calling find_complex_function_ulps.
21820 (check_float_internal): Take max_ulp parameter instead of calling
21821 find_test_ulps. Don't call print_ulps.
21822 (check_float): Update call to check_float_internal.
21823 (check_complex): Update calls to check_float_internal.
21824 (START): Pass argument to init_max_error.
21825 * math/gen-libm-test.pl (%results): Don't include "kind"
21827 (parse_ulps): Don't handle ulps of individual tests.
21828 (print_ulps_file): Likewise.
21829 (output_ulps): Likewise.
21830 * math/README.libm-test: Update.
21831 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21833 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21834 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21835 * sysdeps/arm/libm-test-ulps: Likewise.
21836 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21837 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21838 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21839 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21840 * sysdeps/microblaze/libm-test-ulps: Likewise.
21841 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21842 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21843 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21844 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21845 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21846 * sysdeps/sh/libm-test-ulps: Likewise.
21847 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21848 * sysdeps/tile/libm-test-ulps: Likewise.
21849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21851 2014-03-04 Joseph Myers <joseph@codesourcery.com>
21853 * math/libm-test.inc (print_complex_max_error): Check separately
21854 whether real and imaginary errors are within allowed range and
21855 pass 0 to print_complex_function_ulps instead of value within
21858 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21860 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21862 (get_handles_fopen): Likewise.
21863 (do_write_test): Likewise.
21865 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21867 * libio/fileops.c (do_ftell): Use cached offset when
21869 * libio/iofwide.c (do_ftell_wide): Likewise.
21870 * libio/iofdopen.c (_IO_new_fdopen): Don't use
21872 * libio/wfileops.c (_IO_fwide): Don't cache offset.
21875 * libio/libioP.h (get_file_offset): New function.
21876 * libio/fileops.c (get_file_offset): Likewise.
21877 (do_ftell): Likewise.
21878 (_IO_new_file_seekoff): Split out ftell logic.
21879 * libio/wfileops.c (do_ftell_wide): Likewise.
21880 (_IO_wfile_seekoff): Split out ftell logic.
21881 * libio/tst-ftell-active-handler.c: New test case.
21882 * libio/Makefile (tests): Add it.
21884 2014-03-03 Roland McGrath <roland@hack.frob.com>
21886 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21887 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21889 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21892 * nscd/connections.c (nscd_init): Call do_exit.
21893 (start_threads): Call do_exit and notify_parent.
21894 (begin_drop_privileges): Call do_exit.
21895 (finish_drop_privileges): Likewise.
21896 * nscd/selinux.c (preserve_capabilities): Likewise.
21897 (install_real_capabilities): Likewise.
21898 (nscd_selinux_enabled): Likewise.
21899 (avc_create_thread): Likewise.
21900 (avc_alloc_lock): Likewise.
21901 (nscd_avc_init): Likewise.
21902 * nscd/nscd.c (parent_fd): New static variable.
21903 (main): Create a pipe between parent and child processes.
21904 Skip closing parent_fd.
21905 (monitor_child): New function.
21906 (do_exit): Likewise.
21907 (notify_parent): Likewise.
21908 * nscd/nscd.h (notify_parent): Likewise.
21909 (do_exit): Likewise.
21911 2014-03-03 Carlos O'Donell <carlos@redhat.com>
21913 * malloc/malloc.c (__libc_calloc): Revert last change.
21915 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21919 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21921 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21925 (__libc_ifunc_impl_list): Likewise.
21926 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21927 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21928 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21929 * string/strrchr.c: Define STRRCHR.
21931 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
21933 * benchtest/bench-strtok.c (simple_strtok): Delete.
21934 (strtok_string): Use as benchmark.
21935 * string/strtok (STRTOK): New macro.
21937 2014-02-28 Carlos O'Donell <carlos@redhat.com>
21939 * manual/threads.texi: Add header and standard comments to all
21942 * elf/dl-lookup.c (check_match): New function.
21943 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21944 (do_lookup_x): Remove nested function check_match. Use non-nested
21945 function check_match.
21947 2014-02-28 Roland McGrath <roland@hack.frob.com>
21949 * csu/Makefile (generated, before-compile): Use += rather than =.
21950 * catgets/Makefile (generated, generated-dirs): Likewise.
21951 * debug/Makefile (generated): Likewise.
21952 * dlfcn/Makefile (generated): Likewise.
21953 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21954 * iconvdata/Makefile (before-compile, generated): Likewise.
21955 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21956 * libio/Makefile (generated): Likewise.
21957 * malloc/Makefile (generated): Likewise.
21958 * manual/Makefile (generated, generated-dirs): Likewise.
21959 * misc/Makefile (generated): Likewise.
21960 * posix/Makefile (generated): Likewise.
21961 * resolv/Makefile (generated): Likewise.
21962 * sunrpc/Makefile (generated, generated-dirs): Likewise.
21963 * timezone/Makefile (generated, generated-dirs): Likewise.
21965 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21967 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21969 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21970 power8 implementation.
21971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21972 file: POWER8 llround ifunc implementation.
21973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21974 (__lllround): Add POWER8 implementation.
21975 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21976 POWER8 llround implementation.
21978 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21979 power8 implementation.
21980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21981 file: POWER8 llrint ifunc implementation.
21982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21983 Add POWER8 implementation.
21984 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21985 POWER8 llrint implementation.
21987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21988 power8 implementation.
21989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21990 file: POWER8 finite ifunc implementation.
21991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21992 Add POWER8 implementation.
21993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21995 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21996 POWER8 finite implementation.
21997 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21999 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22000 power8 implementation.
22001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22002 file: POWER8 isinf ifunc implementation.
22003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22004 POWER8 implementation.
22005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22007 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22008 isinf implementation.
22009 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22011 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22012 (INIT_ARCH): Add hwcap2 initialization.
22013 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22014 power8 implementation.
22015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22016 file: POWER8 isnan ifunc implementation.
22017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22018 POWER8 implementation.
22019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22021 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22022 isnan implementation.
22023 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22025 2014-02-27 Joey Ye <joey.ye@arm.com>
22027 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22028 (_FP_NANFRAC_Q): Set to zero.
22030 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22033 * math/auto-libm-test-in: New test inputs.
22034 * math/auto-libm-test-out: Regenerate.
22035 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22038 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22040 2014-02-27 Joseph Myers <joseph@codesourcery.com>
22042 * scripts/evaluate-test.sh: Take new argument indicating whether
22043 failure is expected.
22044 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22045 indicating whether failure is expected.
22046 * conform/Makefile (test-xfail-run-conformtest): New variable.
22047 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22049 * posix/Makefile (test-xfail-annexc): New variable.
22050 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22052 2014-02-26 Joseph Myers <joseph@codesourcery.com>
22054 * argp/Makefile: Include Makeconfig immediately after defining
22056 * assert/Makefile: Likewise.
22057 * benchtests/Makefile: Likewise.
22058 * catgets/Makefile: Likewise.
22059 * conform/Makefile: Likewise.
22060 * crypt/Makefile: Likewise.
22061 * csu/Makefile: Likewise.
22062 (all): Remove target.
22063 * ctype/Makefile: Include Makeconfig immediately after defining
22065 * debug/Makefile: Likewise.
22066 * dirent/Makefile: Likewise.
22067 * dlfcn/Makefile: Likewise.
22068 * gmon/Makefile: Likewise.
22069 * gnulib/Makefile: Likewise.
22070 * grp/Makefile: Likewise.
22071 * gshadow/Makefile: Likewise.
22072 * hesiod/Makefile: Likewise.
22073 * hurd/Makefile: Likewise.
22074 (all): Remove target.
22075 * iconvdata/Makefile: Include Makeconfig immediately after
22077 * inet/Makefile: Likewise.
22078 * intl/Makefile: Likewise.
22079 * io/Makefile: Likewise.
22080 * libio/Makefile: Likewise.
22081 (all): Remove target.
22082 * locale/Makefile: Include Makeconfig immediately after defining
22084 * login/Makefile: Likewise.
22085 * mach/Makefile: Likewise.
22086 (all): Remove target.
22087 * malloc/Makefile: Include Makeconfig immediately after defining
22089 (all): Remove target.
22090 * manual/Makefile: Include Makeconfig immediately after defining
22092 * math/Makefile: Likewise.
22093 * misc/Makefile: Likewise.
22094 * nis/Makefile: Likewise.
22095 * nss/Makefile: Likewise.
22096 * po/Makefile: Likewise.
22097 (all): Remove target.
22098 * posix/Makefile: Include Makeconfig immediately after defining
22100 * pwd/Makefile: Likewise.
22101 * resolv/Makefile: Likewise.
22102 * resource/Makefile: Likewise.
22103 * rt/Makefile: Likewise.
22104 * setjmp/Makefile: Likewise.
22105 * shadow/Makefile: Likewise.
22106 * signal/Makefile: Likewise.
22107 * socket/Makefile: Likewise.
22108 * soft-fp/Makefile: Likewise.
22109 * stdio-common/Makefile: Likewise.
22110 * stdlib/Makefile: Likewise.
22111 * streams/Makefile: Likewise.
22112 * string/Makefile: Likewise.
22113 * sunrpc/Makefile: Likewise.
22114 (all): Remove target.
22115 * sysvipc/Makefile: Include Makeconfig immediately after defining
22117 * termios/Makefile: Likewise.
22118 * time/Makefile: Likewise.
22119 * timezone/Makefile: Likewise.
22120 (all): Remove target.
22121 * wcsmbs/Makefile: Include Makeconfig immediately after defining
22123 * wctype/Makefile: Likewise.
22125 2014-02-26 Steve Ellcey <sellcey@mips.com>
22127 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22128 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22129 (libc_feholdexcept_setround_mips): Ditto.
22130 (libc_feholdsetround): New.
22131 (libc_feholdsetroundf): New.
22132 (libc_feholdsetroundl): New.
22133 (libc_feupdateenv_test_mips): New.
22134 (libc_feupdateenv_test): New.
22135 (libc_feupdateenv_testf): New.
22136 (libc_feupdateenv_testl): New.
22137 (libc_feresetround): New.
22138 (libc_feresetroundf): New.
22139 (libc_feresetroundl): New.
22140 (libc_fetestexcept_mips): New.
22141 (libc_fetestexcept): New.
22142 (libc_fetestexceptf): New.
22143 (libc_fetestexceptl): New.
22144 (HAVE_RM_CTX): New.
22145 (libc_feholdexcept_setround_mips_ctx): New.
22146 (libc_feholdexcept_setround_ctx): New.
22147 (libc_feholdexcept_setroundf_ctx): New.
22148 (libc_feholdexcept_setroundl_ctx): New.
22149 (libc_fesetenv_mips_ctx): New.
22150 (libc_fesetenv_ctx): New.
22151 (libc_fesetenv_ctxf): New.
22152 (libc_fesetenv_ctxl): New.
22153 (libc_feupdateenv_mips_ctx): New.
22154 (libc_feupdateenv_ctx): New.
22155 (libc_feupdateenvf_ctx): New.
22156 (libc_feupdateenvl_ctx): New.
22157 (libc_feholdsetround_mips_ctx): New.
22158 (libc_feholdsetround_ctx): New.
22159 (libc_feholdsetroundf_ctx): New.
22160 (libc_feholdsetroundl_ctx): New.
22161 (libc_feresetround_mips_ctx): New.
22162 (libc_feresetround_ctx): New.
22163 (libc_feresetroundf_ctx): New.
22164 (libc_feresetroundl_ctx): New.
22166 2014-02-26 Carlos O'Donell <carlos@redhat.com>
22168 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22170 * manual/ipc.texi: New file.
22171 * manual/Makefile (chapters): Add ipc.
22172 * manual/job.texi: Add "Inter-Process Communication" to next.
22173 * manual/process.texi: Add "Inter-Process Communication" to prev.
22175 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22179 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
22181 * malloc/malloc.c (__libc_calloc): Simplify implementation.
22183 * manual/arith.texi: Fix spaces after sentences.
22184 * manual/charset.texi: Likewise.
22185 * manual/errno.texi: Likewise.
22186 * manual/install.texi: Likewise.
22187 * manual/llio.texi: Likewise.
22188 * manual/locale.texi: Likewise.
22189 * manual/maint.texi: Likewise.
22190 * manual/math.texi: Likewise.
22191 * manual/memory.texi: Likewise.
22192 * manual/message.texi: Likewise.
22193 * manual/probes.texi: Likewise.
22194 * manual/resource.texi: Likewise.
22195 * manual/signal.texi: Likewise.
22196 * manual/socket.texi: Likewise.
22197 * manual/stdio.texi: Likewise.
22198 * manual/string.texi: Likewise.
22199 * manual/time.texi: Likewise.
22200 * manual/users.texi: Likewise.
22202 2014-02-25 Carlos O'Donell <carlos@redhat.com>
22205 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22206 _DEFAULT_SOURCE is defined.
22208 2014-02-25 Ulrich Drepper <drepper@gmail.com>
22209 Carlos O'Donell <carlos@redhat.com>
22212 * elf/dl-tls.c (_dl_count_modids): New function.
22213 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22214 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22215 audit library and increment generation counter.
22216 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22217 * elf/tst-audit9.c: New file.
22218 * elf/tst-auditmod9a.c: New file.
22219 * elf/tst-auditmod9b.c: New file.
22220 * elf/Makefile: Add rules to build and run tst-audit9.
22222 2014-02-25 Florian Weimer <fweimer@redhat.com>
22225 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22227 2014-02-25 Will Newton <will.newton@linaro.org>
22229 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22230 (__longjmp): Restore sp and lr before restoring callee
22231 saved registers. Add longjmp and longjmp_target
22232 SystemTap probe point.
22233 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22234 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22235 Define to zero to match jmpbuf layout.
22236 * sysdeps/arm/setjmp.S: Include stap-probe.h.
22237 (__sigsetjmp): Save sp and lr before saving callee
22238 saved registers. Add setjmp SystemTap probe point.
22240 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22242 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22244 2014-02-24 Andreas Schwab <schwab@suse.de>
22247 * elf/pldd.c (wait_for_ptrace_stop): New function.
22248 (main): Call it after attaching.
22250 2014-02-22 Roland McGrath <roland@hack.frob.com>
22252 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22253 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22254 Versions files is now verboten.
22255 * hurd/Versions (libc: GLIBC_2.0):
22256 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22257 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22258 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22259 * mach/Versions: Likewise.
22261 * csu/Versions: Remove unused %include.
22262 * resolv/Versions: Likewise.
22264 2014-02-21 Joseph Myers <joseph@codesourcery.com>
22266 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22267 ($(objpfx)check-local-headers.out): Likewise.
22268 ($(objpfx)begin-end-check.out): Likewise.
22269 * Makerules (check-abi-%.out): Likewise.
22270 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22271 ($(objpfx)test2.cat): Likewise.
22272 ($(objpfx)de/libc.cat): Likewise.
22273 ($(objpfx)test-gencat.out): Likewise.
22274 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22275 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22276 ($(objpfx)noload-mem): Likewise.
22277 ($(objpfx)tst-pathopt.out): Likewise.
22278 ($(objpfx)tst-rtld-load-self.out): Likewise.
22279 ($(objpfx)tst-array1-cmp.out): Likewise.
22280 ($(objpfx)tst-array1-static-cmp.out): Likewise.
22281 ($(objpfx)tst-array2-cmp.out): Likewise.
22282 ($(objpfx)tst-array3-cmp.out): Likewise.
22283 ($(objpfx)tst-array4-cmp.out): Likewise.
22284 ($(objpfx)tst-array5-cmp.out): Likewise.
22285 ($(objpfx)tst-array5-static-cmp.out): Likewise.
22286 ($(objpfx)check-textrel.out): Likewise.
22287 ($(objpfx)check-execstack.out): Likewise.
22288 ($(objpfx)check-localplt.out): Likewise.
22289 ($(objpfx)order2-cmp.out): Likewise.
22290 ($(objpfx)tst-leaks1-mem): Likewise.
22291 ($(objpfx)tst-leaks1-static-mem): Likewise.
22292 ($(objpfx)tst-initorder-cmp.out): Likewise.
22293 ($(objpfx)tst-initorder2-cmp.out): Likewise.
22294 ($(objpfx)tst-unused-dep.out): Likewise.
22295 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22296 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22297 * iconv/Makefile (test-iconvconfig): Likewise.
22298 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22299 ($(objpfx)iconv-test.out): Likewise.
22300 ($(objpfx)tst-tables.out): Likewise.
22301 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22302 ($(objpfx)tst-gettext.out): Likewise.
22303 ($(objpfx)tst-translit.out): Likewise.
22304 ($(objpfx)tst-gettext2.out): Likewise.
22305 ($(objpfx)tst-gettext4.out): Likewise.
22306 ($(objpfx)tst-gettext6.out): Likewise.
22307 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22308 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22309 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22310 ($(objpfx)tst-fopenloc-mem.out): Likewise.
22311 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22312 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22313 * posix/Makefile ($(objpfx)globtest.out): Likewise.
22314 ($(objpfx)wordexp-tst.out): Likewise.
22315 ($(objpfx)annexc.out): Likewise.
22316 ($(objpfx)tst-fnmatch-mem): Likewise.
22317 ($(objpfx)bug-regex2-mem): Likewise.
22318 ($(objpfx)bug-regex14-mem): Likewise.
22319 ($(objpfx)bug-regex21-mem): Likewise.
22320 ($(objpfx)bug-regex31-mem): Likewise.
22321 ($(objpfx)tst-vfork3-mem): Likewise.
22322 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22323 ($(objpfx)tst-pcre-mem): Likewise.
22324 ($(objpfx)tst-boost-mem): Likewise.
22325 ($(objpfx)tst-getconf.out): Likewise.
22326 ($(objpfx)bug-ga2-mem): Likewise.
22327 ($(objpfx)bug-glob2-mem): Likewise.
22328 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22329 ($(objpfx)mtrace-tst-leaks2): Likewise.
22330 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22331 ($(objpfx)tst-printf.out): Likewise.
22332 ($(objpfx)tst-setvbuf1.out): Likewise.
22333 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22334 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22335 ($(objpfx)tst-fmtmsg.out): Likewise.
22336 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22337 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22339 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22340 * bits/sigaction.h [__USE_MISC]: Likewise.
22341 * bits/waitstatus.h: Update #endif comments.
22342 * ctype/ctype.h: Likewise.
22343 * dirent/dirent.h: Likewise.
22344 [__USE_MISC]: Remove redundant conditionals.
22345 * grp/grp.h: Update #endif comments.
22346 [__USE_GNU]: Remove redundant conditionals.
22347 [__USE_MISC]: Likewise.
22348 * inet/netinet/in.h [__USE_GNU]: Likewise.
22349 * io/sys/stat.h [__USE_MISC]: Likewise.
22350 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22351 * libio/bits/stdio.h: Update #endif comments.
22352 [__USE_MISC]: Remove redundant conditionals.
22353 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22354 * libio/stdio.h: Update #endif comments.
22355 [__USE_MISC]: Remove redundant conditionals.
22356 * math/bits/math-finite.h [__USE_MISC]: Likewise.
22357 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22358 * math/math.h: Update #else and #endif comments.
22359 [__USE_MISC]: Remove redundant conditionals.
22360 * misc/sys/uio.h: Update #endif comments.
22361 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22362 * posix/glob.h [__USE_MISC]: Likewise.
22363 * posix/sys/types.h: Update #endif comments.
22364 [__USE_MISC]: Remove redundant conditionals.
22365 * posix/sys/wait.h: Update #endif comments.
22366 [__USE_MISC]: Remove redundant conditionals.
22367 * posix/unistd.h: Update #endif comments.
22368 [__USE_MISC]: Remove redundant conditionals.
22369 * pwd/pwd.h [__USE_GNU]: Likewise.
22370 [__USE_MISC]: Likewise.
22371 * resolv/netdb.h [__USE_GNU]: Likewise.
22372 * signal/signal.h: Update #endif comments.
22373 [__USE_MISC]: Remove redundant conditionals.
22374 * stdlib/stdlib.h: Update #else and #endif comments.
22375 [__USE_MISC]: Remove redundant conditionals.
22376 [__USE_GNU]: Likewise.
22377 * string/bits/string2.h [__USE_MISC]: Likewise.
22378 * string/string.h: Update #endif comments.
22379 [__USE_MISC]: Remove redundant conditionals.
22380 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22382 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22383 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22384 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22386 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22388 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22390 [__USE_MISC]: Remove redundant conditionals.
22391 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22392 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22393 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22394 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22395 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22397 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22398 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22400 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22401 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22403 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22405 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22406 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22408 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22410 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22411 * sysdeps/x86/bits/string.h: Update #endif comments.
22412 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22414 * time/sys/time.h: Update #endif comments.
22415 * time/time.h: Likewise.
22416 [__USE_MISC]: Remove redundant conditionals.
22418 2014-02-21 Yury Gribov <y.gribov@samsung.com>
22421 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22423 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
22425 * Versions.def (librt): Add GLIBC_2.17.
22427 2014-02-21 Adam Conrad <adconrad@0c3.net>
22429 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22430 synonym for _SYS_AUXV_H to allow direct inclusion.
22431 * sysdeps/sparc/bits/hwcap.h: Likewise.
22432 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22433 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22434 * sysdeps/sparc/sysdep.h: Likewise.
22436 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22438 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22440 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22442 * benchtests/bench-strrchr.c: Print length instead of position.
22444 2014-02-20 Joseph Myers <joseph@codesourcery.com>
22447 * sysdeps/unix/sysv/linux/kernel-features.h
22448 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22449 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22450 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22451 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22453 [__i386__ || __powerpc__ || __sh__ || __sparc__]
22454 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22455 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22456 (__ASSUME_SENDMMSG): Define instead of using previous
22457 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22458 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22459 (__ASSUME_SENDMMSG_SYSCALL): Define.
22460 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22461 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22463 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22464 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22466 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22467 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22469 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22470 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22471 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22472 [__ASSUME_SENDMMSG]: Change conditionals to
22473 [__ASSUME_SENDMMSG_SOCKETCALL].
22474 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22475 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22477 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22478 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22480 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22481 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22482 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22483 [!__ASSUME_SENDMMSG]: Change conditional to
22484 [!__ASSUME_SENDMMSG_SOCKETCALL].
22485 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22486 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22490 * sysdeps/unix/sysv/linux/kernel-features.h
22491 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22492 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22493 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22494 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22495 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22496 [__i386__ || __sparc__]
22497 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22498 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22499 (__ASSUME_RECVMMSG): Define instead of using previous
22500 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22501 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22502 (__ASSUME_RECVMMSG_SYSCALL): Define.
22503 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22504 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22506 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22507 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22509 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22510 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22512 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22513 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22514 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22515 [__ASSUME_RECVMMSG]: Change condition to
22516 [__ASSUME_RECVMMSG_SOCKETCALL].
22517 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22518 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22520 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22521 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22522 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22524 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22525 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22526 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22527 [!__ASSUME_RECVMMSG]: Change condition to
22528 [!__ASSUME_RECVMMSG_SOCKETCALL].
22529 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22530 (__ASSUME_RECVMMSG_SYSCALL): Define.
22533 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22534 __powerpc__ || __s390__ || __sh__ || __sparc__]
22535 (__ASSUME_SOCKETCALL): Define.
22536 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22537 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22538 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22539 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22540 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22541 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22542 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22543 (__ASSUME_ACCEPT4): Define instead of using previous
22544 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22545 __powerpc__ || __sparc__ || __s390__)] condition.
22546 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22547 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22548 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22549 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22550 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22551 [!__ASSUME_ACCEPT4]: Change condition to
22552 [!__ASSUME_ACCEPT4_SOCKETCALL].
22553 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22554 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
22555 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22556 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22557 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22558 __ASSUME_ACCEPT4_SYSCALL.
22559 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22560 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22561 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22562 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22563 __ASSUME_ACCEPT4_SYSCALL.
22564 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22565 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22566 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22567 [__ASSUME_ACCEPT4]: Change condition to
22568 [__ASSUME_ACCEPT4_SOCKETCALL].
22569 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22570 (__ASSUME_SOCKETCALL): Define.
22571 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22572 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22573 (__ASSUME_SOCKETCALL): Define.
22574 (__ASSUME_ACCEPT4): Remove.
22575 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22577 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22578 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22580 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22581 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22583 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22585 (HWCAP_ARM_LPAE): Likewise.
22586 (HWCAP_ARM_EVTSTRM): Likewise.
22587 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22588 Add vpfd32, lpae and evtstrm.
22589 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22592 2014-02-19 Joseph Myers <joseph@codesourcery.com>
22594 * math/auto-libm-test-in: Add tests of clog10.
22595 * math/auto-libm-test-out: Regenerated.
22596 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22597 * sysdeps/i386/fpu/libm-test-ulps: Update.
22598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22600 2014-02-18 Andreas Schwab <schwab@suse.de>
22603 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22604 Store non-zero if the second buffer was newly allocated.
22605 (send_dg): Likewise.
22606 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22607 to send_vc and send_dg.
22608 (res_nsend): Pass NULL for ansp2_malloced.
22609 * resolv/res_query.c (__libc_res_nquery): Add parameter
22610 answerp2_malloced and pass it down to __libc_res_nsend.
22611 (res_nquery): Pass additional NULL to __libc_res_nquery.
22612 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22613 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
22614 second answer buffer if answerp2_malloced was set.
22615 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22616 (__libc_res_nquerydomain): Add parameter
22617 answerp2_malloced and pass it down to __libc_res_nquery.
22618 (res_nquerydomain): Pass additional NULL to
22619 __libc_res_nquerydomain.
22620 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22621 additional NULL to __libc_res_nsend and __libc_res_nquery.
22622 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22623 additional NULL to __libc_res_nsearch.
22624 (_nss_dns_gethostbyname4_r): Revert last change. Use new
22625 parameter of __libc_res_nsearch to check for separately allocated
22627 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22629 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22630 additional NULL to __libc_res_nquery.
22631 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22632 __libc_res_nsearch.
22633 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22634 * include/resolv.h: Update prototypes of __libc_res_nquery,
22635 __libc_res_nsearch, __libc_res_nsend.
22637 2014-02-18 Joseph Myers <joseph@codesourcery.com>
22639 * math/auto-libm-test-in: Add tests of fma.
22640 * math/auto-libm-test-out: Regenerated.
22641 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22642 (fma_towardzero_test_data): Likewise.
22643 (fma_downward_test_data): Likewise.
22644 (fma_upward_test_data): Likewise.
22645 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22647 (rounding_modes): Add values for new field.
22648 (func_calc_method): Add value mpfr_fff_f.
22649 (func_calc_desc): Add mpfr_fff_f union field.
22650 (test_function): Add field exact_args.
22651 (FUNC): Add macro argument EXACT_ARGS.
22652 (FUNC_mpfr_f_f): Update call to FUNC.
22653 (FUNC_mpfr_f_f): Likewise.
22654 (FUNC_mpfr_ff_f): Likewise.
22655 (FUNC_mpfr_if_f): Likewise.
22656 (FUNC_mpc_c_f): Likewise.
22657 (FUNC_mpc_c_c): Likewise.
22658 (test_functions): Add fma. Update calls to FUNC.
22659 (handle_input_arg): Add argument exact_args.
22660 (add_test): Update call to handle_input_arg.
22661 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
22662 (output_for_one_input_case): Update call to calc_generic_results.
22663 Recalculate exact zero results in each rounding mode.
22665 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22666 non-negative before setting low bit.
22667 * math/auto-libm-test-in: Mark one asin test possibly having
22668 spurious underflow.
22669 * math/auto-libm-test-out: Regenerated.
22670 * sysdeps/i386/fpu/libm-test-ulps: Update.
22671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22673 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
22675 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22676 * sysdeps/unix/sysv/linux/microblaze: Move directory from
22677 ports/sysdeps/unix/sysv/linux/microblaze.
22678 * README: Add missing listing for microblaze*-*-linux-gnu.
22680 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
22682 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22685 2014-02-16 Mike Frysinger <vapier@gentoo.org>
22687 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22688 * sysdeps/unix/sysv/linux/ia64: Move directory from
22689 ports/sysdeps/unix/sysv/linux/ia64.
22690 * README: Update listing for ia64-*-linux-gnu.
22692 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
22693 Joseph Myers <joseph@codesourcery.com>
22695 * Makeconfig (test-name): New variable.
22696 (evaluate-test): Likewise.
22697 * Makerules (do-test-clean): Remove .test-result files.
22698 (common-mostlyclean): Likewise.
22699 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22700 * scripts/evaluate-test.sh: New file.
22702 2014-02-14 Joseph Myers <joseph@codesourcery.com>
22704 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22705 separate $(objpfx)tst-fopenloc-cmp.out and
22706 $(objpfx)tst-fopenloc-mem.out targets.
22707 (tests): Update dependencies.
22708 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22709 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22710 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22711 (tst-rxspencer-no-utf8-ARGS): New variable.
22712 (tst-rxspencer-no-utf8-ENV): Likewise.
22713 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22714 instead of $(objpfx)tst-rxspencer-mem.
22715 ($(objpfx)tst-rxspencer-mem): Change target to
22716 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
22717 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22718 * posix/tst-rxspencer-no-utf8.c: New file.
22720 * elf/Makefile ($(objpfx)order.out): Remove rule.
22721 [$(run-built-tests) = yes] (tests): Depend on
22722 $(objpfx)order-cmp.out.
22723 ($(objpfx)order-cmp.out): New rule.
22724 [$(run-built-tests) = yes] (tests): Depend on
22725 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22726 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22727 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22728 $(objpfx)tst-array5-static-cmp.out.
22729 ($(objpfx)tst-array1.out): Remove rule.
22730 ($(objpfx)tst-array1-cmp.out): New rule.
22731 ($(objpfx)tst-array1-static.out): Remove rule.
22732 ($(objpfx)tst-array1-static-cmp.out): New rule.
22733 ($(objpfx)tst-array2.out): Remove rule.
22734 ($(objpfx)tst-array2-cmp.out): New rule.
22735 ($(objpfx)tst-array3.out): Remove rule.
22736 ($(objpfx)tst-array3-cmp.out): New rule.
22737 ($(objpfx)tst-array4.out): Remove rule.
22738 ($(objpfx)tst-array4-cmp.out): New rule.
22739 ($(objpfx)tst-array5.out): Remove rule.
22740 ($(objpfx)tst-array5-cmp.out): New rule.
22741 ($(objpfx)tst-array5-static.out): Remove rule.
22742 ($(objpfx)tst-array5-static-cmp.out): New rule.
22743 [$(run-built-tests) = yes] (tests): Depend on
22744 $(objpfx)order2-cmp.out.
22745 ($(objpfx)order2.out): Remove rule.
22746 ($(objpfx)order2-cmp.out): New rule.
22747 ($(objpfx)tst-initorder.out): Remove rule.
22748 [$(run-built-tests) = yes] (tests): Depend on
22749 $(objpfx)tst-initorder-cmp.out.
22750 ($(objpfx)tst-initorder-cmp.out): New rule.
22751 ($(objpfx)tst-initorder2.out): Remove rule.
22752 [$(run-built-tests) = yes] (tests): Depend on
22753 $(objpfx)tst-initorder2-cmp.out.
22754 ($(objpfx)tst-initorder2-cmp.out): New rule.
22755 [$(run-built-tests) = yes] (tests): Depend on
22756 $(objpfx)tst-unused-dep-cmp.out.
22757 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22758 ($(objpfx)tst-unused-dep-cmp.out): New rule.
22759 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22760 on $(objpfx)tst-setvbuf1-cmp.out.
22761 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22762 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22763 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22764 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22765 ($(objpfx)tst-svc.out): Remove rule.
22766 ($(objpfx)tst-svc-cmp.out): New rule.
22768 2014-02-13 Joseph Myers <joseph@codesourcery.com>
22770 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22771 * ctype/ctype.h [__USE_MISC]: Likewise.
22772 * dirent/dirent.h [__USE_MISC]: Likewise.
22773 * grp/grp.h [__USE_MISC]: Likewise.
22774 * io/fcntl.h [__USE_MISC]: Likewise.
22775 * io/sys/stat.h [__USE_MISC]: Likewise.
22776 * libio/stdio.h [__USE_MISC]: Likewise.
22777 * posix/unistd.h [__USE_MISC]: Likewise.
22778 * pwd/pwd.h [__USE_MISC]: Likewise.
22779 * stdlib.h [__USE_MISC]: Likewise.
22780 * string/bits/string2.h [__USE_MISC]: Likewise.
22781 * string/string.h [__USE_MISC]: Likewise.
22782 * time/time.h [__USE_MISC]: Likewise.
22784 2014-02-13 Andreas Schwab <schwab@suse.de>
22787 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22788 second answer buffer if it was separately allocated.
22790 2014-02-12 Joseph Myers <joseph@codesourcery.com>
22792 * sysdeps/mips/math-tests.h: Include <features.h>.
22793 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22794 (ROUNDING_TESTS_long_double): Do not define.
22795 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22796 (EXCEPTION_TESTS_long_double): Likewise.
22797 * sysdeps/mips/mips64/libm-test-ulps: Update.
22799 * include/features.h (__USE_BSD): Remove macro definitions.
22800 (__USE_SVID): Likewise.
22801 (_BSD_SOURCE): Likewise.
22802 (_SVID_SOURCE): Likewise.
22803 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22804 from definition of _DEFAULT_SOURCE.
22805 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22807 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22808 * bits/mman.h [__USE_BSD]: Likewise.
22809 * bits/termios.h [__USE_BSD]: Likewise.
22810 * bits/waitstatus.h [__USE_BSD]: Likewise.
22811 * ctype/ctype.h [__USE_SVID]: Likewise.
22812 * dirent/dirent.h [__USE_BSD]: Likewise.
22813 * grp/grp.h [__USE_SVID]: Likewise.
22814 [__USE_BSD]: Likewise.
22815 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22816 * io/fcntl.h [__USE_BSD]: Likewise.
22817 * io/ftw.h [__USE_BSD]: Likewise.
22818 * io/sys/stat.h [__USE_BSD]: Likewise.
22819 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22820 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22821 * libio/stdio.h [__USE_SVID]: Likewise.
22822 [__USE_BSD]: Likewise.
22823 * math/math.h [__USE_SVID]: Likewise.
22824 [__USE_BSD]: Likewise.
22825 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22826 * misc/bits/syslog.h [__USE_BSD]: Likewise.
22827 * misc/search.h [__USE_SVID]: Likewise.
22828 * misc/sys/mman.h [__USE_BSD]: Likewise.
22829 * misc/sys/syslog.h [__USE_BSD]: Likewise.
22830 * misc/sys/uio.h [__USE_BSD]: Likewise.
22831 * posix/bits/unistd.h [__USE_BSD]: Likewise.
22832 * posix/glob.h [__USE_BSD]: Likewise.
22833 * posix/regex.h [__USE_BSD]: Likewise.
22834 * posix/sys/types.h [__USE_BSD]: Likewise.
22835 [__USE_SVID]: Likewise.
22836 * posix/sys/utsname.h [__USE_SVID]: Likewise.
22837 * posix/sys/wait.h [__USE_BSD]: Likewise.
22838 [__USE_SVID]: Likewise.
22839 * posix/unistd.h [__USE_BSD]: Likewise.
22840 [__USE_SVID]: Likewise.
22841 * pwd/pwd.h [__USE_SVID]: Likewise.
22842 * resolv/netdb.h [__USE_BSD]: Likewise.
22843 * setjmp/setjmp.h [__USE_BSD]: Likewise.
22844 * signal/signal.h [__USE_BSD]: Likewise.
22845 [__USE_SVID]: Likewise.
22846 * socket/sys/socket.h [__USE_BSD]: Likewise.
22847 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22848 * stdlib/stdlib.h [__USE_BSD]: Likewise.
22849 [__USE_SVID]: Likewise.
22850 * string/bits/string2.h [__USE_BSD]: Likewise.
22851 [__USE_SVID]: Likewise.
22852 * string/bits/string3.h [__USE_BSD]: Likewise.
22853 * string/endian.h [__USE_BSD]: Likewise.
22854 * string/string.h [__USE_SVID]: Likewise.
22855 [__USE_BSD]: Likewise.
22856 * string/strings.h [__USE_BSD]: Likewise.
22857 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22858 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22859 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22860 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22861 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22862 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22864 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22866 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22867 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22869 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22870 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22872 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22874 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22875 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22876 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22878 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22880 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22881 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22882 * termios/termios.h [__USE_BSD]: Likewise.
22883 * time/sys/time.h [__USE_BSD]: Likewise.
22884 * time/time.h [__USE_BSD]: Likewise.
22885 [__USE_SVID]: Likewise.
22887 * Makefile (subdir_targets): Remove subdir_lint.out.
22889 * stdio-common/Makefile (do-tst-unbputc): Remove target.
22890 (do-tst-printf): Likewise.
22891 (tests): Depend directly on $(objpfx)tst-unbputc.out and
22892 $(objpfx)tst-printf.out.
22894 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22896 * Makerules (check-abi-%): Change target to
22897 $(objpfx)check-abi-%.out.
22898 (check-abi target): Update dependencies.
22899 (check-abi-pattern variable): Redirect output of diff to $@.
22900 (check-abi variable): Likewise.
22901 * elf/Makefile (check-abi): Update dependencies.
22903 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22905 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22906 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22908 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22909 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22910 value has largest subnormal exponent.
22911 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22912 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22913 * sysdeps/aarch64/soft-fp/sfp-machine.h
22914 (_FP_TININESS_AFTER_ROUNDING): New macro.
22915 * sysdeps/alpha/soft-fp/sfp-machine.h
22916 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22917 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22919 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22920 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22921 * sysdeps/mips/soft-fp/sfp-machine.h
22922 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22923 * sysdeps/powerpc/soft-fp/sfp-machine.h
22924 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22925 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22927 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22928 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22929 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22930 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22931 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22934 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
22937 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22940 2014-02-12 Richard Henderson <rth@redhat.com>
22942 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22943 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22944 * sysdeps/unix/sysv/linux/alpha: Move directory from
22945 ports/sysdeps/unix/sysv/linux/alpha.
22946 * README: Update listing for alpha-*-linux-gnu.
22948 2014-02-11 Joseph Myers <joseph@codesourcery.com>
22950 * include/features.h: Update comment documenting feature test
22952 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
22954 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22955 (_SVID_SOURCE): Likewise.
22956 (_DEFAULT_SOURCE): Update description of default features.
22957 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22959 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22960 (S_ISVTX): Likewise.
22961 * manual/math.texi (Mathematical Constants): Likewise.
22962 * manual/signal.texi (Interrupted Primitives): Likewise.
22963 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22964 * math/test-matherr.c (_SVID_SOURCE): Do not define.
22965 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22966 Don't refer to _SVID_SOURCE in warning text.
22968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22970 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22972 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22973 * sysdeps/mips/dl-lookup.c: Remove.
22974 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22976 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22979 * math/auto-libm-test-in: Add testcase for expl.
22980 * math/auto-libm-test-out: Regenerate.
22981 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22982 calculation of unsafe.
22983 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22985 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22987 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22988 * sysdeps/unix/sysv/linux/aarch64: Move directory from
22989 ports/sysdeps/unix/sysv/linux/aarch64.
22990 * README: Update listing for aarch64*-*-linux-gnu.
22992 2014-02-11 Will Newton <will.newton@linaro.org>
22994 * manual/probes.texi (Mathematical Function Probes): Use
22995 "triggered" instead of "hit".
22997 * manual/probes.texi (Internal Probes): Add documentation
22998 of setjmp, longjmp and longjmp_target probes.
23000 * include/stap-probe.h: Add comment about probe argument
23003 * malloc/mtrace.c (attribute_hidden): Remove unused macro
23004 definition. (tr_where, tr_freehook, tr_mallochook,
23005 tr_reallochook, tr_memalignhook): Use ANSI protoype.
23007 2014-02-11 David S. Miller <davem@davemloft.net>
23009 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23010 processing int_tests.
23012 2014-02-10 Joseph Myers <joseph@codesourcery.com>
23014 * sysdeps/mips: Move directory from ports/sysdeps/mips.
23015 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23016 * sysdeps/unix/sysv/linux/mips: Move directory from
23017 ports/sysdeps/unix/sysv/linux/mips.
23018 * README: Update listing for mips-*-linux-gnu and
23019 mips64-*-linux-gnu.
23021 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
23023 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23024 * sysdeps/unix/sysv/linux/m68k: Move directory from
23025 ports/sysdeps/unix/sysv/linux/m68k.
23026 * README: Update listing for m68k-*-linux-gnu.
23028 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
23030 * sysdeps/tile: Move directory from ports/sysdeps/tile.
23031 * sysdeps/unix/sysv/linux/generic: Move directory from
23032 ports/sysdeps/unix/sysv/linux/generic.
23033 * sysdeps/unix/sysv/linux/tile: Move directory from
23034 ports/sysdeps/unix/sysv/linux/tile.
23035 * README: Update listing for tile*-*-linux-gnu.
23037 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
23039 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23041 * benchtests/bench-memmem.c (simple_memmem): Likewise.
23042 * catgets/open_catalog.c (__open_catalog): Likewise.
23043 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23044 * debug/confstr_chk.c: Likewise.
23045 * debug/fread_chk.c (__fread_chk): Likewise.
23046 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23047 * debug/getgroups_chk.c: Likewise.
23048 * debug/mbsnrtowcs_chk.c: Likewise.
23049 * debug/mbsrtowcs_chk.c: Likewise.
23050 * debug/mbstowcs_chk.c: Likewise.
23051 * debug/memcpy_chk.c: Likewise.
23052 * debug/memmove_chk.c: Likewise.
23053 * debug/mempcpy_chk.c: Likewise.
23054 * debug/memset_chk.c: Likewise.
23055 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23056 * debug/strcat_chk.c (__strcat_chk): Likewise.
23057 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23058 * debug/strncat_chk.c (__strncat_chk): Likewise.
23059 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23060 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23061 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23062 * debug/wcpncpy_chk.c: Likewise.
23063 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23064 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23065 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23066 * debug/wcsncpy_chk.c: Likewise.
23067 * debug/wcsnrtombs_chk.c: Likewise.
23068 * debug/wcsrtombs_chk.c: Likewise.
23069 * debug/wcstombs_chk.c: Likewise.
23070 * debug/wmemcpy_chk.c: Likewise.
23071 * debug/wmemmove_chk.c: Likewise.
23072 * debug/wmempcpy_chk.c: Likewise.
23073 * debug/wmemset_chk.c: Likewise.
23074 * dirent/scandirat.c (SCANDIRAT): Likewise.
23075 * dlfcn/dladdr1.c (dladdr1): Likewise.
23076 * dlfcn/dladdr.c (dladdr): Likewise.
23077 * dlfcn/dlclose.c (dlclose_doit): Likewise.
23078 * dlfcn/dlerror.c (__dlerror): Likewise.
23079 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23080 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23081 * dlfcn/dlopen.c (dlopen_doit): Likewise.
23082 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23083 * dlfcn/dlsym.c (dlsym_doit): Likewise.
23084 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23085 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23086 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23088 * elf/dl-conflict.c: Likewise.
23089 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23090 * elf/dl-dst.h: Likewise.
23091 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23092 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23093 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23094 * elf/dl-init.c (call_init, _dl_init): Likewise.
23095 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23096 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23097 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23099 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23101 * elf/dl-minimal.c (__libc_memalign): Likewise.
23102 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23103 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23104 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23105 * elf/dl-sym.c (do_sym): Likewise.
23106 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23107 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23108 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23109 * elf/dl-writev.h (_dl_writev): Likewise.
23110 * elf/ldconfig.c (search_dir): Likewise.
23111 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23112 (dl_main): Likewise.
23113 * elf/setup-vdso.h (setup_vdso): Likewise.
23114 * grp/compat-initgroups.c (compat_call): Likewise.
23115 * grp/fgetgrent.c (fgetgrent): Likewise.
23116 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23117 * grp/putgrent.c (putgrent): Likewise.
23118 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23120 * hurd/hurdinit.c: Likewise.
23121 * iconvdata/8bit-gap.c (struct): Likewise.
23122 * iconvdata/ansi_x3.110.c : Likewise.
23123 * iconvdata/big5.c : Likewise.
23124 * iconvdata/big5hkscs.c : Likewise.
23125 * iconvdata/cp1255.c: Likewise.
23126 * iconvdata/cp1258.c : Likewise.
23127 * iconvdata/cp932.c : Likewise.
23128 * iconvdata/euc-cn.c: Likewise.
23129 * iconvdata/euc-jisx0213.c : Likewise.
23130 * iconvdata/euc-jp.c: Likewise.
23131 * iconvdata/euc-jp-ms.c : Likewise.
23132 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23133 * iconvdata/gb18030.c : Likewise.
23134 * iconvdata/gbbig5.c (const): Likewise.
23135 * iconvdata/gbgbk.c: Likewise.
23136 * iconvdata/gbk.c : Likewise.
23137 * iconvdata/ibm1364.c : Likewise.
23138 * iconvdata/ibm930.c : Likewise.
23139 * iconvdata/ibm932.c: Likewise.
23140 * iconvdata/ibm933.c : Likewise.
23141 * iconvdata/ibm935.c : Likewise.
23142 * iconvdata/ibm937.c : Likewise.
23143 * iconvdata/ibm939.c : Likewise.
23144 * iconvdata/ibm943.c: Likewise.
23145 * iconvdata/iso_11548-1.c: Likewise.
23146 * iconvdata/iso-2022-cn.c : Likewise.
23147 * iconvdata/iso-2022-cn-ext.c : Likewise.
23148 * iconvdata/iso-2022-jp-3.c: Likewise.
23149 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23150 * iconvdata/iso-2022-kr.c : Likewise.
23151 * iconvdata/iso646.c (gconv_end): Likewise.
23152 * iconvdata/iso_6937-2.c : Likewise.
23153 * iconvdata/iso_6937.c : Likewise.
23154 * iconvdata/iso8859-1.c: Likewise.
23155 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23156 * iconvdata/shift_jisx0213.c : Likewise.
23157 * iconvdata/sjis.c : Likewise.
23158 * iconvdata/t.61.c : Likewise.
23159 * iconvdata/tcvn5712-1.c : Likewise.
23160 * iconvdata/tscii.c: Likewise.
23161 * iconvdata/uhc.c : Likewise.
23162 * iconvdata/unicode.c (gconv_end): Likewise.
23163 * iconvdata/utf-16.c (gconv_end): Likewise.
23164 * iconvdata/utf-32.c (gconv_end): Likewise.
23165 * iconvdata/utf-7.c (base64): Likewise.
23166 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23167 * iconv/gconv_close.c (__gconv_close): Likewise.
23168 * iconv/gconv_open.c (__gconv_open): Likewise.
23169 * iconv/gconv_simple.c (internal_ucs4_loop_single)
23170 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23171 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23172 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23173 (ucs4le_internal_loop_single): Likewise.
23174 * iconv/iconv.c (iconv): Likewise.
23175 * iconv/iconv_close.c: Likewise.
23176 * iconv/loop.c (SINGLE): Likewise.
23177 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23178 * include/atomic.h: Likewise.
23179 * inet/inet6_option.c (option_alloc): Likewise.
23180 * intl/bindtextdom.c (set_binding_values): Likewise.
23181 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23182 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23183 * intl/localealias.c (read_alias_file): Likewise.
23184 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23185 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23186 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23187 * libio/fmemopen.c (fmemopen): Likewise.
23188 * libio/iofgets.c (_IO_fgets): Likewise.
23189 * libio/iofgets_u.c (fgets_unlocked): Likewise.
23190 * libio/iofgetws.c (fgetws): Likewise.
23191 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23192 * libio/iogetdelim.c (_IO_getdelim): Likewise.
23193 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23194 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23195 * locale/findlocale.c (_nl_find_locale): Likewise.
23196 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23197 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23199 * locale/setlocale.c (setlocale): Likewise.
23200 * login/programs/pt_chown.c (main): Likewise.
23201 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23202 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23203 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23204 (mmap, mmap64, mremap, munmap): Likewise.
23205 * math/e_exp2l.c: Likewise.
23206 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23207 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23208 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23209 * math/s_catan.c (__catan): Likewise.
23210 * math/s_catanf.c (__catanf): Likewise.
23211 * math/s_catanh.c (__catanh): Likewise.
23212 * math/s_catanhf.c (__catanhf): Likewise.
23213 * math/s_catanhl.c (__catanhl): Likewise.
23214 * math/s_catanl.c (__catanl): Likewise.
23215 * math/s_ccosh.c (__ccosh): Likewise.
23216 * math/s_ccoshf.c (__ccoshf): Likewise.
23217 * math/s_ccoshl.c (__ccoshl): Likewise.
23218 * math/s_cexp.c (__cexp): Likewise.
23219 * math/s_cexpf.c (__cexpf): Likewise.
23220 * math/s_cexpl.c (__cexpl): Likewise.
23221 * math/s_clog10.c (__clog10): Likewise.
23222 * math/s_clog10f.c (__clog10f): Likewise.
23223 * math/s_clog10l.c (__clog10l): Likewise.
23224 * math/s_clog.c (__clog): Likewise.
23225 * math/s_clogf.c (__clogf): Likewise.
23226 * math/s_clogl.c (__clogl): Likewise.
23227 * math/s_csin.c (__csin): Likewise.
23228 * math/s_csinf.c (__csinf): Likewise.
23229 * math/s_csinh.c (__csinh): Likewise.
23230 * math/s_csinhf.c (__csinhf): Likewise.
23231 * math/s_csinhl.c (__csinhl): Likewise.
23232 * math/s_csinl.c (__csinl): Likewise.
23233 * math/s_csqrt.c (__csqrt): Likewise.
23234 * math/s_csqrtf.c (__csqrtf): Likewise.
23235 * math/s_csqrtl.c (__csqrtl): Likewise.
23236 * math/s_ctan.c (__ctan): Likewise.
23237 * math/s_ctanf.c (__ctanf): Likewise.
23238 * math/s_ctanh.c (__ctanh): Likewise.
23239 * math/s_ctanhf.c (__ctanhf): Likewise.
23240 * math/s_ctanhl.c (__ctanhl): Likewise.
23241 * math/s_ctanl.c (__ctanl): Likewise.
23242 * math/w_pow.c: Likewise.
23243 * math/w_powf.c: Likewise.
23244 * math/w_powl.c: Likewise.
23245 * math/w_scalb.c (sysv_scalb): Likewise.
23246 * math/w_scalbf.c (sysv_scalbf): Likewise.
23247 * math/w_scalbl.c (sysv_scalbl): Likewise.
23248 * misc/error.c (error_tail): Likewise.
23249 * misc/pselect.c (__pselect): Likewise.
23250 * nis/nis_callback.c (__nis_create_callback): Likewise.
23251 * nis/nis_call.c (__nisfind_server): Likewise.
23252 * nis/nis_creategroup.c (nis_creategroup): Likewise.
23253 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23254 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23255 * nis/nis_getservlist.c (nis_getservlist): Likewise.
23256 * nis/nis_lookup.c (nis_lookup): Likewise.
23257 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23258 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23259 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23260 * nis/nis_xdr.c (xdr_endpoint): Likewise.
23261 * nis/nss_compat/compat-grp.c (getgrent_next_file)
23262 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23263 * nis/nss_compat/compat-initgroups.c (add_group)
23264 (internal_getgrent_r): Likewise.
23265 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23266 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23267 * nis/nss_compat/compat-spwd.c (getspent_next_file)
23268 (internal_getspnam_r): Likewise.
23269 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23270 (_nss_nis_getaliasbyname_r): Likewise.
23271 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23272 (_nss_nis_getntohost_r): Likewise.
23273 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23274 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23275 (_nss_nis_getgrgid_r): Likewise.
23276 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23277 (internal_nis_gethostent_r, internal_gethostbyname2_r)
23278 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23279 (_nss_nis_gethostbyname4_r): Likewise.
23280 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23281 (initgroups_netid): Likewise.
23282 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23283 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23284 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23285 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23286 (_nss_nis_getprotobynumber_r): Likewise.
23287 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23288 (_nss_nis_getsecretkey): Likewise.
23289 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23290 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23291 (_nss_nis_getpwuid_r): Likewise.
23292 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23293 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23294 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23295 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23296 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23297 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23298 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23300 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23301 (_nss_nisplus_getntohost_r): Likewise.
23302 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23303 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23304 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23305 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23307 * nis/nss_nisplus/nisplus-initgroups.c
23308 (_nss_nisplus_initgroups_dyn): Likewise.
23309 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23310 (_nss_nisplus_getnetbyaddr_r): Likewise.
23311 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23312 (_nss_nisplus_getprotobynumber_r): Likewise.
23313 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23314 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23315 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23317 * nis/nss_nisplus/nisplus-service.c
23318 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23319 (_nss_nisplus_getservbyport_r): Likewise.
23320 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23321 (_nss_nisplus_getspnam_r): Likewise.
23322 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23324 * nscd/aicache.c (addhstaiX): Likewise.
23325 * nscd/cache.c (cache_search, prune_cache): Likewise.
23326 * nscd/connections.c (register_traced_file, send_ro_fd)
23327 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23328 (main_loop_epoll): Likewise.
23329 * nscd/grpcache.c (addgrbyX): Likewise.
23330 * nscd/hstcache.c (addhstbyX): Likewise.
23331 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23332 * nscd/mem.c (gc, mempool_alloc): Likewise.
23333 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23334 (addinnetgrX): Likewise.
23335 * nscd/nscd-client.h (__nscd_acquire_maplock)
23336 (__nscd_drop_map_ref): Likewise.
23337 * nscd/nscd_getai.c (__nscd_getai): Likewise.
23338 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23339 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23341 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23342 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23343 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23344 (__nscd_get_map_ref): Likewise.
23345 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23346 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23348 * nscd/pwdcache.c (addpwbyX): Likewise.
23349 * nscd/selinux.c (preserve_capabilities): Likewise.
23350 * nscd/servicescache.c (addservbyX): Likewise.
23351 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23352 * posix/fnmatch.c (fnmatch): Likewise.
23353 * posix/getopt.c (_getopt_internal_r): Likewise.
23354 * posix/glob.c (glob, glob_in_dir): Likewise.
23355 * posix/wordexp.c (exec_comm_child): Likewise.
23356 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23357 (getanswer_r, gaih_getanswer_slice): Likewise.
23358 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23359 * resolv/res_init.c: Likewise.
23360 * resolv/res_mkquery.c (res_nmkquery): Likewise.
23361 * resolv/res_query.c (__libc_res_nquery): Likewise.
23362 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23364 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23365 * stdio-common/perror.c (perror): Likewise.
23366 * stdio-common/printf_fp.c (___printf_fp): Likewise.
23367 * stdio-common/tmpnam.c (tmpnam): Likewise.
23368 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23369 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23370 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23372 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23373 * stdlib/putenv.c (putenv): Likewise.
23374 * stdlib/setenv.c (__add_to_environ): Likewise.
23375 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23376 * stdlib/strtol_l.c (INTERNAL): Likewise.
23377 * string/memmem.c (memmem): Likewise.
23378 * string/strerror.c (strerror): Likewise.
23379 * string/strnlen.c (__strnlen): Likewise.
23380 * string/test-memmem.c (simple_memmem): Likewise.
23381 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23382 * sunrpc/pm_getport.c (__get_socket): Likewise.
23383 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23384 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23385 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23386 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23388 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23389 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23390 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23391 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23392 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23393 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23395 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23397 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23398 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23399 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23400 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23401 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23403 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23404 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23405 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23406 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23407 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23408 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23410 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23412 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23414 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23415 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23416 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23417 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23418 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23419 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23420 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23421 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23422 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23423 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23424 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23425 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23426 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23427 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23429 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23431 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23433 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23435 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23437 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23438 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23439 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23441 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23442 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23443 * sysdeps/posix/opendir.c (__opendirat): Likewise.
23444 * sysdeps/posix/sleep.c: Likewise.
23445 * sysdeps/posix/tempname.c: Likewise.
23446 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23447 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23449 * sysdeps/powerpc/powerpc32/dl-machine.h
23450 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23451 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23452 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23453 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23454 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23456 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23457 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23458 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23459 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23460 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23461 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23462 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23463 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23464 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23465 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23466 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23467 (elf_machine_lazy_rel): Likewise.
23468 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23469 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23470 (elf_machine_lazy_rel): Likewise.
23471 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23472 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23473 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23474 * sysdeps/unix/grantpt.c (grantpt): Likewise.
23475 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23476 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23477 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23478 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23480 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23481 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23482 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23483 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23484 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23485 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23486 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23487 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23488 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23489 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23490 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23492 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23493 (__posix_fallocate64_l64): Likewise.
23494 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23495 (posix_fallocate): Likewise.
23496 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23498 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23499 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23500 (getifaddrs_internal): Likewise.
23501 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23502 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23503 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23504 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23505 * sysdeps/unix/sysv/linux/posix_fallocate64.c
23506 (__posix_fallocate64_l64): Likewise.
23507 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23509 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23510 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23511 (__get_clockfreq): Likewise.
23512 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23513 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23514 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23515 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23516 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23517 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23518 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23519 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23521 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23522 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23523 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23524 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23525 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23526 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23527 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23529 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23530 (posix_fallocate): Likewise.
23531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23532 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23533 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23534 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23535 (elf_machine_rela, elf_machine_rela_relative)
23536 (elf_machine_lazy_rel): Likewise.
23537 * time/asctime.c (asctime_internal): Likewise.
23538 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23539 * time/tzset.c (__tzset_parse_tz): Likewise.
23540 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23541 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23542 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23543 * wcsmbs/wcsmbsload.h: Likewise.
23546 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23548 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23549 (arena_get2): Remove THREAD_STATS conditionals.
23550 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23551 (__malloc_stats, int): Likewise.
23553 2014-02-08 Mike Frysinger <vapier@gentoo.org>
23555 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23556 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
23558 * manual/setjmp.texi: Fix typos/grammar errors.
23560 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23561 Only return early when n is <= 0. Delete unused return statement.
23563 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23564 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23565 * debug/tst-longjmp_chk3.c: New file.
23567 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23568 (test_main): Replace code with set_fortify_handler call.
23569 * debug/test-strcpy_chk.c: Likewise.
23570 * debug/tst-chk1.c: Likewise.
23571 * debug/tst-longjmp_chk.c: Likewise.
23572 * test-skeleton.c: Include fcntl.h & paths.h
23573 (set_fortify_handler): Define.
23575 * debug/tst-longjmp_chk.c: Add header comment and include
23576 ../test-skeleton.c.
23577 (do_test): Mark static.
23578 (TEST_FUNCTION): Define.
23580 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23581 (IP_PMTUDISC_INTERFACE): Likewise.
23582 (IP_MULTICAST_IF): Likewise.
23583 (IP_MULTICAST_TTL): Likewise.
23584 (IP_MULTICAST_LOOP): Likewise.
23585 (IP_ADD_MEMBERSHIP): Likewise.
23586 (IP_DROP_MEMBERSHIP): Likewise.
23587 (IP_UNBLOCK_SOURCE): Likewise.
23588 (IP_BLOCK_SOURCE): Likewise.
23589 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23590 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23591 (IP_MSFILTER): Likewise.
23592 (MCAST_JOIN_GROUP): Likewise.
23593 (MCAST_BLOCK_SOURCE): Likewise.
23594 (MCAST_UNBLOCK_SOURCE): Likewise.
23595 (MCAST_LEAVE_GROUP): Likewise.
23596 (MCAST_JOIN_SOURCE_GROUP): Likewise.
23597 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23598 (MCAST_MSFILTER): Likewise.
23599 (IP_MULTICAST_ALL): Likewise.
23600 (IP_UNICAST_IF): Likewise.
23602 * timezone/Makefile: Delete $(have-ksh) check.
23603 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23604 * timezone/tzselect.ksh: Add +x mode bits.
23606 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23607 (ANON_INODE_FS_MAGIC): Likewise.
23608 (BDEVFS_MAGIC): Likewise.
23609 (BINFMTFS_MAGIC): Likewise.
23610 (BTRFS_TEST_MAGIC): Likewise.
23611 (CRAMFS_MAGIC_WEND): Likewise.
23612 (DEBUGFS_MAGIC): Likewise.
23613 (ECRYPTFS_SUPER_MAGIC): Likewise.
23614 (EXT3_SUPER_MAGIC): Likewise.
23615 (EXT4_SUPER_MAGIC): Likewise.
23616 (FUTEXFS_SUPER_MAGIC): Likewise.
23617 (HOSTFS_SUPER_MAGIC): Likewise.
23618 (HUGETLBFS_MAGIC): Likewise.
23619 (MINIX3_SUPER_MAGIC): Likewise.
23620 (MTD_INODE_FS_MAGIC): Likewise.
23621 (NILFS_SUPER_MAGIC): Likewise.
23622 (OPENPROM_SUPER_MAGIC): Likewise.
23623 (PIPEFS_MAGIC): Likewise.
23624 (PSTOREFS_MAGIC): Likewise.
23625 (QNX6_SUPER_MAGIC): Likewise.
23626 (RAMFS_MAGIC): Likewise.
23627 (REISERFS_SUPER_MAGIC_STRING): Likewise.
23628 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23629 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23630 (SECURITYFS_MAGIC): Likewise.
23631 (SELINUX_MAGIC): Likewise.
23632 (SMACK_MAGIC): Likewise.
23633 (SOCKFS_MAGIC): Likewise.
23634 (SQUASHFS_MAGIC): Likewise.
23635 (STACK_END_MAGIC): Likewise.
23636 (TMPFS_MAGIC): Likewise.
23637 (USBDEVICE_SUPER_MAGIC): Likewise.
23638 (V9FS_MAGIC): Likewise.
23639 (XENFS_SUPER_MAGIC): Likewise.
23640 (CRAMFS_MAGIC): Fix typo in comment.
23641 (EXT2_SUPER_MAGIC): Update comment.
23642 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23644 2014-02-08 Joseph Myers <joseph@codesourcery.com>
23646 * sysdeps/arm: Move directory from ports/sysdeps/arm.
23647 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23648 * sysdeps/unix/sysv/linux/arm: Move directory from
23649 ports/sysdeps/unix/sysv/linux/arm.
23650 * README: Update listing for arm-*-linux-gnueabi.
23652 * README: Remove mention of am33.
23654 2014-02-07 Roland McGrath <roland@hack.frob.com>
23656 * bits/sigset.h (__sigemptyset): Use a statement expression rather
23657 than the comma operator, to avoid "rhs of comma has no effect"
23659 (__sigfillset, __sigandset, __sigorset): Likewise.
23660 * include/signal.h (__sigemptyset): Likewise.
23661 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23663 2014-02-07 Allan McRae <allan@archlinux.org>
23665 * version.h (RELEASE): Set to "development".
23666 (VERSION): Set to "2.19.90"
23667 * NEWS: Add 2.20 section.
23669 2014-02-06 Carlos O'Donell <carlos@redhat.com>
23672 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23674 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23676 * manual/contrib.texi: Update entry for Carlos O'Donell,
23677 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23679 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
23681 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23683 * sysdeps/unix/sysv/linux/kernel-features.h
23684 [__LINUX_KERNEL_VERSION >= 0x020621]
23685 (__ASSUME_PROC_PID_TASK_COMM): Define.
23687 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23690 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23691 conversion when destination buffer does not have enough space.
23692 * libio/tst-ftell-partial-wide.c: New test case.
23693 * libio/Makefile (tests): Add tst-ftell-partial-wide.
23695 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23696 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
23697 Leonard and Allan McRae.
23699 2014-02-04 David S. Miller <davem@davemloft.net>
23701 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23704 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23733 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23735 * nptl/shlib-versions: Change powerpc*le start to 2.17.
23736 * shlib-versions: Likewise.
23738 2014-02-04 Roland McGrath <roland@hack.frob.com>
23739 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23741 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23742 (abilist-pattern): New variable, set to %-le.abilist.
23744 * Makerules (abilist-pattern): New variable.
23745 (vpath): Use $(abilist-pattern) in place of %.abilist.
23746 (check-abi-% pattern rule): Likewise.
23747 (check-abi, update-abi): Likewise.
23749 2014-02-04 Eric Wong <normalperson@yhbt.net>
23751 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23753 2014-02-03 Carlos O'Donell <carlos@redhat.com>
23755 * manual/startup.texi: Add next, previous, and top entries for
23756 the `Program Arguments' and `Environment Variables' nodes.
23758 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
23760 * manual/macros.texi: Add comments before MTASC-safety macros.
23762 * manual/users.texi: Document MTASC-safety properties.
23764 * manual/threads.texi (pthread_key_create, pthread_key_delete)
23765 (pthread_getspecific, pthread_setspecific): Format with
23766 @deftypefun, and add @safety note.
23767 * manual/signal.texi: Move comments that analyze the above
23768 functions to their home place.
23770 2014-02-03 Allan McRae <allan@archlinux.org>
23772 * po/sl.po: Update Slovenian translation from translation project.
23774 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
23776 * manual/time.texi (timegm): Add missing blank after @c.
23777 Reported by Joseph Myers <joseph@codesourcery.com>.
23779 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
23781 * manual/check-safety.sh: New.
23782 * manual/Makefile ($(objpfx)stamp-summary): Run it.
23784 * manual/terminal.texi: Document MTASC-safety properties.
23786 * manual/filesys.texi: Document MTASC-safety properties.
23788 * manual/errno.texi: Document MTASC-safety properties.
23790 * manual/intro.texi: Document safety identifiers and
23793 * manual/string.texi (wcstok): Fix prototype.
23794 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23796 * manual/time.texi: Document MTASC-safety properties.
23798 * manual/string.texi: Document MTASC-safety properties.
23800 * manual/threads.texi: Document MTASC-safety properties.
23802 * manual/stdio.texi: Document MTASC-safety properties.
23804 * manual/syslog.texi: Document MTASC-safety properties.
23806 * manual/sysinfo.texi: Document MTASC-safety properties.
23808 * manual/startup.texi: Document MTASC-safety properties.
23810 * manual/socket.texi: Document MTASC-safety properties.
23812 * manual/signal.texi: Document MTASC-safety properties.
23814 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
23816 * manual/setjmp.texi: Document MTASC-safety properties.
23818 * manual/search.texi: Document MTASC-safety properties.
23820 * manual/resource.texi: Document MTASC-safety properties.
23822 * manual/process.texi: Document MTASC-safety properties.
23824 * manual/platform.texi: Document MTASC-safety properties.
23826 * manual/pipe.texi: Document MTASC-safety properties.
23828 * manual/pattern.texi: Document MTASC-safety properties.
23830 * manual/message.texi: Document MTASC-safety properties.
23833 * manual/memory.texi: Document MTASC-safety properties.
23835 * manual/math.texi: Document MTASC-safety properties.
23837 * manual/locale.texi: Document MTASC-safety properties.
23839 * manual/llio.texi: Document MTASC-safety properties.
23841 * manual/libdl.texi: New.
23843 * manual/lang.texi: Document MTASC-safety properties.
23845 * manual/job.texi: Document MTASC-safety properties.
23847 * manual/getopt.texi: Document MTASC-safety properties.
23849 * manual/ctype.texi: Document MTASC-safety properties.
23851 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
23854 * csu/libc-tls.c (static_map): Remove variable.
23855 (__libc_setup_tls): Use main executable's link map for TLS data.
23856 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23857 casing for LM_ID_BASE and GL(dl_nns).
23858 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23859 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
23860 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23861 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23862 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23864 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23867 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
23869 * manual/debug.texi: Document MTASC-safety properties.
23871 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
23874 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23875 of __x86_64__ when disabling x87 inline functions.
23877 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
23879 * manual/charset.texi: Document MTASC-safety properties.
23881 * manual/crypt.texi: Document MTASC-safety properties.
23883 * manual/conf.texi: Document MTASC-safety properties.
23885 * manual/arith.texi: Document MTASC-safety properties.
23887 * manual/argp.texi: Document MTASC-safety properties.
23889 * manual/macros.texi: Introduce macros to document multi
23890 thread, asynchronous signal and asynchronous cancellation
23892 * manual/intro.texi: Introduce the properties themselves.
23894 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23896 * sysdeps/sh/sh4/Makefile: New file.
23898 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
23900 * math/gen-libm-test.pl ($srcdir): New variable.
23901 ($auto_input): Use it.
23903 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23906 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23907 access beyond array bounds when parsing netgroups file.
23909 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23910 the old buffer before realloc.
23912 2014-01-27 Allan McRae <allan@archlinux.org>
23914 * po/fr.po: Update French translation from translation project.
23916 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23918 * sysdeps/sh/libm-test-ulps: Regenerate.
23920 2014-01-24 David S. Miller <davem@davemloft.net>
23922 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23924 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23926 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23927 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23929 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23932 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23933 string pointers after reallocation.
23935 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23937 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23938 __SH4A__ instead of __SH_FPU_ANY__.
23940 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23942 * sysdeps/sh/fpu_control.h: New file.
23943 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23944 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23945 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23946 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23947 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23948 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23949 * sysdeps/sh/sys/ucontext.h: Remove.
23950 * sysdeps/sh/sys: Remove directory.
23952 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23954 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23955 s390/sys/ucontext.h.
23956 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23957 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23959 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
23962 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23964 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23967 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23968 Adjust the vDSO correctly for internal calls.
23969 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23971 2014-01-20 Allan McRae <allan@archlinux.org>
23973 * po/ca.po: Update Catalan translation from translation project.
23975 2014-01-16 Mike Frysinger <vapier@gentoo.org>
23977 * sysdeps/s390/sotruss-lib.c: New file.
23979 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23982 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23983 (__GI___gettimeofday): Alias for a different internal symbol to avoid
23984 local calls issues by not having a PLT stub required for IFUNC calls.
23985 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23987 2014-01-16 Joseph Myers <joseph@codesourcery.com>
23989 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23990 * math/test-fpucw-static.c: Likewise.
23992 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23995 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23997 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23999 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24000 implementation for powerpc.
24002 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
24005 * sysdeps/posix/system.c (__libc_system): Do not enable
24006 asynchronous cancellation.
24008 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24011 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24012 handling only for numbers special also in the IEEE case.
24014 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24016 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24018 2014-01-11 Allan McRae <allan@archlinux.org>
24020 * po/bg.po: Update Bulgarian translation from translation project.
24022 * po/de.po: Update German translation from translation project.
24024 2014-01-10 Roland McGrath <roland@hack.frob.com>
24026 * sysdeps/generic/gcc-compat.h: New file.
24028 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24030 * benchtests/asin-inputs: Correct slow inputs.
24031 * benchtests/acos-inputs: Likewise.
24033 2014-01-10 Allan McRae <allan@archlinux.org>
24035 * po:sv.po: Update Swedish translation from translation project.
24037 * po/vi.po: Update Vietnamese translation from translation project.
24039 * po/eo.po: Update Esperanto translation from translation project.
24041 * po/cs.po: Update Czech translation from translation project.
24043 * po/nl.po: Update Dutch translation from translation project.
24045 * po/pl.po: Update Polish translation from translation project.
24047 * po/ru.po: Update Russian translation from translation project.
24049 * po/uk.po: Update Ukrainian translation from translation project.
24051 2014-01-08 Brooks Moses <bmoses@google.com>
24053 * elf/dl-load.c: Fix comment typo.
24055 2014-01-08 Carlos O'Donell <carlos@redhat.com>
24057 * po/header.pot: Rename to...
24058 * po/pot.header: ... this.
24059 * po/Makefile: Use pot.header.
24061 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
24062 Maxim Kuvyrkov <maxim@kugelworks.com>
24065 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24066 SRC and DEST against LEN.
24068 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24071 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24073 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24075 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24079 2014-01-08 Joseph Myers <joseph@codesourcery.com>
24082 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24083 for large positive arguments.
24085 2014-01-07 Joseph Myers <joseph@codesourcery.com>
24087 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24089 * math/auto-libm-test-in: Mark various tests with
24090 xfail-rounding:ldbl-128ibm.
24091 * math/auto-libm-test-out: Regenerated.
24094 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24095 Increase overflow threshold.
24097 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
24100 * stdio-common/vfprintf.c: Check for integer overflow.
24102 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24104 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24105 the first argument and return value of __tls_get_addr_internal.
24107 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24109 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24110 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24112 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24114 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24115 * sysdeps/s390/rtld-global-offsets.sym: New file.
24116 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24118 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24119 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24120 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24122 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24123 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24129 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24130 halfs of GPRs for high_gprs contexts.
24131 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24132 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
24134 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24136 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24138 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24139 for high GPRs (uc_high_gprs) and for future extensions
24141 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24142 for future extensions (__reserved).
24143 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24145 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24146 SC_HIGHGPRS offset definition.
24147 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24148 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24150 * Versions.def: Add GLIBC_2.19 for libpthread.
24151 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24152 siglongjmp for libpthread with GLIBC_2.19 symver.
24153 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24154 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24155 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24156 * sysdeps/s390/__longjmp.c: New file.
24157 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24158 * sysdeps/s390/longjmp.c: New file.
24159 * sysdeps/s390/setjmp.S: New file.
24160 * sysdeps/s390/sigjmp.S: New file.
24161 * sysdeps/s390/v1-longjmp.c: New file.
24162 * sysdeps/s390/v1-setjmp.h: New file.
24163 * sysdeps/s390/v1-sigjmp.c: New file.
24164 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24165 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24166 GLIBC_2.19 version.
24167 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24168 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24169 versioned symbols for ____longjmp_chk.
24170 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24180 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24181 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24182 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24183 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24184 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24185 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24186 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24187 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24188 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24189 * sysdeps/s390/rtld-__longjmp.c: New file.
24190 * sysdeps/s390/rtld-setjmp.S: New file.
24192 2014-01-06 Joseph Myers <joseph@codesourcery.com>
24195 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24196 Return -__logl (x) for small positive arguments without evaluating
24199 2014-01-06 Mike Frysinger <vapier@gentoo.org>
24201 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24203 (__ptrace_peeksiginfo_args): ... this.
24204 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24205 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24206 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24208 2014-01-06 Allan McRae <allan@archlinux.org>
24210 * inet/netinet/in.h: Fix typo in comment.
24212 2014-01-05 Andreas Jaeger <aj@suse.de>
24214 * sysdeps/i386/fpu/libm-test-ulps: Update.
24216 2014-01-05 Allan McRae <allan@archlinux.org>
24218 * po/libc.pot: Regenerated.
24220 * malloc/memusagestat.c: Fix gettext call formatting.
24222 2014-01-04 Sami Kerola <kerolasa@iki.fi>
24224 * nscd/nscd.c: Improve usage() output.
24226 2014-01-04 Mike Frysinger <vapier@gentoo.org>
24228 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24229 * sysdeps/unix/sysv/linux/configure: Regenerated.
24230 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24231 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24233 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24236 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24237 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24239 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24241 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24242 extra tokens at end of #undef directive.
24243 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24244 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24245 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24247 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24249 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24251 * math/auto-libm-test-in: Mark various tests with
24252 xfail-rounding:ldbl-128ibm.
24253 * math/auto-libm-test-out: Regenerated.
24255 2014-01-02 Joseph Myers <joseph@codesourcery.com>
24258 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24259 numbers with subnormal high part when calculating exponent.
24262 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24266 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24268 (__ieee754_acoshl): Use __log1pl not __log1p.
24270 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
24272 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24273 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24274 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24275 (grow_heap, heap_trim, _int_new_arena, get_free_list)
24276 (reused_arena, arena_get2): Convert to GNU style.
24277 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24278 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24279 (memalign_check, __malloc_set_state): Likewise.
24280 * malloc/mallocbug.c (main): Likewise.
24281 * malloc/malloc.c (__malloc_assert, malloc_init_state)
24282 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24283 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24284 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24285 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24286 (__posix_memalign, malloc_info): Likewise.
24287 * malloc/malloc.h: Likewise.
24288 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24289 (mallochook, memalignhook, reallochook, mabort): Likewise.
24290 * malloc/mcheck.h: Likewise.
24291 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24292 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24293 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24294 * malloc/morecore.c (__default_morecore): Likewise.
24295 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24296 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24297 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24298 (print_and_abort): Likewise.
24299 * malloc/obstack.h: Likewise.
24300 * malloc/set-freeres.c (__libc_freeres): Likewise.
24301 * malloc/tst-mallocstate.c (main): Likewise.
24302 * malloc/tst-mtrace.c (main): Likewise.
24303 * malloc/tst-realloc.c (do_test): Likewise.
24305 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24308 * nscd/netgroupcache.c (do_notfound): New function.
24309 (addgetnetgrentX): Use it.
24312 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24313 NSS_STATUS_NOTFOUND.
24315 2014-01-01 Joseph Myers <joseph@codesourcery.com>
24317 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24320 2014-01-01 Allan McRae <allan@archlinux.org>
24322 * scripts/update-copyrights: Update configure input file suffix.
24324 * NEWS: Update copyright year.
24325 * catgets/gencat.c: Likewise.
24326 * csu/version.c: Likewise.
24327 * debug/catchsegv.sh: Likewise.
24328 * debug/pcprofiledump.c: Likewise.
24329 * debug/xtrace.sh: Likewise.
24330 * elf/ldconfig.c: Likewise.
24331 * elf/ldd.bash.in: Likewise.
24332 * elf/pldd.c: Likewise.
24333 * elf/sotruss.ksh: Likewise.
24334 * elf/sprof.c: Likewise.
24335 * iconv/iconv_prog.c: Likewise.
24336 * iconv/iconvconfig.c: Likewise.
24337 * locale/programs/locale.c: Likewise.
24338 * locale/programs/localedef.c: Likewise.
24339 * login/programs/pt_chown.c: Likewise.
24340 * malloc/memusage.sh: Likewise.
24341 * malloc/memusagestat.c: Likewise.
24342 * malloc/mtrace.pl: Likewise.
24343 * manual/libc.texinfo: Likewise.
24344 * nscd/nscd.c: Likewise.
24345 * nss/getent.c: Likewise.
24346 * nss/makedb.c: Likewise.
24347 * posix/getconf.c: Likewise.
24348 * scripts/test-installation.pl: Likewise.
24350 * All files with FSF copyright notices: Update copyright dates
24351 using scripts/update-copyrights.
24352 * intl/plural.c: Regenerated.
24353 * locale/programs/charmap-kw.h: Likewise.
24354 * locale/programs/locfile-kw.h: Likewise.
24356 2013-12-31 Mike Frysinger <vapier@gentoo.org>
24358 * sysdeps/unix/sysv/linux/configure: Regenerated.
24359 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24360 the linux/fanotify.h header.
24361 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24362 HAVE_LINUX_FANOTIFY_H is defined.
24364 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24366 * benchtests/cos-inputs: New inputs.
24367 * benchtests/sin-inputs: Likewise.
24369 * benchtests/atan-inputs: New inputs. Fix name of multiple
24370 precision fallback inputs.
24372 * benchtests/atanh-inputs: New inputs.
24373 * benchtests/tanh-inputs: Likewise.
24375 * benchtests/acosh-inputs: New inputs.
24376 * benchtests/asinh-inputs: Likewise.
24378 * benchtests/cosh-inputs: New inputs.
24379 * benchtests/sinh-inputs: Likewise.
24381 * benchtests/acos-inputs: Add more inputs.
24382 * benchtests/asin-inputs: Likewise.
24384 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
24387 * manual/arith.texi: Fix spelling.
24388 * manual/charset.texi: Likewise.
24389 * manual/errno.texi: Likewise.
24390 * manual/filesys.texi: Likewise.
24391 * manual/lang.texi: Likewise.
24392 * manual/llio.texi: Likewise.
24393 * manual/locale.texi: Likewise.
24394 * manual/message.texi: Likewise.
24395 * manual/resource.texi: Likewise.
24396 * manual/search.texi: Likewise.
24397 * manual/setjmp.texi: Likewise.
24398 * manual/stdio.texi: Likewise.
24399 * manual/string.texi: Likewise.
24400 * manual/sysinfo.texi: Likewise.
24401 * manual/time.texi: Likewise.
24403 2013-12-27 Carlos O'Donell <carlos@redhat.com>
24405 * po/sl.po: New file.
24407 2013-12-27 Mike Frysinger <vapier@gentoo.org>
24409 * .gitignore: Add core/.gdbinit/.gdb_history.
24411 2013-12-27 Allan McRae <allan@archlinux.org>
24414 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24415 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24417 2013-12-24 Brooks Moses <bmoses@google.com>
24419 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24420 all compilers that claim C++98 compliance, not just GCC.
24421 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24424 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24426 * NEWS: Restore accidentally deleted bug-fix entries.
24428 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24429 Ondřej Bílka <neleai@seznam.cz>
24432 * malloc/malloc.c (_int_free): Perform sanity check only if we
24435 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
24438 * manual/stdio.texi (String Input Conversions): Clarify that character
24439 classes are not supported.
24441 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24445 2013-12-22 Joseph Myers <joseph@codesourcery.com>
24448 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24449 Calculate results for small negative arguments directly rather
24450 than using reflection formula with special underflow handling.
24452 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24453 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24454 sysdeps/unix/bsd/bsd4.4/syscalls.list.
24455 (fchflags): Likewise.
24456 (revoke): Likewise.
24457 (setlogin): Likewise.
24458 (sigaltstack): Likewise.
24460 (sigblock): Remove.
24461 (sigsetmask): Likewise.
24463 (waitpid): Likewise.
24464 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24465 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24467 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24468 * sysdeps/unix/bsd/Makefile: ... here.
24469 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24470 * sysdeps/unix/bsd/Versions: ... here.
24471 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24472 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24473 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24474 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24475 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24476 * sysdeps/unix/bsd/sigblock.c: ... here.
24477 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24478 * sysdeps/unix/bsd/sigsetmask.c: ... here.
24479 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24480 * sysdeps/unix/bsd/sigvec.c: ... here.
24481 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24482 * sysdeps/unix/bsd/tcdrain.c: ... here.
24483 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24484 * sysdeps/unix/bsd/tcgetattr.c: ... here.
24485 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24486 * sysdeps/unix/bsd/tcsetattr.c: ... here.
24487 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24488 * sysdeps/unix/bsd/wait.c: ... here.
24489 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24490 * sysdeps/unix/bsd/wait3.c: ... here.
24491 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24492 * sysdeps/unix/bsd/waitpid.c: ... here.
24494 2013-12-21 Joseph Myers <joseph@codesourcery.com>
24497 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24498 round-to-nearest for [!USE_AS_EXPM1L].
24499 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24500 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
24501 more tests of exp and exp10. Expect some exp10 tests to miss
24502 exceptions or fail in directed rounding modes.
24503 * math/auto-libm-test-out: Regenerated.
24504 * math/libm-test.inc (exp10_tonearest_test_data): New array.
24505 (exp10_test_tonearest): New function.
24506 (exp10_towardzero_test_data): New array.
24507 (exp10_test_towardzero): New function.
24508 (exp10_downward_test_data): New array.
24509 (exp10_test_downward): New function.
24510 (exp10_upward_test_data): New array.
24511 (exp10_test_upward): New function.
24512 (main): Call the new functions.
24513 * sysdeps/i386/fpu/libm-test-ulps: Update.
24514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24516 2013-12-20 Joseph Myers <joseph@codesourcery.com>
24518 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24519 asinh, atan, atan2, atanh, cbrt, cos and cosh.
24520 * math/auto-libm-test-out: Regenerated.
24521 * math/libm-test.inc (acosh_test_data): Add more tests.
24522 (atanh_test_data): Likewise.
24523 (ceil_test_data): Likewise.
24524 (copysign_test_data): Likewise.
24525 * sysdeps/i386/fpu/libm-test-ulps: Update.
24526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24528 * timezone/checktab.awk: Update from tzcode 2013i.
24529 * timezone/private.h: Likewise.
24530 * timezone/scheck.c: Likewise.
24531 * timezone/tzfile.h: Likewise.
24532 * timezone/tzselect.ksh: Likewise.
24533 * timezone/zdump.c: Likewise.
24534 * timezone/zic.c: Likewise.
24536 * math/auto-libm-test-in: Add tests of cpow.
24537 * math/auto-libm-test-out: Regenerated.
24538 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24539 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24541 (func_calc_desc): Add mpc_cc_c union field.
24542 (test_functions): Add cpow.
24543 (special_fill_2pi): New function.
24544 (special_real_inputs): Add 2pi.
24545 (calc_generic_results): Handle mpc_cc_c.
24546 * sysdeps/i386/fpu/libm-test-ulps: Update.
24547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24549 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24550 csqrt, ctan and ctanh.
24551 * math/auto-libm-test-out: Regenerated.
24552 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24553 (TEST_COND_x86): Likewise.
24554 (ccos_test_data): Use AUTO_TESTS_c_c.
24555 (ccosh_test_data): Likewise.
24556 (cexp_test_data): Likewise.
24557 (clog_test_data): Likewise.
24558 (csqrt_test_data): Likewise.
24559 (ctan_test_data): Likewise.
24560 (ctan_tonearest_test_data): Likewise.
24561 (ctan_towardzero_test_data): Likewise.
24562 (ctan_downward_test_data): Likewise.
24563 (ctan_upward_test_data): Likewise.
24564 (ctanh_test_data): Likewise.
24565 (ctanh_tonearest_test_data): Likewise.
24566 (ctanh_towardzero_test_data): Likewise.
24567 (ctanh_downward_test_data): Likewise.
24568 (ctanh_upward_test_data): Likewise.
24569 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24571 (func_calc_desc): Add mpc_c_c union field.
24572 (FUNC_mpc_c_c): New macro.
24573 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24574 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24576 (special_fill_min_subnorm_p120): New function.
24577 (special_real_inputs): Add min_subnorm_p120.
24578 (calc_generic_results): Handle mpc_c_c.
24579 * sysdeps/i386/fpu/libm-test-ulps: Update.
24580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24582 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24584 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24585 (do_sin_slow): New functions.
24586 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24587 (cslow2, csloww1, csloww2): Use the new functions.
24589 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24590 Use M to change sign of result instead of X. Assume X is
24592 (csloww1): Likewise.
24596 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24597 arguments A and DA.
24601 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24603 (sloww1): Don't adjust sign of DX.
24604 (csloww1): Likewise.
24605 (sloww2): Use X directly and don't adjust sign of DX.
24606 (csloww2): Likewise.
24608 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24610 * math/auto-libm-test-in: Add tests of cabs and carg.
24611 * math/auto-libm-test-out: Regenerated.
24612 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24613 (carg_test_data): Likewise.
24614 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24616 (func_calc_desc): Add mpc_c_f union field.
24617 (test_functions): Add cabs and carg.
24618 (calc_generic_results): Handle mpc_c_f.
24620 * sysdeps/powerpc/powerpc32/libgcc-compat.S
24621 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24622 as a macro and a compat symbol.
24623 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24624 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24625 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24626 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24627 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24628 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24630 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24632 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24634 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24636 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24638 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24640 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24641 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24644 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24648 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24650 * manual/texinfo.tex: Update to version 2013-11-26.10 with
24651 trailing whitespace removed.
24652 * scripts/config.guess: Update to version 2013-11-29.
24653 * scripts/config.sub: Update to version 2013-10-01.
24655 * math/auto-libm-test-in: Add tests of sincos.
24656 * math/auto-libm-test-out: Regenerated.
24657 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24658 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24660 (func_calc_desc): Add mpfr_f_11 union field.
24661 (test_functions): Add sincos.
24662 (calc_generic_results): Handle mpfr_f_11.
24663 * sysdeps/i386/fpu/libm-test-ulps: Update.
24664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24666 2013-12-19 Andreas Schwab <schwab@suse.de>
24668 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24670 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24671 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24672 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24674 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24676 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24677 * sysdeps/i386/fpu/libm-test-ulps: Update.
24678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24681 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24682 round-to-nearest mode when using frndint.
24683 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24684 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24685 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24687 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
24689 * math/auto-libm-test-out: Regenerated.
24690 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24691 (TEST_COND_x86): Likewise.
24692 (expm1_tonearest_test_data): New array.
24693 (expm1_test_tonearest): New function.
24694 (expm1_towardzero_test_data): New array.
24695 (expm1_test_towardzero): New function.
24696 (expm1_downward_test_data): New array.
24697 (expm1_test_downward): New function.
24698 (expm1_upward_test_data): New array.
24699 (expm1_test_upward): New function.
24700 (main): Run the new test functions.
24701 * sysdeps/i386/fpu/libm-test-ulps: Update.
24702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24704 * include/features.h: Update comment documenting feature test
24705 macros. Mention _DEFAULT_SOURCE in comment.
24706 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24707 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24708 _BSD_SOURCE and _SVID_SOURCE.
24709 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24710 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24711 !_SVID_SOURCE]: Likewise.
24712 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24713 (__USE_POSIX_IMPLICITLY): Define.
24714 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24715 (_POSIX_SOURCE): Undefine and redefine.
24716 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24717 (_POSIX_C_SOURCE): Likewise.
24718 * manual/creature.texi (_DEFAULT_SOURCE): Document.
24719 (Feature Test Macros): Update documentation of default features.
24721 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24723 * benchtests/Makefile: Add bench-strtok.
24724 * benchtests/bench-strtok.c: New file: strtok benchtest.
24726 2013-12-19 Allan McRae <allan@archlinux.org>
24728 * manual/install.texi: Suppress menu for plain text output.
24729 * INSTALL: Regenerated.
24731 2013-12-18 Brooks Moses <bmoses@google.com>
24734 * misc/getauxval.c: Include errno.h.
24735 (__getauxval): Set errno to ENOENT if the requested type is not
24737 * misc/sys/auxv.h (getauxval): Document that it may set errno;
24738 don't declare with __attribute_const__.
24739 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24740 * manual/startup.texi: Document that getauxval sets errno.
24742 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24744 * math/auto-libm-test-in: Add tests of jn and yn.
24745 * math/auto-libm-test-out: Regenerated.
24746 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24747 (yn_test_data): Likewise.
24748 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24750 (func_calc_desc): Add mpfr_if_f union field.
24751 (FUNC_mpfr_if_f): New macro.
24752 (test_functions): Add jn and yn.
24753 (calc_generic_results): Assert type of second input for
24754 mpfr_ff_f. Handle mpfr_if_f.
24755 (output_for_one_input_case): Disable all checking for arguments
24756 fitting floating-point types in case of an integer argument.
24757 * sysdeps/i386/fpu/libm-test-ulps: Update.
24758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24761 Don't expect fegetround reference in libm.so.
24763 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24765 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24766 $(config-cflags-nofma).
24768 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24770 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24771 * math/auto-libm-test-out: Regenerated.
24774 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24775 to determine exponent and adjust argument to have exponent of -1.
24776 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24778 * math/auto-libm-test-out: Regenerated.
24779 * sysdeps/i386/fpu/libm-test-ulps: Update.
24780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24782 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
24784 * manual/probes.texi: Remove cases when per-thread arenas are
24787 2013-12-18 Andreas Schwab <schwab@suse.de>
24789 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24790 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24791 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24792 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24793 * sysdeps/i386/i686/multiarch/Makefile: Update.
24794 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24796 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24798 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24799 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24801 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
24804 Support TZ transition times < 00:00:00.
24805 This is needed for version-3 tz-format files; it supports time
24806 stamps past 2037 for America/Godthab (the only entry in the tz
24807 database for which this change is relevant).
24808 * manual/time.texi (TZ Variable): Document transition times
24809 from -167:59:59 through -00:00:01.
24810 * time/tzset.c (tz_rule): Time of day is now signed.
24811 (__tzset_parse_tz): Parse negative time of day.
24813 Document TZ transition times >= 25:00:00.
24814 * manual/time.texi (TZ Variable): Document transition times from
24815 25:00:00 through 167:59:59. These are already supported, and this
24816 support will help with version-3 tz-format files.
24818 * manual/time.texi (TZ Variable): Modernize North America example
24819 to reflect current (i.e., 2007-and-later) daylight saving rules.
24821 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24823 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24825 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24826 * sysdeps/unix/bsd/bits/stat.h: Likewise.
24827 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24829 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24830 * sysdeps/unix/bsd/bsdstat.h: Likewise.
24831 * sysdeps/unix/bsd/clock.c: Likewise.
24832 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24833 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24834 * sysdeps/unix/bsd/init-posix.c: Likewise.
24835 * sysdeps/unix/bsd/poll.c: Likewise.
24836 * sysdeps/unix/bsd/ptsname.c: Likewise.
24837 * sysdeps/unix/bsd/seekdir.c: Likewise.
24838 * sysdeps/unix/bsd/setegid.c: Likewise.
24839 * sysdeps/unix/bsd/seteuid.c: Likewise.
24840 * sysdeps/unix/bsd/setgid.c: Likewise.
24841 * sysdeps/unix/bsd/setrgid.c: Likewise.
24842 * sysdeps/unix/bsd/setruid.c: Likewise.
24843 * sysdeps/unix/bsd/setsid.c: Likewise.
24844 * sysdeps/unix/bsd/setuid.c: Likewise.
24845 * sysdeps/unix/bsd/sigaction.c: Likewise.
24846 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24847 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24848 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24849 * sysdeps/unix/bsd/telldir.c: Likewise.
24850 * sysdeps/unix/bsd/times.c: Likewise.
24851 * sysdeps/unix/bsd/usleep.c: Likewise.
24853 * misc/Makefile (install-lib): Remove libbsd-compat.a.
24854 ($(objpfx)libbsd-compat.a): Remove rule.
24856 * include/features.h (__FAVOR_BSD): Do not define.
24857 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24858 features conflicting with POSIX.
24859 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24860 (_BSD_SOURCE): Remove description of not being a subset of other
24861 feature test macros.
24862 * manual/job.texi (getpgrp): Do not document BSD version.
24863 (getpgid): Do not document by reference to BSD getpgrp.
24864 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24865 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24866 * signal/signal.h [__FAVOR_BSD]: Likewise.
24867 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24868 instead of making contents conditional on [__FAVOR_BSD].
24869 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24871 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24875 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24878 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24879 values below 2**-450, not 2**-500.
24880 * math/auto-libm-test-in: Don't allow spurious underflow from
24882 * math/auto-libm-test-out: Regenerated.
24886 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24887 values of ha and hb and sort them after adjusting subnormal
24889 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24891 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24892 values of ea and eb and sort them after adjusting subnormal
24894 * math/auto-libm-test-in: Do not expect some hypot tests of
24895 subnormals to fail. Add more hypot tests.
24896 * math/auto-libm-test-out: Regenerated.
24898 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24901 * sysdeps/sh/s_fma.c: New file.
24902 * sysdeps/sh/s_fmaf.c: New file.
24903 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
24905 * sysdeps/sh/Implies: Add sh/soft-fp.
24907 2013-12-16 Roland McGrath <roland@hack.frob.com>
24909 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
24910 level of indirection to members `objname', `errstring', `malloced'.
24911 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24912 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
24913 it as the __longjmp argument (just pass 1 instead).
24914 (_dl_catch_error): Initialize C with argument pointers and address of
24915 volatile local ERRCODE rather than copying values out of C at return.
24917 2013-12-16 Joseph Myers <joseph@codesourcery.com>
24919 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24920 * math/auto-libm-test-out: Regenerated.
24921 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24922 (hypot_test_data): Likewise.
24923 (pow_test_data): Likewise.
24924 (pow_tonearest_test_data): Likewise.
24925 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24927 (func_calc_desc): Add mpfr_ff_f union field.
24928 (FUNC_mpfr_ff_f): New macro.
24929 (test_functions): Add atan2, hypot and pow.
24930 (special_fill_min): New function.
24931 (special_fill_minus_min): Likewise.
24932 (special_fill_min_subnorm): Likewise.
24933 (special_fill_minus_min_subnorm): Likewise.
24934 (special_real_inputs): Add min, -min, min_subnorm and
24936 (calc_generic_results): Handle mpfr_ff_f.
24937 * sysdeps/i386/fpu/libm-test-ulps: Update.
24938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24940 2013-12-16 Will Newton <will.newton@linaro.org>
24942 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24943 (Aligned Memory Blocks): Add documentation for aligned_alloc
24944 and suggest it as an alternative to posix_memalign.
24945 (Hooks for Malloc): Document __memalign_hook is also called
24946 for aligned_alloc. (Summary of Malloc): Add summary for
24947 aligned alloc. Document __memalign_hook is also called
24950 2013-12-16 Will Newton <will.newton@linaro.org>
24952 * manual/memory.texi (Malloc Examples): Clarify default
24953 alignment documentation. Suggest posix_memalign rather
24954 than memalign or valloc.
24955 (Aligned Memory Blocks): Remove suggestion to use memalign
24956 or valloc. Remove obsolete comment about BSD.
24957 Document memalign errno values and mark the function obsolete.
24958 Document posix_memalign returned error codes. Mark valloc
24959 as obsolete. (Hooks for Malloc): __memalign_hook is also
24960 called for posix_memalign and valloc.
24961 (Summary of Malloc): Add posix_memalign to function summary.
24962 __memalign_hook is also called for posix_memalign and valloc.
24964 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24966 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24970 (sloww): Use mynumber union. Expand ternary operator into
24971 if-else statements.
24972 (cslow): use mynumber union.
24974 2013-12-16 Allan McRae <allan@archlinux.org>
24976 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24977 * configure: Regenerated.
24979 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24982 * configure.ac: Added --enable-maintainer-mode. Check for
24983 autoconf when enabled.
24984 * configure: Regenerated.
24986 * nscd/nscd.service: New file.
24987 * nscd/nscd.tmpfiles: New file.
24989 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
24992 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24993 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24994 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24995 (strstr): Add __strstr_sse2_unaligned ifunc.
24996 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24997 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24998 (strcasestr): Remove __strcasestr_sse42 ifunc.
24999 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25000 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25003 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25005 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25006 * sysdeps/sh/bits/fenv.h: ... here.
25007 * sysdeps/sh/sh4/fpu/bits: Remove directory.
25009 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25011 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25013 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25014 hypotf multiarch implementations.
25015 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25016 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25017 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25018 multiarch hypot for PPC64.
25019 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25020 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25021 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25022 multiarch hypotf for PPC64.
25024 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25025 modff multiarch implementations.
25026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25029 multiarch modf for PPC64.
25030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25033 multiarch modff for PPC64.
25035 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25036 and logl multiarch implementations.
25037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25040 multiarch logb for PPC64.
25041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25044 multiarch logb for PPC64.
25045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25048 multiarch logb for PPC64.
25050 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25051 isinff multiarch implementation.
25052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25056 multiarch isinf for PPC64.
25057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25060 multiarch isinff for PPC64.
25062 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25063 finitef multiarch implementation.
25064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25068 multiarch finite for PPC64.
25069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25072 multiarch finitef for PPC64.
25074 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25075 lrint multiarch implementation.
25076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25080 multiarch llrint for PPC64.
25081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25082 multiarch lrint for PPC64.
25084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25085 copysignf multiarch implementation.
25086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25091 multiarch copysign for PPC64.
25092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25093 multiarch copysignf for PPC64.
25095 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25096 multiarch implementation.
25097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25105 multiarch llround for PPC64.
25106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25107 multiarch trunc for PPC64.
25108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25109 multiarch truncf for PPC64.
25111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25112 multiarch implementation.
25113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25121 multiarch llround for PPC64.
25122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25123 multiarch round for PPC64.
25124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25125 multiarch roundf for PPC64.
25127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25128 multiarch implementation.
25129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25137 multiarch llround for PPC64.
25138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25139 multiarch floor for PPC64.
25140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25141 multiarch floorf for PPC64.
25143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25144 multiarch implementation.
25145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25153 multiarch llround for PPC64.
25154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25155 multiarch ceil for PPC64.
25156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25157 multiarch ceilf for PPC64.
25159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25160 multiarch implementation.
25161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25168 multiarch llround for PPC64.
25169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25170 multiarch lround for PPC64.
25172 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25173 multiarch implementation.
25174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25181 multiarch isnan for PPC64.
25182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25183 multiarch isnanf for PPC64.
25185 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25186 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25187 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25188 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25189 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25192 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25193 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25195 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25198 multiarch implementations.
25199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25200 (__libc_ifunc_impl_list): Likewise.
25201 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25202 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25203 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25204 multiarch stpcpy for PPC64.
25206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25207 multiarch implementations.
25208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25209 (__libc_ifunc_impl_list): Likewise.
25210 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25211 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25212 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25213 multiarch strcpy for PPC64.
25215 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25216 redefine function name.
25217 (_wordcopy_fwd_dest_aligned): Likewise.
25218 (_wordcopy_bwd_aligned): Likewise.
25219 (_wordcopy_bwd_dest_aligned): Likewise.
25220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25221 multiarch implementations.
25222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25223 (__libc_ifunc_impl_list): Likewise.
25224 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25225 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25226 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25227 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25228 multiarch wcscpy for PPC64.
25230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25231 multiarch implementations.
25232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25233 (__libc_ifunc_impl_list): Likewise.
25234 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25235 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25236 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25237 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25238 multiarch wcscpy for PPC64.
25240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25241 multiarch implementations.
25242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25243 (__libc_ifunc_impl_list): Likewise.
25244 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25245 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25246 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25247 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25248 multiarch wcsrchr for PPC64.
25250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25251 multiarch implementations.
25252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25253 (__libc_ifunc_impl_list): Likewise.
25254 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25255 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25256 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25257 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25258 multiarch wcschr for PPC64.
25260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25261 multiarch implementations.
25262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25263 (__libc_ifunc_impl_list): Likewise.
25264 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25265 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25266 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25267 multiarch strchrnul for PPC64.
25269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25272 (__libc_ifunc_impl_list): Likewise.
25273 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25274 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25275 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25276 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25282 (__libc_ifunc_impl_list): Likewise.
25283 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25284 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25285 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25286 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25290 multiarch implementations.
25291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25292 (__libc_ifunc_impl_list): Likewise.
25293 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25294 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25295 strncasecmp for PPC64.
25296 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25297 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25298 multiarch strncasecmp_l for PPC64.
25300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25301 multiarch implementations.
25302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25303 (__libc_ifunc_impl_list): Likewise.
25304 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25305 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25306 multiarch strcasecmp for PPC64.
25307 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25309 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25310 multiarch strcasecmp_l for PPC64.
25312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25315 (__libc_ifunc_impl_list): Likewise.
25316 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25317 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25318 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25324 (__libc_ifunc_impl_list): Likewise.
25325 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25326 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25327 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25333 (__libc_ifunc_impl_list): Likewise.
25334 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25335 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25336 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25337 rawmemrchr for PPC64.
25339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25342 (__libc_ifunc_impl_list): Likewise.
25343 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25344 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25345 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25348 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25351 (__libc_ifunc_impl_list): Likewise.
25352 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25353 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25354 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25357 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25359 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25360 (__libc_ifunc_impl_list): Likewise.
25361 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25362 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25363 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25366 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25367 avoid cretion of __bzero symbol.
25368 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25370 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25372 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25375 multiarch implementations.
25376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25377 (__libc_ifunc_impl_list): Likewise.
25378 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25379 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25380 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25381 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25383 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25384 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25385 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25386 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25387 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25389 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25391 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25395 (__libc_ifunc_impl_list): Likewise.
25396 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25397 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25398 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25399 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25403 multiarch for POWER/PPC64.
25404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25405 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25406 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25407 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25408 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25409 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25410 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25411 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25412 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25415 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25416 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25417 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25418 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25419 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25420 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25421 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25422 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25423 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25424 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25425 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25426 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25427 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25428 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25429 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25438 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25440 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25442 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25444 * benchtests/Makefile (bench): Add exp2 and log2.
25445 (LDLIBS-bench-exp2): Add -lm.
25446 (LDLIBS-bench-log2): Likewise.
25447 * benchtests/exp2-inputs: New inputs file.
25448 * benchtests/log2-inputs: New inputs file.
25449 * benchtests/log-inputs: Add new inputs.
25450 * benchtests/tan-inputs: Likewise.
25452 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25454 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25456 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25457 (csloww2): ... from here.
25459 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25460 instead of structures.
25461 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25462 (POLYNOMIAL): Likewise.
25463 (TAYLOR_SLOW): Likewise.
25469 (sloww1); Likewise.
25470 (sloww2): Likewise.
25471 (bsloww1): Likewise.
25472 (bsloww2): Likewise.
25473 (cslow2): Likewise.
25474 (csloww): Likewise.
25475 (csloww1): Likewise.
25476 (csloww2): Likewise.
25478 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
25480 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25481 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25482 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25483 * malloc/hooks.c (realloc_check): Likewise.
25485 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25486 * malloc/arena.c: Remove PER_THREAD conditional.
25487 [!PER_THREAD]: Remove code.
25488 (ptmalloc_unlock_all2): Likewise.
25489 (ptmalloc_init): Likewise.
25490 (_int_new_arena): Likewise.
25491 (arena_get2): Likewise.
25492 * malloc/hooks.c (__malloc_get_state): Likewise.
25493 (__malloc_set_state): Likewise.
25494 * malloc/malloc.c: Likewise.
25495 (struct malloc_state): Likewise.
25496 (struct malloc_par): Likewise.
25497 (__libc_realloc): Likewise.
25498 (__libc_mallopt): Likewise.
25500 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25502 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25504 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
25506 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25507 macro to a function. Check for zero perturb_byte.
25508 (_int_malloc, _int_free): Remove zero perturb_byte checks.
25510 * malloc/malloc.c: (force_reg): Remove.
25511 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25512 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25513 force_reg by atomic_forced_read.
25514 * malloc/arena.c (ptmalloc_init): Likewise.
25515 * malloc/hooks.c (top_check): Likewise.
25517 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25521 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
25523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25525 2013-12-08 Joseph Myers <joseph@codesourcery.com>
25527 * math/auto-libm-test-in: Add tests of lgamma.
25528 * math/auto-libm-test-out: Regenerated.
25529 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25530 (M_LOG_2_SQRT_PIl): Likewise.
25531 (lgamma_test_data): Use AUTO_TESTS_f_f1.
25532 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25534 (func_calc_desc): Add mpfr_f_f1 union field.
25535 (ARGS1): New macro.
25543 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25544 (test_functions): Add lgamma.
25545 (calc_generic_results): Handle mpfr_f_f1.
25546 * sysdeps/i386/fpu/libm-test-ulps: Update.
25547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25549 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25551 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25552 __mpn_add_n for PowerPC64/POWER7.
25553 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25554 __mpn_sub_n for PowerPC64/POWER7.
25556 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25557 __mpn_addmul_1 for PowerPC64.
25558 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25559 __mpn_submul_1 for PowerPC64.
25560 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25562 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25565 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
25568 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25570 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25572 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25574 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25575 add multiarch folders.
25576 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25577 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25578 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25579 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25580 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25581 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25582 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25583 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25584 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25585 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25586 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25595 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25601 multiarch __ieee754_hypot for PowerPC32.
25602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25607 multiarch __ieee754_hypotf for PowerPC32.
25609 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25610 long_double_symbol only if __logbl is defined.
25611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25612 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25614 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25615 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25616 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25617 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25618 path for implementation.
25619 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25620 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25622 logb, and logbl multiarch implementations for PowerPC32.
25623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25628 multiarch logb for PowerPC32.
25629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25634 multiarch logbf for PowerPC32.
25635 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25639 multiarch logbl implementation for PowerPC32.
25641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25642 and modff multiarch implementations.
25643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25648 multiarch modf for PowerPC32.
25649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25654 multiarch modff for PowerPC32.
25656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25657 and lrintf multiarch implementations.
25658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25663 multiarch lrint for PowerPC32.
25664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25665 file: multiarch lrintf for PowerPC32.
25667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25668 and lroundf multiarch implementations.
25669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25676 multiarch lround for PowerPC32.
25677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25678 file: multiarch lroundf for PowerPC32.
25680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25681 copysign and copysignf multiarch implementations.
25682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25687 file: multiarch copysign for PowerPC32.
25688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25689 file: multiarch copysignf for PowerPC32.
25691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25692 and truncf multiarch implementations.
25693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25698 multiarch trunc for PowerPC32.
25699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25704 multiarch truncf for PowerPC32.
25706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25707 and roundf multiarch implementations.
25708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25713 multiarch round for PowerPC32.
25714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25719 multiarch roundf for PowerPC32.
25721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25722 and floorf multiarch implementations.
25723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25728 multiarch floor for PowerPC32.
25729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25734 multiarch floorf for PowerPC32.
25736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25737 and ceilf multiarch implementations.
25738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25743 multiarch ceil for PowerPC32.
25744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25749 multiarch ceilf for PowerPC32.
25751 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25753 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25754 FINITEF is defined.
25755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25756 and finitef multiarch implementations.
25757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25762 multiarch finite for PowerPC32.
25763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25766 file: multiarch finitef for PowerPC32.
25768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25769 and isinff multiarch implementations.
25770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25775 multiarch isinf for PowerPC32.
25776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25779 multiarch isinff for PowerPC32.
25781 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25782 alias when __isnan is defined.
25783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25784 and isnanf multiarch implementations.
25785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25794 multiarch isnan for PowerPC32.
25795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25800 multiarch isnanf for PowerPC32.
25802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25803 and sqrtf multiarch implementations.
25804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25809 multiarch sqrt for PowerPC32.
25810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25815 multiarch sqrtf for PowerPC32.
25817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25818 and llroundf multiarch implementations.
25819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25826 file: multiarch llround for PowerPC32.
25827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25828 file: multiarch llroundf for PowerPC32.
25830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25831 multiarch PowerPC32 fpu implementations.
25832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25837 multiarch llrint for PowerPC32.
25838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25847 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25849 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25851 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25853 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25854 multiarch wordcopy for PPC32.
25855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25858 (__libc_ifunc_impl_list): Likewise.
25859 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25860 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25861 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25862 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25863 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25864 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25866 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25867 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25869 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25871 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25873 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25874 multiarch wcscpy for PPC32.
25875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25878 (__libc_ifunc_impl_list): Likewise.
25879 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25880 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25881 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25882 sysdeps/powerpc/power6/wcscpy.c.
25884 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25885 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25887 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25889 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25891 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25892 multiarch wcsrchr for PPC32.
25893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25896 (__libc_ifunc_impl_list): Likewise.
25897 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25898 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25899 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25900 sysdeps/powerpc/power6/wcsrchr.c.
25902 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25904 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25906 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25907 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25908 multiarch wcschr for PPc32.
25909 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25911 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25912 (__libc_ifunc_impl_list): Likewise.
25913 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25914 * sysdeps/powerpc/power6/wcschr.c: ... to here.
25915 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25916 sysdeps/powerpc/power6/wcschr.c.
25918 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25919 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25921 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25922 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25923 file: multiarch strchr for PPC32.
25924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25927 (__libc_ifunc_impl_list): Likewise.
25929 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25931 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25933 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25935 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25936 multiarch strchrnul for PPC32.
25937 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25939 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25940 (__libc_ifunc_impl_list): Likewise.
25942 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25944 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25945 multiarch strncasecmp for PPC32.
25946 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25948 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25949 multiarch strncasecmp_l for PPC32.
25950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25951 strncasecmp multiarch objects.
25952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25953 (__libc_ifunc_impl_list): Likewise.
25955 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25957 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25958 multiarch strncasecmp for PPC32.
25959 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25961 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25962 multiarch strcasecmp_l for PPC32.
25963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25966 (__libc_ifunc_impl_list): Likewise.
25968 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25970 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25972 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25973 multiarch strncmp for PPC32.
25974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25977 (__libc_ifunc_impl_list): Likewise.
25979 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25980 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25982 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25983 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25987 (__libc_ifunc_impl_list): Likewise.
25989 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25991 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25993 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25997 (__libc_ifunc_impl_list): Likewise.
25999 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26001 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26003 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26004 multiarch rawmemchr for PPC32.
26005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26008 (__libc_ifunc_impl_list): Likewise.
26010 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26012 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26014 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26015 file: memrchr multiarch for PPC32.
26016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26019 (__libc_ifunc_impl_list): Likewise.
26021 * string/memchr.c (__memchr): Using macro to redefine symbol name.
26022 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26024 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26025 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26026 multiarch memchr for PPC32.
26027 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26029 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26030 (__libc_ifunc_impl_list): Likewise.
26032 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26033 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26035 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26037 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26038 file: multiarch mempcpy for PPC32.
26039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26042 (__libc_ifunc_impl_list): Likewise.
26044 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26045 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26046 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26047 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26048 multiarch bzero for PPC32.
26049 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26051 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26053 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26054 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26055 file: multiarch memset for PPC32.
26056 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26057 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26058 memset multiarch objects.
26059 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26060 (__libc_ifunc_impl_list): Likewise.
26062 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26064 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26065 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26067 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26068 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26071 (__libc_ifunc_impl_list): Likewise.
26073 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26074 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26075 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26077 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26079 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26081 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26082 multiarch memcpy for PPC32.
26083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26086 (__libc_ifunc_impl_list): Likewise.
26088 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26089 support multiarch for POWER/PPC32.
26090 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26092 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26094 Implies file to make multiarch folder appers before the fpu and
26095 default folder for power4 configuration.
26097 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26099 * scripts/bench.pl: Append volatile keyword to type.
26101 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26103 * sysdeps/sh/sotruss-lib.c: New file.
26104 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26106 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26110 2013-12-05 Joseph Myers <joseph@codesourcery.com>
26113 * math/w_tgamma.c: Include <errno.h>.
26114 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
26115 * math/w_tgammaf.c: Include <errno.h>.
26116 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
26117 * math/w_tgammal.c: Include <errno.h>.
26118 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
26119 * math/auto-libm-test-in: Do not allow missing errno on tgamma
26120 underflow. Add more tgamma tests.
26121 * math/auto-libm-test-out: Regenerated.
26122 * sysdeps/i386/fpu/libm-test-ulps: Update.
26123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26125 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26126 sin, sinh, tan, tanh, tgamma, y0 and y1.
26127 * math/auto-libm-test-out: Regenerated.
26128 * math/libm-test.inc (TEST_COND_x86_64): New macro.
26129 (TEST_COND_x86): Likewise.
26130 (M_E2l): Remove macro.
26132 (M_2_SQRT_PIl): Likewise.
26133 (M_SQRT_PIl): Likewise.
26134 (M_1_DIV_El): Likewise.
26135 (log_test_data): Use AUTO_TESTS_f_f.
26136 (log10_test_data): Likewise.
26137 (log1p_test_data): Likewise.
26138 (log2_test_data): Likewise.
26139 (sin_test_data): Likewise.
26140 (sin_tonearest_test_data): Likewise.
26141 (sin_towardzero_test_data): Likewise.
26142 (sin_downward_test_data): Likewise.
26143 (sin_upward_test_data): Likewise.
26144 (sinh_test_data): Likewise.
26145 (sinh_tonearest_test_data): Likewise.
26146 (sinh_towardzero_test_data): Likewise.
26147 (sinh_downward_test_data): Likewise.
26148 (sinh_upward_test_data): Likewise.
26149 (tan_test_data): Likewise.
26150 (tan_tonearest_test_data): Likewise.
26151 (tan_towardzero_test_data): Likewise.
26152 (tan_downward_test_data): Likewise.
26153 (tan_upward_test_data): Likewise.
26154 (tanh_test_data): Likewise.
26155 (tgamma_test_data): Likewise.
26156 (y0_test_data): Likewise.
26157 (y1_test_data): Likewise.
26158 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26159 (special_real_inputs): Add pi/4.
26160 * sysdeps/i386/fpu/libm-test-ulps: Update.
26161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26163 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26165 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26166 "longjmp_target" static probes.
26167 (__longjmp): Rename to __longjmp_symbol.
26168 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26169 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26170 on which longjmp to generate.
26171 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26172 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26174 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26175 (__sigjmp_save): Rename to __sigjmp_save_symbol.
26176 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26177 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26178 and __sigjmp_save_symbol based on which sigsetjmp to generated.
26179 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26181 __longjmp_symbol based on which __longjmp to generate.
26182 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26184 (setjmp): Rename to setjmp_symbol.
26185 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26186 (_setjmp): Rename to _setjmp_symbol.
26187 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26188 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26189 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26190 which setjmp to generate.
26191 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26192 "longjmp_target" static probes.
26194 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26196 * benchtests/README: Add note about output arguments.
26197 * benchtests/bench-sincos.c: Remove file.
26198 * benchtests/sincos-inputs: New file.
26199 * scripts/bench.pl: Identify output arguments and define
26200 static variables for them.
26202 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26205 * Makefile (INSTALL): Add install-plain.texi as the primary
26207 * manual/install-plain.texi: New file.
26208 * manual/install.texi: Include node directive only for
26209 non-plaintext output.
26211 2013-12-04 Joseph Myers <joseph@codesourcery.com>
26213 * stdlib/longlong.h: Update from GCC.
26217 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26218 * math/w_j0f.c (y0f): Likewise.
26219 * math/w_j0l.c (__y0l): Likewise.
26220 * math/w_j1.c (y1): Likewise.
26221 * math/w_j1f.c (y1f): Likewise.
26222 * math/w_j1l.c (__y1l): Likewise
26223 * math/w_jn.c (yn): Likewise.
26224 * math/w_jnf.c (ynf): Likewise.
26225 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26226 Bessel function pole errors in _POSIX_ mode. Use NAN as return
26227 value for Bessel function domain errors outside _SVID_ mode.
26228 Adjust sign of return value for yn (negative integer, 0).
26229 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26230 by zero in return for negative x and set sign appropriately for
26232 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26233 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26234 * math/libm-test.inc (y0_test_data): Add more tests and adjust
26235 expectations in error cases.
26236 (y1_test_data): Likewise.
26237 (yn_test_data): Likewise.
26238 * sysdeps/i386/fpu/libm-test-ulps: Update.
26239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26241 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26243 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26244 "64" to "64-v1". Add "64-v2".
26245 (abi-64-options): Rename to ...
26246 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
26247 (abi-64-condition): Rename to ...
26248 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
26249 (abi-64-ld-soname): Rename to ...
26250 (abi-64-v1-ld-soname): ... this.
26251 (abi-64-v2-options): Define.
26252 (abi-64-v2-condition): Likewise.
26253 (abi-64-v2-ld-soname): Likewise.
26254 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26255 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26260 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26261 Alan Modra <amodra@gmail.com>
26263 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26264 New versions for use with the ELFv2 ABI.
26265 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26266 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26268 (struct La_ppc64v2_retval): Likewise.
26269 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26270 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26271 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26272 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26273 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26274 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26275 Do not save or restore CR.
26276 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26277 (_dl_profile_resolve): Do no save or restore CR. Support extended
26278 return values for ELFv2 ABI. Fix location of FPR return registers.
26279 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26280 updated values for _CALL_ELF == 2.
26281 (La_regs, La_retval, int_retval): Likewise.
26283 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26285 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26286 (FRAME_MIN_SIZE_PARM): Likewise.
26287 (FRAME_BACKCHAIN): Likewise.
26288 (FRAME_CR_SAVE): Likewise.
26289 (FRAME_LR_SAVE): Likewise.
26290 (FRAME_TOC_SAVE): Likewise.
26291 (FRAME_PARM_SAVE): Likewise.
26292 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26293 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26294 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26295 (call_mcount_parm_offset): New macro.
26296 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26297 (PROF): Use symbolic stack frame offsets.
26298 (TAIL_CALL_SYSCALL_ERROR): Likewise.
26299 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26300 Redefine in terms of FRAME_MIN_SIZE.
26301 (_dl_runtime_resolve): Use symbolic stack frame offsets.
26302 (_dl_profile_resolve): Likewise. Update comment.
26303 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26304 symbols stack frame offsets.
26305 (__sigsetjmp): Likewise.
26306 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26307 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26308 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26309 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26312 (FRAME_BACKCHAIN): Remove.
26313 (FRAME_CR_SAVE): Likewise.
26314 (FRAME_LR_SAVE): Likewise.
26315 (FRAME_COMPILER_DW): Likewise.
26316 (FRAME_LINKER_DW): Likewise.
26317 (FRAME_TOC_SAVE): Likewise.
26318 (FRAME_PARM_SAVE): Likewise.
26319 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26320 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26321 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26323 (CHECK_SP): Use symbolic stack frame offsets.
26324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26325 zone" instead of caller's parameter save area for temp storage.
26326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26327 Likewise. Also, use symbolic stack frame offsets.
26328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26329 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26330 our own stack frame instead of the caller's.
26331 (__socket): Use symbolic stack frame offsets.
26333 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26334 Alan Modra <amodra@gmail.com>
26336 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26338 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26339 (PPC64_LOCAL_ENTRY_OFFSET): Define.
26340 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26342 (elf_machine_fixup_plt): Call it.
26343 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
26345 (elf_machine_rela): Update call to elf_machine_plt_conflict.
26346 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26347 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26348 r2 before calling target.
26350 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26351 Alan Modra <amodra@gmail.com>
26353 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26354 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26355 versions of macros to support ELFv2 ABI.
26356 (LOCALENTRY): New macro.
26357 (ENTRY, EALIGN): Use it.
26358 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26359 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26360 fall through into ENTRY entry point.
26361 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26362 Only define if _CALL_ELF != 2.
26364 (elf_machine_matches_host): Verify ABI version matches.
26365 (RTLD_START): Use LOCALENTRY.
26366 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26367 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26368 (PLT_ENTRY_WORDS): New macro.
26369 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26370 (elf_machine_runtime_setup): Support ELFv2 ABI.
26371 (elf_machine_fixup_plt): Likewise.
26372 (elf_machine_plt_conflict): Likewise.
26373 (resolve_ifunc): Likewise.
26374 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26375 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26378 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26380 (makecontext): Support ELFv2 ABI.
26381 * elf/elf.h (EF_PPC64_ABI): Define.
26383 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26385 * sysdeps/powerpc/powerpc64/sysdep.h
26386 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26387 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26388 (ENTRY) [ASSEMBLER]: ... but instead here ...
26389 (EALIGN) [ASSEMBLER]: ... and here.
26390 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26391 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26392 (ENTRY_2) [!ASSEMBLER]: Use it.
26393 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26394 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
26395 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26396 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26397 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26399 Use PPC64_LOAD_FUNCPTR.
26401 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26403 2013-12-04 Alan Modra <amodra@gmail.com>
26405 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26406 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26407 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26408 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26410 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26411 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26412 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26413 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26414 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26415 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26417 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26420 (__makecontext): Fix incorrect CFI when backtracing out of
26421 context created via makecontext.
26422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26423 (__setcontext): Fix incorrect CFI during switch to new context.
26424 (__novec_setcontext): Likewise.
26426 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26429 * time/strptime_l.c (__strptime_internal): Allow modifiers
26431 * time/tst-strptime.c (day_tests): Add testcase.
26433 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26435 * scripts/bench.pl: Skip over blank lines.
26437 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
26440 * manual/time.texi (Calendar Time): Clarify what timezone functions
26443 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26447 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26449 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26451 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26452 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26453 * debug/memset_chk.c (__memset_chk): Likewise.
26454 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26455 * debug/strncpy_chk.c: Likewise.
26457 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26461 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26462 (__ieee754_exp): For possibly underflowing results, check size of
26463 result and force underflow exception if required.
26464 * math/auto-libm-test-in: Add more tests of exp.
26465 * math/auto-libm-test-out: Regenerated.
26466 * sysdeps/i386/fpu/libm-test-ulps: Update.
26467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26470 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26471 * math/w_exp2f.c (__exp2f): Likewise.
26472 * math/w_exp2l.c (__exp2l): Likewise.
26473 * math/auto-libm-test-in: Do not allow missing errno on exp2
26475 * math/auto-libm-test-out: Regenerated.
26477 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
26480 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26481 handle filename validation.
26482 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26485 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26488 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26489 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26490 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26492 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26493 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26494 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26495 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26496 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26497 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26498 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26499 * math/auto-libm-test-in: Don't allow missing errno from erfc.
26500 Add more erfc tests.
26501 * math/auto-libm-test-out: Regenerated.
26502 * sysdeps/i386/fpu/libm-test-ulps: Update.
26503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26505 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26506 exp2, expm1, j0 and j1.
26507 * math/auto-libm-test-out: Regenerated.
26508 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26509 (erfc_test_data): Likewise.
26510 (exp_test_data): Likewise.
26511 (exp_tonearest_test_data): Likewise.
26512 (exp_towardzero_test_data): Likewise.
26513 (exp_downward_test_data): Likewise.
26514 (exp_upward_test_data): Likewise.
26515 (exp10_test_data): Likewise.
26516 (exp2_test_data): Likewise.
26517 (expm1_test_data): Likewise.
26518 (j0_test_data): Likewise.
26519 (j1_test_data): Likewise.
26520 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26521 (input_flag_type): Add flag_xfail_rounding.
26522 (input_flags): Add xfail-rounding.
26523 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26524 (output_for_one_input_case): Handle flag_xfail_rounding.
26525 * sysdeps/i386/fpu/libm-test-ulps: Update.
26526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26528 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
26531 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26534 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26537 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26538 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26539 (STAP_PROBE0): New macro.
26540 (STAP_PROBE1): Likewise.
26541 (STAP_PROBE2): Likewise.
26542 (STAP_PROBE3): Likewise.
26543 (STAP_PROBE4): Likewise.
26545 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
26547 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26549 2013-12-02 Steve Ellcey <sellcey@mips.com>
26551 * benchtests/Makefile (bench): Add sqrt.
26552 (LDLIBS-bench-sqrt): New.
26553 * benchtests/sqrt-input: New.
26555 2013-12-02 Pavel Simerda <psimerda@redhat.com>
26557 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26558 (GAIH_EAI): Likewise.
26559 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26560 (gaih_inet): Likewise.
26561 (getaddrinfo): Don't use GAIH_EAI.
26563 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26564 (struct gaih): Remove definition.
26566 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26568 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26569 Use HERRNOP directly.
26571 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26575 2013-11-30 Joseph Myers <joseph@codesourcery.com>
26577 * math/gen-auto-libm-tests.c (test_functions): Add more
26578 single-argument functions.
26579 (special_fill_pi_2): New function.
26580 (special_fill_minus_pi_2): Likewise.
26581 (special_fill_pi_6): Likewise.
26582 (special_fill_minus_pi_6): Likewise.
26583 (special_fill_pi_3): Likewise.
26584 (special_fill_2pi_3): Likewise.
26585 (special_fill_e): Likewise.
26586 (special_fill_1_e): Likewise.
26587 (special_fill_e_minus_1): Likewise.
26588 (special_real_inputs): Add more special inputs.
26589 (output_for_one_input_case): Do not require ERANGE on underflow to
26590 zero if round-to-nearest result does not underflow to zero, unless
26591 exact results required.
26592 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26593 atan, atanh, cbrt, cos and cosh.
26594 * math/auto-libm-test-out: Regenerated.
26595 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26596 (acos_tonearest_test_data): Likewise.
26597 (acos_towardzero_test_data): Likewise.
26598 (acos_downward_test_data): Likewise.
26599 (acos_upward_test_data): Likewise.
26600 (acosh_test_data): Likewise.
26601 (asin_test_data): Likewise.
26602 (asin_tonearest_test_data): Likewise.
26603 (asin_towardzero_test_data): Likewise.
26604 (asin_upward_test_data): Likewise.
26605 (asinh_test_data): Likewise.
26606 (atan_test_data): Likewise.
26607 (atanh_test_data): Likewise.
26608 (cbrt_test_data): Likewise.
26609 (cos_test_data): Likewise.
26610 (cos_tonearest_test_data): Likewise.
26611 (cos_towardzero_test_data): Likewise.
26612 (cos_downward_test_data): Likewise.
26613 (cos_upward_test_data): Likewise.
26614 (cosh_test_data): Likewise.
26615 (cosh_tonearest_test_data): Likewise.
26616 (cosh_towardzero_test_data): Likewise.
26617 (cosh_downward_test_data): Likewise.
26618 (cosh_upward_test_data): Likewise.
26619 * sysdeps/i386/fpu/libm-test-ulps: Update.
26620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26622 2013-11-29 Joseph Myers <joseph@codesourcery.com>
26625 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26626 * math/w_exp10f.c (__exp10f): Likewise.
26627 * math/w_exp10l.c (__exp10l): Likewise.
26628 * math/libm-test.inc (exp10_test_data): Add more tests and expect
26629 errno settings in existing tests.
26632 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26633 precision control set to double precision.
26634 * sysdeps/i386/fpu/w_sqrt.c: New file.
26635 * math/auto-libm-test-in: Add more tests.
26636 * math/auto-libm-test-out: Update.
26638 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26639 (sqrt_test_tonearest): New function.
26640 (sqrt_towardzero_test_data): New variable.
26641 (sqrt_test_towardzero): New function.
26642 (sqrt_downward_test_data): New variable.
26643 (sqrt_test_downward): New function.
26644 (sqrt_upward_test_data): New variable.
26645 (sqrt_test_upward): New function.
26646 (main): Call the new functions.
26648 * math/gen-auto-libm-tests.c: New file.
26649 * math/auto-libm-test-in: Likewise.
26650 * math/auto-libm-test-out: New generated file.
26651 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26653 (%beautify): Add generated representations of zero.
26654 (top level): Set $auto_input and call parse_auto_input.
26655 (beautify): Remove trailing "f" from hex float constants.
26656 (parse_args): Handle XFAIL_TEST.
26657 (convert_condition): New function.
26658 (or_value): Likewise.
26659 (or_cond_value): Likewise.
26660 (generate_testfile): Handle AUTO_TESTS_* lines.
26661 (parse_auto_input): New function.
26662 * math/libm-test.inc (XFAIL_TEST): New macro.
26663 (ERRNO_UNCHANGED): Update value.
26664 (ERRNO_EDOM): Likewise.
26665 (ERRNO_ERANGE): Likewise.
26666 (IGNORE_RESULT): Likewise.
26667 (TEST_COND_flt_32): New macro.
26668 (TEST_COND_dbl_64): Likewise.
26669 (TEST_COND_ldbl_96_intel): Likewise.
26670 (TEST_COND_ldbl_96_m68k): Likewise.
26671 (TEST_COND_ldbl_128): Likewise.
26672 (TEST_COND_ldbl_128ibm): Likewise.
26673 (TEST_COND_long32): Likewise.
26674 (TEST_COND_long64): Likewise.
26675 (TEST_COND_before_rounding): Likewise.
26676 (TEST_COND_after_rounding): Likewise.
26677 (enable_test): Handle XFAIL_TEST flag.
26678 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26679 with finite results.
26680 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26681 auto-libm-test-out.
26683 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26684 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26687 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26688 __tls_get_addr_internal instead of __tls_get_offset in order to
26689 avoid GOT pointer dependency. Make rtld export
26690 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26691 __tls_get_addr since we are a __tls_get_offset platform.
26692 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26693 GOT pointer being set up before.
26694 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26696 2013-11-28 Joseph Myers <joseph@codesourcery.com>
26698 * manual/math.texi (Errors in Math Functions): Document accuracy
26702 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26703 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26704 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26705 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26706 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26707 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26708 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26709 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26710 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26711 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26712 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26713 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26714 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26715 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26716 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26717 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26719 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26720 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26721 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26722 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26723 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26725 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26727 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26729 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26730 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26731 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26732 atomic-feupdateenv and flt-rounds.
26733 * sysdeps/powerpc/nofpu/Versions (libc): Add
26734 __atomic_feholdexcept, __atomic_feclearexcept,
26735 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26736 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26737 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26738 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26739 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26744 * manual/arith.texi (FP Exceptions): Document that exceptions may
26745 not be raised when matherr is used.
26746 (Math Error Reporting): Document overflow in directed rounding
26747 modes. Document that errno may not be set when finite values are
26748 returned on overflow. Document intent to set errno on underflow
26749 only for underflow to zero.
26752 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26753 round-to-nearest then adjust result for other rounding modes.
26754 * include/fenv.h (fegetround): Use libm_hidden_proto.
26755 * math/fegetround.c (fegetround): Use libm_hidden_def.
26756 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26757 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26758 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26759 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26761 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26762 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26763 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26764 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26766 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26769 * nss/Versions (libnss_files): Add
26770 _nss_files_gethostbyname3_r.
26771 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26773 (HOST_DB_LOOKUP): Remove macro.
26774 (_nss_files_gethostbyname_r): Implement function without the
26775 HOST_DB_LOOKUP macro.
26776 (_nss_files_gethostbyname2_r): Likewise.
26778 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
26780 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26782 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
26784 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26785 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26788 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26790 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26791 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26792 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26793 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26794 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26795 __fe_nomask_env_priv and attribute_hidden.
26796 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26797 (libc_feupdateenv_test_ppc): Likewise.
26798 (libc_feresetround_ppc): Likewise.
26799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26800 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26801 compat_symbol macro.
26802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26803 (__fe_nomask_env): Likewise.
26804 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26806 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26808 * string/Makefile: Remove ifunc tests.
26809 * string/test-string.h: Define TEST_IFUNC.
26810 * string/test-bcopy-ifunc.c: Remove.
26811 * string/test-bzero-ifunc.c: Likewise.
26812 * string/test-memccpy-ifunc.c: Likewise.
26813 * string/test-memchr-ifunc.c: Likewise.
26814 * string/test-memcmp-ifunc.c: Likewise.
26815 * string/test-memcpy-ifunc.c: Likewise.
26816 * string/test-memmem-ifunc.c: Likewise.
26817 * string/test-memmove-ifunc.c: Likewise.
26818 * string/test-mempcpy-ifunc.c: Likewise.
26819 * string/test-memrchr-ifunc.c: Likewise.
26820 * string/test-memset-ifunc.c: Likewise.
26821 * string/test-rawmemchr-ifunc.c: Likewise.
26822 * string/test-stpcpy-ifunc.c: Likewise.
26823 * string/test-stpncpy-ifunc.c: Likewise.
26824 * string/test-strcasecmp-ifunc.c: Likewise.
26825 * string/test-strcasestr-ifunc.c: Likewise.
26826 * string/test-strcat-ifunc.c: Likewise.
26827 * string/test-strchr-ifunc.c: Likewise.
26828 * string/test-strchrnul-ifunc.c: Likewise.
26829 * string/test-strcmp-ifunc.c: Likewise.
26830 * string/test-strcpy-ifunc.c: Likewise.
26831 * string/test-strcspn-ifunc.c: Likewise.
26832 * string/test-strlen-ifunc.c: Likewise.
26833 * string/test-strncasecmp-ifunc.c: Likewise.
26834 * string/test-strncat-ifunc.c: Likewise.
26835 * string/test-strncmp-ifunc.c: Likewise.
26836 * string/test-strncpy-ifunc.c: Likewise.
26837 * string/test-strnlen-ifunc.c: Likewise.
26838 * string/test-strpbrk-ifunc.c: Likewise.
26839 * string/test-strrchr-ifunc.c: Likewise.
26840 * string/test-strspn-ifunc.c: Likewise.
26841 * string/test-strstr-ifunc.c: Likewise.
26843 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26845 * benchtests/Makefile: Remove ifunc tests.
26846 * benchtests/bench-string.h: Define TEST_IFUNC.
26847 * benchtests/bench-bcopy-ifunc.c: Remove.
26848 * benchtests/bench-bzero-ifunc.c: Likewise.
26849 * benchtests/bench-memccpy-ifunc.c: Likewise.
26850 * benchtests/bench-memchr-ifunc.c: Likewise.
26851 * benchtests/bench-memcmp-ifunc.c: Likewise.
26852 * benchtests/bench-memcpy-ifunc.c: Likewise.
26853 * benchtests/bench-memmem-ifunc.c: Likewise.
26854 * benchtests/bench-memmove-ifunc.c: Likewise.
26855 * benchtests/bench-mempcpy-ifunc.c: Likewise.
26856 * benchtests/bench-memrchr-ifunc.c: Likewise.
26857 * benchtests/bench-memset-ifunc.c: Likewise.
26858 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26859 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26860 * benchtests/bench-stpcpy-ifunc.c: Likewise.
26861 * benchtests/bench-stpncpy-ifunc.c: Likewise.
26862 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26863 * benchtests/bench-strcasestr-ifunc.c: Likewise.
26864 * benchtests/bench-strcat-ifunc.c: Likewise.
26865 * benchtests/bench-strchr-ifunc.c: Likewise.
26866 * benchtests/bench-strchrnul-ifunc.c: Likewise.
26867 * benchtests/bench-strcmp-ifunc.c: Likewise.
26868 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26869 * benchtests/bench-strcpy-ifunc.c: Likewise.
26870 * benchtests/bench-strcspn-ifunc.c: Likewise.
26871 * benchtests/bench-strlen-ifunc.c: Likewise.
26872 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26873 * benchtests/bench-strncat-ifunc.c: Likewise.
26874 * benchtests/bench-strncmp-ifunc.c: Likewise.
26875 * benchtests/bench-strncpy-ifunc.c: Likewise.
26876 * benchtests/bench-strnlen-ifunc.c: Likewise.
26877 * benchtests/bench-strpbrk-ifunc.c: Likewise.
26878 * benchtests/bench-strrchr-ifunc.c: Likewise.
26879 * benchtests/bench-strsep-ifunc.c: Likewise.
26880 * benchtests/bench-strspn-ifunc.c: Likewise.
26881 * benchtests/bench-strstr-ifunc.c: Likewise.
26883 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26885 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26887 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26889 * resolv/netdb.h: Use __glibc_reserved instead __unused.
26890 * rt/aio.h: Likewise.
26891 * sysdeps/gnu/bits/utmp.h: Likewise.
26892 * sysdeps/gnu/bits/utmpx.h: Likewise.
26893 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26894 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26895 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26896 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26897 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26898 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26899 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26900 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26901 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26902 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26903 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26904 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26905 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26907 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26908 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26909 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26910 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26911 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26912 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26913 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26914 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26915 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26916 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26917 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26919 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26920 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26921 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26922 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26923 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26924 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26925 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26926 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26927 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26928 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26929 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26930 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26931 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26932 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26933 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26934 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26936 2013-11-25 Carlos O'Donell <carlos@redhat.com>
26939 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26940 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26942 2013-11-25 Joseph Myers <joseph@codesourcery.com>
26944 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26945 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26948 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26950 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26951 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26952 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26953 (__fesetround): Remove define.
26954 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26955 rounding and exceptions handling.
26956 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26957 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26958 (__fe_nomask_env): Likewise.
26959 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26960 __fegetround instead of fegetround.
26961 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26962 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26964 2013-11-21 Roland McGrath <roland@hack.frob.com>
26966 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26969 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26971 2013-11-21 Meador Inge <meadori@codesourcery.com>
26974 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26975 (encrypt_r): Likewise.
26976 * malloc/obstack.h (obstack_free): Likewise.
26977 * posix/unistd.h (encrypt): Likewise.
26979 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
26981 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26982 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26983 DL_CALL_DT_FINI() that call the functions directly.
26984 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26985 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26986 * elf/dl-fini.c: Likewise.
26988 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
26990 * malloc/hooks.c (memalign_check): Add alignment rounding.
26991 * malloc/malloc.c (_mid_memalign): New function.
26992 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26993 Implement by calling _mid_memalign.
26994 * manual/probes.texi (Memory Allocation Probes): Remove
26995 memory_valloc_retry and memory_pvalloc_retry.
26997 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26999 * locale/programs/locarchive.c (open_archive): Add const
27000 qualifier to ARCHIVEFNAME and copy default fname to
27004 * libio/tst-widetext.input: Rename Oriya to Odia.
27005 * locale/iso-639.def: Likewise.
27007 * manual/probes.texi (Mathematical Function Probes): Add
27008 documentation for sin, cos, asin and acos probes.
27009 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27010 (__sin32): Add slowasin probe.
27011 (__cos32): Add slowacos probe.
27012 (__mpsin): Add slowsin probe.
27013 (__mpcos): Add slowcos probe.
27015 2013-11-19 Joseph Myers <joseph@codesourcery.com>
27018 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27019 thread-local __sim_exceptions_thread and global
27020 __sim_exceptions_global.
27021 (__sim_disabled_exceptions): Change to thread-local
27022 __sim_disabled_exceptions_thread and global
27023 __sim_disabled_exceptions_global.
27024 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27025 and global __sim_round_mode_global.
27026 (__simulate_exceptions): Use thread-local floating-point state and
27027 set global state from it as needed.
27028 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27029 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27030 __sim_round_mode_thread.
27031 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27032 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27033 and global __sim_exceptions_global.
27034 (__sim_disabled_exceptions): Change to thread-local
27035 __sim_disabled_exceptions_thread and global
27036 __sim_disabled_exceptions_global.
27037 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27038 and global __sim_round_mode_global.
27039 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27040 (SIM_SET_GLOBAL): Likewise.
27041 * sysdeps/powerpc/soft-fp/sfp-machine.h
27042 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27043 __sim_round_mode_thread.
27044 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27045 __sim_disabled_exceptions_thread.
27046 (__sim_exceptions): Change to __sim_exceptions_thread.
27047 (__sim_disabled_exceptions): Change to
27048 __sim_disabled_exceptions_thread.
27049 (__sim_round_mode): Change to __sim_round_mode_thread.
27050 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27051 thread-local floating-point state and set global state from it as
27053 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27054 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27055 (__sim_disabled_exceptions): Remove extern declaration.
27056 (feenableexcept): Use thread-local floating-point state and set
27057 global state from it as needed.
27058 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27059 extern declaration.
27060 (__sim_disabled_exceptions): Likewise.
27061 (__sim_round_mode): Likewise.
27062 (__fegetenv): Use thread-local floating-point state.
27063 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27064 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27065 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27066 floating-point state and set global state from it as needed.
27067 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27068 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27069 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27071 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27072 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27074 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27075 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27076 Use __sim_round_mode_thread.
27077 * math/test-fenv-tls.c: New file.
27078 * math/Makefile (tests): Add test-fenv-tls.
27079 ($(objpfx)test-fenv-tls): Depend on
27080 $(common-objpfx)nptl/libpthread.so.
27082 2013-11-19 Andreas Schwab <schwab@suse.de>
27084 * locale/programs/locale.c (show_info): Decode wordarray elements.
27085 * locale/categories.def (LC_MONETARY): Add element for
27086 _NL_MONETARY_CRNCYSTR.
27087 * locale/C-monetary.c (conversion_rate): New variable.
27088 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27091 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
27093 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27094 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27096 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27098 * elf/Makefile (tst-auxv): New test.
27099 * elf/tst-auxv.c: New
27100 * elf/rtld.c (dl_main): Adjust AT_EXECFN
27102 2013-11-18 Joseph Myers <joseph@codesourcery.com>
27104 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27105 (hidden_proto): Caller changed.
27106 (hidden_tls_proto): New macro.
27107 (libc_hidden_tls_proto): Likewise.
27108 (rtld_hidden_tls_proto): Likewise.
27109 (libm_hidden_tls_proto): Likewise.
27110 (libresolv_hidden_tls_proto): Likewise.
27111 (librt_hidden_tls_proto): Likewise.
27112 (libdl_hidden_tls_proto): Likewise.
27113 (libnss_files_hidden_tls_proto): Likewise.
27114 (libnsl_hidden_tls_proto): Likewise.
27115 (libnss_nisplus_hidden_tls_proto): Likewise.
27116 (libutil_hidden_tls_proto): Likewise.
27118 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
27121 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27122 (decompose_rpath): Defer expansion to fillin_rpath.
27123 (_dl_init_paths): Pass linkmap to fillin_rpath.
27125 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27127 * benchtests/Makefile: Add strsep.
27128 * benchtests/bench-strsep.c: New file: strsep benchtest.
27129 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27131 2013-11-18 Andreas Schwab <schwab@suse.de>
27133 * locale/programs/locale.c (show_info) [case byte]: Check for
27134 '\377' instead of '\177'.
27135 * locale/C-monetary.c (not_available): Always use "\377".
27136 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27137 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
27138 detect unavailable sign_posn locale elements.
27139 * locale/localeconv.c (__localeconv): For grouping and
27140 mon_grouping handle "\177" and "\377" like no grouping.
27141 (INT_ELEM): New macro. Use it to set all numeric members.
27142 * locale/programs/ld-monetary.c (monetary_read)
27143 <tok_mon_grouping>: Normalize single -1 to the empty string.
27144 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27147 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27150 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27151 when we match (nil).
27152 * stdio-common/tst-sscanf.c (struct test): Add testcase.
27154 2013-11-16 Joseph Myers <joseph@codesourcery.com>
27156 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27157 (NO_TEST_INLINE): Update value.
27158 (ERRNO_UNCHANGED): Likewise.
27159 (ERRNO_EDOM): Likewise.
27160 (ERRNO_ERANGE): Likewise.
27161 (IGNORE_RESULT): Likewise.
27162 (check_float_internal): Check signs of NaN results if
27163 TEST_NAN_SIGN used.
27164 (check_complex): Pass TEST_NAN_SIGN flag through to second
27165 check_float_internal call.
27166 (copysign_test_data): Add tests with quiet NaNs as second
27167 argument. Use TEST_NAN_SIGN.
27168 (fabs_test_data): Add test of negative quiet NaN argument. Use
27170 (signbit_test_data): Add tests of quiet NaN argument.
27171 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27173 * math/gen-libm-test.pl (show_exceptions): Take extra argument
27175 (parse_args): Handle function results specified as IGNORE.
27176 * math/libm-test.inc (IGNORE_RESULT): New macro.
27177 (check_float_internal): Do not check numerical result if flag
27179 (check_complex): Pass through IGNORE_RESULT to second
27180 check_float_internal call.
27181 (check_int): Do not check numerical result if flag IGNORE_RESULT
27183 (check_long): Likewise.
27184 (check_bool): Likewise.
27185 (check_longlong): Likewise.
27186 (lrint_test_data): Add tests of infinite and NaN arguments.
27187 (lrint_tonearest_test_data): Likewise.
27188 (lrint_towardzero_test_data): Likewise.
27189 (lrint_downward_test_data): Likewise.
27190 (lrint_upward_test_data): Likewise.
27191 (llrint_test_data): Likewise.
27192 (llrint_tonearest_test_data): Likewise.
27193 (llrint_towardzero_test_data): Likewise.
27194 (llrint_downward_test_data): Likewise.
27195 (llrint_upward_test_data): Likewise.
27196 (lround_test_data): Likewise.
27197 (llround_test_data): Likewise.
27199 * math/libm-test.inc (NO_TEST_INLINE): New macro.
27200 (ERRNO_UNCHANGED): Update value.
27201 (ERRNO_EDOM): Likewise.
27202 (ERRNO_ERANGE): Likewise.
27203 (NO_TEST_INLINE_FLOAT): New macro.
27204 (NO_TEST_INLINE_DOUBLE): Likewise.
27205 (enable_test): New function.
27206 (RUN_TEST_f_f): Check enable_test before running test.
27207 (RUN_TEST_2_f): Likewise.
27208 (RUN_TEST_fff_f): Likewise.
27209 (RUN_TEST_c_f): Likewise.
27210 (RUN_TEST_f_f1): Likewise.
27211 (RUN_TEST_fF_f1): Likewise.
27212 (RUN_TEST_fI_f1): Likewise.
27213 (RUN_TEST_ffI_f1): Likewise.
27214 (RUN_TEST_c_c): Likewise.
27215 (RUN_TEST_cc_c): Likewise.
27216 (RUN_TEST_f_i): Likewise.
27217 (RUN_TEST_f_i_tg): Likewise.
27218 (RUN_TEST_ff_i_tg): Likewise.
27219 (RUN_TEST_f_b): Likewise.
27220 (RUN_TEST_f_b_tg): Likewise.
27221 (RUN_TEST_f_l): Likewise.
27222 (RUN_TEST_f_L): Likewise.
27223 (RUN_TEST_fFF_11): Likewise.
27224 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27226 (cosh_test_data): Likewise.
27227 (exp_test_data): Likewise.
27228 (expm1_test_data): Likewise.
27229 (hypot_test_data): Likewise.
27230 (pow_test_data): Likewise.
27231 (sinh_test_data): Likewise.
27232 (tanh_test_data): Likewise.
27233 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27236 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27237 tests with quiet NaN input and output.
27238 (acosh_test_data): Likewise.
27239 (asin_test_data): Likewise.
27240 (asinh_test_data): Likewise.
27241 (atan_test_data): Likewise.
27242 (atanh_test_data): Likewise.
27243 (atan2_test_data): Likewise.
27244 (cbrt_test_data): Likewise.
27245 (cos_test_data): Likewise.
27246 (cosh_test_data): Likewise.
27247 (erf_test_data): Likewise.
27248 (erfc_test_data): Likewise.
27249 (exp_test_data): Likewise.
27250 (exp10_test_data): Likewise.
27251 (exp2_test_data): Likewise.
27252 (expm1_test_data): Likewise.
27253 (hypot_test_data): Likewise.
27254 (j0_test_data): Likewise.
27255 (j1_test_data): Likewise.
27256 (jn_test_data): Likewise.
27257 (lgamma_test_data): Likewise.
27258 (log_test_data): Likewise.
27259 (log10_test_data): Likewise.
27260 (log1p_test_data): Likewise.
27261 (log2_test_data): Likewise.
27262 (pow_test_data): Likewise.
27263 (scalb_test_data): Likewise.
27264 (sin_test_data): Likewise.
27265 (sincos_test_data): Likewise.
27266 (sinh_test_data): Likewise.
27267 (tan_test_data): Likewise.
27268 (tanh_test_data): Likewise.
27269 (tgamma_test_data): Likewise.
27270 (y0_test_data): Likewise.
27271 (y1_test_data): Likewise.
27272 (yn_test_data): Likewise.
27275 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27276 argument being NaN and avoid computations with second argument in
27278 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27279 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27280 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27282 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
27284 * locale/iso-639.def: Add Chitwani Tharu (the).
27286 2013-11-14 Andreas Schwab <schwab@suse.de>
27288 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27289 word instead of empty string.
27291 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27294 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27296 (__fe_nomask_env): Likewise.
27298 2013-11-13 Steve Ellcey <sellcey@mips.com>
27300 * benchtests/bench-timing.h: Include time.h.
27302 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
27305 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27307 * sysdeps/unix/sysv/linux/configure: Regenerated.
27309 2013-11-13 Joseph Myers <joseph@codesourcery.com>
27312 * stdlib/strtod_l.c (round_and_return): Do not consider
27313 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27314 exponent one less than half the least subnormal exponent.
27315 * stdlib/test-strtod-round-data: Add more tests.
27316 * stdlib/tst-strtod-round.c (tests): Regenerated.
27318 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27321 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27322 (__fe_mask_env): Likewise.
27323 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27324 libm_hidden_proto and add function prototype.
27325 (__fe_mask_env): Add function prototype.
27326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27327 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27329 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27331 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27333 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27335 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27336 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27338 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27340 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27341 of htab_find_slot().
27343 2013-11-11 David S. Miller <davem@davemloft.net>
27346 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27347 symbol in the non-vis3 case in static builds.
27348 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27349 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27350 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27351 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27353 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
27356 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27359 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27361 * benchtests/Makefile: Add bench-strtod.
27362 * benchtests/bench-strtod.c: New file: strtod benchtest
27364 2013-11-11 Andreas Schwab <schwab@suse.de>
27367 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27368 terminating NUL in key length.
27370 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27372 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27373 Add artificial ODP entry for vDSO symbol for PPC64.
27374 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27375 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27377 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27380 * nss/getent.c (services_keys): Recognize services starting with digit.
27382 2013-11-06 David S. Miller <davem@davemloft.net>
27385 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27386 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27388 2013-11-06 Will Newton <will.newton@linaro.org>
27390 * manual/memory.texi (Malloc Examples): Remove register
27391 keyword from examples.
27393 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
27395 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27397 2013-11-04 Joseph Myers <joseph@codesourcery.com>
27400 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27401 depending on [__GCC_IEC_559 > 0].
27402 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27403 depending on [__GCC_IEC_559_COMPLEX > 0].
27405 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
27407 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27410 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
27412 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27414 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
27417 * malloc/malloc (malloc_info): Do not handle first bin as
27420 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
27422 * locale/iso-639.def: Add Central Nahuatl (nhn).
27424 2013-11-01 Bruno Haible <bruno@clisp.org>
27427 * manual/math.texi (BSD Random): Specify range upper bound as
27430 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
27432 * locale/iso-639.def: Add Meadow Mari (mhr).
27434 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
27436 [BZ #14752], [BZ #15763]
27437 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27439 * rt/tst_shm.c: Add test for escaping directory.
27441 2013-10-31 Andreas Schwab <schwab@suse.de>
27444 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27445 followed by 'x' as part of digit sequence.
27446 * stdio-common/tst-sscanf.c (double_tests2): New tests.
27448 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27451 * configure.ac: allow GNU Make 4.0 and greater.
27452 * configure: Regenerated.
27454 2013-10-30 Will Newton <will.newton@linaro.org>
27457 * malloc/hooks.c (memalign_check): Limit alignment to the
27458 maximum representable power of two.
27459 * malloc/malloc.c (__libc_memalign): Likewise.
27460 * malloc/tst-memalign.c (do_test): Add test for very
27461 large alignment values.
27462 * malloc/tst-posix_memalign.c (do_test): Likewise.
27464 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27467 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27468 (munmap_chunk): Likewise.
27469 (mremap_chunk): Likewise.
27471 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27474 * stdlib/div.c (div): Remove obsolete code.
27475 * stdlib/ldiv.c (ldiv): Likewise.
27476 * stdlib/lldiv.c (lldiv): Likewise.
27478 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27481 * nss/nss_files/files-XXX.c (get_contents_ret): New
27483 (get_contents): New function.
27484 (internal_getent): Use it. Expand size of LINEBUFLEN.
27486 2013-10-30 Mike Frysinger <vapier@gentoo.org>
27488 * configure.in: Moved to ...
27489 * configure.ac: ... here. Change reference to configure.in
27491 * sysdeps/arm/preconfigure.ac: ... here.
27492 configure.in to configure.ac.
27493 * sysdeps/gnu/configure.in: Moved to ...
27494 * sysdeps/gnu/configure.ac: ... here.
27495 * sysdeps/i386/configure.in: Moved to ...
27496 * sysdeps/i386/configure.ac: ... here.
27497 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27498 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27499 * sysdeps/mach/configure.in: Moved to ...
27500 * sysdeps/mach/configure.ac: ... here.
27501 * sysdeps/mach/hurd/configure.in: Moved to ...
27502 * sysdeps/mach/hurd/configure.ac: ... here.
27503 * sysdeps/powerpc/configure.in: Moved to ...
27504 * sysdeps/powerpc/configure.ac: ... here.
27505 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27506 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27507 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27508 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27509 * sysdeps/s390/s390-32/configure.in: Moved to ...
27510 * sysdeps/s390/s390-32/configure.ac: ... here.
27511 * sysdeps/s390/s390-64/configure.in: Moved to ...
27512 * sysdeps/s390/s390-64/configure.ac: ... here.
27513 * sysdeps/sh/configure.in: Moved to ...
27514 * sysdeps/sh/configure.ac: ... here.
27515 * sysdeps/sparc/configure.in: Moved to ...
27516 * sysdeps/sparc/configure.ac: ... here.
27517 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27518 * sysdeps/unix/sysv/linux/configure.ac: ... here.
27519 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27520 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27521 * sysdeps/x86_64/configure.in: Moved to ...
27522 * sysdeps/x86_64/configure.ac: ... here.
27523 * sysdeps/x86_64/preconfigure.in: Moved to ...
27524 * sysdeps/x86_64/preconfigure.ac: ... here.
27525 * aclocal.m4: Change reference to configure.in to configure.ac.
27526 * config.h.in: Likewise.
27527 * manual/install.texi: Likewise.
27528 * manual/maint.texi: Likewise.
27529 * Makefile: Likewise.
27530 * malloc/Makefile: Likewise.
27531 * nscd/Makefile: Likewise.
27532 * Makeconfig: Change reference to configure.in and
27533 preconfigure.in to configure.ac and preconfigure.ac
27535 * INSTALL: Regenerated.
27536 * configure: Likewise.
27537 * sysdeps/gnu/configure: Likewise.
27538 * sysdeps/i386/configure: Likewise.
27539 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27540 * sysdeps/mach/configure: Likewise.
27541 * sysdeps/mach/hurd/configure: Likewise.
27542 * sysdeps/powerpc/configure: Likewise.
27543 * sysdeps/powerpc/powerpc32/configure: Likewise.
27544 * sysdeps/powerpc/powerpc64/configure: Likewise.
27545 * sysdeps/s390/s390-32/configure: Likewise.
27546 * sysdeps/s390/s390-64/configure: Likewise.
27547 * sysdeps/sh/configure: Likewise.
27548 * sysdeps/sparc/configure: Likewise.
27549 * sysdeps/unix/sysv/linux/configure: Likewise.
27550 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27551 * sysdeps/x86_64/configure: Likewise.
27552 * sysdeps/x86_64/preconfigure: Likewise.
27554 2013-10-29 Andreas Schwab <schwab@suse.de>
27556 * stdio-common/Makefile (tst-swscanf-ENV): Define.
27558 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27560 * benchtests/pow-inputs: Add new inputs.
27562 * benchtests/exp-inputs: Add new inputs.
27564 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27565 conditional check for return value.
27566 (__cos32): Likewise.
27568 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27570 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27571 to provide a boost for large inputs with word alignment.
27572 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27573 implementation based on optimized PPC64 strcpy.
27574 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27575 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27576 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27577 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27579 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27582 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27584 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27587 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27588 * time/tst-strptime.c (day_tests): Add testcase.
27590 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27593 * manual/pattern.texi: Acknowledge that fnmatch can fail.
27595 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
27598 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27599 MAP_FAILED on error.
27601 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27604 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27605 heap for large requests.
27607 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
27610 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27611 result if the result has no associated interface.
27612 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27613 interface for all 127.X.Y.Z addresses.
27615 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
27617 * locale/iso-639.def: Add Ligurian (lij)
27619 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
27622 * sunrpc/rpc_main.c: Document rpcgen -5.
27624 2013-10-19 Michael Stahl <mstahl@redhat.com>
27626 * elf/rtld.c (do_preload): Print the reason why preloading failed.
27628 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27631 * posix/glob.c: Match only directories when trailing slash is present.
27632 * posix/tst-gnuglob.c (my_opendir): Do not open files.
27633 (main): Add testcase.
27635 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27638 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27640 2013-10-18 Carlos O'Donell <carlos@redhat.com>
27642 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27643 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27644 AUTH_DES and cindex for FIPS 140-2.
27645 (DES Encryption): Add cindex FIPS 46-3.
27647 * locale/locarchive.h (struct locarhandle): Add fname.
27648 * locale/programs/localedef.c (main): Pass ARGV[remaining]
27649 if an optional argument was specified to --list-archive,
27651 * locale/programs/locarchive.c (show_archive_content): Take new
27652 argument fname and pass it via ah.fname to open_archive.
27653 * locale/programs/localedef.h: Update decl.
27654 (open_archive): If AH->fname is non-null, open that file
27655 rather than the default file name, and don't ignore ENOENT.
27656 (create_archive): Set AH.fname to NULL.
27657 (delete_locales_from_archive): Likewise.
27658 (add_locales_to_archive): Likewise.
27659 * locale/programs/locfile.c (write_all_categories): Likewise.
27661 2013-10-18 Joseph Myers <joseph@codesourcery.com>
27662 Aldy Hernandez <aldyh@redhat.com>
27664 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27665 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27666 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27667 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27668 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27669 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27670 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27671 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27672 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27673 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27674 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27675 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27676 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27677 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27678 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27680 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27682 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27684 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27686 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27687 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27689 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27690 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27691 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27692 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27694 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27695 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27696 * sysdeps/powerpc/preconfigure: Likewise.
27697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27699 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27700 Replace contents of file by #include of <fenv_libc.h>.
27701 * sysdeps/powerpc/soft-fp/sfp-machine.h
27702 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27704 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27705 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27706 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27707 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27708 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27709 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27711 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27712 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27713 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27714 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27715 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27717 Allow copysignl PLT reference to be missing.
27719 2013-10-18 Richard Sandiford <richard@codesourcery.com>
27720 Joseph Myers <joseph@codesourcery.com
27723 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27725 (add_to_tablewc): Assert sequence of wide characters is nonempty.
27727 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27729 * elf/tst-tls-dlinfo.c: Don't include tls.h.
27730 * elf/tst-tls1.c: Likewise.
27731 * elf/tst-tls10.h: Likewise.
27732 * elf/tst-tls14.c: Likewise.
27733 * elf/tst-tls2.c: Likewise.
27734 * elf/tst-tls3.c: Likewise.
27735 * elf/tst-tls4.c: Likewise.
27736 * elf/tst-tls5.c: Likewise.
27737 * elf/tst-tls6.c: Likewise.
27738 * elf/tst-tls7.c: Likewise.
27739 * elf/tst-tls8.c: Likewise.
27740 * elf/tst-tls9.c: Likewise.
27741 * elf/tst-tlsmod1.c: Likewise.
27742 * elf/tst-tlsmod13.c: Likewise.
27743 * elf/tst-tlsmod13a.c: Likewise.
27744 * elf/tst-tlsmod14a.c: Likewise.
27745 * elf/tst-tlsmod16a.c: Likewise.
27746 * elf/tst-tlsmod16b.c: Likewise.
27747 * elf/tst-tlsmod2.c: Likewise.
27748 * elf/tst-tlsmod3.c: Likewise.
27749 * elf/tst-tlsmod4.c: Likewise.
27750 * elf/tst-tlsmod5.c: Likewise.
27751 * elf/tst-tlsmod6.c: Likewise.
27753 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
27756 * malloc/malloc.c: remove checks for statistics.
27758 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27761 * inet/inet_net.c (inet_network): Detect additional invalid strings.
27762 * inet/tst-network.c: Add testcase.
27764 2013-10-17 Andreas Schwab <schwab@suse.de>
27767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27768 to determine canonical name.
27770 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27772 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27773 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27774 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27775 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27776 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27777 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27778 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27779 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27780 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27781 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27782 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27783 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27784 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27785 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27786 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27787 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27788 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27789 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27790 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27791 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27792 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27793 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27794 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27795 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27796 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27797 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27798 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27799 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27800 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27801 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27802 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27803 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27804 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27805 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27806 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27807 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27808 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27809 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27810 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27811 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27812 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27813 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27814 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27815 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27816 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27817 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27818 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27819 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27820 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27821 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27822 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27823 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27824 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27825 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27826 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27827 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27828 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27829 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27831 2013-10-17 Joseph Myers <joseph@codesourcery.com>
27834 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27835 make result into a quiet NaN.
27837 2013-10-16 Joseph Myers <joseph@codesourcery.com>
27839 * soft-fp/adddf3.c: Fix horizontal whitespace.
27840 * soft-fp/addsf3.c: Likewise.
27841 * soft-fp/addtf3.c: Likewise.
27842 * soft-fp/divdf3.c: Likewise.
27843 * soft-fp/divsf3.c: Likewise.
27844 * soft-fp/divtf3.c: Likewise.
27845 * soft-fp/double.h: Likewise.
27846 * soft-fp/eqdf2.c: Likewise.
27847 * soft-fp/eqsf2.c: Likewise.
27848 * soft-fp/eqtf2.c: Likewise.
27849 * soft-fp/extenddftf2.c: Likewise.
27850 * soft-fp/extended.h: Likewise.
27851 * soft-fp/extendsfdf2.c: Likewise.
27852 * soft-fp/extendsftf2.c: Likewise.
27853 * soft-fp/extendxftf2.c: Likewise.
27854 * soft-fp/fixdfdi.c: Likewise.
27855 * soft-fp/fixdfsi.c: Likewise.
27856 * soft-fp/fixdfti.c: Likewise.
27857 * soft-fp/fixsfdi.c: Likewise.
27858 * soft-fp/fixsfsi.c: Likewise.
27859 * soft-fp/fixsfti.c: Likewise.
27860 * soft-fp/fixtfdi.c: Likewise.
27861 * soft-fp/fixtfsi.c: Likewise.
27862 * soft-fp/fixtfti.c: Likewise.
27863 * soft-fp/fixunsdfdi.c: Likewise.
27864 * soft-fp/fixunsdfsi.c: Likewise.
27865 * soft-fp/fixunsdfti.c: Likewise.
27866 * soft-fp/fixunssfdi.c: Likewise.
27867 * soft-fp/fixunssfsi.c: Likewise.
27868 * soft-fp/fixunssfti.c: Likewise.
27869 * soft-fp/fixunstfdi.c: Likewise.
27870 * soft-fp/fixunstfsi.c: Likewise.
27871 * soft-fp/fixunstfti.c: Likewise.
27872 * soft-fp/floatdidf.c: Likewise.
27873 * soft-fp/floatdisf.c: Likewise.
27874 * soft-fp/floatditf.c: Likewise.
27875 * soft-fp/floatsidf.c: Likewise.
27876 * soft-fp/floatsisf.c: Likewise.
27877 * soft-fp/floatsitf.c: Likewise.
27878 * soft-fp/floattidf.c: Likewise.
27879 * soft-fp/floattisf.c: Likewise.
27880 * soft-fp/floattitf.c: Likewise.
27881 * soft-fp/floatundidf.c: Likewise.
27882 * soft-fp/floatundisf.c: Likewise.
27883 * soft-fp/floatunditf.c: Likewise.
27884 * soft-fp/floatunsidf.c: Likewise.
27885 * soft-fp/floatunsisf.c: Likewise.
27886 * soft-fp/floatunsitf.c: Likewise.
27887 * soft-fp/floatuntidf.c: Likewise.
27888 * soft-fp/floatuntisf.c: Likewise.
27889 * soft-fp/floatuntitf.c: Likewise.
27890 * soft-fp/fmadf4.c: Likewise.
27891 * soft-fp/fmasf4.c: Likewise.
27892 * soft-fp/fmatf4.c: Likewise.
27893 * soft-fp/gedf2.c: Likewise.
27894 * soft-fp/gesf2.c: Likewise.
27895 * soft-fp/getf2.c: Likewise.
27896 * soft-fp/ledf2.c: Likewise.
27897 * soft-fp/lesf2.c: Likewise.
27898 * soft-fp/letf2.c: Likewise.
27899 * soft-fp/muldf3.c: Likewise.
27900 * soft-fp/mulsf3.c: Likewise.
27901 * soft-fp/multf3.c: Likewise.
27902 * soft-fp/negdf2.c: Likewise.
27903 * soft-fp/negsf2.c: Likewise.
27904 * soft-fp/negtf2.c: Likewise.
27905 * soft-fp/op-1.h: Likewise.
27906 * soft-fp/op-2.h: Likewise.
27907 * soft-fp/op-4.h: Likewise.
27908 * soft-fp/op-8.h: Likewise.
27909 * soft-fp/op-common.h: Likewise.
27910 * soft-fp/quad.h: Likewise.
27911 * soft-fp/single.h: Likewise.
27912 * soft-fp/soft-fp.h: Likewise.
27913 * soft-fp/sqrtdf2.c: Likewise.
27914 * soft-fp/sqrtsf2.c: Likewise.
27915 * soft-fp/sqrttf2.c: Likewise.
27916 * soft-fp/subdf3.c: Likewise.
27917 * soft-fp/subsf3.c: Likewise.
27918 * soft-fp/subtf3.c: Likewise.
27919 * soft-fp/truncdfsf2.c: Likewise.
27920 * soft-fp/trunctfdf2.c: Likewise.
27921 * soft-fp/trunctfsf2.c: Likewise.
27922 * soft-fp/trunctfxf2.c: Likewise.
27923 * soft-fp/unorddf2.c: Likewise.
27924 * soft-fp/unordsf2.c: Likewise.
27925 * soft-fp/unordtf2.c: Likewise.
27927 2013-10-15 Joseph Myers <joseph@codesourcery.com>
27929 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27930 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27932 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
27934 * elf/dl-libc.c: Clear initfini list after freeing.
27936 2013-10-14 Joseph Myers <joseph@codesourcery.com>
27938 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27939 * soft-fp/addsf3.c: Likewise.
27940 * soft-fp/addtf3.c: Likewise.
27941 * soft-fp/divdf3.c: Likewise.
27942 * soft-fp/divsf3.c: Likewise.
27943 * soft-fp/divtf3.c: Likewise.
27944 * soft-fp/double.h: Likewise.
27945 * soft-fp/eqdf2.c: Likewise.
27946 * soft-fp/eqsf2.c: Likewise.
27947 * soft-fp/eqtf2.c: Likewise.
27948 * soft-fp/extenddftf2.c: Likewise.
27949 * soft-fp/extended.h: Likewise.
27950 * soft-fp/extendsfdf2.c: Likewise.
27951 * soft-fp/extendsftf2.c: Likewise.
27952 * soft-fp/extendxftf2.c: Likewise.
27953 * soft-fp/fixdfdi.c: Likewise.
27954 * soft-fp/fixdfsi.c: Likewise.
27955 * soft-fp/fixdfti.c: Likewise.
27956 * soft-fp/fixsfdi.c: Likewise.
27957 * soft-fp/fixsfsi.c: Likewise.
27958 * soft-fp/fixsfti.c: Likewise.
27959 * soft-fp/fixtfdi.c: Likewise.
27960 * soft-fp/fixtfsi.c: Likewise.
27961 * soft-fp/fixtfti.c: Likewise.
27962 * soft-fp/fixunsdfdi.c: Likewise.
27963 * soft-fp/fixunsdfsi.c: Likewise.
27964 * soft-fp/fixunsdfti.c: Likewise.
27965 * soft-fp/fixunssfdi.c: Likewise.
27966 * soft-fp/fixunssfsi.c: Likewise.
27967 * soft-fp/fixunssfti.c: Likewise.
27968 * soft-fp/fixunstfdi.c: Likewise.
27969 * soft-fp/fixunstfsi.c: Likewise.
27970 * soft-fp/fixunstfti.c: Likewise.
27971 * soft-fp/floatdidf.c: Likewise.
27972 * soft-fp/floatdisf.c: Likewise.
27973 * soft-fp/floatditf.c: Likewise.
27974 * soft-fp/floatsidf.c: Likewise.
27975 * soft-fp/floatsisf.c: Likewise.
27976 * soft-fp/floatsitf.c: Likewise.
27977 * soft-fp/floattidf.c: Likewise.
27978 * soft-fp/floattisf.c: Likewise.
27979 * soft-fp/floattitf.c: Likewise.
27980 * soft-fp/floatundidf.c: Likewise.
27981 * soft-fp/floatundisf.c: Likewise.
27982 * soft-fp/floatunsidf.c: Likewise.
27983 * soft-fp/floatunsisf.c: Likewise.
27984 * soft-fp/floatuntidf.c: Likewise.
27985 * soft-fp/floatuntisf.c: Likewise.
27986 * soft-fp/floatuntitf.c: Likewise.
27987 * soft-fp/fmadf4.c: Likewise.
27988 * soft-fp/fmasf4.c: Likewise.
27989 * soft-fp/fmatf4.c: Likewise.
27990 * soft-fp/gedf2.c: Likewise.
27991 * soft-fp/gesf2.c: Likewise.
27992 * soft-fp/getf2.c: Likewise.
27993 * soft-fp/ledf2.c: Likewise.
27994 * soft-fp/lesf2.c: Likewise.
27995 * soft-fp/letf2.c: Likewise.
27996 * soft-fp/muldf3.c: Likewise.
27997 * soft-fp/mulsf3.c: Likewise.
27998 * soft-fp/multf3.c: Likewise.
27999 * soft-fp/negdf2.c: Likewise.
28000 * soft-fp/negsf2.c: Likewise.
28001 * soft-fp/negtf2.c: Likewise.
28002 * soft-fp/op-1.h: Likewise.
28003 * soft-fp/op-2.h: Likewise.
28004 * soft-fp/op-4.h: Likewise.
28005 * soft-fp/op-8.h: Likewise.
28006 * soft-fp/op-common.h: Likewise.
28007 * soft-fp/quad.h: Likewise.
28008 * soft-fp/single.h: Likewise.
28009 * soft-fp/soft-fp.h: Likewise.
28010 * soft-fp/sqrtdf2.c: Likewise.
28011 * soft-fp/sqrtsf2.c: Likewise.
28012 * soft-fp/sqrttf2.c: Likewise.
28013 * soft-fp/subdf3.c: Likewise.
28014 * soft-fp/subsf3.c: Likewise.
28015 * soft-fp/subtf3.c: Likewise.
28016 * soft-fp/truncdfsf2.c: Likewise.
28017 * soft-fp/trunctfdf2.c: Likewise.
28018 * soft-fp/trunctfsf2.c: Likewise.
28019 * soft-fp/trunctfxf2.c: Likewise.
28020 * soft-fp/unorddf2.c: Likewise.
28021 * soft-fp/unordsf2.c: Likewise.
28022 * soft-fp/unordtf2.c: Likewise.
28024 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
28027 * misc/error.c (error_tail): Fix possible buffer overflow.
28029 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
28032 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28035 2013-10-14 P. J. McDermott <pj@pehjota.net>
28038 * elf/ldd.bash.in (try_trace): New function. Delete previous code
28039 testing pipefail option.
28041 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28043 * soft-fp/double.h: Indent preprocessor directives inside #if.
28044 * soft-fp/extended.h: Likewise.
28045 * soft-fp/op-2.h: Likewise.
28046 * soft-fp/op-4.h: Likewise.
28047 * soft-fp/op-common.h: Likewise.
28048 * soft-fp/quad.h: Likewise.
28049 * soft-fp/single.h: Likewise.
28050 * soft-fp/soft-fp.h: Likewise.
28052 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
28054 * iconv/iconv_prog.c: Fix typos.
28055 * stdio-common/psiginfo-data.h: Likewise.
28057 2013-10-12 Reuben Thomas <rrt@sc3d.org>
28060 * locale/setlocale.c: Fix typo.
28062 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28065 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28066 signaling NaN arguments.
28067 * soft-fp/unordsf2.c (__unordsf2): Likewise.
28068 * soft-fp/unordtf2.c (__unordtf2): Likewise.
28071 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28072 unordered operands.
28073 * soft-fp/gesf2.c (__gesf2): Likewise.
28074 * soft-fp/getf2.c (__getf2): Likewise.
28075 * soft-fp/ledf2.c (__ledf2): Likewise.
28076 * soft-fp/lesf2.c (__lesf2): Likewise.
28077 * soft-fp/letf2.c (__letf2): Likewise.
28079 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28080 * soft-fp/eqsf2.c (__eqsf2): Likewise.
28081 * soft-fp/eqtf2.c (__eqtf2): Likewise.
28082 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28083 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28084 * soft-fp/fixdfti.c (__fixdfti): Likewise.
28085 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28086 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28087 * soft-fp/fixsfti.c (__fixsfti): Likewise.
28088 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28089 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28090 * soft-fp/fixtfti.c (__fixtfti): Likewise.
28091 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28092 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28093 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28094 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28095 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28096 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28097 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28098 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28099 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28100 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28101 * soft-fp/floatdisf.c (__floatdisf): Likewise.
28102 * soft-fp/floatsisf.c (__floatsisf): Likewise.
28103 * soft-fp/floattidf.c (__floattidf): Likewise.
28104 * soft-fp/floattisf.c (__floattisf): Likewise.
28105 * soft-fp/floattitf.c (__floattitf): Likewise.
28106 * soft-fp/floatundidf.c (__floatundidf): Likewise.
28107 * soft-fp/floatundisf.c (__floatundisf): Likewise.
28108 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28109 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28110 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28111 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28112 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28113 * soft-fp/gesf2.c (__gesf2): Likewise.
28114 * soft-fp/getf2.c (__getf2): Likewise.
28115 * soft-fp/ledf2.c (__ledf2): Likewise.
28116 * soft-fp/lesf2.c (__lesf2): Likewise.
28117 * soft-fp/letf2.c (__letf2): Likewise.
28119 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28120 Undefine and redefine.
28121 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28122 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28123 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28124 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28125 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28126 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28127 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28128 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28129 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28130 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28131 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28132 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28133 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28134 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28135 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28138 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28139 without decrementing exponent if mantissa >= that for the
28140 denominator, not >.
28141 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28142 denominator, not >. Decrement exponent in < case instead of
28143 incrementing in >= case.
28144 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28145 without decrementing exponent if mantissa >= that for the
28146 denominator, not >.
28148 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28149 computing saturated result for unsigned overflow.
28151 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28152 Jeff Law <law@redhat.com>
28154 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28155 (atan2Mp): Add systemtap probe marker.
28156 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28157 (__ieee754_log): Add systemtap probe marker.
28158 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28159 (atanMp): Add systemtap probe marker.
28160 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28161 (tanMp): Add systemtap probe marker.
28162 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28163 (__slowexp): Add systemtap probe marker.
28164 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28165 (__slowpow): Add systemtap probe marker.
28166 * manual/probes.texi: Document probes.
28168 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
28171 * libio/fileops.c (_IO_new_file_write): Return count of bytes
28173 (_IO_new_file_xsputn): Don't return EOF if nothing has been
28175 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28176 written to buffer but not flushed.
28177 * libio/iofwrite_u.c: Likewise.
28178 * libio/iopadn.c: Return bytes returned even if EOF was
28180 * libio/iowpadn.c: Likewise.
28181 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28182 if _IO_padn does not write the whole buffer.
28183 [!COMPILE_WPRINTF] (PAD): Likewise.
28185 2013-10-10 David S. Miller <davem@davemloft.net>
28187 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28190 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28192 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
28193 instead of FSF address.
28194 * soft-fp/fixdfti.c: Likewise.
28195 * soft-fp/fixsfti.c: Likewise.
28196 * soft-fp/fixtfti.c: Likewise.
28197 * soft-fp/fixunsdfti.c: Likewise.
28198 * soft-fp/fixunssfti.c: Likewise.
28199 * soft-fp/fixunstfti.c: Likewise.
28200 * soft-fp/floattidf.c: Likewise.
28201 * soft-fp/floattisf.c: Likewise.
28202 * soft-fp/floattitf.c: Likewise.
28203 * soft-fp/floatuntidf.c: Likewise.
28204 * soft-fp/floatuntisf.c: Likewise.
28205 * soft-fp/floatuntitf.c: Likewise.
28206 * soft-fp/trunctfxf2.c: Likewise.
28208 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
28209 * soft-fp/fixdfti.c: Likewise.
28210 * soft-fp/fixsfti.c: Likewise.
28211 * soft-fp/fixtfti.c: Likewise.
28212 * soft-fp/fixunsdfti.c: Likewise.
28213 * soft-fp/fixunssfti.c: Likewise.
28214 * soft-fp/fixunstfti.c: Likewise.
28215 * soft-fp/floattidf.c: Likewise.
28216 * soft-fp/floattisf.c: Likewise.
28217 * soft-fp/floattitf.c: Likewise.
28218 * soft-fp/floatuntidf.c: Likewise.
28219 * soft-fp/floatuntisf.c: Likewise.
28220 * soft-fp/floatuntitf.c: Likewise.
28221 * soft-fp/trunctfxf2.c: Likewise.
28223 2013-10-10 David S. Miller <davem@davemloft.net>
28225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28227 2013-10-10 Joseph Myers <joseph@codsourcery.com>
28229 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28230 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28231 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28232 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28233 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28234 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28235 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28237 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28238 for NaNs before doing comparisons on argument.
28239 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28242 2013-10-10 Will Newton <will.newton@linaro.org>
28244 * malloc/hooks.c (memalign_check): Ensure the value of bytes
28245 passed to _int_memalign does not overflow.
28247 2013-10-10 Torvald Riegel <triegel@redhat.com>
28249 * scripts/bench.pl: Add include-sources directive.
28250 * benchtests/README: Update documentation.
28252 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28254 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28255 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28256 instead of FP_INIT_ROUNDMODE.
28257 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28258 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28261 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
28262 copy class of input value.
28263 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
28264 not handle exceptions.
28265 * soft-fp/negsf2.c (__negsf2): Likewise.
28266 * soft-fp/negtf2.c (__negtf2): Likewise.
28267 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28269 2013-10-09 Joseph Myers <joseph@codesourcery.com>
28271 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28272 semicolon. From Linux kernel.
28274 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
28276 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28278 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
28281 * manual/socket.texi: Added statement about buffer
28282 for gethostbyname2_r.
28284 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
28286 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28287 Use .p2align directive instead, throughout.
28288 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28289 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28290 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28291 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28292 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28293 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28294 * sysdeps/x86_64/strchr.S: Likewise.
28295 * sysdeps/x86_64/strrchr.S: Likewise.
28297 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28299 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28301 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28303 * sysdeps/generic/math_private.h (__mpsin1): Remove
28305 (__mpcos1): Likewise.
28306 (__mpsin): New argument __range_reduce.
28307 (__mpcos): Likewise.
28308 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28309 (slow): Use __mpsin and __mpcos.
28313 (sloww1): Likewise.
28314 (sloww2): Likewise.
28315 (bsloww): Likewise.
28316 (bsloww1): Likewise.
28317 (bsloww2): Likewise.
28318 (cslow2): Likewise.
28319 (csloww): Likewise.
28320 (csloww1): Likewise.
28321 (csloww2): Likewise.
28322 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28323 range_reduce. Merge in __mpsin1.
28324 (__mpcos): Likewise.
28325 (__mpsin1): Remove.
28326 (__mpcos1): Likewise.
28328 2013-10-07 Joseph Myers <joseph@codesourcery.com>
28330 * locale/loadlocale.c (_nl_intern_locale_data): Use
28332 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28333 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28334 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28335 obstack data is appropriately aligned.
28336 (obstack_int32_grow_fast): Likewise.
28337 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28338 * locale/programs/locfile.c (add_locale_uint32): Likewise.
28339 (add_locale_uint32_array): Likewise.
28341 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28343 * benchtests/Makefile: Remove ARGLIST and RET variables.
28344 ($(objpfx)bench-%.c): Pass only function name to the script.
28345 * benchtests/README: Update documentation.
28346 * benchtests/acos-inputs: Add new directives.
28347 * benchtests/acosh-inputs: Likewise.
28348 * benchtests/asin-inputs: Likewise.
28349 * benchtests/asinh-inputs: Likewise.
28350 * benchtests/atan-inputs: Likewise.
28351 * benchtests/atanh-inputs: Likewise.
28352 * benchtests/cos-inputs: Likewise.
28353 * benchtests/cosh-inputs: Likewise.
28354 * benchtests/exp-inputs: Likewise.
28355 * benchtests/log-inputs: Likewise.
28356 * benchtests/pow-inputs: Likewise.
28357 * benchtests/rint-inputs: Likewise.
28358 * benchtests/sin-inputs: Likewise.
28359 * benchtests/sinh-inputs: Likewise.
28360 * benchtests/tan-inputs: Likewise.
28361 * benchtests/tanh-inputs: Likewise.
28362 * scripts/bench.pl: Add support for new directives.
28364 2013-10-07 Alan Modra <amodra@gmail.com>
28366 * README: Fix careless merge.
28368 2013-10-05 Alan Modra <amodra@gmail.com>
28370 * NEWS: Mention powerpc64le support and bugs fixed.
28371 * README: Both big-endian and little-endian powerpc64 supported.
28373 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28375 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28376 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28377 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28378 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28380 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
28382 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28385 2013-10-04 Joseph Myers <joseph@codesourcery.com>
28387 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28388 Move -mhard-float appending from
28389 ports/sysdeps/powerpc/powerpc32/Makefile.
28390 [$(with-fp) = yes] (ASFLAGS): Likewise.
28391 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28392 * sysdeps/powerpc/nofpu: Move directory from
28393 ports/sysdeps/powerpc/nofpu.
28394 * sysdeps/powerpc/soft-fp: Move directory from
28395 ports/sysdeps/powerpc/soft-fp.
28396 * sysdeps/powerpc/powerpc32/405: Move directory from
28397 ports/sysdeps/powerpc/powerpc32/405.
28398 * sysdeps/powerpc/powerpc32/440: Move directory from
28399 ports/sysdeps/powerpc/powerpc32/440.
28400 * sysdeps/powerpc/powerpc32/464: Move directory from
28401 ports/sysdeps/powerpc/powerpc32/464.
28402 * sysdeps/powerpc/powerpc32/476: Move directory from
28403 ports/sysdeps/powerpc/powerpc32/476.
28404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28405 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28407 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28409 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28411 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28413 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28414 * README: Update for powerpc-*-linux-gnu software floating point
28417 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28418 case to powerpc/powerpc32*.
28419 * sysdeps/unix/sysv/linux/configure: Regenerated.
28421 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28422 (_FPU_MASK_OM): Define as 0x04.
28423 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28431 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28434 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28437 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28438 and setcontext_e500.
28440 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
28442 * locale/iso-3166.def: Update iso-1366.def and related occurrences
28444 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28446 * manual/threads.texi (Default Thread Attributes): Fix typo.
28448 2013-10-04 Will Newton <will.newton@linaro.org>
28450 * malloc/Makefile: Add tst-memalign.
28451 * malloc/tst-memalign.c: New file.
28453 * malloc/tst-posix_memalign.c: Add comments.
28454 (do_test): Add comments and call free on all potentially
28455 allocated pointers. Add space after cast.
28457 * malloc/tst-pvalloc.c: Add comments.
28458 (do_test): Add comments and call free on all potentially
28459 allocated pointers. Remove duplicate check for NULL pointer.
28460 Add space after cast.
28462 * malloc/tst-valloc.c: Add comments.
28463 (do_test): Add comments and call free on all potentially
28464 allocated pointers. Remove duplicate check for NULL pointer.
28465 Add space after cast.
28467 2013-10-04 Alan Modra <amodra@gmail.com>
28469 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28470 Use stdint types in rather than __attribute__((mode())).
28471 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28473 2013-10-04 Alan Modra <amodra@gmail.com>
28475 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28476 Correct handling of unaligned relocs for little-endian.
28477 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28479 2013-10-04 Alan Modra <amodra@gmail.com>
28481 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28482 * configure: Regenerate.
28483 * nptl/shlib-versions: Powerpc*le starts at 2.18.
28484 * shlib-versions: Likewise.
28486 2013-10-04 Alan Modra <amodra@gmail.com>
28488 * string/tester.c (test_memrchr): Increment reported test cycle.
28490 2013-10-04 Alan Modra <amodra@gmail.com>
28492 * string/test-memcpy.c (do_one_test): When reporting errors, print
28493 string address and don't overrun end of string.
28495 2013-10-04 Alan Modra <amodra@gmail.com>
28497 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28498 insrdi. Make better use of reg selection to speed exit slightly.
28499 Schedule entry path a little better. Remove useless "are we done"
28500 checks on entry to main loop. Handle wrapping around zero address.
28501 Correct main loop count. Handle single left-over word from main
28502 loop inline rather than by using loop_small. Remove extra word
28503 case in loop_small caused by wrong loop count. Add little-endian
28505 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28506 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
28508 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28509 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28510 support. Avoid rlwimi.
28511 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28513 2013-10-04 Alan Modra <amodra@gmail.com>
28515 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28516 insrdi. Formatting.
28517 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28518 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28519 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28520 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28521 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28522 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28524 2013-10-04 Alan Modra <amodra@gmail.com>
28526 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28527 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28528 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28529 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28530 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28531 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28532 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28533 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28534 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
28535 use of regs. Use power7 mtocrf. Tidy function tails.
28537 2013-10-04 Alan Modra <amodra@gmail.com>
28539 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28540 Formatting. Consistently use rXXX register defines or rN defines.
28541 Use early exit labels that avoid restoring unused non-volatile regs.
28542 Make cr field use more consistent with rWORDn compares. Rename
28543 regs used as shift registers for unaligned loop, using rN defines
28544 for short lifetime/multiple use regs.
28545 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28546 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
28547 addi 1,1,64 to pop stack frame. Simplify return value code.
28548 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28550 2013-10-04 Alan Modra <amodra@gmail.com>
28552 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28553 support. Correct typos, formatting. Optimize tail. Use insrdi
28554 rather than rlwimi.
28555 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28556 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28557 little-endian support. Correct typos.
28558 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
28559 rather than rlwimi.
28560 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
28561 in loop and entry code to keep "and." results.
28562 (strchr): Add little-endian support. Comment. Move cntlzd
28564 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28566 2013-10-04 Alan Modra <amodra@gmail.com>
28568 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28569 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28570 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28571 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28573 2013-10-04 Alan Modra <amodra@gmail.com>
28575 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28576 (rTMP): Define as r11.
28577 (strcmp): Add little-endian support. Optimise tail.
28578 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28579 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28580 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28581 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28582 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28583 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28584 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28586 2013-10-04 Alan Modra <amodra@gmail.com>
28588 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28589 little-endian support. Remove unnecessary "are we done" tests.
28590 Handle "s" wrapping around zero and extremely large "size".
28591 Correct main loop count. Handle single left-over word from main
28592 loop inline rather than by using small_loop. Correct comments.
28593 Delete "zero" tail, use "end_max" instead.
28594 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28596 2013-10-04 Alan Modra <amodra@gmail.com>
28598 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28599 support. Don't branch over align.
28600 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28601 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28602 support. Rearrange tmp reg use to suit. Comment.
28603 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28605 2013-10-04 Alan Modra <amodra@gmail.com>
28607 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28609 2013-10-04 Alan Modra <amodra@gmail.com>
28611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28612 conditional form of branch and link when obtaining pc.
28613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28615 2013-10-04 Alan Modra <amodra@gmail.com>
28617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28622 2013-10-04 Alan Modra <amodra@gmail.com>
28624 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28625 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28626 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28627 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28628 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28629 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28630 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28631 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28632 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28633 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28635 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28636 Alistair Popple <alistair@ozlabs.au.ibm.com>
28637 Alan Modra <amodra@gmail.com>
28640 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28641 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28642 _dl_hwcap access for little-endian.
28643 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
28644 destroy vmx regs when saving unaligned.
28645 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28646 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
28647 destroy vmx regs when saving unaligned.
28649 2013-10-04 Alan Modra <amodra@gmail.com>
28651 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28652 Don't use a union to pack hi/low value.
28654 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28656 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28658 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28659 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28660 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28661 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28662 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28664 2013-10-04 Alan Modra <amodra@gmail.com>
28666 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28667 constants to usual value for .cst8 section, and remove redundant
28669 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28670 constant for 0x1p52. Load little-endian words of double from
28671 correct stack offsets.
28673 2013-10-04 Alan Modra <amodra@gmail.com>
28675 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28676 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28677 words of double from correct stack offsets.
28678 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28679 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28680 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28681 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28682 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28683 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28684 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28685 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28686 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28687 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28688 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28689 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28690 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28691 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28692 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28693 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28694 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28696 2013-10-04 Alan Modra <amodra@gmail.com>
28698 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28699 64-bit int/double union.
28700 (_FPU_SETCW): Likewise.
28701 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28702 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28704 2013-10-04 Alan Modra <amodra@gmail.com>
28706 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28707 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28709 2013-10-04 Alan Modra <amodra@gmail.com>
28711 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28712 use vector int constants.
28713 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28715 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28717 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28718 array with long long.
28719 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28720 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28721 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28722 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28723 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28724 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28725 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28726 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28727 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28728 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28729 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28730 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28731 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28733 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28735 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28736 (__signbit): Likewise. Correct for little-endian.
28737 (__signbitl): Call __signbit.
28738 (lrint): Correct for little-endian.
28739 (lrintf): Call lrint.
28741 2013-10-04 Alan Modra <amodra@gmail.com>
28743 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28744 union 32-bit int array member with 64-bit int array.
28745 (t515, tm256): Double rather than long double.
28746 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28748 2013-10-04 Alan Modra <amodra@gmail.com>
28750 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28752 (IEEE854_LONG_DOUBLE_BIAS): Delete.
28753 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28754 version of math_ldbl.h.
28756 2013-10-04 Alan Modra <amodra@gmail.com>
28758 [BZ #15734], [BZ #15735]
28759 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28760 all uses of ieee875 long double macros and unions. Simplify test
28761 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
28762 ldbl_extract_mantissa value for ix,iy exponents. Properly
28763 normalize after ldbl_extract_mantissa, and don't add hidden bit
28764 already handled. Don't treat low word of ieee854 mantissa like
28765 low word of IBM long double and mask off bit when testing for
28767 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28768 all uses of ieee875 long double macros and unions. Simplify tests
28769 for 0.0L and inf. Correct double adjustment of k. Delete dead code
28770 adjusting ha,hb. Simplify code setting kld. Delete two600 and
28771 two1022, instead use their values. Recognise that tests for large
28772 "a" and small "b" are mutually exclusive. Rename vars. Comment.
28773 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28774 Rewrite all uses of ieee875 long double macros and unions. Simplify
28775 test for 0.0L and nan. Correct negation.
28776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28777 ieee875 long double macros and unions. Correct output for large
28778 magnitude x. Correct absolute value calculation.
28779 (__erfcl): Likewise.
28780 * math/libm-test.inc: Add tests for errors discovered in IBM long
28781 double versions of fmodl, remainderl, erfl and erfcl.
28783 2013-10-04 Alan Modra <amodra@gmail.com>
28785 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28786 all uses of ieee854 long double macros and unions. Simplify tests
28787 for long doubles that are fully specified by the high double.
28788 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28790 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28791 Remove dead code too.
28792 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28793 (__ieee754_ynl): Likewise.
28794 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28795 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28796 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28797 Remove dead code too.
28798 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28799 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28800 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28801 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28803 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28805 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28806 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28807 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28808 Comment on variable precision.
28809 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28810 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28812 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28813 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28814 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28815 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28816 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28818 2013-10-04 Alan Modra <amodra@gmail.com>
28820 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28821 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28822 all uses of ieee854 long double macros and unions.
28823 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28824 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28825 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28826 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28827 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28828 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28830 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28831 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28832 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28833 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28834 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28835 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28836 Simplify sign and nan test too.
28837 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28838 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28839 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28840 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28842 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28843 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28845 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28846 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28847 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28848 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28849 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28850 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28852 2013-10-04 Alan Modra <amodra@gmail.com>
28854 * stdio-common/printf_size.c (__printf_size): Don't use
28855 union ieee854_long_double in fpnum union.
28856 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
28857 signbit macro to retrieve sign from long double.
28858 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28859 retrieve sign from long double.
28860 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28861 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28862 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28863 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28864 * math/test-misc.c (main): Don't use union ieee854_long_double.
28866 2013-10-04 Alan Modra <amodra@gmail.com>
28869 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28870 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28871 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28872 calculation. Remove unnecessary test for denormal exponent.
28873 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28874 Correct handling of denormals. Avoid undefined shift behaviour.
28875 Correct normalisation of low mantissa when low double is denormal.
28876 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28877 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
28878 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28879 Correct normalisation of low mantissa. Test for overflow of high
28880 mantissa and normalise.
28881 (ldbl_nearbyint): Use more readable constant for two52.
28882 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28883 (__mpn_construct_long_double): Fix test for overflow of high
28884 mantissa and correct normalisation. Avoid undefined shift.
28886 2013-10-04 Alan Modra <amodra@gmail.com>
28888 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28889 (union ibm_extended_long_double): Define as an array of ieee754_double.
28890 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28891 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28892 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28893 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28894 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28895 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28896 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28897 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28898 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28899 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28900 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28902 2013-10-03 Joseph Myers <joseph@codesourcery.com>
28904 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28905 page size instead of calling getpagesize.
28907 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28908 (LOCFILE_ALIGN_MASK): Likewise.
28909 (LOCFILE_ALIGN_UP): Likewise.
28910 (LOCFILE_ALIGNED_P): Likewise.
28911 * locale/programs/ld-collate.c (collate_output): Use the new
28912 macros instead of __alignof__ (int32_t).
28913 * locale/weight.h (findidx): Likewise.
28915 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
28918 * manual/string.texi: Fix strncat and wcsncat.
28920 2013-10-03 Brooks Moses <bmoses@google.com>
28923 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28924 * Makerules: ...here, and adjust associated comments.
28926 2013-10-02 Will Newton <will.newton@linaro.org>
28928 * malloc/Makefile: Add tst-pvalloc.
28929 * malloc/tst-pvalloc.c: New file.
28931 2013-10-02 Will Newton <will.newton@linaro.org>
28933 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28934 improve test coverage.
28936 2013-10-02 Will Newton <will.newton@linaro.org>
28938 * malloc/Makefile: Add tst-posix_memalign.
28939 * malloc/tst-posix_memalign.c: New file.
28941 2013-10-01 Eric Blake <eblake@redhat.com>
28943 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28944 Use __THROWNL rather than __THROW on static functions.
28946 2013-09-30 Petr Machata <pmachata@redhat.com>
28948 * elf/elf.h (R_AARCH64_ABS16): New macro.
28949 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28950 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28951 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28952 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28953 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28954 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28955 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28956 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28957 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28958 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28959 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28960 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28961 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28962 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28963 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28964 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28965 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28966 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28967 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28968 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28969 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28970 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28971 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28972 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28973 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28974 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28975 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28976 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28977 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28978 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28979 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28980 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28981 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28982 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28983 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28984 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28985 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28986 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28987 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28988 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28989 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28990 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28991 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28992 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28993 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28994 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28995 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28996 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28997 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28998 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28999 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29000 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29001 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29002 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29003 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29004 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29005 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29006 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29007 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29008 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29009 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29010 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29011 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29012 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29013 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29014 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29015 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29016 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29017 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29018 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29019 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29020 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29021 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29022 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29023 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29024 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29025 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29026 (R_AARCH64_TLSDESC_LDR): Likewise.
29027 (R_AARCH64_TLSDESC_ADD): Likewise.
29028 (R_AARCH64_TLSDESC_CALL): Likewise.
29030 2013-09-30 Andreas Schwab <schwab@suse.de>
29033 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29034 the nss database lookup.
29035 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29038 2013-09-28 Mike Frysinger <vapier@gentoo.org>
29040 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29042 2013-09-28 P. J. McDermott <pj@pehjota.net>
29044 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29045 ${Bash-specific parameter/pattern/string} parameter expansion.
29046 * sysdeps/unix/make-syscalls.sh: Likewise.
29048 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29050 * sysdeps/sh/stackguard-macros.h: New file.
29052 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
29054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29056 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29057 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29058 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29059 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29061 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29063 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29064 Fix thread ID register.
29066 2013-09-25 Joseph Myers <joseph@codesourcery.com>
29068 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29069 [POSIX || UNIX98]: Require rather than permitting all symbols from
29071 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29072 element of struct sched_param.
29073 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29074 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29075 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29076 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29079 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
29081 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29082 argument calculation.
29084 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29086 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29088 [POSIX] (pthread_attr_t): Do not require type.
29089 [POSIX] (pthread_cond_t): Likewise.
29090 [POSIX] (pthread_condattr_t): Likewise.
29091 [POSIX] (pthread_key_t): Likewise.
29092 [POSIX] (pthread_mutex_t): Likewise.
29093 [POSIX] (pthread_mutexattr_t): Likewise.
29094 [POSIX] (pthread_once_t): Likewise.
29095 [POSIX] (pthread_t): Likewise.
29096 [POSIX-based standards] (pthread_atfork): Expect function.
29098 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29099 Richard Sandiford <richard@codesourcery.com>
29101 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29102 (swap_endianness_p): New extern variable.
29103 (set_big_endian): New inline function.
29104 (maybe_swap_uint32): Likewise.
29105 (maybe_swap_uint32_array): Likewise.
29106 (maybe_swap_uint32_obstack): Likewise.
29107 * locale/programs/locfile.c: Include <stdbool.h>.
29108 (swap_endianness_p): New variable.
29109 (add_locale_uint32): Call maybe_swap_uint32.
29110 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29111 (write_locale_data): Call maybe_swap_uint32_array.
29112 * locale/programs/ld-collate.c (obstack_int32_grow): Call
29114 (obstack_int32_grow_fast): Likewise.
29115 (output_weightwc): Call maybe_swap_uint32_obstack.
29116 (collate_output): Likewise.
29117 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29118 (OPT_LITTLE_ENDIAN): Likewise.
29119 (options): Add --little-endian and --big-endian options.
29120 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29121 * locale/programs/locarchive.c: Include "locfile.h".
29125 (create_archive): Use the new macros to access fields of
29126 structures directly mapped from or written to locale archives.
29127 (oldlocrecentcmp): Likewise.
29128 (enlarge_archive): Likewise.
29129 (insert_name): Likewise.
29130 (add_alias): Likewise.
29131 (add_locale): Likewise.
29132 (delete_locales_from_archive): Likewise.
29133 (show_archive_content): Likewise.
29134 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
29137 2013-09-24 Roland McGrath <roland@hack.frob.com>
29139 * manual/freemanuals.texi: Updated from (newly) canonical copy at
29140 http://www.gnu.org/doc/freemanuals.texi.
29141 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29143 2013-09-24 Will Newton <will.newton@linaro.org>
29145 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29148 2013-09-23 Joseph Myers <joseph@codesourcery.com>
29150 * locale/hashval.h (compute_hashval): Interpret bytes of key as
29153 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
29155 * manual/threads.texi (POSIX Threads): Fix a typo.
29157 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29160 * string/tst-strcoll-overflow.c: New test case.
29161 * string/Makefile (xtests): Add tst-strcoll-overflow.
29162 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29163 cache if string sizes may cause integer overflow.
29166 * string/strcoll_l.c (coll_seq): New members rule, idx,
29167 save_idx and back_us.
29168 (get_next_seq_nocache): New function.
29169 (do_compare_nocache): New function.
29170 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29173 2013-09-23 Carlos O'Donell <carlos@redhat.com>
29176 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29177 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29178 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29181 * elf/Makefile (tests): Add tst-ptrguard1.
29182 (tests-static): Add tst-ptrguard1-static.
29183 (tst-ptrguard1-ARGS): Define.
29184 (tst-ptrguard1-static-ARGS): Define.
29185 * elf/tst-ptrguard1.c: New file.
29186 * elf/tst-ptrguard1-static.c: New file.
29187 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29188 * sysdeps/i386/stackguard-macros.h: Likewise.
29189 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29190 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29191 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29192 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29193 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29194 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29196 2013-09-23 Hector Marco <hecmargi@upv.es>
29197 Ismael Ripoll <iripoll@disca.upv.es>
29198 Carlos O'Donell <carlos@redhat.com>
29201 * sysdeps/generic/stackguard-macros.h: Define
29202 __pointer_chk_guard_local and POINTER_CHK_GUARD.
29203 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29204 Define __pointer_chk_guard_local.
29205 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29206 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29208 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
29211 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29213 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
29215 * include/string.h (__ffs): Declare as hidden.
29216 * string/ffs.c (__ffs): Define as hidden.
29217 * sysdeps/i386/ffs.c (__ffs): Likewise.
29218 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29219 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29220 * sysdeps/s390/ffs.c (__ffs): Likewise.
29221 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29223 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
29225 * NEWS: Mention malloc probes.
29227 * malloc/arena.c (new_heap): New memory_heap_new probe.
29228 (grow_heap): New memory_heap_more probe.
29229 (shrink_heap): New memory_heap_less probe.
29230 (heap_trim): New memory_heap_free probe.
29231 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29232 (systrim): New memory_sbrk_less probe.
29233 * manual/probes.texi: Document them.
29235 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29236 * manual/probes.texi: Document it.
29238 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29239 (__libc_realloc): Add memory_realloc_retry probe.
29240 (__libc_memalign): Add memory_memalign_retry probe.
29241 (__libc_valloc): Add memory_valloc_retry probe.
29242 (__libc_pvalloc): Add memory_pvalloc_retry probe.
29243 (__libc_calloc): Add memory_calloc_retry probe.
29244 * manual/probes.texi: Document them.
29246 * malloc/arena.c (get_free_list): Add probe
29247 memory_arena_reuse_free_list.
29248 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29249 and memory_arena_reuse.
29250 (arena_get2) [!PER_THREAD]: Likewise.
29251 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29252 memory_arena_reuse_realloc.
29253 * manual/probes.texi: Document them.
29255 * malloc/malloc.c (__libc_free): Add
29256 memory_mallopt_free_dyn_thresholds probe.
29257 (__libc_mallopt): Add multiple memory_mallopt probes.
29258 * manual/probes.texi: Document them.
29260 * malloc/malloc.c: Include stap-probe.h.
29261 (__libc_mallopt): Add memory_mallopt probe.
29262 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29263 * manual/probes.texi: New.
29264 * manual/Makefile (chapters): Add probes.
29265 * manual/threads.texi: Set next node.
29267 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
29269 [BZ #15963, #13985]
29270 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29271 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29272 Add `Chinese' to `nan' entry name.
29274 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29276 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29277 (POLYNOMIAL): Likewise.
29278 (TAYLOR_SINCOS): Likewise.
29279 (TAYLOR_SLOW): Likewise.
29280 (__sin): Use TAYLOR_SINCOS.
29282 (slow): Use TAYLOR_SLOW.
29284 (bsloww): Likewise.
29285 (csloww): Likewise.
29287 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29289 * stdlib/strtod_l.c: Fix buffer overrun.
29291 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29293 * benchtests/Makefile (bench): Add sincos.
29294 * benchtests/bench-sincos.c: New file.
29296 * math/libm-test.inc (cos_test_data): New test inputs.
29297 (sin_test_data): Likewise.
29299 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29305 (sloww1): Likewise.
29306 (sloww2): Likewise.
29307 (bsloww1): Likewise.
29308 (bsloww2): Likewise.
29309 (cslow2): Likewise.
29310 (csloww1): Likewise.
29311 (csloww2): Likewise.
29313 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29318 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29322 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
29324 * config.h.in (HAVE_MIPS_NAN2008): New macro.
29325 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29326 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29327 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29328 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29329 * elf/cache.c (print_entry): Handle the new cache flags.
29331 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29332 Aldy Hernandez <aldyh@redhat.com>
29334 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29335 Change condition to [_SOFT_FLOAT].
29336 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29337 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29338 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29340 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29343 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29348 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29350 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29351 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29354 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29356 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29357 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29358 (__longjmp): Use LOAD_GP to load saved GPRs.
29359 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29360 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29361 (__sigsetjmp): Use SAVE_GP to save GPRs.
29363 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29364 Do not append -msoft-float.
29365 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29367 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29369 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29371 2013-09-17 Joseph Myers <joseph@codesourcery.com>
29374 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29375 (_FPU_GETCW): Use initial "__" on variable and field names but not
29376 on macro parameter name.
29377 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
29378 parentheses around reference to macro parameter.
29380 2013-09-13 Richard Sandiford <richard@codesourcery.com>
29382 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29384 (ctype_startup): Use uint32_t in cast and sizeof for
29387 2013-09-11 Jia Liu <proljc@gmail.com>
29389 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29391 [__FreeBSD__]: Likewise.
29393 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
29395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29396 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29397 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29398 (strchr): Remove __strchr_sse42 ifunc selection.
29399 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29400 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29402 2013-09-11 Will Newton <will.newton@linaro.org>
29404 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29405 parameter to RES. Remove hardcoded 1000 value.
29406 * benchtests/bench-skeleton.c (main): Pass RES parameter
29407 to TIMING_INIT and multiply result by 1000.
29409 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29413 2013-09-11 Andreas Schwab <schwab@suse.de>
29415 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29417 (O_TMPFILE) [__USE_GNU]: Define.
29418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29421 2013-09-11 Will Newton <will.newton@linaro.org>
29424 * malloc/malloc.c (__libc_memalign): Check the value of bytes
29427 2013-09-11 Will Newton <will.newton@linaro.org>
29430 * malloc/malloc.c (__libc_valloc): Check the value of bytes
29433 2013-09-11 Will Newton <will.newton@linaro.org>
29436 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29439 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
29441 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29442 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29443 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29444 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29445 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29447 2013-09-10 Allan McRae <allan@archlinux.org>
29450 * manual/arith.texi (Parsing of Floats): Clarify
29454 * manual/install.texi (Running make install): Mention
29456 * INSTALL: Regenerated.
29458 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
29460 * csu/init-first.c (_init): Remove the !SHARED condition around
29461 FPU control word initialization.
29462 * elf/dl-support.c (_dl_fpu_control): New variable.
29463 (_dl_aux_init) <AT_FPUCW>: Initialize it.
29464 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29465 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29466 * math/test-fpucw-static.c: New file.
29467 * math/test-fpucw-ieee.c: New file.
29468 * math/test-fpucw-ieee-static.c: New file.
29469 * math/Makefile (tests): Add `test-fpucw-ieee' and
29471 (tests-static): New variable.
29472 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29474 [($(build-shared),yes)]
29475 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29477 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29480 2013-09-09 Allan McRae <allan@archlinux.org>
29483 * manual/string.texi (Collation Functions): Fix typo in
29485 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29488 * stdlib/isomac.c (get_null_defines): Fix memory leak.
29491 * libio/memstream.c (open_memstream): Fix memory leak.
29492 * libio/wmemstream.c (open_wmemstream): Likewise.
29495 * nscd/netgroupcache.c: Fix nesting of ifdefs.
29497 2013-09-09 Will Newton <will.newton@linaro.org>
29499 * malloc/Makefile: Add tst-realloc to tests.
29500 * malloc/tst-realloc.c: New file.
29502 2013-09-09 Allan McRae <allan@archlinux.org>
29505 * COPYING: Update from GNU website to fix FSF address.
29506 * COPYING.LIB: Likewise.
29508 2013-09-06 David S. Miller <davem@davemloft.net>
29510 * po/zh_TW.po: Update Chinese (traditional) translation from
29511 translation project.
29513 2013-09-06 Richard Sandiford <richard@codesourcery.com>
29514 Joseph Myers <joseph@codesourcery.com>
29516 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29518 (obstack_chunk_alloc): New macro.
29519 (obstack_chunk_free): Likewise.
29520 (record_offset): New function.
29521 (init_locale_data): Likewise.
29522 (align_locale_data): Likewise.
29523 (add_locale_empty): Likewise.
29524 (add_locale_raw_data): Likewise.
29525 (add_locale_raw_obstack): Likewise.
29526 (add_locale_string): Likewise.
29527 (add_locale_wstring): Likewise.
29528 (add_locale_uint32): Likewise.
29529 (add_locale_uint32_array): Likewise.
29530 (add_locale_char): Likewise.
29531 (start_locale_structure): Likewise.
29532 (end_locale_structure): Likewise.
29533 (start_locale_prelude): Likewise.
29534 (end_locale_prelude): Likewise.
29535 (write_locale_data): Take locale_file structure rather than an
29537 * locale/programs/locfile.h: Include "obstack.h".
29538 (struct locale_file): Change to store locale file contents instead
29540 (init_locale_data): New prototype.
29541 (align_locale_data): Likewise.
29542 (add_locale_empty): Likewise.
29543 (add_locale_raw_data): Likewise.
29544 (add_locale_raw_obstack): Likewise.
29545 (add_locale_string): Likewise.
29546 (add_locale_wstring): Likewise.
29547 (add_locale_uint32): Likewise.
29548 (add_locale_uint32_array): Likewise.
29549 (add_locale_char): Likewise.
29550 (start_locale_structure): Likewise.
29551 (end_locale_structure): Likewise.
29552 (start_locale_prelude): Likewise.
29553 (end_locale_prelude): Likewise.
29554 (write_locale_data): Update prototype.
29555 * locale/programs/3level.h (struct TABLE): Remove result field.
29556 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29557 Use new locale_file interface.
29558 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29559 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29560 * locale/programs/ld-address.c (address_output): Use new
29561 locale_file interface.
29562 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29564 (collate_finish): Don't call collseq_table_finalize.
29565 (collate_output): Use new locale_file interface.
29566 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29568 (NO_FINALIZE): Change to NO_ADD_LOCALE.
29569 (TABLE): Move defines earlier in file.
29570 (ELEMENT): Likewise.
29571 (DEFAULT): Likewise.
29572 (wctrans_table_add): Move macro and inline function earlier in
29574 (struct wctype_table): Move type earlier in file.
29575 (add_locale_wctype_table): New static prototype.
29576 (struct locale_ctype_t): Use logical types instead of struct iovec
29577 pointers for members.
29578 (ctype_output): Use new locale_file interface.
29579 (wctype_table_finalize): Change to add_locale_wctype_table. Use
29580 new locale_file interface.
29581 (allocate_arrays): Update for use of new locale_file interface.
29582 * locale/programs/ld-identification.c (identification_output): Use
29583 new locale_file interface.
29584 * locale/programs/ld-measurement.c (measurement_output): Likewise.
29585 * locale/programs/ld-messages.c (messages_output): Likewise.
29586 * locale/programs/ld-monetary.c (monetary_output): Likewise.
29587 * locale/programs/ld-name.c (name_output): Likewise.
29588 * locale/programs/ld-numeric.c (numeric_output): Likewise.
29589 * locale/programs/ld-paper.c (paper_output): Likewise.
29590 * locale/programs/ld-telephone.c (telephone_output): Likewise.
29591 * locale/programs/ld-time.c (time_output): Likewise.
29593 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29595 * benchtests/Makefile: Add memrchr benchmark.
29596 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29597 benchmark as memrchr.
29598 * benchtests/bench-memrchr-ifunc.c: New file.
29599 * benchtests/bench-memrchr.c: New file.
29601 2013-09-06 Will Newton <will.newton@linaro.org>
29603 * benchtests/Makefile (string-bench): Add memcpy.
29605 2013-09-05 Carlos O'Donell <carlos@redhat.com>
29606 Cong Wang <amwang@redhat.com>
29609 * sysdeps/unix/sysv/linux/bits/in.h
29610 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29611 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29612 before __USE_KERNEL_IPV6_DEFS uses.
29613 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29615 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29616 sockaddr_in6, or ipv6_mreq.
29618 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29620 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29621 memory access for final bytes in some large inputs.
29622 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29624 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29626 * string/test-memrchr.c: New file.
29627 * string/test-memrchr-ifunc.c: New file.
29628 * string/Makefile: Add new memrchr testcase.
29630 2013-09-05 Mike Frysinger <vapier@gentoo.org>
29632 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29633 fanotify_init returns EPERM.
29635 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29637 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29639 (top level): Treat second token from macro or constant entries for
29640 allowed headers as allowed.
29641 * include/complex.h: Condition internal declarations on
29643 * include/fenv.h: Condition include of <stdbool.h> and internal
29644 declarations on [!_ISOMAC].
29646 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
29649 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29651 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29653 * configure.in (--enable-versioning): Remove configure option.
29654 (libc_cv_asm_symver_directive): Remove configure test.
29655 (libc_cv_ld_version_script_option): Likewise.
29656 (VERSIONING): Remove variable and AC_SUBST.
29657 (DO_VERSIONING): Remove AC_DEFINE.
29658 * configure: Regenerated.
29659 * config.h.in (DO_VERSIONING): Remove macro.
29660 * Makerules [$(versioning) = yes]: Change conditionals to
29661 [$(build-shared) = yes].
29662 * config.make.in (versioning): Remove variable.
29663 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29664 [$(build-shared) = yes].
29665 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29666 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29667 * elf/Makefile [$(versioning) = yes]: Change conditionals to
29668 [$(build-shared) = yes].
29669 * extra-lib.mk [$(versioning) = yes]: Likewise.
29670 * hurd/Makefile [$(versioning) = yes]: Likewise.
29671 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29673 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29675 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29676 [SHARED && !NO_HIDDEN].
29677 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29679 [SHARED && DO_VERSIONING]: Likewise..
29680 * libio/Makefile [$(versioning) = yes]: Change conditionals to
29681 [$(build-shared) = yes].
29682 * manual/install.texi (--disable-versioning): Remove
29684 * INSTALL: Regenerated.
29685 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29687 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29688 [$(build-shared) = yes].
29689 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29690 * sysdeps/i386/i686/multiarch/strstr-c.c
29691 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29692 [SHARED && !NO_HIDDEN].
29693 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29694 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29695 * sysdeps/powerpc/powerpc32/dl-machine.c
29696 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29697 * sysdeps/powerpc/powerpc32/sysdep.h
29698 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29699 to [SHARED && PIC && !NO_HIDDEN].
29700 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29701 conditional to [SHARED].
29703 2013-09-04 Will Newton <will.newton@linaro.org>
29705 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29706 * benchtests/bench-string.h: Include bench-timing.h instead
29707 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29708 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29709 call to HP_TIMING_DIFF_INIT.
29710 * benchtests/bench-memccpy.c: Use bench-timing.h macros
29711 instead of hp-timing.h macros.
29712 * benchtests/bench-memchr.c: Likewise.
29713 * benchtests/bench-memcmp.c: Likewise.
29714 * benchtests/bench-memcpy.c: Likewise.
29715 * benchtests/bench-memmem.c: Likewise.
29716 * benchtests/bench-memmove.c: Likewise.
29717 * benchtests/bench-memset.c: Likewise.
29718 * benchtests/bench-rawmemchr.c: Likewise.
29719 * benchtests/bench-strcasecmp.c: Likewise.
29720 * benchtests/bench-strcasestr.c: Likewise.
29721 * benchtests/bench-strcat.c: Likewise.
29722 * benchtests/bench-strchr.c: Likewise.
29723 * benchtests/bench-strcmp.c: Likewise.
29724 * benchtests/bench-strcpy.c: Likewise.
29725 * benchtests/bench-strcpy_chk.c: Likewise.
29726 * benchtests/bench-strlen.c: Likewise.
29727 * benchtests/bench-strncasecmp.c: Likewise.
29728 * benchtests/bench-strncat.c: Likewise.
29729 * benchtests/bench-strncmp.c: Likewise.
29730 * benchtests/bench-strncpy.c: Likewise.
29731 * benchtests/bench-strnlen.c: Likewise.
29732 * benchtests/bench-strpbrk.c: Likewise.
29733 * benchtests/bench-strrchr.c: Likewise.
29734 * benchtests/bench-strspn.c: Likewise.
29735 * benchtests/bench-strstr.c: Likewise.
29737 2013-09-04 Will Newton <will.newton@linaro.org>
29739 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29741 2013-09-03 Joseph Myers <joseph@codesourcery.com>
29744 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29745 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29746 * math/libm-test.inc (lgamma_test_data): Add more tests.
29747 * sysdeps/i386/fpu/libm-test-ulps: Update.
29748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29750 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
29752 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29753 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29756 Add strcmp-sse2-unaligned
29757 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29759 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29761 * Versions.def (libc): Add GLIBC_2.19.
29763 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29765 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29766 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29768 2013-09-02 Joseph Myers <joseph@codesourcery.com>
29771 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29772 intermediate calculations in recurrence.
29773 (__ieee754_ynf): Likewise.
29774 * math/libm-test.inc (jn_test_data): Do not allow spurious
29775 underflow exception. Add more tests.
29776 (yn_test_data): Add more tests.
29777 * sysdeps/i386/fpu/libm-test-ulps: Update.
29778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29780 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
29782 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29784 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29786 * csu/init-first.c: Fix then/than typos.
29787 * locale/programs/ld-collate.c: Likewise.
29788 * locale/programs/linereader.h: Likewise.
29789 * manual/charset.texi: Likewise.
29790 * manual/filesys.texi: Likewise.
29791 * manual/stdio.texi: Likewise.
29792 * manual/string.texi: Likewise.
29793 * stdlib/fmtmsg.c: Likewise.
29794 * sysdeps/i386/stpncpy.S: Likewise.
29795 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29796 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29797 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29798 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29800 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29802 * elf/dl-open.c: Fix typos.
29803 * iconvdata/gbbig5.c: Likewise.
29804 * iconvdata/iso-2022-jp.c: Likewise.
29805 * iconv/gconv_int.h: Likewise.
29806 * iconv/loop.c: Likewise.
29807 * nis/rpcsvc/nis.h: Likewise.
29808 * resolv/ns_name.c: Likewise.
29809 * stdio-common/vfscanf.c: Likewise.
29810 * streams/stropts.h: Likewise.
29811 * sunrpc/rpc_thread.c: Likewise.
29812 * sysdeps/i386/strpbrk.S: Likewise.
29813 * sysdeps/ieee754/k_standard.c: Likewise.
29814 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29815 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29816 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29817 * sysdeps/mach/hurd/profil.c: Likewise.
29818 * sysdeps/s390/dl-procinfo.h: Likewise.
29819 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29820 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29821 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29822 * sysdeps/x86_64/dl-trampoline.S: Likewise.
29823 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29825 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29827 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29828 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29830 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29832 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29833 aix specific files.
29834 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29835 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29836 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29837 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29838 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29839 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29840 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29841 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29843 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29844 Roland McGrath <roland@hack.frob.com>
29846 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29847 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29849 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
29851 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29852 __executable_start symbol instead of _start.
29854 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29856 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29857 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29859 * sysdeps/gnu/ldsodefs.h: ... this new file.
29861 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29862 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29863 instead of ELFOSABI_LINUX.
29865 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29866 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29867 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29868 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29870 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29871 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29872 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29874 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29875 (ibm_extended_long_double): Add ieee_nan member.
29876 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29877 (do_test): New function.
29879 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29881 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29882 functions, renamed from truncdfsf_test, trunctfsf_test,
29884 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29886 (do_test): Run all these.
29888 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29890 * argp/argp-help.c: Fix typos.
29891 * argp/argp-parse.c: Likewise.
29892 * debug/backtracesyms.c: Likewise.
29893 * elf/elf.h: Likewise.
29894 * malloc/malloc.c: Likewise.
29895 * nis/nis_print.c: Likewise.
29896 * resolv/res_comp.c: Likewise.
29897 * stdlib/stdlib.h: Likewise.
29898 * sunrpc/clnt_tcp.c: Likewise.
29899 * sunrpc/clnt_udp.c: Likewise.
29900 * sunrpc/clnt_unix.c: Likewise.
29901 * sysdeps/unix/bsd/ptsname.c: Likewise.
29902 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29903 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29910 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29912 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29914 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29917 2013-08-27 Mike Frysinger <vapier@gentoo.org>
29920 * dlfcn/Makefile (tests): Add bug-dl-leaf.
29921 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29922 ($(objpfx)bug-dl-leaf): New rule.
29923 ($(objpfx)bug-dl-leaf.so): Likewise.
29924 ($(objpfx)bug-dl-leaf.out): Likewise.
29925 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29926 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29927 * dlfcn/bug-dl-leaf.c: New test.
29928 * dlfcn/bug-dl-leaf-lib.c: Likewise.
29929 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29930 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29931 (dlclose): Likewise.
29932 (dlmopen): Likewise.
29934 2013-08-27 Roland McGrath <roland@hack.frob.com>
29936 * include/netdb.h [!_ISOMAC]:
29937 Don't include <tls.h>.
29938 (h_errno, __libc_h_errno): Move declaration and macros out of
29941 * include/resolv.h [_RESOLV_H_]:
29942 Don't include <tls.h>.
29943 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29944 * resolv/res_libc.c: Don't include <tls.h>.
29945 (_res): Use __attribute__ ((nocommon)) in place of
29946 __attribute__ ((section (".bss"))).
29948 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29949 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29951 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29953 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29954 only under [SIOCGIFCONF && SIOCGIFNETMASK].
29956 * resolv/res_mkquery.c: Include <sys/time.h>.
29958 * inet/ifreq.c: Moved to ...
29959 * sysdeps/unix/ifreq.c: ... here.
29960 * inet/ifreq.c: New file, true stub version.
29962 * socket/sa_len.c: New file.
29963 * socket/Makefile (aux): Add it.
29964 * sysdeps/unix/sysv/linux/Makefile
29965 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29966 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29967 and #include <socket/sa_len.c>.
29968 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29969 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29971 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29972 * bits/socket.h: ... here.
29974 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29975 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29976 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29978 2013-08-27 Andreas Schwab <schwab@suse.de>
29981 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29982 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29983 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29984 * string/test-strcasecmp.c (test_main): Run tests in several
29986 * string/test-strncasecmp.c (test_main): Likewise.
29988 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29989 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29990 to __strcasecmp_nonascii and __strncasecmp_nonascii.
29991 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29992 (__strncasecmp_ssse3) [PIC]: Likewise.
29994 2013-08-26 Roland McGrath <roland@hack.frob.com>
29996 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29998 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29999 instead of explicitly declaring xdecrypt.
30000 * nis/nss_nis/nis-publickey.c: Likewise.
30002 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30005 * nscd/aicache.c: Include res_hconf.h.
30006 (addhstaiX): Initialize res_hconf.
30008 2013-08-26 Andreas Schwab <schwab@suse.de>
30010 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30011 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30013 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30015 * nscd/aicache.c (addhstaiX): Fix indentation.
30017 2013-08-25 Mike Frysinger <vapier@gentoo.org>
30019 * configure.ac: Quote $build_pt_chown test.
30020 * configure: Regenerated.
30022 2013-08-23 Joseph Myers <joseph@codesourcery.com>
30025 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30026 * math/s_cexpf.c (__cexpf): Likewise.
30027 * math/s_cexpl.c (__cexpl): Likewise.
30028 * math/libm-test.inc (cexp_test_data): Correct expected return
30029 value for NaN + i0. Add another test.
30031 2013-08-22 David S. Miller <davem@davemloft.net>
30033 * po/ca.po: Update Catalan translation from translation project.
30034 * po/uk.po: Add Ukrainian translations from translation project.
30036 2013-08-21 Joseph Myers <joseph@codesourcery.com>
30039 * math/s_fdim.c (__fdim): Check for infinite arguments if result
30040 is infinite, not alongside NaN test.
30041 * math/s_fdimf.c (__fdimf): Likewise.
30042 * math/s_fdiml.c (__fdiml): Likewise.
30043 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
30044 errno is unchanged.
30046 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
30048 * argp/argp-help.c: Fix typos.
30049 * crypt/speeds.c: Likewise.
30050 * csu/check_fds.c: Likewise.
30051 * elf/dl-load.c: Likewise.
30052 * elf/dl-open.c: Likewise.
30053 * elf/reldep3.c: Likewise.
30054 * elf/reldep.c: Likewise.
30055 * elf/sprof.c: Likewise.
30056 * iconv/iconv_charmap.c: Likewise.
30057 * iconv/skeleton.c: Likewise.
30058 * iconv/strtab.c: Likewise.
30059 * io/lockf64.c: Likewise.
30060 * libio/libioP.h: Likewise.
30061 * resolv/gai_notify.c: Likewise.
30062 * resolv/ns_name.c: Likewise.
30063 * resolv/ns_samedomain.c: Likewise.
30064 * resolv/res_send.c: Likewise.
30065 * stdlib/random.c: Likewise.
30066 * sunrpc/rpc/xdr.h: Likewise.
30067 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30068 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30069 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30070 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30071 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30072 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30073 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30074 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30075 * sysdeps/mach/hurd/check_fds.c: Likewise.
30076 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30077 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30078 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30079 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30080 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30081 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30082 * sysdeps/pthread/aio_notify.c: Likewise.
30083 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30084 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30085 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30086 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30087 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30089 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30091 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30092 version if bit_Slow_SSE4_2 is set.
30093 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30094 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30096 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30099 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30100 trampoline stack frame information.
30101 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30102 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30103 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30104 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30105 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30106 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30107 (_libc_vdso_platform_setup): Initialize the signal trampolines.
30108 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30110 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30111 interrupting a syscall and set with option SA_SIGINFO.
30113 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30116 * math/s_cproj.c (__cproj): Only return an infinity if one part of
30117 argument is infinite.
30118 * math/s_cprojf.c (__cprojf): Likewise.
30119 * math/s_cprojl.c (__cprojl): Likewise.
30120 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30121 * math/libm-test.inc (cproj_test_data): Add more tests.
30123 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30125 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30126 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30127 size. Use __ffs to determine corresponding shift.
30129 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30130 Roland McGrath <roland@hack.frob.com>
30132 * Makefile (INSTALL): Remove trailing blank lines from output of
30135 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30137 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30138 Align 32 bit compat elf_greg to 8 bytes.
30140 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
30142 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30144 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30146 * string/strcoll_l.c (coll_seq): New structure.
30147 (get_next_seq_cached): New function.
30148 (get_next_seq): New function.
30149 (do_compare): New function.
30150 (STRCOLL): Use GNU style definition. Simplify implementation
30151 by using get_next_seq, get_next_seq_cached and do_compare.
30153 2013-08-16 Florian Weimer <fweimer@redhat.com>
30157 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30159 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30161 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30162 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30163 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
30165 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30166 GETDENTS_64BIT_ALIGNED.
30167 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30168 * manual/filesys.texi (Reading/Closing Directory): Document
30169 ENAMETOOLONG return value of readdir_r. Recommend readdir more
30171 * manual/conf.texi (Limits for Files): Add portability note to
30172 NAME_MAX, PATH_MAX.
30173 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30175 2013-08-13 Andreas Schwab <schwab@suse.de>
30178 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30180 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30181 LDBL_MAX_EXP >= 16384]: Add tests for it.
30183 2013-08-12 David S. Miller <davem@davemloft.net>
30185 * version.h (RELEASE): Set to "development".
30186 (VERSION): Set to "2.18.90".
30187 * NEWS: Add 2.19 section.
30189 2013-08-03 David S. Miller <davem@davemloft.net>
30191 * po/ko.po: Update Korean translation from translation project.
30193 2013-08-01 David S. Miller <davem@davemloft.net>
30195 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
30196 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30199 2013-07-30 David S. Miller <davem@davemloft.net>
30201 * po/fr.po: Update French translation from translation project.
30203 2013-07-28 David S. Miller <davem@davemloft.net>
30205 * po/cs.po: Update Czech translation from translation project.
30207 * po/sv.po: Update Swedish translation from translation project.
30209 2013-07-27 David S. Miller <davem@davemloft.net>
30211 * po/eo.po: Update Esperanto translation from translation project.
30213 * po/vi.po: Update Vietnamese translation from translation project.
30215 * po/de.po: Update German translation from translation project.
30217 2013-07-26 David S. Miller <davem@davemloft.net>
30219 * po/bg.po: Update Bulgarian translation from translation project.
30221 * po/nl.po: Update Dutch translation from translation project.
30222 * po/pl.po: Update Polish translation from translation project.
30223 * po/ru.po: Update Russian translation from translation project.
30225 2013-07-24 David S. Miller <davem@davemloft.net>
30227 * po/libc.pot: Update.
30229 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30231 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30232 variable page size.
30233 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30234 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30235 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30237 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30239 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30241 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30242 Andreas Schwab <schwab@suse.de>
30243 Roland McGrath <roland@hack.frob.com>
30244 Joseph Myers <joseph@codesourcery.com>
30245 Carlos O'Donell <carlos@redhat.com>
30248 * config.h.in: Define HAVE_PT_CHOWN.
30249 * config.make.in (build-pt-chown): New variable.
30250 * configure.in (--enable-pt_chown): New configure option.
30251 * configure: Regenerate.
30252 * login/Makefile: Include Makeconfig. Build pt_chown only if
30253 build-pt-chown is enabled.
30254 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30255 pt_chown to fix pty ownership.
30256 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30258 * manual/install.texi (Configuring and compiling): Mention
30259 --enable-pt_chown. Add @findex for grantpt.
30260 * INSTALL: Regenerate.
30262 2013-07-20 David S. Miller <davem@davemloft.net>
30264 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30265 difference between 32-bit and 64-bit.
30267 2013-07-15 Carlos O'Donell <carlos@redhat.com>
30270 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30271 Avoid system header dependency with -ffreestanding.
30272 ($(objpfx)bits/syscall%d): Likewise.
30274 2013-07-13 David S. Miller <davem@davemloft.net>
30276 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30277 underflows from atanl/atan2l due to bug 15319.
30278 (casinh_test_data): Likewise.
30280 2013-07-07 David S. Miller <davem@davemloft.net>
30282 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30284 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
30286 * sysdeps/i386/fpu/libm-test-ulps: Update.
30287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30289 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30291 * configure.in (--enable-lock-elision): Fix message text.
30292 * INSTALL: Regenerate.
30293 * configure: Regenerate.
30295 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30299 2013-07-03 Andreas Jaeger <aj@suse.de>
30301 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30303 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30304 (ptrace_peeksiginfo_args): Add.
30305 (__ptrace_peeksiginfo_flags): Add.
30306 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30307 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30308 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30310 2013-07-03 Allan McRae <allan@archlinux.org>
30312 * sysdeps/i386/fpu/libm-test-ulps: Update.
30314 2013-07-02 David S. Miller <davem@davemloft.net>
30316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30318 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
30320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30322 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30324 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30327 2013-07-02 Andi Kleen <ak@linux.intel.com>
30329 * config.h.in (ENABLE_LOCK_ELISION): Add.
30330 * configure.in (--enable-lock-elision): Add option.
30331 * manual/install.texi: Document --enable lock elision.
30332 * configure: Regenerate
30333 * INSTALL: Regenerate.
30335 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
30337 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30338 SSE4.2 strcasecmp for libc.a.
30339 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30341 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30344 * soft-fp/op-common.h (_FP_FMA): New macro.
30345 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30346 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
30347 (_FP_MUL_MEAT_1_imm): ... here.
30348 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
30349 (_FP_MUL_MEAT_1_wide): ... here.
30350 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
30351 (_FP_MUL_MEAT_1_hard): ... here.
30352 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30353 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
30354 (_FP_MUL_MEAT_2_wide): ... here.
30355 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
30356 (_FP_MUL_MEAT_2_wide_3mul): ... here.
30357 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
30358 (_FP_MUL_MEAT_2_gmp): ... here.
30359 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30360 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
30361 (_FP_MUL_MEAT_4_wide): ... here.
30362 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
30363 (_FP_MUL_MEAT_4_gmp): ... here.
30364 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30365 (_FP_WFRACBITS_DW_S): Likewise.
30366 (_FP_WFRACXBITS_DW_S): Likewise.
30367 (_FP_HIGHBIT_DW_S): Likewise.
30368 (FP_FMA_S): Likewise.
30369 (_FP_FRAC_HIGH_DW_S): Likewise.
30370 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30371 (_FP_WFRACBITS_DW_D): Likewise.
30372 (_FP_WFRACXBITS_DW_D): Likewise.
30373 (_FP_HIGHBIT_DW_D): Likewise.
30374 (FP_FMA_D): Likewise.
30375 (_FP_FRAC_HIGH_DW_D): Likewise.
30376 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30377 (_FP_WFRACBITS_DW_E): Likewise.
30378 (_FP_WFRACXBITS_DW_E): Likewise.
30379 (_FP_HIGHBIT_DW_E): Likewise.
30380 (FP_FMA_E): Likewise.
30381 (_FP_FRAC_HIGH_DW_E): Likewise.
30382 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30383 (_FP_WFRACBITS_DW_Q): Likewise.
30384 (_FP_WFRACXBITS_DW_Q): Likewise.
30385 (_FP_HIGHBIT_DW_Q): Likewise.
30386 (FP_FMA_Q): Likewise.
30387 (_FP_FRAC_HIGH_DW_Q): Likewise.
30388 * soft-fp/fmasf4.c: New file.
30389 * soft-fp/fmadf4.c: Likewise.
30390 * soft-fp/fmatf4.c: Likewise.
30392 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30395 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30397 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30399 (index_Slow_SSE4_2): Likewise.
30400 (index_Prefer_PMINUB_for_stringop): Likewise.
30401 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30402 bit_Slow_SSE4_2 is set.
30403 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30404 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30406 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30408 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30409 rtld_global._dl_hwcap2.
30410 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30412 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30413 POWER8 feature descriptions defined in _dl_hwcap2.
30414 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30415 string handling for POWER8 feature bits.
30416 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30417 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30418 _dl_powerpc_cap_flags.
30419 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30420 * sysdeps/powerpc/rtld-global-offsets.sym
30421 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30422 _dl_hwcap2 in the rtld_global_ro structure.
30424 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30426 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30427 hardware capabilities in support of AT_HWCAP2.
30428 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30429 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30431 (_dl_show_auxv): Add support for calling _dl_procinfo to display
30432 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
30433 explicitly the unknown a_type display mechanism is used.
30434 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30435 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30437 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30438 to macro prototype for AT_HWCAP2 support.
30439 * sysdeps/i386/dl-procinfo.h: Likewise.
30440 * sysdeps/s390/dl-procinfo.h: Likewise.
30441 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30442 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
30443 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
30444 return -1 for unknown a_type display fallback.
30445 * sysdeps/sparc/dl-procinfo.h: Likewise.
30446 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30447 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30449 2013-06-28 Joseph Myers <joseph@codesourcery.com>
30451 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30452 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30454 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
30457 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30458 mprotect making __stack_prot writable.
30460 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
30461 Joseph Myers <joseph@codesourcery.com>
30463 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30464 as being properly aligned.
30466 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
30468 * dlfcn/modstatic5.c: New file.
30469 * dlfcn/tststatic5.c: New file.
30470 * dlfcn/Makefile (tests): Add tststatic5.
30471 (tests-static): Likewise.
30472 (modules-names): Add modstatic5.
30473 (tststatic5-ENV): New variable.
30474 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30477 * elf/dl-support.c (_dl_main_map): New variable.
30478 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30479 (_dl_nns, _dl_load_adds): Set to 1.
30480 (_dl_initial_searchlist): Refer to _dl_main_map.
30481 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30482 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30483 call to _dl_get_origin.
30484 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30486 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30487 * dlfcn/modstatic3.c: New file.
30488 * dlfcn/tststatic3.c: New file.
30489 * dlfcn/tststatic4.c: New file.
30490 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30491 (tests-static): Likewise.
30492 (modules-names): Add modstatic3.
30493 (tststatic3-ENV, tststatic4-ENV): New variables.
30494 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30495 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30497 2013-06-26 Joseph Myers <joseph@codesourcery.com>
30499 * configure.in (CC): Require GCC version 4.4 or later.
30500 * configure: Regenerated.
30501 * manual/install.texi (Tools for Compilation): Update GCC version
30503 * INSTALL: Regenerated.
30505 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30508 * string/test-memcmp.c (check2): New.
30509 (main): Call check2.
30511 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30513 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
30516 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30518 (dl_open_worker) [!SHARED]: ... here.
30520 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30522 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30524 2013-06-25 Richard Henderson <rth@redhat.com>
30526 * locale/programs/locarchive.c: Include <libc-internal.h>
30528 2013-06-25 Joseph Myers <joseph@codesourcery.com>
30530 * manual/texinfo.tex: Update to version 2013-06-21.17, with
30531 trailing whitespace removed.
30533 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30536 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30537 * locale/programs/locarchive.c: Include libc-mmap.h.
30538 (prepare_address_space): Take two new outputs (the mmap base and len).
30539 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
30541 (create_archive): Declare new mmap base and len values for
30542 prepare_address_space, and store the result in ah.
30543 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30544 (enlarge_archive): If ah->mmap_base is not NULL, use that and
30545 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30546 Declare new mmap base and len values for
30547 prepare_address_space, and store the result in new_ah.
30548 (open_archive): Declare new mmap base and len values for
30549 prepare_address_space, and store the result in ah.
30550 (close_archive): If ah->mmap_base is not NULL, use that and
30551 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30552 * sysdeps/generic/libc-mmap.h: New file.
30554 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30556 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30557 (ALIGN_UP): Likewise.
30558 (PTR_ALIGN_DOWN): Likewise.
30559 (PTR_ALIGN_UP): Likewise.
30561 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30563 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30564 entry mapped to PPC_PLATFORM_POWER8.
30565 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30567 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30568 (_dl_string_platform): Add case for exporting platform position for
30570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30571 search path to sysdeps/powerpc/powerpc32/power8 directory.
30572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30573 search path to sysdeps/powerpc/powerpc64/power8 directory.
30574 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30575 power7 directories.
30576 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30577 power7 directories.
30579 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30581 * INSTALL: Regenerate.
30583 * nscd/connections.c (nscd_init): Fix comment.
30585 2013-06-22 Joseph Myers <joseph@codesourcery.com>
30587 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30590 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30591 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30593 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30595 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30597 (DL_DST_REQ_STATIC): Remove macro.
30599 2013-06-21 Joseph Myers <joseph@codesourcery.com>
30602 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30603 with a shift of 0 bits.
30605 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30607 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30610 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30613 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30615 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30617 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30618 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30619 accepts -fno-tree-loop-distribute-patterns.
30620 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30621 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30623 * string/memset.c (memset): Likewise.
30624 * string/test-memmove.c (simple_memmove): Disable loop transformation
30626 * string/test-memset.c (simple_memset): Likewise.
30627 * benchtests/bench-memmove.c (simple_memmove): Likewise.
30628 * benchtests/bench-memset.c (simple_memset): Likewise.
30629 * configure: Regenerated.
30631 2013-06-20 Joseph Myers <joseph@codesourcery.com>
30633 * math/test-misc.c (main): Ignore fesetround failure when failures
30634 of subsequent rounding tests would be ignored.
30637 * math/fedisblxcpt.c (fedisableexcept): Return 0.
30638 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30639 * math/fegetenv.c (__fegetenv): Return 0.
30640 * math/fegetexcept.c (fegetexcept): Return 0.
30641 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30643 * math/feholdexcpt.c (feholdexcept): Return 0.
30644 * math/fesetenv.c (__fesetenv): Return 0.
30645 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30646 argument FE_TONEAREST.
30647 * math/feupdateenv.c (__feupdateenv): Return 0.
30648 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30650 2013-06-18 Roland McGrath <roland@hack.frob.com>
30652 * elf/rtld-Rules (rtld-compile-command.S): New variable.
30653 (rtld-compile-command.s, rtld-compile-command.c): New variables.
30654 ($(objpfx)rtld-%.os rules): Use them.
30656 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30658 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30661 2013-06-17 Roland McGrath <roland@hack.frob.com>
30663 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30664 length of target pattern, then descending length of dependency pattern.
30665 * configure.in (AWK): Require gawk 3.1.2 or newer.
30666 * manual/install.texi (Tools for Compilation): Say that we do.
30667 * configure: Regenerated.
30669 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30670 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30671 * scripts/sysd-rules.awk: ... this new script.
30672 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30673 than a glob-style pattern.
30675 2013-06-17 Joseph Myers <joseph@codesourcery.com>
30677 * math/test-misc.c (main): Do not treat incorrectly rounded
30678 conversions as failure unless ROUNDING_TESTS passes.
30680 2013-06-15 Joseph Myers <joseph@codesourcery.com>
30683 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30684 restore exception state around main square root computation, then
30685 check for inexactness explicitly.
30687 * math/libm-test.inc (fma_test_data): Add another test.
30689 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30691 * manual/threads.texi (Non-POSIX Extensions): New document
30692 node. Document pthread_getattr_default_np and
30693 pthread_setattr_default_np.
30695 * Versions.def (libpthread): Add GLIBC_2.18.
30696 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30705 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30716 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30719 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30721 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30722 H.J. Lu <hjl.tools@gmail.com>
30725 * sysdeps/x86_64/rtld-memset.c: Remove file.
30726 * sysdeps/x86_64/rtld-memset.S: New file.
30728 2013-06-14 Joseph Myers <joseph@codesourcery.com>
30730 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30731 (test_in_one_mode): Take arguments for whether the rounding mode
30732 is supported for each floating-point type.
30733 (do_test): Pass new arguments to test_in_one_mode using
30736 2013-06-13 Roland McGrath <roland@hack.frob.com>
30738 * posix/tst-waitid.c (do_test): Distinguish different instances of
30739 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
30740 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30741 before entering the kernel for waitpid.
30743 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30745 * NEWS: Fix note on clock function precision. Text by Roland
30748 2013-06-13 Roland McGrath <roland@hack.frob.com>
30750 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30751 it into place only when and if the sanity check passes.
30753 2013-06-13 Joseph Myers <joseph@codesourcery.com>
30755 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30756 output for whether conversion result is exact. Take argument
30757 indicating whether type is IBM long double.
30758 (round_for_all): Change need_exact field to ibm_ld.
30759 * stdlib/tst-strtod-round.c (struct exactness): New type.
30760 (struct test): Change bool ld_ok field to struct exactness exact.
30761 (TEST): Update all definitions for change to field.
30762 (tests): Regenerate array contents.
30763 (test_in_one_mode): Take pointer to new field instead of old ld_ok
30764 field value. Check for IBM long double here.
30765 (do_test): Update calls to test_in_one_mode.
30767 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30770 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30771 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30773 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30776 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30777 generated by the compiler on loop optimizations.
30778 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30779 general definitions.
30781 2013-06-12 Joseph Myers <joseph@codesourcery.com>
30783 * math/bug-nextafter.c: Include <math-tests.h>.
30784 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30786 * math/bug-nexttoward.c: Include <math-tests.h>.
30787 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30789 * math/test-misc.c: Include <math-tests.h>.
30790 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30793 2013-06-12 Andreas Jaeger <aj@suse.de>
30795 * po/ia.po: Update Interlingua translation from translation
30798 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30800 * include/fenv.h: Include stdbool.h.
30801 (struct rm_ctx): New structure.
30802 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30804 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30805 (SET_RESTORE_ROUNDF): Likewise.
30806 (SET_RESTORE_ROUNDL): Likewise.
30807 (SET_RESTORE_ROUND_NOEX): Likewise.
30808 (SET_RESTORE_ROUND_NOEXF): Likewise.
30809 (SET_RESTORE_ROUND_NOEXL): Likewise.
30810 (SET_RESTORE_ROUND_53BIT): Likewise.
30811 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30812 (libc_feresetround_noexf_ctx): Likewise.
30813 (libc_feresetround_noexl_ctx): Likewise.
30814 (libc_feholdsetround_53bit_ctx): Likewise.
30815 (libc_feresetround_53bit_ctx): Likewise.
30816 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30817 (libc_feholdexcept_setround_sse_ctx): New function.
30818 (libc_fesetenv_sse_ctx): Likewise.
30819 (libc_feupdateenv_sse_ctx): Likewise.
30820 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30821 (libc_feholdexcept_setround_387_ctx): Likewise.
30822 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30823 (libc_feholdsetround_387_prec_ctx): Likewise.
30824 (libc_feholdsetround_387_ctx): Likewise.
30825 (libc_feholdsetround_387_53bit_ctx): Likewise.
30826 (libc_feholdsetround_sse_ctx): Likewise.
30827 (libc_feresetround_sse_ctx): Likewise.
30828 (libc_feresetround_387_ctx): Likewise.
30829 (libc_feupdateenv_387_ctx): Likewise.
30830 (libc_feholdexcept_setroundf_ctx): Define macro.
30831 (libc_fesetenvf_ctx): Likewise.
30832 (libc_feupdateenvf_ctx): Likewise.
30833 (libc_feholdsetroundf_ctx): Likewise.
30834 (libc_feresetroundf_ctx): Likewise.
30835 (libc_feholdexcept_setround_ctx): Likewise.
30836 (libc_fesetenv_ctx): Likewise.
30837 (libc_feupdateenv_ctx): Likewise.
30838 (libc_feholdsetround_ctx): Likewise.
30839 (libc_feresetround_ctx): Likewise.
30840 (libc_feholdexcept_setroundl_ctx): Likewise.
30841 (libc_feupdateenvl_ctx): Likewise.
30842 (libc_feholdsetroundl_ctx): Likewise.
30843 (libc_feresetroundl_ctx): Likewise.
30844 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30845 (libc_feresetround_53bit_ctx): Likewise.
30847 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30849 * locale/iso-639.def: Convert to UTF-8.
30851 2013-06-11 Joseph Myers <joseph@codesourcery.com>
30853 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30854 (EXCEPTION_TESTS_double): Likewise.
30855 (EXCEPTION_TESTS_long_double): Likewise.
30856 (EXCEPTION_TESTS): Likewise.
30857 * math/libm-test.inc (test_exceptions): Only test exceptions if
30858 EXCEPTION_TESTS (FLOAT).
30860 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30862 * benchtests/Makefile (string-bench): Add strcpy_chk and
30864 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30865 * benchtests/bench-stpcpy_chk.c: New file.
30866 * benchtests/bench-strcpy_chk-ifunc.c: New file.
30867 * benchtests/bench-strcpy_chk.c: New file.
30868 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30870 (do_test): Likewise.
30872 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30874 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30875 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30876 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30877 with tabs where appropriate.
30878 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30880 [PPC_PLATFORM_PPC440]: Likewise.
30881 [PPC_PLATFORM_PPC464]: Likewise.
30882 [PPC_PLATFORM_PPC476]: Likewise.
30883 (_dl_string_platform): Add support for detecting ppc405, ppc440,
30884 ppc464, and ppc476 platform strings merging from ports/
30887 2013-06-11 Andreas Schwab <schwab@suse.de>
30890 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30891 (from_ucs4_idx): Regenerate.
30892 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30893 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30894 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30895 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30896 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30897 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30898 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30899 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30900 from FROM_LOOP and TO_LOOP specific macros.
30901 (BODY): Handle combining characters.
30902 * iconvdata/BIG5HKSCS.irreversible: Update.
30903 * iconvdata/BIG5HKSCS.precomposed: New file.
30904 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30906 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30908 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30910 * include/sys/time.h: Fix indentation and add copyright header.
30912 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30913 (do_test): Likewise.
30914 * string/test-memchr.c (do_one_test): Likewise.
30915 (do_test): Likewise.
30916 * string/test-memcmp.c (do_one_test): Likewise.
30917 (do_test): Likewise.
30918 * string/test-memcpy.c (do_one_test): Likewise.
30919 (do_test): Likewise.
30920 * string/test-memmem.c (do_one_test): Likewise.
30921 (do_test): Likewise.
30922 (do_random_tests): Likewise.
30923 * string/test-memmove.c (do_one_test): Likewise.
30924 (do_test): Likewise.
30925 * string/test-memset.c (do_one_test): Likewise.
30926 (do_test): Likewise.
30927 * string/test-rawmemchr.c (do_one_test): Likewise.
30928 (do_test): Likewise.
30929 * string/test-strcasecmp.c (do_one_test): Likewise.
30930 (do_test): Likewise.
30931 * string/test-strcasestr.c (do_one_test): Likewise.
30932 (do_test): Likewise.
30933 * string/test-strcat.c (do_one_test): Likewise.
30934 (do_test): Likewise.
30935 * string/test-strchr.c (do_one_test): Likewise.
30936 (do_test): Likewise.
30937 * string/test-strcmp.c (do_one_test): Likewise.
30938 (do_test): Likewise.
30939 * string/test-strcpy.c (do_one_test): Likewise.
30940 (do_test): Likewise.
30941 * string/test-string.h: Likewise.
30942 (test_init): Likewise.
30943 * string/test-strlen.c (do_one_test): Likewise.
30944 (do_test): Likewise.
30945 * string/test-strncasecmp.c (do_one_test): Likewise.
30946 (do_test): Likewise.
30947 * string/test-strncat.c (do_one_test): Likewise.
30948 (do_test): Likewise.
30949 * string/test-strncmp.c (do_one_test): Likewise.
30950 (do_test_limit): Likewise.
30951 (do_test): Likewise.
30952 * string/test-strncpy.c (do_one_test): Likewise.
30953 (do_test): Likewise.
30954 * string/test-strnlen.c (do_one_test): Likewise.
30955 (do_test): Likewise.
30956 * string/test-strpbrk.c (do_one_test): Likewise.
30957 (do_test): Likewise.
30958 * string/test-strrchr.c (do_one_test): Likewise.
30959 (do_test): Likewise.
30960 * string/test-strspn.c (do_one_test): Likewise.
30961 (do_test): Likewise.
30962 * string/test-strstr.c (do_one_test): Likewise.
30963 (do_test): Likewise.
30965 * benchtests/Makefile (string-bench): Add string benchmarks.
30966 * benchtests/bench-bcopy-ifunc.c: New file.
30967 * benchtests/bench-bcopy.c: New file.
30968 * benchtests/bench-bzero-ifunc.c: New file.
30969 * benchtests/bench-bzero.c: New file.
30970 * benchtests/bench-memccpy-ifunc.c: New file.
30971 * benchtests/bench-memccpy.c: New file.
30972 * benchtests/bench-memchr-ifunc.c: New file.
30973 * benchtests/bench-memchr.c: New file.
30974 * benchtests/bench-memcmp-ifunc.c: New file.
30975 * benchtests/bench-memcmp.c: New file.
30976 * benchtests/bench-memmem-ifunc.c: New file.
30977 * benchtests/bench-memmem.c: New file.
30978 * benchtests/bench-memmove-ifunc.c: New file.
30979 * benchtests/bench-memmove.c: New file.
30980 * benchtests/bench-mempcpy-ifunc.c: New file.
30981 * benchtests/bench-mempcpy.c: New file.
30982 * benchtests/bench-memset-ifunc.c: New file.
30983 * benchtests/bench-memset.c: New file.
30984 * benchtests/bench-rawmemchr-ifunc.c: New file.
30985 * benchtests/bench-rawmemchr.c: New file.
30986 * benchtests/bench-stpcpy-ifunc.c: New file.
30987 * benchtests/bench-stpcpy.c: New file.
30988 * benchtests/bench-stpncpy-ifunc.c: New file.
30989 * benchtests/bench-stpncpy.c: New file.
30990 * benchtests/bench-strcasecmp-ifunc.c: New file.
30991 * benchtests/bench-strcasecmp.c: New file.
30992 * benchtests/bench-strcasestr-ifunc.c: New file.
30993 * benchtests/bench-strcasestr.c: New file.
30994 * benchtests/bench-strcat-ifunc.c: New file.
30995 * benchtests/bench-strcat.c: New file.
30996 * benchtests/bench-strchr-ifunc.c: New file.
30997 * benchtests/bench-strchr.c: New file.
30998 * benchtests/bench-strchrnul-ifunc.c: New file.
30999 * benchtests/bench-strchrnul.c: New file.
31000 * benchtests/bench-strcmp-ifunc.c: New file.
31001 * benchtests/bench-strcmp.c: New file.
31002 * benchtests/bench-strcpy-ifunc.c: New file.
31003 * benchtests/bench-strcpy.c: New file.
31004 * benchtests/bench-strcspn-ifunc.c: New file.
31005 * benchtests/bench-strcspn.c: New file.
31006 * benchtests/bench-strlen-ifunc.c: New file.
31007 * benchtests/bench-strlen.c: New file.
31008 * benchtests/bench-strncasecmp-ifunc.c: New file.
31009 * benchtests/bench-strncasecmp.c: New file.
31010 * benchtests/bench-strncat-ifunc.c: New file.
31011 * benchtests/bench-strncat.c: New file.
31012 * benchtests/bench-strncmp-ifunc.c: New file.
31013 * benchtests/bench-strncmp.c: New file.
31014 * benchtests/bench-strncpy-ifunc.c: New file.
31015 * benchtests/bench-strncpy.c: New file.
31016 * benchtests/bench-strnlen-ifunc.c: New file.
31017 * benchtests/bench-strnlen.c: New file.
31018 * benchtests/bench-strpbrk-ifunc.c: New file.
31019 * benchtests/bench-strpbrk.c: New file.
31020 * benchtests/bench-strrchr-ifunc.c: New file.
31021 * benchtests/bench-strrchr.c: New file.
31022 * benchtests/bench-strspn-ifunc.c: New file.
31023 * benchtests/bench-strspn.c: New file.
31024 * benchtests/bench-strstr-ifunc.c: New file.
31025 * benchtests/bench-strstr.c: New file.
31027 * benchtests/Makefile: Disable parallel execution of targets.
31028 (string-bench): Add memcpy.
31029 (benchset): New variable to store a list of benchmark sets.
31030 (bench-func): Renamed from bench.
31031 (bench-set): New target.
31032 (bench): Depend on bench-func and bench-set.
31033 * benchtests/README: Add section on benchmark sets.
31034 * benchtests/bench-memcpy-ifunc.c: New file.
31035 * benchtests/bench-memcpy.c: New file.
31036 * benchtests/bench-string.h: New file.
31038 2013-06-11 Andreas Schwab <schwab@suse.de>
31041 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31042 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31043 values in the triple.
31044 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31045 terminator in the group key.
31047 2013-06-11 Andreas Jaeger <aj@suse.de>
31049 * po/zh_TW.po: Update Chinese (traditional) translation from
31050 translation project.
31052 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31054 * include/time.h (__clock_gettime): Add libc_hidden_proto.
31055 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31056 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
31057 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31058 (clock_getcpuclockid): Likewise.
31059 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31060 Add weak_alias and libc_hidden_def.
31061 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31062 * rt/clock_gettime.c (clock_gettime): Rename to
31063 __clock_gettime. Add weak_alias and libc_hidden_def.
31064 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31065 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31066 __clock_nanosleep. Add weak_alias and libc_hidden_def.
31067 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31068 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31070 * rt/clock_settime.c (clock_settime): Rename to
31071 __clock_settime. Add weak_alias and libc_hidden_def.
31072 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31074 2013-06-10 Joseph Myers <joseph@codesourcery.com>
31076 * mach/err_boot.sub: Remove trailing whitespace.
31077 * mach/err_ipc.sub: Likewise.
31078 * mach/err_mach.sub: Likewise.
31080 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31081 (ROUNDING_TESTS_double): Likewise.
31082 (ROUNDING_TESTS_long_double): Likewise.
31083 (ROUNDING_TESTS): Likewise.
31084 * math/libm-test.inc: Include <math-tests.h>.
31085 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31086 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31087 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31088 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31090 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31092 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31095 2013-06-08 Joseph Myers <joseph@codesourcery.com>
31097 * sysdeps/gnu/errlist.awk: Do not generate space at end of
31098 otherwise empty TRANS lines.
31099 * sysdeps/gnu/errlist.c: Regenerated.
31101 * catgets/gencat.c (error_print): Use (void) in function
31103 * crypt/crypt_util.c (__init_des): Likewise.
31104 * crypt/speeds.c (Stop): Likewise.
31106 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31107 * inet/ruserpass.c (token): Likewise.
31108 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31109 * intl/localealias.c (extend_alias_table): Likewise.
31110 * intl/plural-exp.c (init_germanic_plural): Likewise.
31111 * libio/fcloseall.c (__fcloseall): Likewise.
31112 * libio/genops.c (_IO_flush_all): Likewise.
31113 (_IO_flush_all_linebuffered): Likewise.
31114 (_IO_cleanup): Likewise.
31115 (_IO_iter_begin): Likewise.
31116 (_IO_iter_end): Likewise.
31117 (_IO_list_lock): Likewise.
31118 (_IO_list_unlock): Likewise.
31119 (_IO_list_resetlock): Likewise.
31120 * libio/getchar.c (getchar): Likewise.
31121 * libio/getchar_u.c (getchar_unlocked): Likewise.
31122 * libio/getwchar.c (getwchar): Likewise.
31123 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31124 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31125 * login/getpt.c (__getpt): Likewise.
31126 * login/tst-utmp.c (main): Likewise.
31127 * malloc/hooks.c (__malloc_check_init): Likewise.
31128 * malloc/malloc.c (__malloc_stats): Likewise.
31129 * malloc/mtrace.c (tr_break): Likewise.
31130 (mtrace): Likewise.
31131 (muntrace): Likewise.
31132 * misc/fstab.c (endfsent): Likewise.
31133 * misc/getclktck.c (__getclktck): Likewise.
31134 * misc/getdtsz.c (__getdtablesize): Likewise.
31135 * misc/gethostid.c (gethostid): Likewise.
31136 * misc/getpagesize.c (__getpagesize): Likewise.
31137 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31138 (__get_nprocs): Likewise.
31139 (__get_phys_pages): Likewise.
31140 (__get_avphys_pages): Likewise.
31141 * misc/getttyent.c (getttyent): Likewise.
31142 (setttyent): Likewise.
31143 (endttyent): Likewise.
31144 * misc/getusershell.c (getusershell): Likewise.
31145 (endusershell): Likewise.
31146 (setusershell): Likewise.
31147 (initshells): Likewise.
31148 * misc/hsearch.c (__hdestroy): Likewise.
31149 * misc/sync.c (sync): Likewise.
31150 * misc/syslog.c (closelog_internal): Likewise.
31151 (closelog): Likewise.
31152 * misc/ttyslot.c (ttyslot): Likewise.
31153 * misc/vhangup.c (vhangup): Likewise.
31154 * posix/fork.c (__fork): Likewise.
31155 * posix/getegid.c (__getegid): Likewise.
31156 * posix/geteuid.c (__geteuid): Likewise.
31157 * posix/getgid.c (__getgid): Likewise.
31158 * posix/getpid.c (__getpid): Likewise.
31159 * posix/getppid.c (__getppid): Likewise.
31160 * posix/getuid.c (__getuid): Likewise.
31161 * posix/pause.c (pause): Likewise.
31162 * posix/setpgrp.c (setpgrp): Likewise.
31163 * posix/setsid.c (__setsid): Likewise.
31164 * posix/test-vfork.c (noop): Likewise.
31165 * resolv/gethnamaddr.c (_endhtent): Likewise.
31166 (_gethtent): Likewise.
31167 (ht_endhostent): Likewise.
31168 (gethostent): Likewise.
31169 (dns_service): Likewise.
31170 * stdlib/drand48.c (drand48): Likewise.
31171 * stdlib/lrand48.c (lrand48): Likewise.
31172 * stdlib/mrand48.c (mrand48): Likewise.
31173 * stdlib/rand.c (rand): Likewise.
31174 * stdlib/random.c (__random): Likewise.
31175 * stdlib/setenv.c (clearenv): Likewise.
31176 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31177 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31178 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31179 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31180 (__get_nprocs): Likewise.
31181 (__get_phys_pages): Likewise.
31182 (__get_avphys_pages): Likewise.
31183 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31184 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31185 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31186 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31187 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31188 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31189 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31190 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31191 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31192 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31193 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31194 * sysdeps/mach/hurd/sync.c (sync): Likewise.
31195 * sysdeps/posix/clock.c (clock): Likewise.
31196 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31197 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31198 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31199 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31200 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31201 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31202 (__get_nprocs_conf): Likewise.
31203 (__get_phys_pages): Likewise.
31204 (__get_avphys_pages): Likewise.
31205 * time/clock.c (clock): Likewise.
31206 * time/tzset.c (__tzname_max): Likewise.
31208 2013-06-07 Joseph Myers <joseph@codesourcery.com>
31210 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31211 (__bswap_32): Do not use "register".
31212 * crypt/crypt.c (_ufc_doit_r): Likewise.
31213 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31214 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31215 * gmon/gmon.c (__monstartup): Likewise.
31216 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31217 * hurd/hurdmalloc.c (more_memory): Likewise.
31218 (malloc): Likewise.
31220 (realloc): Likewise.
31221 (malloc_fork_prepare): Likewise.
31222 (malloc_fork_parent): Likewise.
31223 (malloc_fork_child): Likewise.
31224 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31225 (_svcauth_des): Likewise.
31226 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31227 * inet/inet_net.c (inet_network): Likewise.
31228 * inet/inet_netof.c (inet_netof): Likewise.
31229 * inet/rcmd.c (__validuser2_sa): Likewise.
31230 * io/fts.c (fts_open): Likewise.
31231 (fts_load): Likewise.
31232 (fts_close): Likewise.
31233 (fts_read): Likewise.
31234 (fts_children): Likewise.
31235 (fts_build): Likewise.
31236 (fts_stat): Likewise.
31237 (fts_sort): Likewise.
31238 (fts_alloc): Likewise.
31239 (fts_lfree): Likewise.
31240 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31241 (_IO_file_xsgetn): Likewise.
31242 (_IO_file_xsgetn_mmap): Likewise.
31243 * libio/iofopncook.c (_IO_cookie_read): Likewise.
31244 (_IO_cookie_write): Likewise.
31245 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31246 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31247 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31248 * malloc/obstack.c (_obstack_begin): Likewise.
31249 (_obstack_begin_1): Likewise.
31250 (_obstack_newchunk): Likewise.
31251 (_obstack_allocated_p): Likewise.
31252 (obstack_free): Likewise.
31253 (_obstack_memory_used): Likewise.
31254 * misc/getttyent.c (getttynam): Likewise.
31255 (getttyent): Likewise.
31258 * misc/getusershell.c (initshells): Likewise.
31259 * misc/syslog.c (__vsyslog_chk): Likewise.
31260 * misc/ttyslot.c (ttyslot): Likewise.
31261 * nis/nis_hash.c (__nis_hash): Likewise.
31262 * posix/fnmatch_loop.c (FCT): Likewise.
31263 * posix/getconf.c (print_all): Likewise.
31265 * posix/getopt.c (exchange): Likewise.
31266 * posix/glob.c (globfree): Likewise.
31267 (prefix_array): Likewise.
31268 (__glob_pattern_type): Likewise.
31269 * resolv/arpa/nameser.h (NS_GET16): Likewise.
31270 (NS_GET32): Likewise.
31271 (NS_PUT16): Likewise.
31272 (NS_PUT32): Likewise.
31273 * resolv/gethnamaddr.c (getanswer): Likewise.
31274 (gethostbyname2): Likewise.
31275 (gethostbyaddr): Likewise.
31276 (_gethtent): Likewise.
31277 (_gethtbyname2): Likewise.
31278 (_gethtbyaddr): Likewise.
31279 * resolv/ns_print.c (dst_s_get_int16): Likewise.
31280 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31281 * resolv/res_init.c (__res_vinit): Likewise.
31282 (net_mask): Likewise.
31283 * resolv/res_mkquery.c (outchar): Likewise.
31285 * stdio-common/printf_fp.c (outchar): Likewise.
31287 * stdio-common/printf_fphex.c (outchar): Likewise.
31289 * stdio-common/printf_size.c (outchar): Likewise.
31291 * stdio-common/test_rdwr.c (main): Likewise.
31292 * stdio-common/tfformat.c (matches): Likewise.
31293 * stdio-common/vfprintf.c (outchar): Likewise.
31294 (printf_unknown): Likewise.
31295 (buffered_vfprintf): Likewise.
31296 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31297 * stdio-common/xbug.c (AppendToBuffer): Likewise.
31298 (ReadFile): Likewise.
31299 * stdlib/qsort.c (SWAP): Likewise.
31300 (_quicksort): Likewise.
31301 * stdlib/setenv.c (__add_to_environ): Likewise.
31302 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31303 * stdlib/strtol_l.c (__strtol_l): Likewise.
31304 * stdlib/tst-strtod.c (main): Likewise.
31305 * stdlib/tst-strtol.c (main): Likewise.
31306 * stdlib/tst-strtoll.c (main): Likewise.
31307 * string/bits/string2.h (__strcmp_cc): Likewise.
31308 (__strcmp_cg): Likewise.
31309 (__strcspn_c1): Likewise.
31310 (__strcspn_c2): Likewise.
31311 (__strcspn_c3): Likewise.
31312 (__strspn_c1): Likewise.
31313 (__strspn_c2): Likewise.
31314 (__strspn_c3): Likewise.
31315 (__strsep_1c): Likewise.
31316 (__strsep_2c): Likewise.
31317 (__strsep_3c): Likewise.
31318 * string/memccpy.c (__memccpy): Likewise.
31319 * string/stpcpy.c (__stpcpy): Likewise.
31320 * string/strcmp.c (strcmp): Likewise.
31321 * string/strrchr.c (strrchr): Likewise.
31322 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31324 * sysdeps/mach/hurd/getcwd.c
31325 (_hurd_canonicalize_directory_name_internal): Likewise.
31326 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31327 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31328 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31329 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31330 Likewise, in both definitions.
31331 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31333 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31334 64] (__bswap_64): Likewise.
31335 * time/test_time.c (main): Likewise.
31336 * time/tzfile.c (__tzfile_read): Likewise.
31337 (__tzfile_compute): Likewise.
31338 * time/tzset.c (__tzset_parse_tz): Likewise.
31339 (tzset_internal): Likewise.
31340 (compute_change): Likewise.
31341 * wcsmbs/wcscat.c (__wcscat): Likewise.
31342 * wcsmbs/wcschr.c (wcschr): Likewise.
31343 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31344 * wcsmbs/wcscspn.c (wcscspn): Likewise.
31345 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31346 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31347 * wcsmbs/wcsspn.c (wcsspn): Likewise.
31348 * wcsmbs/wcsstr.c (wcsstr): Likewise.
31349 * wcsmbs/wmemchr.c (wmemchr): Likewise.
31350 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31351 * wcsmbs/wmemset.c (wmemset): Likewise.
31353 2013-06-06 Joseph Myers <joseph@codesourcery.com>
31355 * scripts/config.guess: Update to version 2013-05-16.
31356 * scripts/config.sub: Update to version 2013-04-24.
31357 * scripts/install-sh: Update to version 2011-11-20.07.
31358 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31359 * scripts/move-if-change: Update to version 2012-01-06 07:23.
31361 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
31363 * debug/fgetws_u_chk.c: Fix leading whitespaces.
31364 * elf/sln.c: Likewise.
31365 * hurd/hurd/ioctl.h: Likewise.
31366 * hurd/hurdmalloc.c: Likewise.
31367 * hurd/xattr.c: Likewise.
31368 * include/shlib-compat.h: Likewise.
31369 * inet/ruserpass.c: Likewise.
31370 * libio/iofgets_u.c: Likewise.
31371 * libio/iofgetws_u.c: Likewise.
31372 * locale/programs/ld-identification.c: Likewise.
31373 * locale/programs/ld-time.c: Likewise.
31374 * mach/msg-destroy.c: Likewise.
31375 * nss/nss_files/files-netgrp.c: Likewise.
31376 * resolv/res_data.c: Likewise.
31377 * soft-fp/op-1.h: Likewise.
31378 * soft-fp/op-2.h: Likewise.
31379 * soft-fp/op-4.h: Likewise.
31380 * soft-fp/op-common.h: Likewise.
31381 * stdio-common/printf_fphex.c: Likewise.
31382 * stdlib/strtod_l.c: Likewise.
31383 * sunrpc/rpc/clnt.h: Likewise.
31384 * sysdeps/generic/framestate.c: Likewise.
31385 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31386 * sysdeps/i386/bsd-setjmp.S: Likewise.
31387 * sysdeps/i386/__longjmp.S: Likewise.
31388 * sysdeps/i386/setjmp.S: Likewise.
31389 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31390 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31391 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31392 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31393 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31394 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31395 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31396 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31397 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31398 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31399 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31400 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31401 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31402 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31403 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31404 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31405 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31406 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31407 * sysdeps/ieee754/support.c: Likewise.
31408 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31409 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31410 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31411 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31412 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31413 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31414 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31415 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31416 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31417 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31418 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31419 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31420 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31421 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31422 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31423 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31424 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31427 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
31429 * posix/transbug.c: Remove executable mode.
31431 2013-06-05 Joseph Myers <joseph@codesourcery.com>
31433 * crypt/speeds.c: Remove trailing whitespace.
31434 * dlfcn/default.c: Likewise.
31435 * elf/ifuncdep2.c: Likewise.
31436 * elf/ifuncmain1.c: Likewise.
31437 * elf/ifuncmain1vis.c: Likewise.
31438 * elf/testobj.h: Likewise.
31439 * elf/tst-stackguard1.c: Likewise.
31440 * gmon/sys/gmon.h: Likewise.
31441 * hurd/hurdmsg.c: Likewise.
31442 * hurd/new-fd.c: Likewise.
31443 * hurd/ports-get.c: Likewise.
31444 * iconvdata/ibm1008_420.c: Likewise.
31445 * inet/tst-getni1.c: Likewise.
31446 * inet/tst-getni2.c: Likewise.
31447 * libio/ioungetc.c: Likewise.
31448 * libio/wfiledoalloc.c: Likewise.
31449 * manual/libm-err-tab.pl: Likewise.
31450 * math/w_dremf.c: Likewise.
31451 * misc/ftruncate.c: Likewise.
31452 * posix/bug-glob2.c: Likewise.
31453 * posix/tst-pcre.c: Likewise.
31454 * posix/wait4.c: Likewise.
31455 * resolv/README: Likewise.
31456 * resolv/res_debug.h: Likewise.
31457 * resolv/tst-inet_ntop.c: Likewise.
31458 * setjmp/bug269-setjmp.c: Likewise.
31459 * soft-fp/extended.h: Likewise.
31460 * soft-fp/op-1.h: Likewise.
31461 * soft-fp/op-2.h: Likewise.
31462 * soft-fp/op-4.h: Likewise.
31463 * soft-fp/op-8.h: Likewise.
31464 * soft-fp/testit.c: Likewise.
31465 * stdio-common/bug16.c: Likewise.
31466 * stdlib/random.c: Likewise.
31467 * sunrpc/rpcsvc/rquota.x: Likewise.
31468 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31469 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31470 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31471 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31472 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31473 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31474 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31475 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31476 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31477 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31478 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31479 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31480 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31481 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31482 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31483 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31484 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31485 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31486 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31487 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31488 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31489 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31490 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31491 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31492 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31493 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31494 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31495 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31496 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31497 * sysdeps/ieee754/s_lib_version.c: Likewise.
31498 * sysdeps/mach/hurd/check_fds.c: Likewise.
31499 * sysdeps/mach/hurd/getsockname.c: Likewise.
31500 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31501 * sysdeps/mach/hurd/recvfrom.c: Likewise.
31502 * sysdeps/powerpc/bits/link.h: Likewise.
31503 * sysdeps/powerpc/dl-procinfo.c: Likewise.
31504 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31505 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31506 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31507 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31508 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31509 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31510 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31511 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31512 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31513 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31514 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31515 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31516 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31517 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31518 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31519 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31520 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31521 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31522 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31523 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31524 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31525 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31526 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31527 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31528 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31529 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31530 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31531 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31532 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31533 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31535 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31536 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31537 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31538 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31539 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31540 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31541 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31542 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31543 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31544 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31545 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31546 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31547 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31548 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31549 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31550 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31551 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31552 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31553 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31554 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31555 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31556 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31557 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31558 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31559 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31560 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31561 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31562 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31563 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31564 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31565 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31566 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31567 * sysdeps/powerpc/sysdep.h: Likewise.
31568 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31569 * sysdeps/s390/s390-64/sub_n.S: Likewise.
31570 * sysdeps/sh/dl-trampoline.S: Likewise.
31571 * sysdeps/sh/memset.S: Likewise.
31572 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31573 * sysdeps/sh/strlen.S: Likewise.
31574 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31575 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31576 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31577 * sysdeps/sparc/sparc32/rem.S: Likewise.
31578 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31579 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31580 * sysdeps/sparc/sparc32/strchr.S: Likewise.
31581 * sysdeps/sparc/sparc32/udiv.S: Likewise.
31582 * sysdeps/sparc/sparc32/urem.S: Likewise.
31583 * sysdeps/sparc/sparc64/add_n.S: Likewise.
31584 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31585 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31586 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31587 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31588 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31589 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31590 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31591 * sysdeps/unix/bsd/times.c: Likewise.
31592 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31593 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31597 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31598 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31599 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31600 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31601 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31602 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31603 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31604 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31605 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31606 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31607 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31608 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31609 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31610 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31611 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31612 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31613 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31614 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31615 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31616 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31617 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31618 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31619 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31620 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31621 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31622 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31623 * sysdeps/x86_64/strcspn.S: Likewise.
31625 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31627 * locale/C-translit.h: Revert #include <stdint.h> because this is a
31628 generated file. Regenerate properly from gen-translit.pl.
31629 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
31630 locale/C-translit.h.
31632 2013-06-05 Andreas Schwab <schwab@suse.de>
31635 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31636 week as 6 instead of -1.
31637 * time/tst-strptime.c (day_tests): Add test case.
31639 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31641 * sysdeps/generic/math_private.h
31642 (libc_feholdexcept_setround_53bit): Replace with
31643 libc_feholdsetround_53bit.
31644 (libc_feupdateenv_53bit): Replace with
31645 libc_feresetround_53bit.
31646 (SET_RESTORE_ROUND_53BIT): Adjust.
31648 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31650 * string/test-strchrnul.c: Add copyright header.
31652 * posix/tst-getaddrinfo4.c: Increase test timeout.
31654 2013-06-03 Carlos O'Donell <carlos@redhat.com>
31657 * math/libm-test.inc (MAX_EXP): Remove
31659 (ulp): Use MIN_EXP - MANT_DIG.
31660 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31662 2013-05-31 Carlos O'Donell <carlos@redhat.com>
31664 * po/be.po: Revert last change.
31665 * po/zh_CN.po: Likewise.
31666 * po/header.pot: Likewise.
31668 2013-05-31 Joseph Myers <joseph@codesourcery.com>
31670 * Makefile ($(common-objpfx)linkobj/libc.so): Define
31671 link-libc-deps to empty as target-specific variable.
31672 * Makerules (link-libc-args): New variable.
31673 (libc-for-link): Likewise.
31674 (link-libc-deps): Likewise.
31675 (lib%.so): Depend on $(link-libc-deps). Link with
31677 (build-module): Link with $(link-libc-args).
31678 (build-module-asneeded): Likewise.
31679 (build-module-helper-objlist): Filter out $(link-libc-deps) from
31681 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31682 target-specific variable.
31683 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31684 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31685 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31687 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31689 ($(objpfx)libpcprofile.so): Likewise.
31690 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31692 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31693 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31694 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31696 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31697 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31698 * login/Makefile ($(objpfx)libutil.so): Likewise.
31699 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31700 * math/Makefile ($(objpfx)libm.so): Likewise.
31701 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31702 $(objpfx)libnsl.so): Define libc-for-link as target-specific
31703 variable instead of depending directly on libc.
31704 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31705 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31707 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31709 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31710 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31711 ($(objpfx)libanl.so): Likewise.
31712 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31714 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31716 * sysdeps/i386/fpu/Makefile: Remove file.
31717 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31718 ($(objpfx)libm.so): Remove dependency on ld.so.
31720 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
31723 * nis/yp_xdr.c (XDRMAXNAME): Define.
31724 (XDRMAXRECORD): Define.
31725 (xdr_domainname): Use XDRMAXNAME.
31726 (xdr_mapname): Likewise.
31727 (xdr_peername): Likewise.
31728 (xdr_keydat): Use XDRMAXRECORD.
31729 (xdr_valdat): Likewise.
31731 2013-05-30 Jeff Law <law@redhat.com>
31734 * manual/errno.texi (ESTALE): Update to account for more than
31735 just NFS file systems.
31736 * sysdeps/gnu/errlist.c: Regenerated.
31738 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31741 * elf/Makefile (tests): Add tst-null-argv.
31742 (modules-names): Add tst-null-argv-lib.
31743 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31744 (tst-null-argv-ENV): Set environment for tst-null-argv.
31745 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31746 (RTLD_PROGNAME): New macro.
31747 * elf/tst-null-argv.c: New test case.
31748 * elf/tst-null-argv-lib.c: Library for test case.
31749 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31750 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31751 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31752 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31753 * elf/dl-init.c (call_init): Likewise.
31754 (_dl_init): Likewise.
31755 * elf/dl-load.c (print_search_path): Likewise.
31756 (_dl_map_object): Likewise.
31757 * elf/dl-lookup.c (do_lookup_x): Likewise.
31758 (add_dependency): Likewise.
31759 (_dl_lookup_symbol_x): Likewise.
31760 (_dl_debug_bindings): Likewise.
31761 * elf/dl-open.c (_dl_show_scope): Likewise.
31762 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31763 * elf/dl-version.c (match_symbol): Likewise.
31764 (_dl_check_map_versions): Likewise.
31765 * elf/rtld.c (dl_main): Likewise.
31766 (print_unresolved): Use RTLD_PROGNAME.
31767 (print_missing_version): Likewise.
31768 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31769 (elf_machine_rela): Likewise.
31770 * sysdeps/powerpc/powerpc32/dl-machine.c
31771 (__process_machine_rela): Likewise.
31772 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31774 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31776 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31778 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31779 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31781 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31783 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31785 2013-05-28 Carlos O'Donell <carlos@redhat.com>
31787 * po/be.po: Add descriptive title.
31788 * po/zh_CN.po: Likewise.
31789 * po/header.pot: Likewise.
31791 2013-05-28 Mike Frysinger <vapier@gentoo.org>
31793 * locale/programs/locarchive.c (create_archive): Inlucde fname in
31795 (enlarge_archive): Likewise.
31797 2013-05-28 Ben North <ben@redfrontdoor.org>
31799 * manual/arith.texi (frexp): It is the magnitude of the return
31800 value which lies in [0.5, 1), not the return value itself.
31802 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31806 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
31808 * stdio-common/bug26.c (main): Correct fscanf template.
31810 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31811 declare _dl_skip_args.
31813 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31816 * manual/platform.texi: Add missing @end deftypefun.
31818 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31821 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31822 bit of mantissa of 2^16382.
31823 * math/libm-test.inc (hypot_test_data): Add more tests.
31825 * math/libm-test.inc: Add drem and pow10 to list of tested
31827 (pow10_test): New function.
31828 (drem_test): Likewise.
31829 (drem_test_tonearest): Likewise.
31830 (drem_test_towardzero): Likewise.
31831 (drem_test_downward): Likewise.
31832 (drem_test_upward): Likewise.
31833 (main): Call the new functions.
31835 * math/libm-test.inc (finite_test_data): Remove.
31836 (finite_test): Run tests from isfinite_test_data.
31837 (gamma_test_data): Remove.
31838 (gamma_test): Run tests from lgamma_test_data.
31839 * sysdeps/i386/fpu/libm-test-ulps: Update.
31840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31842 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31844 * manual/platform.texi: Add PowerPC PPR function set documentation.
31845 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31848 2013-05-24 Carlos O'Donell <carlos@redhat.com>
31850 * math/libm-test.inc (MAX_EXP): Define.
31852 (ulp): New function.
31853 (check_float_internal): Use ULPDIFF.
31854 (cpow_test): Disable failing test.
31855 (check_ulp): Test ulp() implemetnation.
31856 (main): Call check_ulp before starting tests.
31858 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31860 * math/gen-libm-test.pl (generate_testfile): Do not handle
31861 START_DATA and END_DATA.
31862 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31864 (acos_tonearest_test_data): Likewise.
31865 (acos_towardzero_test_data): Likewise.
31866 (acos_downward_test_data): Likewise.
31867 (acos_upward_test_data): Likewise.
31868 (acosh_test_data): Likewise.
31869 (asin_test_data): Likewise.
31870 (asin_tonearest_test_data): Likewise.
31871 (asin_towardzero_test_data): Likewise.
31872 (asin_downward_test_data): Likewise.
31873 (asin_upward_test_data): Likewise.
31874 (asinh_test_data): Likewise.
31875 (atan_test_data): Likewise.
31876 (atanh_test_data): Likewise.
31877 (atan2_test_data): Likewise.
31878 (cabs_test_data): Likewise.
31879 (cacos_test_data): Likewise.
31880 (cacosh_test_data): Likewise.
31881 (carg_test_data): Likewise.
31882 (casin_test_data): Likewise.
31883 (casinh_test_data): Likewise.
31884 (catan_test_data): Likewise.
31885 (catanh_test_data): Likewise.
31886 (cbrt_test_data): Likewise.
31887 (ccos_test_data): Likewise.
31888 (ccosh_test_data): Likewise.
31889 (ceil_test_data): Likewise.
31890 (cexp_test_data): Likewise.
31891 (cimag_test_data): Likewise.
31892 (clog_test_data): Likewise.
31893 (clog10_test_data): Likewise.
31894 (conj_test_data): Likewise.
31895 (copysign_test_data): Likewise.
31896 (cos_test_data): Likewise.
31897 (cos_tonearest_test_data): Likewise.
31898 (cos_towardzero_test_data): Likewise.
31899 (cos_downward_test_data): Likewise.
31900 (cos_upward_test_data): Likewise.
31901 (cosh_test_data): Likewise.
31902 (cosh_tonearest_test_data): Likewise.
31903 (cosh_towardzero_test_data): Likewise.
31904 (cosh_downward_test_data): Likewise.
31905 (cosh_upward_test_data): Likewise.
31906 (cpow_test_data): Likewise.
31907 (cproj_test_data): Likewise.
31908 (creal_test_data): Likewise.
31909 (csin_test_data): Likewise.
31910 (csinh_test_data): Likewise.
31911 (csqrt_test_data): Likewise.
31912 (ctan_test_data): Likewise.
31913 (ctan_tonearest_test_data): Likewise.
31914 (ctan_towardzero_test_data): Likewise.
31915 (ctan_downward_test_data): Likewise.
31916 (ctan_upward_test_data): Likewise.
31917 (ctanh_test_data): Likewise.
31918 (ctanh_tonearest_test_data): Likewise.
31919 (ctanh_towardzero_test_data): Likewise.
31920 (ctanh_downward_test_data): Likewise.
31921 (ctanh_upward_test_data): Likewise.
31922 (erf_test_data): Likewise.
31923 (erfc_test_data): Likewise.
31924 (exp_test_data): Likewise.
31925 (exp_tonearest_test_data): Likewise.
31926 (exp_towardzero_test_data): Likewise.
31927 (exp_downward_test_data): Likewise.
31928 (exp_upward_test_data): Likewise.
31929 (exp10_test_data): Likewise.
31930 (exp2_test_data): Likewise.
31931 (expm1_test_data): Likewise.
31932 (fabs_test_data): Likewise.
31933 (fdim_test_data): Likewise.
31934 (finite_test_data): Likewise.
31935 (floor_test_data): Likewise.
31936 (fma_test_data): Likewise.
31937 (fma_towardzero_test_data): Likewise.
31938 (fma_downward_test_data): Likewise.
31939 (fma_upward_test_data): Likewise.
31940 (fmax_test_data): Likewise.
31941 (fmin_test_data): Likewise.
31942 (fmod_test_data): Likewise.
31943 (fpclassify_test_data): Likewise.
31944 (frexp_test_data): Likewise.
31945 (gamma_test_data): Likewise.
31946 (hypot_test_data): Likewise.
31947 (ilogb_test_data): Likewise.
31948 (isfinite_test_data): Likewise.
31949 (isgreater_test_data): Likewise.
31950 (isgreaterequal_test_data): Likewise.
31951 (isinf_test_data): Likewise.
31952 (isless_test_data): Likewise.
31953 (islessequal_test_data): Likewise.
31954 (islessgreater_test_data): Likewise.
31955 (isnan_test_data): Likewise.
31956 (isnormal_test_data): Likewise.
31957 (issignaling_test_data): Likewise.
31958 (isunordered_test_data): Likewise.
31959 (j0_test_data): Likewise.
31960 (j1_test_data): Likewise.
31961 (jn_test_data): Likewise.
31962 (ldexp_test_data): Likewise.
31963 (lgamma_test_data): Likewise.
31964 (lrint_test_data): Likewise.
31965 (lrint_tonearest_test_data): Likewise.
31966 (lrint_towardzero_test_data): Likewise.
31967 (lrint_downward_test_data): Likewise.
31968 (lrint_upward_test_data): Likewise.
31969 (llrint_test_data): Likewise.
31970 (llrint_tonearest_test_data): Likewise.
31971 (llrint_towardzero_test_data): Likewise.
31972 (llrint_downward_test_data): Likewise.
31973 (llrint_upward_test_data): Likewise.
31974 (log_test_data): Likewise.
31975 (log10_test_data): Likewise.
31976 (log1p_test_data): Likewise.
31977 (log2_test_data): Likewise.
31978 (logb_test_data): Likewise.
31979 (logb_downward_test_data): Likewise.
31980 (lround_test_data): Likewise.
31981 (llround_test_data): Likewise.
31982 (modf_test_data): Likewise.
31983 (nearbyint_test_data): Likewise.
31984 (nextafter_test_data): Likewise.
31985 (nexttoward_test_data): Likewise.
31986 (pow_test_data): Likewise.
31987 (pow_tonearest_test_data): Likewise.
31988 (pow_towardzero_test_data): Likewise.
31989 (pow_downward_test_data): Likewise.
31990 (pow_upward_test_data): Likewise.
31991 (remainder_test_data): Likewise.
31992 (remainder_tonearest_test_data): Likewise.
31993 (remainder_towardzero_test_data): Likewise.
31994 (remainder_downward_test_data): Likewise.
31995 (remainder_upward_test_data): Likewise.
31996 (remquo_test_data): Likewise.
31997 (rint_test_data): Likewise.
31998 (rint_tonearest_test_data): Likewise.
31999 (rint_towardzero_test_data): Likewise.
32000 (rint_downward_test_data): Likewise.
32001 (rint_upward_test_data): Likewise.
32002 (round_test_data): Likewise.
32003 (scalb_test_data): Likewise.
32004 (scalbn_test_data): Likewise.
32005 (scalbln_test_data): Likewise.
32006 (signbit_test_data): Likewise.
32007 (sin_test_data): Likewise.
32008 (sin_tonearest_test_data): Likewise.
32009 (sin_towardzero_test_data): Likewise.
32010 (sin_downward_test_data): Likewise.
32011 (sin_upward_test_data): Likewise.
32012 (sincos_test_data): Likewise.
32013 (sinh_test_data): Likewise.
32014 (sinh_tonearest_test_data): Likewise.
32015 (sinh_towardzero_test_data): Likewise.
32016 (sinh_downward_test_data): Likewise.
32017 (sinh_upward_test_data): Likewise.
32018 (sqrt_test_data): Likewise.
32019 (tan_test_data): Likewise.
32020 (tan_tonearest_test_data): Likewise.
32021 (tan_towardzero_test_data): Likewise.
32022 (tan_downward_test_data): Likewise.
32023 (tan_upward_test_data): Likewise.
32024 (tanh_test_data): Likewise.
32025 (tgamma_test_data): Likewise.
32026 (trunc_test_data): Likewise.
32027 (y0_test_data): Likewise.
32028 (y1_test_data): Likewise.
32029 (yn_test_data): Likewise.
32030 (significand_test_data): Likewise.
32032 * math/gen-libm-test.pl (@functions): Remove variable.
32033 (generate_testfile): Don't handle START and END lines.
32034 * math/libm-test.inc (START): New macro.
32036 (END_COMPLEX): Likewise.
32037 (acos_test): Use END macro without arguments.
32038 (acos_test_tonearest): Likewise.
32039 (acos_test_towardzero): Likewise.
32040 (acos_test_downward): Likewise.
32041 (acos_test_upward): Likewise.
32042 (acosh_test): Likewise.
32043 (asin_test): Likewise.
32044 (asin_test_tonearest): Likewise.
32045 (asin_test_towardzero): Likewise.
32046 (asin_test_downward): Likewise.
32047 (asin_test_upward): Likewise.
32048 (asinh_test): Likewise.
32049 (atan_test): Likewise.
32050 (atanh_test): Likewise.
32051 (atan2_test): Likewise.
32052 (cabs_test): Likewise.
32053 (cacos_test): Use END_COMPLEX macro without arguments.
32054 (cacosh_test): Likewise.
32055 (carg_test): Use END macro without arguments.
32056 (casin_test): Use END_COMPLEX macro without arguments.
32057 (casinh_test): Likewise.
32058 (catan_test): Likewise.
32059 (catanh_test): Likewise.
32060 (cbrt_test): Use END macro without arguments.
32061 (ccos_test): Use END_COMPLEX macro without arguments.
32062 (ccosh_test): Likewise.
32063 (ceil_test): Use END macro without arguments.
32064 (cexp_test): Use END_COMPLEX macro without arguments.
32065 (cimag_test): Use END macro without arguments.
32066 (clog_test): Use END_COMPLEX macro without arguments.
32067 (clog10_test): Likewise.
32068 (conj_test): Likewise.
32069 (copysign_test): Use END macro without arguments.
32070 (cos_test): Likewise.
32071 (cos_test_tonearest): Likewise.
32072 (cos_test_towardzero): Likewise.
32073 (cos_test_downward): Likewise.
32074 (cos_test_upward): Likewise.
32075 (cosh_test): Likewise.
32076 (cosh_test_tonearest): Likewise.
32077 (cosh_test_towardzero): Likewise.
32078 (cosh_test_downward): Likewise.
32079 (cosh_test_upward): Likewise.
32080 (cpow_test): Use END_COMPLEX macro without arguments.
32081 (cproj_test): Likewise.
32082 (creal_test): Use END macro without arguments.
32083 (csin_test): Use END_COMPLEX macro without arguments.
32084 (csinh_test): Likewise.
32085 (csqrt_test): Likewise.
32086 (ctan_test): Likewise.
32087 (ctan_test_tonearest): Likewise.
32088 (ctan_test_towardzero): Likewise.
32089 (ctan_test_downward): Likewise.
32090 (ctan_test_upward): Likewise.
32091 (ctanh_test): Likewise.
32092 (ctanh_test_tonearest): Likewise.
32093 (ctanh_test_towardzero): Likewise.
32094 (ctanh_test_downward): Likewise.
32095 (ctanh_test_upward): Likewise.
32096 (erf_test): Use END macro without arguments.
32097 (erfc_test): Likewise.
32098 (exp_test): Likewise.
32099 (exp_test_tonearest): Likewise.
32100 (exp_test_towardzero): Likewise.
32101 (exp_test_downward): Likewise.
32102 (exp_test_upward): Likewise.
32103 (exp10_test): Likewise.
32104 (exp2_test): Likewise.
32105 (expm1_test): Likewise.
32106 (fabs_test): Likewise.
32107 (fdim_test): Likewise.
32108 (finite_test): Likewise.
32109 (floor_test): Likewise.
32110 (fma_test): Likewise.
32111 (fma_test_towardzero): Likewise.
32112 (fma_test_downward): Likewise.
32113 (fma_test_upward): Likewise.
32114 (fmax_test): Likewise.
32115 (fmin_test): Likewise.
32116 (fmod_test): Likewise.
32117 (fpclassify_test): Likewise.
32118 (frexp_test): Likewise.
32119 (gamma_test): Likewise.
32120 (hypot_test): Likewise.
32121 (ilogb_test): Likewise.
32122 (isfinite_test): Likewise.
32123 (isgreater_test): Likewise.
32124 (isgreaterequal_test): Likewise.
32125 (isinf_test): Likewise.
32126 (isless_test): Likewise.
32127 (islessequal_test): Likewise.
32128 (islessgreater_test): Likewise.
32129 (isnan_test): Likewise.
32130 (isnormal_test): Likewise.
32131 (issignaling_test): Likewise.
32132 (isunordered_test): Likewise.
32133 (j0_test): Likewise.
32134 (j1_test): Likewise.
32135 (jn_test): Likewise.
32136 (ldexp_test): Likewise.
32137 (lgamma_test): Likewise.
32138 (lrint_test): Likewise.
32139 (lrint_test_tonearest): Likewise.
32140 (lrint_test_towardzero): Likewise.
32141 (lrint_test_downward): Likewise.
32142 (lrint_test_upward): Likewise.
32143 (llrint_test): Likewise.
32144 (llrint_test_tonearest): Likewise.
32145 (llrint_test_towardzero): Likewise.
32146 (llrint_test_downward): Likewise.
32147 (llrint_test_upward): Likewise.
32148 (log_test): Likewise.
32149 (log10_test): Likewise.
32150 (log1p_test): Likewise.
32151 (log2_test): Likewise.
32152 (logb_test): Likewise.
32153 (logb_test_downward): Likewise.
32154 (lround_test): Likewise.
32155 (llround_test): Likewise.
32156 (modf_test): Likewise.
32157 (nearbyint_test): Likewise.
32158 (nextafter_test): Likewise.
32159 (nexttoward_test): Likewise.
32160 (pow_test): Likewise.
32161 (pow_test_tonearest): Likewise.
32162 (pow_test_towardzero): Likewise.
32163 (pow_test_downward): Likewise.
32164 (pow_test_upward): Likewise.
32165 (remainder_test): Likewise.
32166 (remainder_test_tonearest): Likewise.
32167 (remainder_test_towardzero): Likewise.
32168 (remainder_test_downward): Likewise.
32169 (remainder_test_upward): Likewise.
32170 (remquo_test): Likewise.
32171 (rint_test): Likewise.
32172 (rint_test_tonearest): Likewise.
32173 (rint_test_towardzero): Likewise.
32174 (rint_test_downward): Likewise.
32175 (rint_test_upward): Likewise.
32176 (round_test): Likewise.
32177 (scalb_test): Likewise.
32178 (scalbn_test): Likewise.
32179 (scalbln_test): Likewise.
32180 (signbit_test): Likewise.
32181 (sin_test): Likewise.
32182 (sin_test_tonearest): Likewise.
32183 (sin_test_towardzero): Likewise.
32184 (sin_test_downward): Likewise.
32185 (sin_test_upward): Likewise.
32186 (sincos_test): Likewise.
32187 (sinh_test): Likewise.
32188 (sinh_test_tonearest): Likewise.
32189 (sinh_test_towardzero): Likewise.
32190 (sinh_test_downward): Likewise.
32191 (sinh_test_upward): Likewise.
32192 (sqrt_test): Likewise.
32193 (tan_test): Likewise.
32194 (tan_test_tonearest): Likewise.
32195 (tan_test_towardzero): Likewise.
32196 (tan_test_downward): Likewise.
32197 (tan_test_upward): Likewise.
32198 (tanh_test): Likewise.
32199 (tgamma_test): Likewise.
32200 (trunc_test): Likewise.
32201 (y0_test): Likewise.
32202 (y1_test): Likewise.
32203 (yn_test): Likewise.
32204 (significand_test): Likewise.
32206 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
32209 * libio/genops.c (_IO_no_init): Initialize wide struct info.
32211 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
32214 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32215 __ppc_mdoio and __ppc_mdoom.
32216 * manual/platform.texi: Document new functions __ppc_yield,
32217 __ppc_mdoio and __ppc_mdoom.
32219 2013-05-22 Carlos O'Donell <carlos@redhat.com>
32221 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32222 (main): Mention "tls" pseudo-hwcap is legacy.
32223 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32225 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32227 * math/gen-libm-test.pl (parse_args): Output only string of
32228 arguments as text for test name, not full call or descriptions of
32229 tests for extra outputs.
32230 (generate_testfile): Do not pass function name to parse_args.
32231 Generate this_func variable from START.
32232 * math/libm-test.inc (struct test_f_f_data): Rename test_name
32234 (struct test_ff_f_data): Likewise.
32235 (test_ff_f_data_nexttoward): Likewise.
32236 (struct test_fi_f_data): Likewise.
32237 (struct test_fl_f_data): Likewise.
32238 (struct test_if_f_data): Likewise.
32239 (struct test_fff_f_data): Likewise.
32240 (struct test_c_f_data): Likewise.
32241 (struct test_f_f1_data): Likewise. Remove field extra_name.
32242 (struct test_fF_f1_data): Likewise.
32243 (struct test_ffI_f1_data): Likewise.
32244 (struct test_c_c_data): Rename test_name field to arg_str.
32245 (struct test_cc_c_data): Likewise.
32246 (struct test_f_i_data): Likewise.
32247 (struct test_ff_i_data): Likewise.
32248 (struct test_f_l_data): Likewise.
32249 (struct test_f_L_data): Likewise.
32250 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
32252 (COMMON_TEST_SETUP): New macro.
32253 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32254 (COMMON_TEST_CLEANUP): Likewise.
32255 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32256 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
32258 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32259 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
32261 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32262 (RUN_TEST_fff_f): Take argument string. Call new setup and
32264 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32265 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
32267 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32268 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
32270 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32271 (RUN_TEST_fF_f1): Take argument string. Call new setup and
32273 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32274 (RUN_TEST_fI_f1): Take argument string. Call new setup and
32276 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32277 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
32279 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32280 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
32282 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32283 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
32285 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32286 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
32288 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32289 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
32291 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32292 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
32294 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32295 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
32297 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32298 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
32300 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32301 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
32303 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32304 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
32306 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32307 (RUN_TEST_fFF_11): Take argument string. Call new setup and
32309 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32311 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
32313 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32314 to _sifields.sigfault.
32315 (si_addr_lsb): Define new macro.
32316 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32317 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32318 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32320 2013-05-03 Carlos O'Donell <carlos at redhat.com>
32323 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32325 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32327 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32328 loading the domain.
32330 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32332 * math/gen-libm-test.pl (parse_args): Do not include expected
32333 result in test name.
32334 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32335 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32336 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32337 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32338 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32341 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32343 * benchtests/Makefile: Sort function entries.
32345 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32346 tanh, asinh, acosh, atanh.
32347 * benchtests/acos-inputs: New file.
32348 * benchtests/acosh-inputs: New file.
32349 * benchtests/asin-inputs: New file.
32350 * benchtests/asinh-inputs: New file.
32351 * benchtests/atanh-inputs: New file.
32352 * benchtests/cosh-inputs: New file.
32353 * benchtests/log-inputs: New file.
32354 * benchtests/sinh-inputs: New file.
32355 * benchtests/tanh-inputs: New file.
32357 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
32360 * posix/tst-getaddrinfo4.c: New test.
32361 * posix/Makefile (tests): Add it.
32363 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32366 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32367 when no services were used.
32368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32369 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32371 2013-05-21 Andreas Schwab <schwab@suse.de>
32374 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32375 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32377 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32378 redundant variable declarations and reallocation of buffer when
32379 parsing as IPv6 address. Always set NSS status when called from
32380 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
32381 buffer too small. Correct computation of needed size.
32382 * nss/Makefile (tests): Add test-digits-dots.
32383 * nss/test-digits-dots.c: New test.
32385 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32387 * benchtests/Makefile: Remove instructions for adding
32389 * benchtests/README: New file to explain how to execute and
32390 enhance the benchmark tests.
32392 2013-05-21 Andreas Schwab <schwab@suse.de>
32395 * setjmp/Makefile (tests): Add tst-sigsetjmp.
32396 * setjmp/tst-sigsetjmp.c: New test.
32398 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32400 * sysdeps/x86_64/memset.S (memset): New implementation.
32401 (__bzero): Likewise.
32402 (__memset_tail): New function.
32404 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32406 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32407 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32408 __memcpy_sse2_unaligned ifunc selection.
32409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32410 Add memcpy-sse2-unaligned.S.
32411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32412 Add: __memcpy_sse2_unaligned.
32414 2013-05-19 Joseph Myers <joseph@codesourcery.com>
32417 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32418 math_force_eval before restoring floating-point envrionment.
32419 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32420 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32422 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32424 (__nearbyintl): Use math_force_eval before restoring
32425 floating-point environment.
32426 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32428 * math/gen-libm-test.pl (special_functions): Remove.
32429 (parse_args): Don't handle TEST_extra. Handle functions with no
32431 * math/libm-test.inc (struct test_sincos_data): Replace with
32432 struct test_fFF_11_data.
32433 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32434 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32435 (sincos_test_data): Change element type to struct
32436 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
32437 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32438 RUN_TEST_LOOP_sincos.
32439 * math/README.libm-test: Don't mention special handling of
32440 individual functions.
32441 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32442 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32443 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32444 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32445 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32448 * math/gen-libm-test.pl (get_variable): Remove function.
32449 (parse_args): Don't show pointer parameters to call in test
32450 names. Use "extra output N" in test names for extra outputs
32451 rather than naming variables.
32453 2013-05-18 Joseph Myers <joseph@codesourcery.com>
32456 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32457 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32458 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32460 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32462 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32465 * math/gen-libm-test.pl (@tests): Remove variable.
32466 ($count): Likewise.
32467 (new_test): Remove function.
32468 (show_exceptions): New function.
32469 (special_functions): Use show_exceptions instead of new_test.
32470 (parse_args): Likewise.
32471 (generate_testfile): Pass only function name in generated call to
32472 print_max_error or print_complex_max_error.
32473 (get_ulps): Do not handle complex tests specially.
32474 (output_test): Rename to ...
32475 (get_all_ulps_for_test): ... this. Return a string rather than
32476 printing to a file. Require ulps to be present.
32477 (output_ulps): Generate arrays rather than #defines.
32478 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32479 (struct ulp_data): New type.
32480 (BUILD_COMPLEX_ULP): Remove macro.
32481 (compare_ulp_data): New function.
32482 (find_ulps): Likewise.
32483 (find_test_ulps): Likewise.
32484 (find_function_ulps): Likewise.
32485 (find_complex_function_ulps): Likewise.
32486 (print_max_error): Determine allowed ulps using
32487 find_function_ulps.
32488 (print_complex_max_error): Determine allowed ulps using
32489 find_complex_function_ulps.
32490 (check_float_internal): Determine max ulps using find_test_ulps.
32491 (check_float): Do not take max_ulp parameter. Update call to
32492 check_float_internal.
32493 (check_complex): Likewise.
32494 (check_int): Do not take max_ulp parameter.
32495 (check_long): Likewise.
32496 (check_bool): Likewise.
32497 (check_longlong): Likewise.
32498 (struct test_f_f_data): Remove max_ulp field.
32499 (struct test_ff_f_data): Likewise.
32500 (struct test_ff_f_data_nexttoward): Likewise.
32501 (struct test_fi_f_data): Likewise.
32502 (struct test_fl_f_data): Likewise.
32503 (struct test_if_f_data): Likewise.
32504 (struct test_fff_f_data): Likewise.
32505 (struct test_c_f_data): Likewise.
32506 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32507 (struct test_fF_f1_data): Likewise.
32508 (struct test_ffI_f1_data): Likewise.
32509 (struct test_c_c_data): Remove max_ulp field.
32510 (struct test_cc_c_data): Likewise.
32511 (struct test_f_i_data): Likewise.
32512 (struct test_ff_i_data): Likewise.
32513 (struct test_f_l_data): Likewise.
32514 (struct test_f_L_data): Likewise.
32515 (struct test_sincos_data): Likewise.
32516 (RUN_TEST_f_f): Do not handle ulps.
32517 (RUN_TEST_LOOP_f_f): Likewise.
32518 (RUN_TEST_2_f): Likewise.
32519 (RUN_TEST_LOOP_2_f): Likewise.
32520 (RUN_TEST_fff_f): Likewise.
32521 (RUN_TEST_LOOP_fff_f): Likewise.
32522 (RUN_TEST_c_f): Likewise.
32523 (RUN_TEST_LOOP_c_f): Likewise.
32524 (RUN_TEST_f_f1): Likewise.
32525 (RUN_TEST_LOOP_f_f1): Likewise.
32526 (RUN_TEST_fF_f1): Likewise.
32527 (RUN_TEST_LOOP_fF_f1): Likewise.
32528 (RUN_TEST_fI_f1): Likewise.
32529 (RUN_TEST_LOOP_fI_f1): Likewise.
32530 (RUN_TEST_ffI_f1): Likewise.
32531 (RUN_TEST_LOOP_ffI_f1): Likewise.
32532 (RUN_TEST_c_c): Likewise.
32533 (RUN_TEST_LOOP_c_c): Likewise.
32534 (RUN_TEST_cc_c): Likewise.
32535 (RUN_TEST_LOOP_cc_c): Likewise.
32536 (RUN_TEST_f_i): Likewise.
32537 (RUN_TEST_LOOP_f_i): Likewise.
32538 (RUN_TEST_f_i_tg): Likewise.
32539 (RUN_TEST_LOOP_f_i_tg): Likewise.
32540 (RUN_TEST_ff_i_tg): Likewise.
32541 (RUN_TEST_LOOP_ff_i_tg): Likewise.
32542 (RUN_TEST_f_b): Likewise.
32543 (RUN_TEST_LOOP_f_b): Likewise.
32544 (RUN_TEST_f_b_tg): Likewise.
32545 (RUN_TEST_LOOP_f_b_tg): Likewise.
32546 (RUN_TEST_f_l): Likewise.
32547 (RUN_TEST_LOOP_f_l): Likewise.
32548 (RUN_TEST_f_L): Likewise.
32549 (RUN_TEST_LOOP_f_L): Likewise.
32550 (RUN_TEST_sincos): Likewise.
32551 (RUN_TEST_LOOP_sincos): Likewise.
32553 2013-05-17 Joseph Myers <joseph@codesourcery.com>
32557 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32558 main case of finite arguments, set rounding mode to FE_TONEAREST
32559 and discard exceptions.
32560 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32562 (remainder_tonearest_test_data): New variable.
32563 (remainder_test_tonearest): New function.
32564 (remainder_towardzero_test_data): New variable.
32565 (remainder_test_towardzero): New function.
32566 (remainder_downward_test_data): New variable.
32567 (remainder_test_downward): New function.
32568 (remainder_upward_test_data): New variable.
32569 (remainder_test_upward): New function.
32570 (main): Call the new test functions.
32572 * math/libm-test.inc (struct test_f_f1_data): Remove field
32574 (struct test_fF_f1_data): Likewise.
32575 (struct test_ffI_f1_data): Likewise.
32576 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
32577 based on value of EXTRA_EXPECTED.
32578 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32579 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
32580 EXTRA_VAR based on value of EXTRA_EXPECTED.
32581 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32582 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
32583 EXTRA_VAR based on value of EXTRA_EXPECTED.
32584 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32585 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
32586 EXTRA_VAR based on value of EXTRA_EXPECTED.
32587 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32588 * math/gen-libm-test.pl (parse_args): Don't output initializers
32589 for extra output values.
32591 * math/libm-test.inc (check_int): Expect result to be exactly
32592 equal to expected value and do not handle ulps.
32593 (check_long): Likewise.
32594 (check_longlong): Likewise.
32596 * math/libm-test.inc (ceil_test_data): Test for "inexact"
32598 (cimag_test_data): Likewise.
32599 (conj_test_data): Likewise.
32600 (copysign_test_data): Likewise.
32601 (cproj_test_data): Likewise.
32602 (creal_test_data): Likewise.
32603 (fabs_test_data): Likewise.
32604 (fdim_test_data): Likewise.
32605 (finite_test_data): Likewise.
32606 (floor_test_data): Likewise.
32607 (fmax_test_data): Likewise.
32608 (fmin_test_data): Likewise.
32609 (fmod_test_data): Likewise.
32610 (fpclassify_test_data): Likewise.
32611 (frexp_test_data): Likewise.
32612 (ilogb_test_data): Likewise.
32613 (isfinite_test_data): Likewise.
32614 (isgreater_test_data): Likewise.
32615 (isgreaterequal_test_data): Likewise.
32616 (isinf_test_data): Likewise.
32617 (isless_test_data): Likewise.
32618 (islessequal_test_data): Likewise.
32619 (islessgreater_test_data): Likewise.
32620 (isnan_test_data): Likewise.
32621 (isnormal_test_data): Likewise.
32622 (issignaling_test_data): Likewise.
32623 (isunordered_test_data): Likewise.
32624 (ldexp_test_data): Likewise.
32625 (lrint_test_data): Likewise.
32626 (lrint_test_data) [TEST_FLOAT]: Disable one test.
32627 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32628 (lrint_tonearest_test_data): Test for "inexact" exceptions.
32629 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32630 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32631 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32633 (lrint_towardzero_test_data): Test for "inexact" exceptions.
32634 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32635 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32636 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32638 (lrint_downward_test_data): Test for "inexact" exceptions.
32639 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32640 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32641 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32643 (lrint_upward_test_data): Test for "inexact" exceptions.
32644 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32646 (llrint_test_data): Test for "inexact" exceptions.
32647 (llrint_test_data) [TEST_FLOAT]: Disable one test.
32648 (llrint_tonearest_test_data): Test for "inexact" exceptions.
32649 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32650 (llrint_towardzero_test_data): Test for "inexact" exceptions.
32651 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32652 (llrint_downward_test_data): Test for "inexact" exceptions.
32653 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32654 (llrint_upward_test_data): Test for "inexact" exceptions.
32655 (logb_test_data): Likewise.
32656 (logb_downward_test_data): Likewise.
32657 (nextafter_test_data): Likewise.
32658 (nexttoward_test_data): Likewise.
32659 (remainder_test_data): Likewise.
32660 (remquo_test_data): Likewise.
32661 (scalbn_test_data): Likewise.
32662 (scalbln_test_data): Likewise.
32663 (signbit_test_data): Likewise.
32664 (sqrt_test_data): Likewise.
32665 (significand_test_data): Likewise.
32667 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32670 * benchtests/bench-modf.c (struct args): Mark arg0 as
32672 * scripts/bench.pl: Mark members of struct args as volatile.
32674 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32677 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32678 negative infinity on POWER6 or lower.
32679 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32681 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32684 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32685 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32686 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32687 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32688 (_FP_SETQNAN): New macro.
32689 (_FP_SETQNAN_SEMIRAW): Likewise.
32690 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32691 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32692 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32693 (FP_EXTEND): Use _FP_FRAC_SNANP.
32694 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32695 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32697 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32699 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32702 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32704 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32705 with DIVIDE_BY_ZERO_EXCEPTION.
32706 (gamma_test_data): Likewise.
32707 (lgamma_test_data): Likewise.
32708 (log_test_data): Likewise.
32709 (log10_test_data): Likewise.
32710 (log2_test_data): Likewise.
32711 (tgamma_test_data): Likewise.
32713 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32714 (acos_test_tonearest): Likewise.
32715 (acos_test_towardzero): Likewise.
32716 (acos_test_downward): Likewise.
32717 (acos_test_upward): Likewise.
32718 (acosh_test): Likewise.
32719 (asin_test): Likewise.
32720 (asin_test_tonearest): Likewise.
32721 (asin_test_towardzero): Likewise.
32722 (asin_test_downward): Likewise.
32723 (asin_test_upward): Likewise.
32724 (asinh_test): Likewise.
32725 (atan_test): Likewise.
32726 (atanh_test): Likewise.
32727 (atan2_test): Likewise.
32728 (cabs_test): Likewise.
32729 (cacos_test): Likewise.
32730 (cacosh_test): Likewise.
32731 (casin_test): Likewise.
32732 (casinh_test): Likewise.
32733 (catan_test): Likewise.
32734 (catanh_test): Likewise.
32735 (cbrt_test): Likewise.
32736 (ccos_test): Likewise.
32737 (ccosh_test): Likewise.
32738 (cexp_test): Likewise.
32739 (clog_test): Likewise.
32740 (clog10_test): Likewise.
32741 (cos_test): Likewise.
32742 (cos_test_tonearest): Likewise.
32743 (cos_test_towardzero): Likewise.
32744 (cos_test_downward): Likewise.
32745 (cos_test_upward): Likewise.
32746 (cosh_test): Likewise.
32747 (cosh_test_tonearest): Likewise.
32748 (cosh_test_towardzero): Likewise.
32749 (cosh_test_downward): Likewise.
32750 (cosh_test_upward): Likewise.
32751 (cpow_test): Likewise.
32752 (csin_test): Likewise.
32753 (csinh_test): Likewise.
32754 (csqrt_test): Likewise.
32755 (ctan_test): Likewise.
32756 (ctan_test_tonearest): Likewise.
32757 (ctan_test_towardzero): Likewise.
32758 (ctan_test_downward): Likewise.
32759 (ctan_test_upward): Likewise.
32760 (ctanh_test): Likewise.
32761 (ctanh_test_tonearest): Likewise.
32762 (ctanh_test_towardzero): Likewise.
32763 (ctanh_test_downward): Likewise.
32764 (ctanh_test_upward): Likewise.
32765 (erf_test): Likewise.
32766 (erfc_test): Likewise.
32767 (exp_test): Likewise.
32768 (exp_test_tonearest): Likewise.
32769 (exp_test_towardzero): Likewise.
32770 (exp_test_downward): Likewise.
32771 (exp_test_upward): Likewise.
32772 (exp10_test): Likewise.
32773 (exp2_test): Likewise.
32774 (expm1_test): Likewise.
32775 (fmod_test): Likewise.
32776 (gamma_test): Likewise.
32777 (hypot_test): Likewise.
32778 (j0_test): Likewise.
32779 (j1_test): Likewise.
32780 (jn_test): Likewise.
32781 (lgamma_test): Likewise.
32782 (log_test): Likewise.
32783 (log10_test): Likewise.
32784 (log1p_test): Likewise.
32785 (log2_test): Likewise.
32786 (logb_test_downward): Likewise.
32787 (pow_test): Likewise.
32788 (pow_test_tonearest): Likewise.
32789 (pow_test_towardzero): Likewise.
32790 (pow_test_downward): Likewise.
32791 (pow_test_upward): Likewise.
32792 (remainder_test): Likewise.
32793 (remquo_test): Likewise.
32794 (sin_test): Likewise.
32795 (sin_test_tonearest): Likewise.
32796 (sin_test_towardzero): Likewise.
32797 (sin_test_downward): Likewise.
32798 (sin_test_upward): Likewise.
32799 (sincos_test): Likewise.
32800 (sinh_test): Likewise.
32801 (sinh_test_tonearest): Likewise.
32802 (sinh_test_towardzero): Likewise.
32803 (sinh_test_downward): Likewise.
32804 (sinh_test_upward): Likewise.
32805 (sqrt_test): Likewise.
32806 (tan_test): Likewise.
32807 (tan_test_tonearest): Likewise.
32808 (tan_test_towardzero): Likewise.
32809 (tan_test_downward): Likewise.
32810 (tan_test_upward): Likewise.
32811 (tanh_test): Likewise.
32812 (tgamma_test): Likewise.
32813 (y0_test): Likewise.
32814 (y1_test): Likewise.
32815 (yn_test): Likewise.
32817 * math/gen-libm-test.pl (adjust_arg): Remove function.
32818 (special_function): Remove argument $in_func. Only handle
32819 generating output for tables of tests, not inside functions.
32820 (parse_args): Likewise.
32821 (generate_testfile): Remove variable $in_func. Update call to
32823 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32824 (MINUS_ZERO_INIT): Rename macro to minus_zero.
32825 (PLUS_INFTY_INIT): Rename macro to plus_infty.
32826 (MINUS_INFTY_INIT): Rename macro to minus_infty.
32827 (QNAN_VALUE_INIT): Rename macro to qnan_value.
32828 (MAX_VALUE_INIT): Rename macro to max_value.
32829 (MIN_VALUE_INIT): Rename macro to min_value.
32830 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32831 (plus_zero): Remove variable.
32832 (minus_zero): Likewise.
32833 (plus_infty): Likewise.
32834 (minus_infty): Likewise.
32835 (qnan_value): Likewise.
32836 (max_value): Likewise.
32837 (min_value): Likewise.
32838 (min_subnorm_value): Likewise.
32840 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32842 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32843 uint64_t or uint32_t usage.
32844 * crypt/sha256-block.c: Likewise.
32845 * crypt/sha256-crypt.c: Likewise.
32846 * crypt/sha256.c: Likewise.
32847 * crypt/sha512-block.c: Likewise.
32848 * crypt/sha512-crypt.c: Likewise.
32849 * crypt/sha512.c: Likewise.
32850 * debug/backtrace-tst.c: Likewise.
32851 * debug/pcprofiledump.c: Likewise.
32852 * elf/cache.c: Likewise.
32853 * elf/dl-cache.c: Likewise.
32854 * elf/dl-misc.c: Likewise.
32855 * elf/dl-profile.c: Likewise.
32856 * elf/dl-support.c: Likewise.
32857 * elf/ldconfig.c: Likewise.
32858 * elf/sprof.c: Likewise.
32859 * iconv/dummy-repertoire.c: Likewise.
32860 * iconv/iconv_charmap.c: Likewise.
32861 * iconv/skeleton.c: Likewise.
32862 * iconvdata/8bit-generic.c: Likewise.
32863 * iconvdata/cp737.h: Likewise.
32864 * iconvdata/cp775.h: Likewise.
32865 * iconvdata/ibm1008.h: Likewise.
32866 * iconvdata/ibm1025.h: Likewise.
32867 * iconvdata/ibm1046.h: Likewise.
32868 * iconvdata/ibm1097.h: Likewise.
32869 * iconvdata/ibm1112.h: Likewise.
32870 * iconvdata/ibm1122.h: Likewise.
32871 * iconvdata/ibm1123.h: Likewise.
32872 * iconvdata/ibm1124.h: Likewise.
32873 * iconvdata/ibm1129.h: Likewise.
32874 * iconvdata/ibm1130.h: Likewise.
32875 * iconvdata/ibm1132.h: Likewise.
32876 * iconvdata/ibm1133.h: Likewise.
32877 * iconvdata/ibm1137.h: Likewise.
32878 * iconvdata/ibm1140.h: Likewise.
32879 * iconvdata/ibm1141.h: Likewise.
32880 * iconvdata/ibm1142.h: Likewise.
32881 * iconvdata/ibm1143.h: Likewise.
32882 * iconvdata/ibm1144.h: Likewise.
32883 * iconvdata/ibm1145.h: Likewise.
32884 * iconvdata/ibm1146.h: Likewise.
32885 * iconvdata/ibm1147.h: Likewise.
32886 * iconvdata/ibm1148.h: Likewise.
32887 * iconvdata/ibm1149.h: Likewise.
32888 * iconvdata/ibm1153.h: Likewise.
32889 * iconvdata/ibm1154.h: Likewise.
32890 * iconvdata/ibm1155.h: Likewise.
32891 * iconvdata/ibm1156.h: Likewise.
32892 * iconvdata/ibm1157.h: Likewise.
32893 * iconvdata/ibm1158.h: Likewise.
32894 * iconvdata/ibm1160.h: Likewise.
32895 * iconvdata/ibm1161.h: Likewise.
32896 * iconvdata/ibm1162.h: Likewise.
32897 * iconvdata/ibm1163.h: Likewise.
32898 * iconvdata/ibm1164.h: Likewise.
32899 * iconvdata/ibm1166.h: Likewise.
32900 * iconvdata/ibm1167.h: Likewise.
32901 * iconvdata/ibm12712.h: Likewise.
32902 * iconvdata/ibm1390.h: Likewise.
32903 * iconvdata/ibm1399.h: Likewise.
32904 * iconvdata/ibm16804.h: Likewise.
32905 * iconvdata/ibm4517.h: Likewise.
32906 * iconvdata/ibm4899.h: Likewise.
32907 * iconvdata/ibm4909.h: Likewise.
32908 * iconvdata/ibm4971.h: Likewise.
32909 * iconvdata/ibm5347.h: Likewise.
32910 * iconvdata/ibm803.h: Likewise.
32911 * iconvdata/ibm856.h: Likewise.
32912 * iconvdata/ibm901.h: Likewise.
32913 * iconvdata/ibm902.h: Likewise.
32914 * iconvdata/ibm9030.h: Likewise.
32915 * iconvdata/ibm9066.h: Likewise.
32916 * iconvdata/ibm921.h: Likewise.
32917 * iconvdata/ibm922.h: Likewise.
32918 * iconvdata/ibm9448.h: Likewise.
32919 * iconvdata/isiri-3342.h: Likewise.
32920 * iconvdata/jis0201.h: Likewise.
32921 * include/link.h: Likewise.
32922 * include/netdb.h: Likewise.
32923 * inet/check_native.c: Likewise.
32924 * inet/check_pf.c: Likewise.
32925 * inet/getipv4sourcefilter.c: Likewise.
32926 * inet/getnameinfo.c: Likewise.
32927 * inet/getsourcefilter.c: Likewise.
32928 * inet/htonl.c: Likewise.
32929 * inet/setipv4sourcefilter.c: Likewise.
32930 * inet/setsourcefilter.c: Likewise.
32931 * inet/test-inet6_opt.c: Likewise.
32932 * inet/tst-network.c: Likewise.
32933 * locale/C-collate.c: Likewise.
32934 * locale/C-ctype.c: Likewise.
32935 * locale/C-time.c: Likewise.
32936 * locale/C-translit.h: Likewise.
32937 * locale/loadarchive.c: Likewise.
32938 * locale/programs/3level.h: Likewise.
32939 * locale/programs/charmap.c: Likewise.
32940 * locale/programs/charmap.h: Likewise.
32941 * locale/programs/ld-address.c: Likewise.
32942 * locale/programs/ld-collate.c: Likewise.
32943 * locale/programs/ld-ctype.c: Likewise.
32944 * locale/programs/ld-identification.c: Likewise.
32945 * locale/programs/ld-measurement.c: Likewise.
32946 * locale/programs/ld-messages.c: Likewise.
32947 * locale/programs/ld-monetary.c: Likewise.
32948 * locale/programs/ld-name.c: Likewise.
32949 * locale/programs/ld-numeric.c: Likewise.
32950 * locale/programs/ld-paper.c: Likewise.
32951 * locale/programs/ld-telephone.c: Likewise.
32952 * locale/programs/ld-time.c: Likewise.
32953 * locale/programs/linereader.c: Likewise.
32954 * locale/programs/locale.c: Likewise.
32955 * locale/programs/locarchive.c: Likewise.
32956 * locale/programs/locfile.h: Likewise.
32957 * locale/programs/repertoire.c: Likewise.
32958 * locale/programs/simple-hash.c: Likewise.
32959 * locale/programs/simple-hash.h: Likewise.
32960 * malloc/memusage.c: Likewise.
32961 * malloc/memusagestat.c: Likewise.
32962 * nis/nis_defaults.c: Likewise.
32963 * nis/nis_hash.c: Likewise.
32964 * nis/nis_print.c: Likewise.
32965 * nis/nis_xdr.c: Likewise.
32966 * nscd/connections.c: Likewise.
32967 * nscd/hstcache.c: Likewise.
32968 * nscd/nscd_gethst_r.c: Likewise.
32969 * nscd/nscd_getserv_r.c: Likewise.
32970 * nscd/nscd_helper.c: Likewise.
32971 * nscd/servicescache.c: Likewise.
32972 * nss/makedb.c: Likewise.
32973 * nss/nss_db/db-XXX.c: Likewise.
32974 * nss/nss_db/db-initgroups.c: Likewise.
32975 * nss/nss_db/db-netgrp.c: Likewise.
32976 * nss/nss_files/files-network.c: Likewise.
32977 * nss/nss_files/files-parse.c: Likewise.
32978 * posix/bug-regex5.c: Likewise.
32979 * posix/fnmatch_loop.c: Likewise.
32980 * posix/regcomp.c: Likewise.
32981 * posix/regexec.c: Likewise.
32982 * posix/tst-rfc3484-2.c: Likewise.
32983 * posix/tst-rfc3484-3.c: Likewise.
32984 * posix/tst-rfc3484.c: Likewise.
32985 * resolv/nss_dns/dns-canon.c: Likewise.
32986 * resolv/nss_dns/dns-network.c: Likewise.
32987 * resolv/res_init.c: Likewise.
32988 * resolv/res_mkquery.c: Likewise.
32989 * resolv/tst-aton.c: Likewise.
32990 * stdlib/cxa_atexit.c: Likewise.
32991 * stdlib/cxa_finalize.c: Likewise.
32992 * stdlib/gen-fpioconst.c: Likewise.
32993 * stdlib/strtol_l.c: Likewise.
32994 * string/tst-endian.c: Likewise.
32995 * sunrpc/auth_des.c: Likewise.
32996 * sunrpc/clnt_udp.c: Likewise.
32997 * sunrpc/rtime.c: Likewise.
32998 * sunrpc/svcauth_des.c: Likewise.
32999 * sunrpc/xdr.c: Likewise.
33000 * sunrpc/xdr_intXX_t.c: Likewise.
33001 * sunrpc/xdr_rec.c: Likewise.
33002 * sysdeps/generic/ldconfig.h: Likewise.
33003 * sysdeps/generic/ldsodefs.h: Likewise.
33004 * sysdeps/generic/memusage.h: Likewise.
33005 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33008 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33014 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33015 * sysdeps/posix/getaddrinfo.c: Likewise.
33016 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33017 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33018 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33019 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33020 * sysdeps/powerpc/test-gettimebase.c: Likewise.
33021 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33022 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33023 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33024 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33025 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33026 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33027 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33028 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33029 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33030 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33031 * sysdeps/x86_64/dl-tls.h: Likewise.
33032 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33033 * time/alt_digit.c: Likewise.
33034 * time/era.c: Likewise.
33035 * wcsmbs/tst-c16c32-1.c: Likewise.
33037 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33039 * math/libm-test.inc (struct test_sincos_data): New type.
33040 (RUN_TEST_LOOP_sincos): New macro.
33041 (sincos_test_data): New variable.
33042 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33044 2013-05-16 Richard Henderson <rth@redhat.com>
33046 * math/atest-exp2.c (LIMB64): New macro.
33047 (CONSTSZ): New macro.
33048 (mp_exp1, mp_exp_m1, mp_log2): New variables.
33050 (print_mpn_fp): ... to function scope.
33051 (read_mpn_hex): Remove.
33052 (get_log2): Remove.
33053 (exp2_mpn): Use mp_log2.
33054 (main): Use mp_exp1.
33056 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33058 * math/libm-test.inc: Remove comment about not testing "inexact"
33060 (INEXACT_EXCEPTION): New macro.
33061 (NO_INEXACT_EXCEPTION): Likewise.
33062 (INVALID_EXCEPTION_OK): Update value.
33063 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33064 (OVERFLOW_EXCEPTION_OK): Likewise.
33065 (UNDERFLOW_EXCEPTION_OK): Likewise.
33066 (IGNORE_ZERO_INF_SIGN): Likewise.
33067 (ERRNO_UNCHANGED): Likewise.
33068 (ERRNO_EDOM): Likewise.
33069 (ERRNO_ERANGE): Likewise.
33070 (test_exceptions): Handle testing "inexact" exceptions.
33071 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33072 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33073 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33074 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33076 (rint_towardzero_test_data): Likewise.
33077 (rint_downward_test_data): Likewise.
33078 (rint_upward_test_data): Likewise.
33080 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33081 with OVERFLOW_EXCEPTION.
33082 (exp10_test_data): Likewise.
33083 (exp2_test_data): Likewise.
33084 (expm1_test_data): Likewise.
33085 (lgamma_test_data): Likewise.
33086 (pow_test_data): Likewise.
33087 (tgamma_test_data): Likewise.
33088 (yn_test_data): Remove duplicate test of overflow.
33090 * math/libm-test.inc (struct test_cc_c_data): New type.
33091 (RUN_TEST_LOOP_cc_c): New macro.
33092 (cpow_test_data): New variable.
33093 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33095 * math/libm-test.inc (struct test_f_L_data): New type.
33096 (RUN_TEST_LOOP_f_L): New macro.
33097 (llrint_test_data): New variable.
33098 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33099 (llrint_tonearest_test_data): New variable.
33100 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33101 (llrint_towardzero_test_data): New variable.
33102 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33103 (llrint_downward_test_data): New variable.
33104 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33105 (llrint_upward_test_data): New variable.
33106 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33107 (llround_test_data): New variable.
33108 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33110 2013-05-13 Peter Collingbourne <pcc@google.com>
33112 * math/atest-exp2.c (get_log2): Remove const attribute.
33114 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33116 * math/libm-test.inc (struct test_f_l_data): New type.
33117 (RUN_TEST_LOOP_f_l): New macro.
33118 (lrint_test_data): New variable.
33119 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33120 (lrint_tonearest_test_data): New variable.
33121 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33122 (lrint_towardzero_test_data): New variable.
33123 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33124 (lrint_downward_test_data): New variable.
33125 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33126 (lrint_upward_test_data): New variable.
33127 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33128 (lround_test_data): New variable.
33129 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33131 2013-05-15 Peter Collingbourne <pcc@google.com>
33133 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33134 (EXTRACT_WORDS64) Use where appropriate.
33135 (INSERT_WORDS64) Likewise.
33137 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33138 constraints with x constraints.
33139 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33141 * malloc/obstack.c (_obstack_compat): Add initializer.
33143 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
33145 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33146 si_trapno and add si_addr_lsb to _sifields.sigfault.
33147 (si_trapno): Remove macro.
33148 (si_addr_lsb): Define new macro.
33149 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33151 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33153 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33154 instead of TEST_f_l.
33155 (llrint_test_tonearest): Likewise.
33156 (llrint_test_towardzero): Likewise.
33157 (llrint_test_downward): Likewise.
33158 (llrint_test_upward): Likewise.
33159 (llround_test): Likewise.
33161 * math/libm-test.inc (struct test_f_i_data): Add comment.
33162 (RUN_TEST_LOOP_f_b): New macro.
33163 (RUN_TEST_LOOP_f_b_tg): Likewise.
33164 (finite_test_data): New variable.
33165 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33166 (isfinite_test_data): New variable.
33167 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33168 (isinf_test_data): New variable.
33169 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33170 (isnan_test_data): New variable.
33171 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33172 (isnormal_test_data): New variable.
33173 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33174 (issignaling_test_data): New variable.
33175 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33176 (signbit_test_data): New variable.
33177 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33179 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33180 with INVALID_EXCEPTION.
33181 (acosh_test_data): Likewise.
33182 (asin_test_data): Likewise.
33183 (atanh_test_data): Likewise.
33184 (fmod_test_data): Likewise.
33185 (log_test_data): Likewise.
33186 (log10_test_data): Likewise.
33187 (log2_test_data): Likewise.
33188 (pow_test_data): Likewise.
33189 (sqrt_test_data): Likewise.
33190 (y0_test_data): Likewise.
33191 (y1_test_data): Likewise.
33192 (yn_test_data): Likewise.
33194 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33197 * math/libm-test.inc (struct test_ff_i_data): New type.
33198 (RUN_TEST_LOOP_ff_i_tg): New macro.
33199 (isgreater_test_data): New variable.
33200 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33201 (isgreaterequal_test_data): New variable.
33202 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33203 (isless_test_data): New variable.
33204 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33205 (islessequal_test_data): New variable.
33206 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33207 (islessgreater_test_data): New variable.
33208 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33209 (isunordered_test_data): New variable.
33210 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33212 2013-05-14 David S. Miller <davem@davemloft.net>
33214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33216 2013-05-14 Joseph Myers <joseph@codesourcery.com>
33218 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33220 * math/libm-test.inc (struct test_fF_f1_data): Change type of
33222 (struct test_f_i_data): Change type of max_ulp to int.
33224 * math/libm-test.inc (test_ffI_f1_data): New type.
33225 (RUN_TEST_LOOP_ffI_f1): New macro.
33226 (remquo_test_data): New variable.
33227 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33229 * setjmp/tst-setjmp-fp.c: New file.
33230 * setjmp/Makefile (tests): Add tst-setjmp-fp.
33231 (link-libm): New variable.
33232 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33234 * math/libm-test.inc (struct test_f_i_data): New type.
33235 (RUN_TEST_LOOP_f_i): New macro.
33236 (RUN_TEST_LOOP_f_i_tg): Likewise.
33237 (fpclassify_test_data): New variable.
33238 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33239 (ilogb_test_data): New variable.
33240 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33242 * math/libm-test.inc (scalbln_test): Correct function name in END
33245 * math/libm-test.inc (struct test_f_f1_data): Add comment.
33246 (RUN_TEST_LOOP_fI_f1): New macro.
33247 (frexp_test_data): New variable.
33248 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33250 * math/libm-test.inc (struct test_fF_f1_data): New type.
33251 (RUN_TEST_LOOP_fF_f1): New macro.
33252 (modf_test_data): New variable.
33253 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33255 * math/libm-test.inc (struct test_f_f1_data): New type.
33256 (RUN_TEST_LOOP_f_f1): New macro.
33257 (gamma_test_data): New variable.
33258 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33259 (lgamma_test_data): New variable.
33260 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33262 2013-05-13 Carlos O'Donell <carlos@redhat.com>
33264 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33265 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33266 (main): Comment "tls" pseudo-hwcap.
33268 2013-05-13 Joseph Myers <joseph@codesourcery.com>
33270 * math/libm-test.inc (struct test_fl_f_data): New type.
33271 (RUN_TEST_LOOP_fl_f): New variable.
33272 (scalbln_test_data): New variable.
33273 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33275 * math/libm-test.inc (struct test_fi_f_data): New type.
33276 (RUN_TEST_LOOP_fi_f): New macro.
33277 (ldexp_test_data): New variable.
33278 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33279 (scalbn_test_data): New variable.
33280 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33282 * math/libm-test.inc (struct test_c_f_data): New type.
33283 (RUN_TEST_LOOP_c_f): New macro.
33284 (cabs_test_data): New variable.
33285 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33286 (carg_test_data): New variable.
33287 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33288 (cimag_test_data): New variable.
33289 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33290 (creal_test_data): New variable.
33291 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33293 * math/libm-test.inc (struct test_if_f_data): New type.
33294 (RUN_TEST_LOOP_if_f): New macro.
33295 (jn_test_data): New variable.
33296 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33297 (yn_test_data): New variable.
33298 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33300 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33302 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33304 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33305 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33307 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33309 * benchtests/Makefile (CPPFLAGS-nonlib): Add
33310 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33311 (bench-deps): Add bench-timing.h.
33312 * benchtests-bench-skeleton.c: Include bench-timing.h.
33313 (main): Use TIMING_* macros instead of clock_gettime.
33314 * benchtests/bench-timing.h: New file.
33317 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33318 Renamed from _LIB_VERSION.
33319 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33321 2013-05-12 Joseph Myers <joseph@codesourcery.com>
33323 * math/libm-test.inc (struct test_fff_f_data): New type.
33324 (RUN_TEST_LOOP_fff_f): New macro.
33325 (fma_test_data): New variable.
33326 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33327 (fma_towardzero_test_data): New variable.
33328 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33329 (fma_downward_test_data): New variable.
33330 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33331 (fma_upward_test_data): New variable.
33332 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33334 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33335 (struct test_c_c_data): New type.
33336 (RUN_TEST_LOOP_c_c): New macro.
33337 (cacos_test_data): New variable.
33338 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33339 (cacosh_test_data): New variable.
33340 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33341 (casin_test_data): New variable.
33342 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33343 (casinh_test_data): New variable.
33344 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33345 (catan_test_data): New variable.
33346 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33347 (catanh_test_data): New variable.
33348 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33349 (ccos_test_data): New variable.
33350 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33351 (ccosh_test_data): New variable.
33352 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33353 (cexp_test_data): New variable.
33354 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33355 (clog_test_data): New variable.
33356 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33357 (clog10_test_data): New variable.
33358 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33359 (conj_test_data): New variable.
33360 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33361 (cproj_test_data): New variable.
33362 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33363 (csin_test_data): New variable.
33364 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33365 (csinh_test_data): New variable.
33366 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33367 (csqrt_test_data): New variable.
33368 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33369 (ctan_test_data): New variable.
33370 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33371 (ctan_tonearest_test_data): New variable.
33372 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33373 (ctan_towardzero_test_data): New variable.
33374 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33375 (ctan_downward_test_data): New variable.
33376 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33377 (ctan_upward_test_data): New variable.
33378 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33379 (ctanh_test_data): New variable.
33380 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33381 (ctanh_tonearest_test_data): New variable.
33382 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33383 (ctanh_towardzero_test_data): New variable.
33384 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33385 (ctanh_downward_test_data): New variable.
33386 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33387 (ctanh_upward_test_data): New variable.
33388 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33389 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33392 * math/libm-test.inc (struct test_ff_f_data): New type.
33393 (struct test_ff_f_data_nexttoward): Likewise.
33394 (RUN_TEST_LOOP_2_f): New macro.
33395 (RUN_TEST_LOOP_ff_f): Likewise.
33396 (atan2_test_data): New variable.
33397 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33398 (copysign_test_data): New variable.
33399 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33400 (fdim_test_data): New variable.
33401 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33402 (fmax_test_data): New variable.
33403 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33404 (fmin_test_data): New variable.
33405 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33406 (fmod_test_data): New variable.
33407 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33408 (hypot_test_data): New variable.
33409 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33410 (nextafter_test_data): New variable.
33411 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33412 (nexttoward_test_data): New variable.
33413 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33414 (pow_test_data): New variable.
33415 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33416 (pow_tonearest_test_data): New variable.
33417 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33418 (pow_towardzero_test_data): New variable.
33419 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33420 (pow_downward_test_data): New variable.
33421 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33422 (pow_upward_test_data): New variable.
33423 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33424 (remainder_test_data): New variable.
33425 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33426 (scalb_test_data): New variable.
33427 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33428 * sysdeps/i386/fpu/libm-test-ulps: Update.
33430 2013-05-11 Joseph Myers <joseph@codesourcery.com>
33432 * math/libm-test.inc (fma_test): Use max_value instead of local
33434 (nextafter_test): Likewise.
33436 * math/libm-test.inc (acos_towardzero_test_data): New variable.
33437 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33438 (acos_downward_test_data): New variable.
33439 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33440 (acos_upward_test_data): New variable.
33441 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33442 (acosh_test_data): New variable.
33443 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33444 (asin_test_data): New variable.
33445 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33446 (asin_tonearest_test_data): New variable.
33447 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33448 (asin_towardzero_test_data): New variable.
33449 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33450 (asin_downward_test_data): New variable.
33451 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33452 (asin_upward_test_data): New variable.
33453 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33454 (asinh_test_data): New variable.
33455 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33456 (atan_test_data): New variable.
33457 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33458 (atanh_test_data): New variable.
33459 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33460 (cbrt_test_data): New variable.
33461 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33462 (ceil_test_data): New variable.
33463 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33464 (cos_test_data): New variable.
33465 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33466 (cos_tonearest_test_data): New variable.
33467 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33468 (cos_towardzero_test_data): New variable.
33469 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33470 (cos_downward_test_data): New variable.
33471 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33472 (cos_upward_test_data): New variable.
33473 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33474 (cosh_test_data): New variable.
33475 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33476 (cosh_tonearest_test_data): New variable.
33477 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33478 (cosh_towardzero_test_data): New variable.
33479 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33480 (cosh_downward_test_data): New variable.
33481 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33482 (cosh_upward_test_data): New variable.
33483 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33484 (erf_test_data): New variable.
33485 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33486 (erfc_test_data): New variable.
33487 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33488 (exp_test_data): New variable.
33489 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33490 (exp_tonearest_test_data): New variable.
33491 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33492 (exp_towardzero_test_data): New variable.
33493 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33494 (exp_downward_test_data): New variable.
33495 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33496 (exp_upward_test_data): New variable.
33497 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33498 (exp10_test_data): New variable.
33499 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33500 (exp2_test_data): New variable.
33501 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33502 (expm1_test_data): New variable.
33503 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33504 (fabs_test_data): New variable.
33505 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33506 (floor_test_data): New variable.
33507 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33508 (j0_test_data): New variable.
33509 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33510 (j1_test_data): New variable.
33511 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33512 (log_test_data): New variable.
33513 (log_test): Run tests with RUN_TEST_LOOP_f_f.
33514 (log10_test_data): New variable.
33515 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33516 (log1p_test_data): New variable.
33517 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33518 (log2_test_data): New variable.
33519 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33520 (logb_test_data): New variable.
33521 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33522 (logb_downward_test_data): New variable.
33523 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33524 (nearbyint_test_data): New variable.
33525 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33526 (rint_test_data): New variable.
33527 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33528 (rint_tonearest_test_data): New variable.
33529 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33530 (rint_towardzero_test_data): New variable.
33531 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33532 (rint_downward_test_data): New variable.
33533 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33534 (rint_upward_test_data): New variable.
33535 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33536 (round_test_data): New variable.
33537 (round_test): Run tests with RUN_TEST_LOOP_f_f.
33538 (sin_test_data): New variable.
33539 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33540 (sin_tonearest_test_data): New variable.
33541 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33542 (sin_towardzero_test_data): New variable.
33543 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33544 (sin_downward_test_data): New variable.
33545 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33546 (sin_upward_test_data): New variable.
33547 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33548 (sinh_test_data): New variable.
33549 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33550 (sinh_tonearest_test_data): New variable.
33551 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33552 (sinh_towardzero_test_data): New variable.
33553 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33554 (sinh_downward_test_data): New variable.
33555 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33556 (sinh_upward_test_data): New variable.
33557 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33558 (sqrt_test_data): New variable.
33559 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33560 (tan_test_data): New variable.
33561 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33562 (tan_tonearest_test_data): New variable.
33563 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33564 (tan_towardzero_test_data): New variable.
33565 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33566 (tan_downward_test_data): New variable.
33567 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33568 (tan_upward_test_data): New variable.
33569 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33570 (tanh_test_data): New variable.
33571 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33572 (tgamma_test_data): New variable.
33573 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33574 (trunc_test_data): New variable.
33575 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33576 (y0_test_data): New variable.
33577 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33578 (y1_test_data): New variable.
33579 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33580 (significand_test_data): New variable.
33581 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33583 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
33586 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33588 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
33590 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33592 2013-05-10 Andreas Jaeger <aj@suse.de>
33595 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33596 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33598 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33600 * math/gen-libm-test.pl (adjust_arg): New function.
33601 (special_functions): Handle generating output in both functions
33603 (parse_args): Likewise.
33604 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
33605 $in_func argument to parse_args.
33606 * math/libm-test.inc (struct test_f_f_data): New type.
33607 (IF_ROUND_INIT_): New macro.
33608 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33609 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33610 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33611 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33612 (ROUND_RESTORE_): Likewise.
33613 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33614 (ROUND_RESTORE_FE_TONEAREST): Likewise.
33615 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33616 (ROUND_RESTORE_FE_UPWARD): Likewise.
33617 (RUN_TEST_LOOP_f_f): New macro.
33618 (acos_test_data): New variable.
33619 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33620 (acos_tonearest_test_data): New variable.
33621 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33623 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33625 * benchtests/bench-skeleton.c (startup): Fix coding style.
33627 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33630 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33631 negative infinity argument.
33632 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33633 negative infinity argument.
33634 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33635 negative infinity argument.
33636 * math/libm-test.inc (tgamma_test): Expect errno to be set for
33639 2013-05-10 Florian Weimer <fweimer@redhat.com>
33641 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33642 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33643 * iconv/iconv_prog.c (main): Likewise.
33644 * locale/programs/charmap-dir.c (charmap_readdir)
33645 (fopen_uncompressed): Likewise.
33646 * locale/programs/locfile.c (siblings_uncached)
33647 (write_locale_data): Use lstat64 instead of lstat.
33648 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33651 2013-05-10 Andreas Jaeger <aj@suse.de>
33654 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33656 Include <locale.h>.
33658 2013-05-09 Carlos O'Donell <carlos@redhat.com>
33660 * elf/dl-close.c (_dl_close_worker): Add comments.
33662 2013-05-09 Joseph Myers <joseph@codesourcery.com>
33665 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33667 (__ieee754_rem_pio2l): Update comments.
33670 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33672 (__ieee754_rem_pio2l): Update comments.
33674 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33675 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33677 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33680 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33681 (M_PI_34_LOG10El): Likewise.
33682 (M_PI2_LOG10El): Likewise.
33683 (M_PI4_LOG10El): Likewise.
33684 (M_PI_LOG10El): Likewise.
33686 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33690 2013-05-08 Joseph Myers <joseph@codesourcery.com>
33692 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33693 (MINUS_ZERO_INIT): Likewise.
33694 (PLUS_INFTY_INIT): Likewise.
33695 (MINUS_INFTY_INIT): Likewise.
33696 (QNAN_VALUE_INIT): Likewise.
33697 (MAX_VALUE_INIT): Likewise.
33698 (MIN_VALUE_INIT): Likewise.
33699 (MIN_SUBNORM_VALUE_INIT): Likewise.
33700 (plus_zero): Initialize with PLUS_ZERO_INIT.
33701 (minus_zero): Initialize with MINUS_ZERO_INIT.
33702 (plus_infty): Initialize with PLUS_INFTY_INIT.
33703 (minus_infty): Initialize with MINUS_INFTY_INIT.
33704 (qnan_value): Initialize with QNAN_VALUE_INIT.
33705 (max_value): Initialize with MAX_VALUE_INIT.
33706 (min_value): Initialize with MIN_VALUE_INIT.
33707 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33709 * math/libm-test.inc (RUN_TEST_if_f): New macro.
33710 (jn_test): Use TEST_if_f instead of TEST_ff_f.
33711 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33712 (yn_test): Use TEST_if_f instead of TEST_ff_f.
33714 * math/libm-test.inc (RUN_TEST_f_f): New macro.
33715 (RUN_TEST_2_f): Likewise.
33716 (RUN_TEST_ff_f): Likewise.
33717 (RUN_TEST_fi_f): Likewise.
33718 (RUN_TEST_fl_f): Likewise.
33719 (RUN_TEST_fff_f): Likewise.
33720 (RUN_TEST_c_f): Likewise.
33721 (RUN_TEST_f_f1): Likewise.
33722 (RUN_TEST_fF_f1): Likewise.
33723 (RUN_TEST_fI_f1): Likewise.
33724 (RUN_TEST_ffI_f1): Likewise.
33725 (RUN_TEST_c_c): Likewise.
33726 (RUN_TEST_cc_c): Likewise.
33727 (RUN_TEST_f_i): Likewise.
33728 (RUN_TEST_f_i_tg): Likewise.
33729 (RUN_TEST_ff_i_tg): Likewise.
33730 (RUN_TEST_f_b): Likewise.
33731 (RUN_TEST_f_b_tg): Likewise.
33732 (RUN_TEST_f_l): Likewise.
33733 (RUN_TEST_f_L): Likewise.
33734 (RUN_TEST_sincos): Likewise.
33735 * math/gen-libm-test.pl (new_test): Take new argument to indicate
33736 whether to show exceptions. Do not include ");\n" in return
33738 (special_functions): Output call to RUN_TEST_sincos instead of
33739 check_float calls. Update calls to new_test.
33740 (parse_args): Output call to single RUN_TEST_* macro instead of
33741 check_* calls and other assignments. Update calls to new_test.
33747 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33748 input to result for tgamma overflow.
33749 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33750 (gamma_coeff): New variable.
33751 (NCOEFF): New macro.
33752 (gamma_positive): New function.
33753 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33754 underflow here. Use gamma_positive instead of exp (lgamma) for
33756 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33757 (gamma_coeff): New variable.
33758 (NCOEFF): New macro.
33759 (gammaf_positive): New function.
33760 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33761 underflow here. Use gamma_positive instead of exp (lgamma) for
33763 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33764 (gamma_coeff): New variable.
33765 (NCOEFF): New macro.
33766 (gammal_positive): New function.
33767 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33768 underflow here. Use gamma_positive instead of exp (lgamma) for
33770 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33771 (gamma_coeff): New variable.
33772 (NCOEFF): New macro.
33773 (gammal_positive): New function.
33774 (__ieee754_gammal_r): Handle positive infinity, overflow and
33775 underflow here. Handle NaN the same as positive infinity. Remove
33776 check x < 0xffffffff for negative integers. Use gamma_positive
33777 instead of exp (lgamma) for other arguments.
33778 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33779 (gamma_coeff): New variable.
33780 (NCOEFF): New macro.
33781 (gammal_positive): New function.
33782 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33783 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33784 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33785 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33787 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33788 * sysdeps/generic/math_private.h (__gamma_productf): New
33790 (__gamma_product): Likewise.
33791 (__gamma_productl): Likewise.
33792 * math/Makefile (libm-calls): Add gamma_product.
33793 * math/libm-test.inc (tgamma_test): Add more tests.
33794 * sysdeps/i386/fpu/libm-test-ulps: Update.
33795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33797 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
33799 * benchtests/bench-skeleton.c (main): Preheat CPU.
33801 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
33803 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33805 2013-05-07 Roland McGrath <roland@hack.frob.com>
33807 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33808 and _dl_skip_args_internal.
33810 2013-05-07 Carlos O'Donell <carlos@redhat.com>
33812 * manual/message.texi (Message Translation): Talk about users.
33813 Message to key mapping impacts design.
33815 2013-05-06 Roland McGrath <roland@hack.frob.com>
33817 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33819 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33821 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33822 * sysdeps/wordsize-64/glob64.c: ... here.
33824 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33825 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33828 * debug/getlogin_r_chk.c: Moved to ...
33829 * login/getlogin_r_chk.c: ... here.
33830 * debug/Makefile (routines): Move getlogin_r_chk to ...
33831 * login/Makefile (routines): ... here.
33832 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33833 * login/Versions (libc: GLIBC_2.4): ... here.
33835 * io/poll.c (__poll): Renamed from poll.
33836 Add libc_hidden_def.
33837 (poll): Define as weak alias.
33839 * debug/ptsname_r_chk.c: Moved to ...
33840 * login/ptsname_r_chk.c: ... here.
33841 * debug/Makefile (routines): Move ptsname_r_chk to ...
33842 * login/Makefile (routines): ... here.
33843 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33844 * login/Versions (libc: GLIBC_2.4): ... here.
33846 * posix/getlogin.c: Moved to ...
33847 * login/getlogin.c: ... here.
33848 * posix/getlogin_r.c: Moved to ...
33849 * login/getlogin_r.c: ... here.
33850 * posix/getlogin_r.c: Moved to ...
33851 * login/getlogin_r.c: ... here.
33852 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33853 * login/Makefile (routines): ... here.
33854 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33855 * login/Versions (libc: GLIBC_2.0): ... here.
33857 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33858 (setrlimit): Define as weak alias.
33860 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33861 Call __ names for open, ftruncate, and close.
33862 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33863 (truncate): Define as weak alias.
33865 2013-05-06 Joseph Myers <joseph@codesourcery.com>
33867 * math/gen-libm-test.pl (parse_args): Initialize x before each
33868 test of frexp, modf and remquo.
33870 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33871 test signgam value.
33873 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33877 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33879 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33881 2013-05-06 Roland McGrath <roland@hack.frob.com>
33883 * elf/dl-writev.h: New file.
33884 * elf/dl-misc.c: Include it.
33885 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33886 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33888 2013-05-04 Joseph Myers <joseph@codesourcery.com>
33890 * math/libm-test.inc (noXFails): Remove variable.
33891 (noXPasses): Likewise.
33892 (BUILD_COMPLEX_INT): Remove macro.
33893 (print_screen): Remove xfail argument.
33894 (print_screen_max_error): Likewise.
33895 (update_stats): Likewise.
33896 (print_max_error): Likewise. Update calls to other affected
33898 (print_complex_max_error): Likewise.
33899 (test_single_exception): Update calls to print_screen.
33900 (test_single_errno): Likewise.
33901 (check_float_internal): Remove xfail argument. Update calls to
33902 other affected functions.
33903 (check_float): Likewise.
33904 (check_complex): Likewise.
33905 (check_int): Likewise.
33906 (check_long): Likewise.
33907 (check_bool): Likewise.
33908 (check_longlong): Likewise.
33909 (main): Don't print noXFails and noXPasses.
33910 * math/gen-libm-test.pl (top level): Don't mention expected
33911 failure handling in comment.
33912 (new_test): Don't handle expected failures.
33913 (parse_args): Don't mention expected failure handling in comment.
33914 (generate_testfile): Don't handle expected failures.
33915 (parse_ulps): Likewise.
33916 (print_ulps_file): Likewise.
33917 (get_failure): Remove function.
33918 (output_test): Don't handle expected failures.
33919 * make/README.libm-test: Don't mention expected failure handling.
33921 * math/libm-test.inc (plus_zero): Make const. Add initializer.
33922 (minus_zero): Likewise.
33923 (plus_infty): Likewise.
33924 (minus_infty): Likewise.
33925 (qnan_value): Likewise.
33926 (max_value): Likewise.
33927 (min_value): Likewise.
33928 (min_subnorm_value): Likewise.
33929 (initialize): Do not initialize those variables dynamically.
33931 2013-05-03 Roland McGrath <roland@hack.frob.com>
33933 * io/open.c (__open_2): Moved to ...
33934 * io/open_2.c: ... this new file.
33935 * io/open64.c (__open64_2): Moved to ...
33936 * io/open64_2.c: ... this new file.
33937 * io/openat.c (__openat_2): Moved to ...
33938 * io/openat_2.c: ... this new file.
33939 * io/openat64.c (__openat64_2): Moved to ...
33940 * io/openat64_2.c: ... this new file.
33941 * io/Makefile (routines): Add them.
33942 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33943 * sysdeps/unix/sysv/linux/open_2.c: File removed.
33944 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33945 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33946 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33947 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33948 (__openat64): Add hidden_ver.
33949 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33950 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33952 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33953 Separately conditionalize setting of GLRO(dl_sysinfo) so
33954 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33955 as well, but the actual setting is only under [NEED_DL_SYSINFO].
33957 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33959 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33960 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33962 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33963 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33964 (_libc_vdso_platform_setup): Add __vdso_time initialization.
33965 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33966 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33968 2013-05-03 Joseph Myers <joseph@codesourcery.com>
33970 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33971 test signgam value.
33973 * math/libm-test.inc (hypot_test): Do not use
33974 IGNORE_ZERO_INF_SIGN.
33976 2013-05-03 Andreas Jaeger <aj@suse.de>
33978 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33980 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33981 (PF_MAX): Adjust for VSOCK change.
33983 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33987 2013-05-02 Carlos O'Donell <carlos@redhat.com>
33990 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33991 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33992 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33994 2013-05-02 David S. Miller <davem@davemloft.net>
33996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33998 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
34000 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34002 2013-05-01 Roland McGrath <roland@hack.frob.com>
34004 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34006 2013-05-01 Richard Smith <richard@metafoo.co.uk>
34009 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34010 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34011 Use __attribute__ ((__gnu_inline__)).
34012 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34013 Don't use __attribute__ ((__gnu_inline__)).
34015 2013-05-01 Joseph Myers <joseph@codesourcery.com>
34018 * math/s_catan.c (__catan): Handle small real or imaginary part of
34019 input specially to avoid spurious underflow.
34020 * math/s_catanf.c (__catanf): Likewise.
34021 * math/s_catanh.c (__catanh): Likewise.
34022 * math/s_catanhf.c (__catanhf): Likewise.
34023 * math/s_catanhl.c (__catanhl): Likewise.
34024 * math/s_catanl.c (__catanl): Likewise.
34025 * math/libm-test.inc (catan_test): Add more tests.
34026 (catanh_test): Likewise.
34027 * sysdeps/i386/fpu/libm-test-ulps: Update.
34028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34030 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34034 2013-04-30 Joseph Myers <joseph@codesourcery.com>
34037 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34038 accurately for denominator in atan2.
34039 * math/s_catanf.c (__catanf): Likewise.
34040 * math/s_catanh.c (__catanh): Likewise.
34041 * math/s_catanhf.c (__catanhf): Likewise.
34042 * math/s_catanhl.c (__catanhl): Likewise.
34043 * math/s_catanl.c (__catanl): Likewise.
34044 * math/libm-test.inc (catan_test): Add more tests.
34045 (catanh_test): Likewise.
34046 * sysdeps/i386/fpu/libm-test-ulps: Update.
34047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34049 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34051 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34053 * benchtests/Makefile (bench): Remove slow benchmarks.
34054 * benchtests/atan-inputs: Add slow benchmark inputs.
34055 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34056 (BENCH_FUNC): Accept variant offset.
34058 * benchtests/bench-skeleton.c (main): Run benchmark for each
34060 * benchtests/cos-inputs: Add slow benchmark inputs.
34061 * benchtests/exp-inputs: Likewise.
34062 * benchtests/pow-inputs: Likewise.
34063 * benchtests/sin-inputs: Likewise.
34064 * benchtests/slowatan-inputs: Remove.
34065 * benchtests/slowatan.c: Remove.
34066 * benchtests/slowcos-inputs: Remove.
34067 * benchtests/slowcos.c: Remove.
34068 * benchtests/slowexp-inputs: Remove.
34069 * benchtests/slowexp.c: Remove.
34070 * benchtests/slowpow-inputs: Remove.
34071 * benchtests/slowpow.c: Remove.
34072 * benchtests/slowsin-inputs: Remove.
34073 * benchtests/slowsin.c: Remove.
34074 * benchtests/slowtan-inputs: Remove.
34075 * benchtests/slowtan.c: Remove.
34076 * benchtests/tan-inputs: Add slow benchmark inputs.
34077 * scripts/bench.pl: Parse comments and directives.
34079 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
34081 ($(objpfx)bench-%.c): Remove *-ITER.
34082 * benchtests/bench-modf.c: Remove definition of ITER.
34083 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34084 (main): Loop for DURATION seconds instead of fixed number of
34086 * scripts/bench.pl: Don't expect iterations in parameters.
34088 2013-04-29 Roland McGrath <roland@hack.frob.com>
34090 * io/fchdir.c (__fchdir): Renamed from fchdir.
34091 (fchdir): Define as weak alias.
34093 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34095 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34096 (ERRNO_EDOM): Likewise.
34097 (ERRNO_ERANGE): Likewise.
34098 (noErrnoTests): New variable.
34099 (init_max_error): Set errno to 0.
34100 (test_single_errno): New function.
34101 (test_errno): Likewise.
34102 (check_float_internal): Call test_errno. Set errno to 0.
34103 (check_complex): Refer to errno tests in comment.
34104 (check_int): Call test_errno. Set errno to 0.
34105 (check_long): Likewise.
34106 (check_bool): Likewise.
34107 (check_longlong): Likewise.
34108 (cos_test): Use ERRNO_* flags for errno tests instead of
34110 (expm1_test): Likewise.
34111 (fmod_test): Likewise.
34112 (ilogb_test): Likewise.
34113 (lgamma_test): Likewise.
34114 (pow_test): Likewise.
34115 (remainder_test): Likewise.
34116 (sin_test): Likewise.
34117 (tan_test): Likewise.
34118 (yn_test): Likewise.
34119 (initialize): Set errno to 0.
34120 (main): Print number of errno tests.
34121 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34123 2013-04-29 Andreas Jaeger <aj@suse.de>
34126 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34130 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34131 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34135 * stdlib/random.c (__initstate): Return NULL if
34139 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34140 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34143 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34147 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34149 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34150 of individual tests.
34151 (casin_test): Likewise.
34152 (casinh_test): Likewise.
34154 2013-04-27 Joseph Myers <joseph@codesourcery.com>
34157 * math/s_catan.c (__catan): Handle arguments with large real or
34158 imaginary part separately without squaring.
34159 * math/s_catanf.c (__catanf): Likewise.
34160 * math/s_catanh.c (__catanh): Likewise.
34161 * math/s_catanhf.c (__catanhf): Likewise.
34162 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34164 (__catanhl): Handle arguments with large real or imaginary part
34165 separately without squaring.
34166 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34168 (__catanl): Handle arguments with large real or imaginary part
34169 separately without squaring.
34170 * math/libm-test.inc (catan_test): Add more tests.
34171 (catanh_test): Likewise.
34172 * sysdeps/i386/fpu/libm-test-ulps: Update.
34173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34175 2013-04-27 Andreas Jaeger <aj@suse.de>
34178 * stdlib/stdlib.h: Update guards for qecvt.
34179 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34182 2013-04-27 Allan McRae <allan@archlinux.org>
34184 * sysdeps/i386/fpu/libm-test-ulps: Update.
34186 2013-04-26 Joseph Myers <joseph@codesourcery.com>
34189 * math/s_catan.c: Include <float.h>.
34190 (__catan): Ensure underflow exception occurs for underflowed
34192 * math/s_catanf.c: Include <float.h>.
34193 (__catanf): Ensure underflow exception occurs for underflowed
34195 * math/s_catanh.c: Include <float.h>.
34196 (__catanh): Ensure underflow exception occurs for underflowed
34198 * math/s_catanhf.c: Include <float.h>.
34199 (__catanhf): Ensure underflow exception occurs for underflowed
34201 * math/s_catanhl.c: Include <float.h>.
34202 (__catanhl): Ensure underflow exception occurs for underflowed
34204 * math/s_catanl.c: Include <float.h>.
34205 (__catanl): Ensure underflow exception occurs for underflowed
34207 * math/libm-test.inc (catan_test): Add more tests.
34208 (catanh_test): Likewise.
34211 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34212 underflowed result.
34213 * math/s_ccoshf.c (__ccoshf): Likewise.
34214 * math/s_ccoshl.c (__ccoshl): Likewise.
34215 * math/s_csin.c (__csin): Likewise.
34216 * math/s_csinf.c (__csinf): Likewise.
34217 * math/s_csinh.c (__csinh): Likewise.
34218 * math/s_csinhf.c (__csinhf): Likewise.
34219 * math/s_csinhl.c (__csinhl): Likewise.
34220 * math/s_csinl.c (__csinl): Likewise.
34221 * math/libm-test.inc (ccos_test): Add more tests.
34222 (ccosh_test): Likewise.
34223 (csin_test): Likewise.
34224 (csinh_test): Likewise.
34226 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34228 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34229 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34230 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34231 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34232 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34233 powerpc/power5+/fpu folders.
34234 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34237 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34241 2013-04-25 Joseph Myers <joseph@codesourcery.com>
34243 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34244 additions to variable.
34245 [$(config-machine) = x86_64] (modules-names): Likewise.
34246 ($(objpfx)tst-audit3): Remove dependency.
34247 ($(objpfx)tst-audit3.out): Likewise.
34248 ($(objpfx)tst-audit4): Likewise.
34249 ($(objpfx)tst-audit4.out): Likewise.
34250 ($(objpfx)tst-audit5): Likewise.
34251 ($(objpfx)tst-audit5.out): Likewise.
34252 ($(objpfx)tst-audit6): Likewise.
34253 ($(objpfx)tst-audit6.out): Likewise.
34254 ($(objpfx)tst-audit7): Likewise.
34255 ($(objpfx)tst-audit7.out): Likewise.
34256 (tst-audit3-ENV): Remove variable.
34257 (tst-audit4-ENV): Likewise.
34258 (tst-audit5-ENV): Likewise.
34259 (tst-audit6-ENV): Likewise.
34260 (tst-audit7-ENV): Likewise.
34261 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34262 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34263 addition to variable.
34264 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34265 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34266 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34267 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34268 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34269 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34270 tst-audit3, tst-audit4 and tst-audit5.
34271 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34272 tst-audit6 and tst-audit7.
34273 [$(subdir) = elf] (modules-names): Add audit modules for those
34275 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34276 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34277 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34278 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34279 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34280 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34281 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34282 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34283 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34284 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34285 [$(subdir) = elf] (tst-audit3-ENV): New variable.
34286 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34287 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34288 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34289 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34290 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34292 [$(subdir) = elf && $(config-cflags-avx) = yes]
34293 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34294 [$(subdir) = elf && $(config-cflags-avx) = yes]
34295 (CFLAGS-tst-auditmod4a.c): Likewise.
34296 [$(subdir) = elf && $(config-cflags-avx) = yes]
34297 (CFLAGS-tst-auditmod4b.c): Likewise.
34298 [$(subdir) = elf && $(config-cflags-avx) = yes]
34299 (CFLAGS-tst-auditmod6b.c): Likewise.
34300 [$(subdir) = elf && $(config-cflags-avx) = yes]
34301 (CFLAGS-tst-auditmod6c.c): Likewise.
34302 [$(subdir) = elf && $(config-cflags-avx) = yes]
34303 (CFLAGS-tst-auditmod7b.c): Likewise.
34304 * elf/tst-audit3.c: Move to ...
34305 * sysdeps/x86_64/tst-audit3.c: ... here.
34306 * elf/tst-audit4.c: Move to ...
34307 * sysdeps/x86_64/tst-audit4.c: ... here.
34308 * elf/tst-audit5.c: Move to ...
34309 * sysdeps/x86_64/tst-audit5.c: ... here.
34310 * elf/tst-audit6.c: Move to ...
34311 * sysdeps/x86_64/tst-audit6.c: ... here.
34312 * elf/tst-audit7.c: Move to ...
34313 * sysdeps/x86_64/tst-audit7.c: ... here.
34314 * elf/tst-auditmod3a.c: Move to ...
34315 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34316 * elf/tst-auditmod3b.c: Move to ...
34317 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34318 * elf/tst-auditmod4a.c: Move to ...
34319 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34320 * elf/tst-auditmod4b.c: Move to ...
34321 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34322 * elf/tst-auditmod5a.c: Move to ...
34323 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34324 * elf/tst-auditmod5b.c: Move to ...
34325 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34326 * elf/tst-auditmod6a.c: Move to ...
34327 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34328 * elf/tst-auditmod6b.c: Move to ...
34329 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34330 * elf/tst-auditmod6c.c: Move to ...
34331 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34332 * elf/tst-auditmod7a.c: Move to ...
34333 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34334 * elf/tst-auditmod7b.c: Move to ...
34335 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34337 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
34340 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34341 define unconditionally.
34342 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34343 define unconditionally.
34344 (INT8_C, INT16_C, etc.): Likewise.
34346 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
34348 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34349 __ehdr_start with hidden visibility.
34351 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34353 2013-04-24 Carlos O'Donell <carlos@redhat.com>
34355 * math/libm-test.inc (cos_test): Use accurate hex constants.
34356 (sincost_test): Likewise.
34358 2013-04-24 Joseph Myers <joseph@codesourcery.com>
34360 * math/libm-test.inc (catan_test): Add more tests.
34361 (catanh_test): Likewise.
34363 * math/s_catanf.c (__catanf): Use suffixed floating-point
34365 * math/s_catanhf.c (__catanhf): Likewise.
34366 * math/s_catanhl.c (__catanhl): Likewise.
34367 * math/s_catanl.c (__catanl): Likewise.
34370 * math/s_catan.c (__catan): Calculate imaginary part of result
34371 with log1p not log unless computing log of number close to 0.
34372 * math/s_catanf.c (__catanf): Likewise.
34373 * math/s_catanl.c (__catanl): Likewise.
34374 * math/s_catanh.c (__catanh): Calculate real part of result with
34375 log1p not log unless computing log of number close to 0.
34376 * math/s_catanhf.c (__catanhf): Likewise.
34377 * math/s_catanhl.c (__catanhl): Likewise.
34378 * math/libm-test.inc (catan_test): Add more tests.
34379 (catanh_test): Likewise.
34380 * sysdeps/i386/fpu/libm-test-ulps: Update.
34381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34383 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34385 * benchtests/Makefile: Mention files in which fast and slow
34386 paths of math functions are implemented.
34388 2013-04-23 Roland McGrath <roland@hack.frob.com>
34390 * sysdeps/posix/timespec_get.c: New file.
34392 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34394 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34396 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34398 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34399 powerpc/power5/fpu folders.
34400 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34401 * benchtests/Makefile: Add modf testcase.
34402 * benchtests/bench-modf.c: New file: Benchmark test for mo
34404 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34407 * time/Makefile (tests): Add tst-strptime-whitespace.
34408 * time/strptime_l.c (get_number): Use ISSPACE.
34409 (__strptime_internal): Likewise.
34410 * time/tst-strptime-whitespace.c: New test case.
34412 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
34414 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34416 (_nss_files_init): Set it here.
34418 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
34420 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34421 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34424 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
34426 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34428 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34430 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34433 2013-04-21 David S. Miller <davem@davemloft.net>
34435 * po/ru.po: Update Russion translation from translation project.
34437 2013-04-17 Adam Conrad <adconrad@0c3.net>
34439 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34442 2013-04-17 Carlos O'Donell <carlos@redhat.com>
34444 * configure.in: Remove i386 configure warning. Remove i386 case.
34445 * configure: Regenerate.
34446 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34447 Add example to error message.
34448 * sysdeps/i386/configure: Regenerate.
34450 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34452 * benchtests/Makefile (bench): Add cos, tan, slowcos and
34454 * benchtests/cos-inputs: New file.
34455 * benchtests/slowcos-inputs: New file.
34456 * benchtests/slowcos.c: New file.
34457 * benchtests/slowtan-inputs: New file.
34458 * benchtests/slowtan.c: New file.
34459 * benchtests/tan-inputs: New file.
34461 2013-04-16 Roland McGrath <roland@hack.frob.com>
34463 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34466 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34468 * benchtests/Makefile: Include cppflags-iterator.mk to add
34469 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34471 * Makefile.in (bench-clean): New target.
34472 * benchtests/Makefile (bench-clean): Likewise.
34474 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
34476 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34478 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
34480 * stdio-common/tstdiomisc.c: Fix coding-style violation.
34482 2013-04-15 Andreas Schwab <schwab@suse.de>
34484 * nscd/grpcache.c (cache_addgr): Properly check for short write.
34485 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34486 * nscd/pwdcache.c (cache_addpw): Likewise.
34487 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
34490 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34492 * benchtests/Makefile (bench): Write all output to
34493 bench-out.tmp together.
34495 2013-04-15 Andreas Schwab <schwab@suse.de>
34497 * nscd/nscd.c (main): Don't fork again after closing files.
34499 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34501 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34503 * benchtests/Rules (bench-deps): Collect dependencies into a
34504 single variable. Add Makefile to dependencies.
34505 ($(objpfx)bench-%.c): Depend on bench-deps.
34507 2013-04-12 Roland McGrath <roland@hack.frob.com>
34508 Xavier Roche <roche+kml2@exalead.com>
34511 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34512 just that it's a file descriptor.
34513 * manual/llio.texi (Synchronizing AIO Operations): Update description
34514 for EBADF error from aio_fsync.
34516 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34518 * Rules (bench): Move target definition...
34519 * benchtests/Makefile: ... here.
34521 2013-04-11 Carlos O'Donell <carlos@redhat.com>
34523 * math/libm-test.inc (cos_test): Fix PI/2 test.
34524 (sincos_test): Likewise.
34525 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34526 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34528 2013-04-11 Andreas Schwab <schwab@suse.de>
34531 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34532 accept exponent character only when digits were seen.
34533 * stdio-common/Makefile (tests): Add bug26.
34534 * stdio-common/bug26.c: New file.
34537 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34540 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34542 * Makeconfig (rtld-prefix): Define built linker prefix.
34543 * Rules (run-bench): Use it.
34544 * math/Makefile (run-regen-ulps): Likewise.
34546 * Rules (bench): Remove eval.
34548 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34549 Roland McGrath <roland@hack.frob.com>
34550 Ondrej Bilka <neleai@seznam.cz>
34553 * time/getdate.c: Include ctype.h and alloca.h.
34554 (__getdate_r): Trim leading and trailing spaces of input.
34555 * time/tst-getdate.c (tests): Add tests with leading and
34558 2013-04-08 Roland McGrath <roland@hack.frob.com>
34561 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34562 when computing value.
34564 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34566 * math/README.libm-test (How can I generate "libm-test-ulps"?):
34567 Use testrun.sh to run libm tests.
34570 * elf/dl-open.c (dl_open_worker): memset all of seen array.
34572 2013-04-06 Marko Myllynen <myllynen@redhat.com>
34575 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34577 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34579 * Makefile.in (regen-ulps): New target.
34580 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34581 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34582 [ifneq (no,$(PERL)] (regen-ulps): New target.
34583 [ifeq (no,$(PERL)] (regen-ulps): New target.
34584 * math/libm-test.inc (ulps_file_name): Define.
34585 (output_dir): New variable.
34586 (options): Add "output-dir" option.
34587 (parse_opt): Handle 'o' case.
34588 (main): If output_dir is non-NULL use it as a prefix
34590 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34592 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34594 [BZ #10060, #10062]
34595 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34596 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34597 fail configure if __sync_val_compare_and_swap is not inlined.
34598 * sysdeps/i386/configure: Regenerate.
34599 * configure.in: Build for i686 when configured for i386.
34600 * configure: Regenerate.
34601 * README: Remove i386 reference.
34603 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34605 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34606 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34608 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
34610 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34611 (lmsnanval): New variables.
34612 (F): Add conversion tests.
34613 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34614 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34616 * stdio-common/tstdiomisc.c (F): Properly collect individual
34619 [BZ #14686, #15336]
34620 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34621 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34622 Instead, use input NaN values or generate a qNaN by arithmetic
34623 operation. Also fix bugs to comply with the standard.
34624 * math/libm-test.inc (remainder_test): Add more tests.
34626 [BZ #15335, #15342]
34627 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34628 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34629 input NaN values or generate a qNaN by arithmetic operation.
34631 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34634 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34637 2013-04-03 Joseph Myers <joseph@codesourcery.com>
34640 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34641 underflowed result.
34642 * math/s_cexpf.c (__cexpf): Likewise.
34643 * math/s_cexpl.c (__cexpl): Likewise.
34644 * math/libm-test.inc (cexp_test): Add more tests.
34646 2013-04-03 Andreas Schwab <schwab@suse.de>
34649 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34650 order arrays from heap if bigger than alloca cutoff.
34652 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
34654 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34655 (SNAN_TESTS_double): Refer to GCC PR56831.
34656 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34659 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34661 * Rules (bench): Move bench.out after the run is complete.
34663 * Rules (bench): Echo currently running benchmark.
34665 * benchtests/Makefile (bench): Add atan and slowatan.
34666 * benchtests/atan-inputs: New file.
34667 * benchtests/slowatan-inputs: New file.
34668 * benchtests/slowatan.c: New file.
34670 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34671 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34675 * sysdeps/unix/sysv/linux/kernel-features.h
34676 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34677 __ASSUME_XFS_RESTRICTED_CHOWN.
34678 * sysdeps/unix/sysv/linux/pathconf.c
34679 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34680 Save and restore errno.
34682 2013-04-02 Joseph Myers <joseph@codesourcery.com>
34685 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34686 arguments using __kernel_casinh.
34687 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34688 arguments using __kernel_casinhf.
34689 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34690 arguments using __kernel_casinhl.
34691 * math/libm-test.inc (cacosh_test): Add more tests.
34692 * sysdeps/i386/fpu/libm-test-ulps: Update.
34693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34695 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34697 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34700 * bench/Makefile (bench): Add sin and slowsin.
34701 * benchtests/sin-inputs: New file.
34702 * benchtests/slowsin-inputs: New file.
34703 * benchtests/slowsin.c: New file.
34705 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34706 (bench): Add slowexp and slowpow.
34707 (exp-ITER): Increase iterations.
34708 (pow-ITER): Likewise.
34709 * benchtests/exp-inputs: Change input.
34710 * benchtests/pow-inputs: Likewise.
34711 * benchtests/slowexp-inputs: New file.
34712 * benchtests/slowexp.c: New file.
34713 * benchtests/slowpow-inputs: New file.
34714 * benchtests/slowpow.c: New file.
34716 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34718 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34720 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34721 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34722 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34723 * benchtests/Makefile: Add rint benchtest.
34724 * benchtests/rint-inputs: Input for rint benchtest.
34726 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
34728 * Versions.def (libm): Add GLIBC_2.18.
34729 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34730 hidden libm prototypes.
34731 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34732 * math/Makefile (libm-calls): Add s_issignaling.
34733 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34734 __issignalingf, __issignalingl. Adjust all libm.abilist files.
34735 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34737 * math/math.h [__USE_GNU] (issignaling): New macro.
34738 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34739 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34740 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34741 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34742 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34743 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34744 * manual/arith.texi (issignaling): New section.
34745 * manual/libm-err-tab.pl (@all_functions): Update comment.
34746 * math/gen-libm-test.pl (parse_args): Apply special handling for
34748 * math/libm-test.inc (print_float, issignaling_test): New
34750 (check_float_internal): Add issignaling checks.
34751 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34752 default definition.
34753 * sysdeps/powerpc/math-tests.h: New file.
34754 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34756 * math/test-snan.c (TEST_FUNC): Likewise.
34758 2013-03-30 David S. Miller <davem@davemloft.net>
34760 * po/de.po: Update from translation team.
34762 2013-03-30 Joseph Myers <joseph@codesourcery.com>
34765 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34766 imaginary part less than 1.0 and real part less than 0.5
34768 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34769 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34770 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34771 (cacos_test): Add more tests.
34772 (casin_test): Likewise.
34773 (casinh_test): Likewise.
34774 * sysdeps/i386/fpu/libm-test-ulps: Update.
34775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34777 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34779 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34780 ONE with its value.
34782 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34783 (__pow_mp): Replace ONE and MONE with their values.
34784 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34785 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34786 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34787 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34788 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34789 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34791 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34793 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34794 (__pow_mp): Replace ZERO and MZERO with their values.
34795 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34796 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34797 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34798 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34799 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34800 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34803 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34805 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34807 2013-03-28 Roland McGrath <roland@hack.frob.com>
34809 * include/stdlib.h [!SHARED] (__call_tls_dtors):
34810 Declare with __attribute__ ((weak)).
34811 * stdlib/exit.c (__libc_atexit) [!SHARED]:
34812 Call __call_tls_dtors only if it's not NULL.
34814 2013-03-28 Roland McGrath <roland@hack.frob.com>
34816 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34817 didn't do it already, then set _dl_phdr and _dl_phnum based on the
34818 magic __ehdr_start linker symbol if it's defined.
34819 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34820 them up here if it was already done.
34822 * elf/dl-support.c (_dl_phdr): Make pointer to const.
34823 (_dl_aux_init): Use const in cast when setting it.
34824 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34825 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34826 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34828 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34830 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34831 * csu/libc-tls.c: Nor here.
34832 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34834 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34835 (__libc_message): Never call vsyslog.
34837 2013-03-28 Alan Modra <amodra@gmail.com>
34839 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34841 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34844 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34847 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34851 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34854 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34855 Don't add gid passed as argument.
34857 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34859 2013-03-27 Joseph Myers <joseph@codesourcery.com>
34862 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34863 imaginary part between 1.0 and 1.5 and real part less than 0.5
34865 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34866 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34867 * math/libm-test.inc (cacos_test): Add more tests.
34868 (casin_test): Likewise.
34869 (casinh_test): Likewise.
34870 * sysdeps/i386/fpu/libm-test-ulps: Update.
34871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34873 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34875 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34878 (denorm): Likewise.
34879 (__dbl_mp): Likewise.
34880 (add_magnitudes): Likewise.
34881 (sub_magnitudes): Likewise.
34889 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34891 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34892 (__dubcos): Likewise.
34893 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34894 (__ieee754_acos): Likewise.
34895 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34896 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34897 (__exp1): Likewise.
34898 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34899 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34901 (my_log2): Likewise.
34902 (checkint): Likewise.
34903 * sysdeps/ieee754/dbl-64/e_remainder.c
34904 (__ieee754_remainder): Likewise.
34905 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34906 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34907 (bsloww): Likewise.
34908 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34910 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34911 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34912 MANTISSA_STORE_T to store computations on mantissa. Use
34913 macros for rounding and division.
34914 (denorm): Likewise.
34915 (__dbl_mp): Likewise.
34916 (add_magnitudes): Likewise.
34917 (sub_magnitudes): Likewise.
34920 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34921 powers of two in terms of TWOPOW macro.
34922 (mp_no): Make type of mantissa as MANTISSA_T.
34923 [!RADIXI]: Define RADIXI.
34924 [!TWO52]: Define TWO52.
34925 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34927 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34929 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34930 llroundl symbol when building for PPC32.
34932 2013-03-24 Mark H Weaver <mhw@netris.org>
34934 * manual/arith.texi (Normalization Functions): Fix prototypes for
34935 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34937 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34940 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34941 high value to check if expl overflow.
34942 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34943 to check for underflow and overflow.
34944 * math/libm-test.inc: Add exp test.
34946 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
34949 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34952 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34954 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34957 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
34959 * math/gen-libm-test.pl (parse_args, special_functions): Properly
34960 wrap blocks consisting of several statements.
34962 * sysdeps/generic/math-tests.h: New file.
34963 * sysdeps/i386/fpu/math-tests.h: Likewise.
34964 * math/test-snan.c: Include it.
34965 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34967 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34970 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34971 (__ieee754_j0l): Do not improve calculations using cos of twice
34972 input for inputs above LDBL_MAX / 2.0L.
34973 (__ieee754_y0l): Likewise.
34974 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34975 (__ieee754_j1l): Do not improve calculations using cos of twice
34976 input for inputs above LDBL_MAX / 2.0L.
34977 (__ieee754_y1l): Likewise.
34978 * math/libm-test.inc (j0_test): Add another test.
34979 (j1_test): Likewise.
34980 (y0_test): Likewise.
34981 (y1_test): Likewise.
34982 * sysdeps/i386/fpu/libm-test-ulps: Update.
34984 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34986 * Rules ($(objpfx)bench-%.c): Include code from a C source
34989 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34992 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34993 imaginary part 1.0 and real part less than 0.5 specially.
34994 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34995 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34996 * math/libm-test.inc (cacos_test): Add more tests.
34997 (casin_test): Likewise.
34998 (casinh_test): Likewise.
34999 * sysdeps/i386/fpu/libm-test-ulps: Update.
35000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35002 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35004 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35005 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35007 2013-03-20 Joseph Myers <joseph@codesourcery.com>
35009 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35010 * config.make.in (config-cflags-sse4): Remove variable.
35011 (config-cflags-avx): Likewise.
35012 (config-cflags-sse2avx): Likewise.
35013 (config-cflags-novzeroupper): Likewise.
35014 (config-asflags-i686): Likewise.
35015 (have-mfma4): Likewise.
35016 (have-as-vis3): Likewise.
35018 * configure.in (MIG): Do not AC_SUBST.
35019 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35020 (libc_cv_cc_sse4): Do not AC_SUBST.
35021 (libc_cv_cc_avx): Likewise.
35022 (libc_cv_cc_sse2avx): Likewise.
35023 (libc_cv_cc_novzeroupper): Likewise.
35024 (libc_cv_cc_fma4): Likewise.
35025 (libc_cv_as_i686): Likewise.
35026 (libc_cv_sparc_as_vis3): Likewise.
35027 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35029 (config-asflags-i686): Likewise.
35030 (config-cflags-avx): Likewise.
35031 (config-cflags-sse2avx): Likewise.
35032 (have-mfma4): Likewise.
35033 (config-cflags-novzeroupper): Likewise.
35034 * sysdeps/mach/configure.in (MIG): Likewise.
35035 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35036 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35038 (config-cflags-avx): Likewise.
35039 (config-cflags-sse2avx): Likewise.
35040 (have-mfma4): Likewise.
35041 (config-cflags-novzeroupper): Likewise.
35042 * configure: Regenerated.
35043 * sysdeps/i386/configure: Likewise.
35044 * sysdeps/mach/configure: Likewise.
35045 * sysdeps/sparc/configure: Likewise.
35046 * sysdeps/x86_64/configure: Likewise.
35048 2013-03-20 Roland McGrath <roland@hack.frob.com>
35051 * locale/programs/localedef.c (options): Put N_ translation marker
35052 on argument names, not just descriptions.
35054 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35056 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35058 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
35061 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35063 2013-03-19 Roland McGrath <roland@hack.frob.com>
35065 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35066 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35067 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35068 [!BEFORE_ABORT] (before_abort): New function.
35069 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35070 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35071 (writev_for_fatal): New function.
35072 (WRITEV_FOR_FATAL): New macro; call that.
35073 (backtrace_and_maps): New function.
35074 (BEFORE_ABORT): New macro; call that.
35075 (struct str_list): Type removed.
35076 (__libc_message, __libc_fatal): Functions removed.
35077 Include <sysdeps/posix/libc_fatal.c> instead.
35079 2013-03-19 Joseph Myers <joseph@codesourcery.com>
35081 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35083 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35086 2013-03-19 Andreas Schwab <schwab@suse.de>
35088 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35089 * sysdeps/gnu/configure: Regenerate.
35091 * configure.in: Substitute libc_cv_rtlddir.
35092 * configure: Regenerate.
35093 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35094 * Makeconfig (rtlddir, inst_rtlddir): New variables.
35095 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35096 * elf/Makefile (install-others, CFLAGS-interp.c)
35097 (ldso_install, common-ldd-rewrite): Likewise.
35098 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35099 $(inst_slibdir)/$(rtld-installed-name).
35100 * scripts/rellns-sh: Add -p option.
35101 * Makerules (make-shlib-link): Use rellns-sh to get relative name
35104 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35106 * manual/nptl.texi: Renamed to ...
35107 * manual/threads.texi: ... this.
35108 * manual/Makefile (chapters): Update.
35110 2013-03-18 Roland McGrath <roland@hack.frob.com>
35113 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35114 on argument names, not just descriptions.
35115 * malloc/memusagestat.c (options): Likewise.
35116 * nss/getent.c (options): Likewise.
35118 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
35121 * iconv/iconv_prog.c (options): Put N_ translation marker
35122 on argument names, not just descriptions.
35123 * iconv/iconvconfig.c (options): Likewise.
35125 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
35127 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35128 implementation which is faster on all x86_64 architectures.
35129 Tested on AMD, Intel Nehalem, SNB, IVB.
35130 * sysdeps/x86_64/strnlen.S: Likewise.
35132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35133 Remove all multiarch strlen and strnlen versions.
35134 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35135 Remove strlen and strnlen related parts.
35137 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35138 Inline strlen part.
35139 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35141 * sysdeps/x86_64/multiarch/strlen.S: Remove.
35142 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35143 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35144 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35145 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35146 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35148 2013-03-17 Carlos O'Donell <carlos@redhat.com>
35150 * manual/memory.texi (Malloc Tunable Parameters):
35151 Sort parameters alphabetically. Add comments for missing entries.
35153 2013-03-17 David S. Miller <davem@davemloft.net>
35155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35157 2013-03-16 Joseph Myers <joseph@codesourcery.com>
35160 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35161 for arguments at most half maximum finite value.
35162 * math/libm-test.inc (j0_test): Add more tests.
35163 (j1_test): Likewise.
35164 (y0_test): Likewise.
35165 (y1_test): Likewise.
35166 * sysdeps/i386/fpu/libm-test-ulps: Update.
35167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35170 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35171 1 / x and functions P and Q for arguments above 0x1p256L.
35172 (__ieee754_y0l): Likewise.
35173 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35174 (__ieee754_y1l): Likewise.
35175 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35176 (j1_test): Likewise.
35177 (y0_test): Likewise.
35178 (y1_test): Likewise.
35180 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
35182 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35185 2013-03-15 Roland McGrath <roland@hack.frob.com>
35187 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35188 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35189 zero since it's initialized to EXEC_PAGESIZE.
35191 * sysdeps/unix/sysv/linux/ldsodefs.h
35192 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35193 * sysdeps/generic/ldsodefs.h: ... here.
35195 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
35197 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35199 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35201 * math/test-snan.c: Renamed from
35202 sysdeps/powerpc/fpu/test-powerpc-snan.c.
35203 * math/Makefile (tests): Add test-snan.
35204 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35207 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35208 SUFFIX. Initialize qNaN_var with __builtin_nan family of
35210 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
35211 __builtin_nan family of functions.
35212 * math/libm-test.inc (initialize): Initialize qnan_value with
35213 __builtin_nan family of functions.
35214 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35216 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35218 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
35219 storage class. Initialize qNaN_var and sNaN_var with
35220 __builtin_nan and __builtin_nans families of functions,
35223 * math/libm-test.inc (acosh_test): Also test with qNaN input.
35224 (sqrt_test): Remove duplicate test with qNaN input.
35225 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35226 (round_test, signbit_test, significand_test): Note missing +/-Inf
35227 as well as qNaN tests.
35229 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35230 qNaN_var. Fix a few strings, too.
35231 * math/libm-test.inc (nan_value): Rename to qnan_value.
35232 * math/gen-libm-test.pl (%beautify): Adjust to that.
35233 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35234 * math/test-misc.c (main): Likewise.
35235 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35236 to __qnan_bytes, and __qnan_union, respectively.
35237 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35239 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35240 and lqnanval, respectively.
35241 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35242 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35243 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35244 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35246 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35247 * math/test-misc.c (main) [__x86_64__]: Enable test for long
35250 * math/test-misc.c (main): Fix copy'n'pastos.
35251 * misc/tst-efgcvt.c (special): Likewise.
35253 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35254 Remove declarations.
35256 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35258 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35259 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35260 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35261 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35263 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35265 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35266 macro to return vdso values correctly in IFUNC implementations.
35267 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35268 Optimization by using IFUNC.
35270 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35271 Richard Henderson <rth@redhat.com>
35272 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35274 * Makefile.in (bench): New target.
35275 * NEWS: Mention the benchmark framework.
35276 * Rules (bench): Likewise.
35277 (binaries-bench): Generate binaries for functions to
35279 * benchtests/Makefile: New makefile for benchmark tests.
35280 * benchtests/bench-skeleton.c: New skeleton file for benchmark
35282 * benchtests/exp-inputs: New input file for EXP function.
35283 * benchtests/pow-inputs: New input file for POW function.
35284 * scripts/bench.pl: New script to generate source files for
35285 benchmark programs.
35287 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35289 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35290 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35291 computations on mantissa. Use macros for rounding and
35293 (denorm): Likewise.
35294 (__dbl_mp): Likewise.
35295 (add_magnitudes): Likewise.
35296 (sub_magnitudes): Likewise.
35299 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35300 powers of two in terms of TWOPOW macro.
35301 (mp_no): Make type of mantissa as MANTISSA_T.
35302 [!RADIXI]: Define RADIXI.
35303 [!TWO52]: Define TWO52.
35304 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35306 * manual/nptl.texi (cindex): Modify threads to pthreads.
35308 2013-03-15 Joseph Myers <joseph@codesourcery.com>
35310 * sysdeps/x86_64/preconfigure: Regenerated.
35312 2013-03-14 Joseph Myers <joseph@codesourcery.com>
35315 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35317 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35318 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35320 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35321 * math/libm-test.inc (j0_test): Do not allow one spurious
35322 underflow exception.
35323 (y1_test): Likewise.
35325 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35327 * manual/Makefile (chapters): Add nptl.
35328 * manual/debug.texi (Debugging Support): Add link to Threads
35330 * manual/nptl.texi: New file.
35332 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35334 2013-03-14 Petr Baudis <pasky@ucw.cz>
35336 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35337 for non-NULL pointer before the memory validity test. Pointed
35338 out by Holger Brunck <holger.brunck@keymile.com>.
35340 2013-03-13 Andreas Schwab <schwab@suse.de>
35342 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35345 2013-03-13 Joseph Myers <joseph@codesourcery.com>
35347 * timezone/zic.c: Update from tzcode 2013b.
35349 2013-03-12 Carlos O'Donell <carlos@redhat.com>
35351 * manual/install.texi (Configuring and compiling):
35352 Mention i686 and i586.
35353 * INSTALL: Regenerate.
35355 2013-03-12 Roland McGrath <roland@hack.frob.com>
35357 * sysdeps/init_array/elf-init.c: New file.
35359 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35360 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35362 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35363 __gmon_start__ as global, but as static with a .preinit_array pointer.
35364 * sysdeps/init_array/gmon-start.c: New file. Use that.
35365 * sysdeps/init_array/crti.S: New file, empty except for comments.
35366 * sysdeps/init_array/crtn.S: Likewise.
35368 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
35370 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35373 Remove Prefer_SSE_for_memop.
35374 * sysdeps/x86_64/multiarch/init-arch.h: Remove
35375 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35376 HAS_PREFER_SSE_FOR_MEMOP.
35377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35379 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35380 Remove bzero, memset ifunc support.
35381 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35382 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35383 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35384 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35386 2013-03-11 Andreas Schwab <schwab@suse.de>
35389 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35392 (GLIBC_2.16): Remove pthread_atfork.
35394 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
35396 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35397 (ptestcases.h): Likewise.
35399 2013-03-08 Roland McGrath <roland@hack.frob.com>
35401 * Makeconfig ($(common-objpfx)config.status): Depend on
35402 sysdeps/*/preconfigure{,.in} too.
35404 2013-03-08 Joseph Myers <joseph@codesourcery.com>
35406 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35407 (__free_hook): Use void * instead of __malloc_ptr_t.
35408 (__malloc_hook): Likewise.
35409 (__realloc_hook): Likewise.
35410 (__memalign_hook): Likewise.
35411 (__after_morecore_hook): Likewise.
35412 * malloc/arena.c (save_malloc_hook): Likewise.
35413 (save_free_hook): Likewise.
35414 * malloc/hooks.c (malloc_hook_ini): Likewise.
35415 (realloc_hook_ini): Likewise.
35416 (memalign_hook_ini): Likewise.
35417 * malloc/malloc.c (malloc_hook_ini): Likewise.
35418 (realloc_hook_ini): Likewise.
35419 (memalign_hook_ini): Likewise.
35420 (__free_hook): Likewise.
35421 (__malloc_hook): Likewise.
35422 (__realloc_hook): Likewise.
35423 (__memalign_hook): Likewise.
35424 (__libc_malloc): Likewise.
35425 (__libc_free): Likewise.
35426 (__libc_realloc): Likewise.
35427 (__libc_memalign): Likewise.
35428 (__libc_valloc): Likewise.
35429 (__libc_pvalloc): Likewise.
35430 (__libc_calloc): Likewise.
35431 (__posix_memalign): Likewise.
35432 * malloc/morecore.c (__sbrk): Likewise.
35433 (__default_morecore): Likewise.
35435 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35437 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35438 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35439 __malloc_ptrdiff_t.
35441 * malloc/malloc.h (__malloc_size_t): Remove macro.
35442 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35444 (old_memalign_hook): Likewise.
35445 (old_realloc_hook): Likewise.
35446 (struct hdr): Likewise.
35448 (mallochook): Likewise.
35449 (memalignhook): Likewise.
35450 (reallochook): Likewise.
35451 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35452 (tr_old_realloc_hook): Likewise.
35453 (tr_old_memalign_hook): Likewise.
35454 (tr_mallochook): Likewise.
35455 (tr_reallochook): Likewise.
35456 (tr_memalignhook): Likewise.
35458 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35460 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35461 default_ldbl_pack and using as default implementation.
35462 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35464 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35465 redundant definition.
35466 (ldbl_insert_mantissa): Likewise.
35467 (ldbl_canonicalize): Likewise.
35468 (ldbl_nearbyint): Likewise.
35469 (ldbl_pack): Rename to ldbl_pack_ppc.
35470 (ldbl_unpack): Rename to ldbl_unpack_ppc.
35471 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35472 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35474 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35477 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35478 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35479 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35481 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35482 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35483 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35485 2013-03-07 Andreas Jaeger <aj@suse.de>
35487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35490 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35492 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35493 Include mpa.h and declare __MPEXP.
35494 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35495 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35496 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35497 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35498 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35499 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35500 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35502 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35503 (__slowpow): Use long double EXPL and LOGL functions to
35505 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35506 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35507 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35508 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35509 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35510 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35513 intermediate variable to calculate exponent.
35515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35519 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35520 [!NO__SQR]: Define __sqr.
35521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35522 and NO__SQR. Remove all code except __mul and __sqr. Include
35523 sysdeps/ieee754/dbl-64/mpa.c.
35524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35527 * posix/Makefile (tests): Add tst-pathconf.
35528 * posix/tst-pathconf.c: New test case.
35529 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35531 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35533 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
35535 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35537 2013-03-06 Andreas Jaeger <aj@suse.de>
35539 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35540 definition via __MAP_ANONYMOUS.
35542 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35543 it's not part of Linux headers.
35545 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35546 (MAP_HUGE_MASK): Define.
35548 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35550 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35551 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35553 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35554 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35556 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35557 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35559 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35561 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35562 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35563 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35564 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35565 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35566 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35568 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35571 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35572 Handle f2fs and efivarfs.
35574 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35577 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35578 (EFIVARFS_MAGIC): Add.
35579 (F2FS_LINK_MAX): Add.
35581 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35583 * stdio-common/vfprintf.c: Replace __builtin_expect with
35586 2013-03-06 Joseph Myers <joseph@codesourcery.com>
35589 * sysdeps/generic/bp-sym.h: Remove file.
35590 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35591 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35592 <bp-sym.h> and <bp-asm.h>.
35593 (__longjmp): Don't use BP_SYM.
35594 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35596 (memcpy): Don't use BP_SYM.
35597 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35598 <bp-sym.h> and <bp-asm.h>.
35599 (memcpy): Don't use BP_SYM.
35600 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35602 (memcpy): Don't use BP_SYM.
35603 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35605 (memset): Don't use BP_SYM.
35606 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35607 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35608 (__bzero): Don't use BP_SYM.
35609 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35610 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35611 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35612 <bp-sym.h> and <bp-asm.h>.
35613 (memcmp): Don't use BP_SYM. Remove comment about bounded
35615 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35616 <bp-sym.h> and <bp-asm.h>.
35617 (memcpy): Don't use BP_SYM.
35618 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35619 <bp-sym.h> and <bp-asm.h>.
35620 (memset): Don't use BP_SYM.
35621 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35622 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35623 (__bzero): Don't use BP_SYM.
35624 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35625 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35626 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35627 <bp-sym.h> and <bp-asm.h>.
35628 (strncmp): Don't use BP_SYM. Remove comment about bounded
35630 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35631 <bp-sym.h> and <bp-asm.h>.
35632 (memcpy): Don't use BP_SYM.
35633 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35634 <bp-sym.h> and <bp-asm.h>.
35635 (memset): Don't use BP_SYM.
35636 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35637 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35638 (__bzero): Don't use BP_SYM.
35639 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35640 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35641 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35642 <bp-sym.h> and <bp-asm.h>.
35643 (__memchr): Don't use BP_SYM.
35644 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35645 <bp-sym.h> and <bp-asm.h>.
35646 (memcmp): Don't use BP_SYM. Remove comment about bounded
35648 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35649 <bp-sym.h> and <bp-asm.h>.
35650 (memcpy): Don't use BP_SYM.
35651 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35652 <bp-sym.h> and <bp-asm.h>.
35653 (__mempcpy): Don't use BP_SYM.
35654 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35655 <bp-sym.h> and <bp-asm.h>.
35656 (__memrchr): Don't use BP_SYM.
35657 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35658 <bp-sym.h> and <bp-asm.h>.
35659 (memset): Don't use BP_SYM.
35660 (__bzero): Likewise.
35661 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35662 <bp-sym.h> and <bp-asm.h>.
35663 (__rawmemchr): Don't use BP_SYM.
35664 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35665 <bp-sym.h> and <bp-asm.h>.
35666 (__STRCMP): Don't use BP_SYM.
35667 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35668 <bp-sym.h> and <bp-asm.h>.
35669 (strchr): Don't use BP_SYM.
35670 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35671 <bp-sym.h> and <bp-asm.h>.
35672 (__strchrnul): Don't use BP_SYM.
35673 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35674 <bp-sym.h> and <bp-asm.h>.
35675 (strlen): Don't use BP_SYM.
35676 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35677 <bp-sym.h> and <bp-asm.h>.
35678 (strncmp): Don't use BP_SYM. Remove comment about bounded
35680 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35681 <bp-sym.h> and <bp-asm.h>.
35682 (__strnlen): Don't use BP_SYM.
35683 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35684 <bp-sym.h> and <bp-asm.h>.
35685 (__GI__setjmp): Don't use BP_SYM.
35686 (_setjmp): Likewise.
35687 (__sigsetjmp): Likewise.
35688 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35689 (L(start_addresses)): Don't use BP_SYM.
35690 (_start): Likewise.
35691 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35693 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35694 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35695 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35696 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35697 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35699 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35700 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
35701 about bounded pointers.
35702 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35703 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35704 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35706 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35707 about bounded pointers. Remove GKM FIXME comments.
35708 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35709 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35711 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35712 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
35713 Remove GKM FIXME comments.
35714 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35715 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35716 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35718 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35719 about bounded pointers. Remove GKM FIXME comment.
35720 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35722 (strncmp): Don't use BP_SYM. Remove comment about bounded
35724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35725 <bp-sym.h> and <bp-asm.h>.
35726 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35728 <bp-sym.h> and <bp-asm.h>.
35729 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35732 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35734 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35737 2013-03-05 David S. Miller <davem@davemloft.net>
35739 * po/es.po: Update from translation team.
35741 2013-03-05 Andreas Jaeger <aj@suse.de>
35743 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35744 <bits/mman-linux.h>.
35745 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35747 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35748 <bits/mman-linux.h> to end of file.
35749 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35751 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35752 <bits/mman-linux.h> to end of file.
35753 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35755 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35756 <bits/mman-linux.h> to end of file.
35758 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35759 (MCL_CURRENT, MCL_FUTURE): Define here.
35761 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35764 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35766 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35768 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35770 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35771 fourth parameter needed for rt_sigprocmask syscall.
35772 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35773 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35774 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35775 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35776 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35777 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35779 2013-03-04 Joseph Myers <joseph@codesourcery.com>
35782 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35783 comment about bounded pointers.
35784 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35785 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35787 2013-03-04 Andreas Jaeger <aj@suse.de>
35789 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35790 common definitions.
35792 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35793 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35794 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35795 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35796 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35797 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35799 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35802 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35803 __ieee754_sqrl instead of __sqrl.
35805 2013-03-01 Joseph Myers <joseph@codesourcery.com>
35807 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35808 * sysdeps/powerpc/fpu_control.h: ... here.
35809 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35810 * sysdeps/powerpc/bits/fenvinline.h: ... here.
35811 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35812 * sysdeps/powerpc/bits/mathinline.h: ... here.
35814 2013-03-01 Roland McGrath <roland@hack.frob.com>
35816 * elf/dl-hwcaps.c (_dl_important_hwcaps):
35817 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35818 to just [NEED_DL_SYSINFO_DSO].
35819 * elf/dl-support.c: Likewise.
35820 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35821 * elf/rtld.c (dl_main): Likewise.
35822 * elf/setup-vdso.h (setup_vdso): Likewise.
35823 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35824 * sysdeps/unix/sysv/linux/dl-sysdep.c
35825 (_dl_discover_osversion): Likewise.
35827 2013-03-01 Carlos O'Donell <carlos@redhat.com>
35829 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35830 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35832 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35834 * NEWS: Mention libm performance improvements and non-x86 PI
35837 * csu/libc-start.c (__pthread_initialize_minimal): Change
35838 function arguments.
35839 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35841 2013-02-28 Joseph Myers <joseph@codesourcery.com>
35844 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35845 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35846 <bp-sym.h> and <bp-asm.h>.
35847 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35848 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35850 (memcpy): Don't use BP_SYM.
35851 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35853 (__mpn_add_n): Don't use BP_SYM.
35854 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35855 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35857 (__mpn_addmul_1): Don't use BP_SYM.
35858 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35859 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35861 (_setjmp): Don't use BP_SYM.
35862 (__novmx_setjmp): Likewise.
35863 (__GI__setjmp): Likewise.
35864 (__vmx_setjmp): Likewise.
35865 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35867 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35868 (__bzero): Don't use BP_SYM.
35869 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35870 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35871 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35872 <bp-sym.h> and <bp-asm.h>.
35873 (memcpy): Don't use BP_SYM.
35874 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35875 <bp-sym.h> and <bp-asm.h>.
35876 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35877 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35878 <bp-sym.h> and <bp-asm.h>.
35879 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35880 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35882 (__mpn_lshift): Don't use BP_SYM.
35883 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35884 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35886 (memset): Don't use BP_SYM.
35887 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35888 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35889 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35891 (__mpn_mul_1): Don't use BP_SYM.
35892 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35893 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35894 <bp-sym.h> and <bp-asm.h>.
35895 (memcmp): Don't use BP_SYM.
35896 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35897 <bp-sym.h> and <bp-asm.h>.
35898 (memcpy): Don't use BP_SYM.
35899 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35900 <bp-sym.h> and <bp-asm.h>.
35901 (memset): Don't use BP_SYM.
35902 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35903 <bp-sym.h> and <bp-asm.h>.
35904 (strncmp): Don't use BP_SYM.
35905 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35906 <bp-sym.h> and <bp-asm.h>.
35907 (memcpy): Don't use BP_SYM.
35908 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35909 <bp-sym.h> and <bp-asm.h>.
35910 (memset): Don't use BP_SYM.
35911 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35912 <bp-sym.h> and <bp-asm.h>.
35913 (__memchr): Don't use BP_SYM.
35914 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35915 <bp-sym.h> and <bp-asm.h>.
35916 (memcmp): Don't use BP_SYM.
35917 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35918 <bp-sym.h> and <bp-asm.h>.
35919 (memcpy): Don't use BP_SYM.
35920 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35921 <bp-sym.h> and <bp-asm.h>.
35922 (__mempcpy): Don't use BP_SYM.
35923 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35924 <bp-sym.h> and <bp-asm.h>.
35925 (__memrchr): Don't use BP_SYM.
35926 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35927 <bp-sym.h> and <bp-asm.h>.
35928 (memset): Don't use BP_SYM.
35929 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35930 <bp-sym.h> and <bp-asm.h>.
35931 (__rawmemchr): Don't use BP_SYM.
35932 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35933 <bp-sym.h> and <bp-asm.h>.
35934 (__STRCMP): Don't use BP_SYM.
35935 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35936 <bp-sym.h> and <bp-asm.h>.
35937 (strchr): Don't use BP_SYM.
35938 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35939 <bp-sym.h> and <bp-asm.h>.
35940 (__strchrnul): Don't use BP_SYM.
35941 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35942 <bp-sym.h> and <bp-asm.h>.
35943 (strlen): Don't use BP_SYM.
35944 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35945 <bp-sym.h> and <bp-asm.h>.
35946 (strncmp): Don't use BP_SYM.
35947 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35948 <bp-sym.h> and <bp-asm.h>.
35949 (__strnlen): Don't use BP_SYM.
35950 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35952 (__mpn_rshift): Don't use BP_SYM.
35953 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35954 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35955 <bp-sym.h> and <bp-asm.h>.
35956 (__sigsetjmp): Don't use BP_SYM.
35957 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35958 (L(start_addresses)): Don't use BP_SYM.
35959 (_start): Likewise.
35960 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35962 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35963 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35964 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35965 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35967 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35968 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35969 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35970 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35972 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35974 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35975 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35977 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
35979 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35980 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35981 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35983 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35985 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35987 (strncmp): Don't use BP_SYM,
35988 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35990 (__mpn_sub_n): Don't use BP_SYM.
35991 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35992 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35994 (__mpn_submul_1): Don't use BP_SYM.
35995 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35997 <bp-sym.h> and <bp-asm.h>.
35998 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36000 <bp-sym.h> and <bp-asm.h>.
36001 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36004 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36007 Use ZK to minimize writes to Z.
36008 (sub_magnitudes): Simplify code a bit.
36009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36010 Use ZK to minimize writes to Z.
36011 (sub_magnitudes): Simplify code a bit.
36013 2013-02-27 Roland McGrath <roland@hack.frob.com>
36015 * csu/gmon-start.c: Add special exception to license text.
36017 2013-02-27 Richard Henderson <rth@redhat.com>
36019 * scripts/config.guess: Update from config.git.
36020 * scripts/config.sub: Likewise.
36022 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36024 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36026 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36028 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36030 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36032 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36034 2013-02-26 Roland McGrath <roland@hack.frob.com>
36036 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36037 [$(build-shared = yes].
36039 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36041 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36042 (__mul): Reduce iterations for calculating mantissa.
36044 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36046 (__mpranred): Likewise.
36049 * malloc/memusagestat.c (main): Draw graphs for heap and stack
36050 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36052 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
36054 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36055 Define __attribute__.
36057 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36059 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36061 * posix/regex_internal.h (__attribute): Remove.
36062 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36063 (re_string_context_at): Likewise.
36064 (bitset_not): Use __attribute__ and mark function as possibly
36066 (bitset_merge): Likewise.
36067 (bitset_mask): Likewise.
36068 (re_string_char_size_at): Likewise.
36069 (re_string_wchar_at): Likewise.
36070 (re_string_elem_size_at): Likewise.
36072 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36074 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36078 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36082 (denorm): Likewise.
36083 (__dbl_mp): Likewise.
36084 (add_magnitudes): Likewise.
36085 (sub_magnitudes): Likewise.
36089 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36092 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36095 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36099 up changes with default code.
36100 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36103 2013-02-24 Allan McRae <allan@archlinux.org>
36105 * manual/socket.texi (The Internet Namespace): Order menu items
36106 to match that in the file.
36108 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36109 node listing of the info page menu.
36111 2013-02-21 Joseph Myers <joseph@codesourcery.com>
36114 * sysdeps/i386/bp-asm.h: Remove file.
36115 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36116 (PARMS): Do not use macros from bp-asm.h.
36120 (__mpn_add_n): Do not use BP_SYM
36121 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36123 (PARMS): Do not use macros from bp-asm.h.
36126 (__mpn_addmul_1): Do not use BP_SYM
36127 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36129 (PARMS): Do not use macros from bp-asm.h.
36130 (SIGMSK): Likewise.
36131 (_setjmp): Likewise. Do not use BP_SYM.
36132 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36134 (PARMS): Do not use macros from bp-asm.h.
36135 (SIGMSK): Likewise.
36136 (setjmp): Likewise. Do not use BP_SYM.
36137 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36139 (PARMS): Do not use macros from bp-asm.h.
36140 (__frexp): Do not use BP_SYM.
36142 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36144 (PARMS): Do not use macros from bp-asm.h.
36145 (__frexpf): Do not use BP_SYM.
36146 (frexpf): Likewise.
36147 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36149 (PARMS): Do not use macros from bp-asm.h.
36150 (__frexpl): Do not use BP_SYM.
36151 (frexpl): Likewise.
36152 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36154 (PARMS): Do not use macros from bp-asm.h.
36155 (__remquo): Do not use BP_SYM.
36156 (remquo): Likewise.
36157 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36159 (PARMS): Do not use macros from bp-asm.h.
36160 (__remquof): Do not use BP_SYM.
36161 (remquof): Likewise.
36162 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36164 (PARMS): Do not use macros from bp-asm.h.
36165 (__remquol): Do not use BP_SYM.
36166 (remquol): Likewise.
36167 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36169 (PARMS): Do not use macros from bp-asm.h.
36172 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
36173 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36175 (PARMS): Do not use macros from bp-asm.h.
36176 (strlen): Do not use BP_SYM.
36177 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36179 (PARMS): Do not use macros from bp-asm.h.
36183 (__mpn_add_n): Do not use BP_SYM.
36184 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36186 (PARMS): Do not use macros from bp-asm.h.
36189 (__mpn_addmul_1): Do not use BP_SYM.
36190 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36193 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36195 (PARMS): Do not use macros from bp-asm.h.
36198 (__mpn_lshift): Do not use BP_SYM.
36199 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36201 (PARMS): Do not use macros from bp-asm.h.
36205 (memcpy): Likewise. Do not use BP_SYM.
36206 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36207 libc_hidden_def and weak_alias.
36208 (mempcpy): Do not use BP_SYM in weak_alias.
36209 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36211 (PARMS): Do not use macros from bp-asm.h.
36214 [!BZERO_P] (CHR): Likewise.
36215 (memset): Likewise. Do not use BP_SYM.
36216 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36218 (PARMS): Do not use macros from bp-asm.h.
36221 (__mpn_mul_1): Do not use BP_SYM.
36222 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36224 (PARMS): Do not use macros from bp-asm.h.
36227 (__mpn_rshift): Do not use BP_SYM.
36228 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36230 (PARMS): Do not use macros from bp-asm.h.
36233 (strchr): Likewise. Do not use BP_SYM.
36234 (index): Do not use BP_SYM in weak_alias.
36235 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36237 (PARMS): Do not use macros from bp-asm.h.
36240 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
36241 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36243 (PARMS): Do not use macros from bp-asm.h.
36244 (strlen): Do not use BP_SYM.
36245 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36247 (PARMS): Do not use macros from bp-asm.h.
36251 (__mpn_sub_n): Do not use BP_SYM.
36252 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36254 (PARMS): Do not use macros from bp-asm.h.
36257 (__mpn_submul_1): Do not use BP_SYM.
36258 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36260 (PARMS): Do not use macros from bp-asm.h.
36264 (__mpn_add_n): Do not use BP_SYM.
36265 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36268 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36270 (PARMS): Do not use macros from bp-asm.h.
36273 (memcmp): Do not use BP_SYM.
36274 (bcmp): Do not use BP_SYM in weak_alias.
36275 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36277 (PARMS): Do not use macros from bp-asm.h.
36281 (memcpy): Likewise. Do not use BP_SYM.
36282 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36284 (PARMS): Do not use macros from bp-asm.h.
36288 (memmove): Likewise. Do not use BP_SYM.
36289 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36291 (PARMS): Do not use macros from bp-asm.h.
36295 (__mempcpy): Likewise. Do not use BP_SYM.
36296 (mempcpy): Do not use BP_SYM in weak_alias.
36297 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36299 (PARMS): Do not use macros from bp-asm.h.
36302 [!BZERO_P] (CHR): Likewise.
36303 (memset): Likewise. Do not use BP_SYM.
36304 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36306 (PARMS): Do not use macros from bp-asm.h.
36308 (strcmp): Do not use BP_SYM.
36309 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36311 (PARMS): Do not use macros from bp-asm.h.
36314 [USE_AS_STRTOK_R] (SAVE): Likewise.
36315 (FUNCTION): Likewise. Do not use BP_SYM.
36316 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36318 (strtok_r): Likewise.
36319 (__GI___strtok_r): Likewise.
36320 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36321 (PARMS): Do not use macros from bp-asm.h.
36324 (__mpn_lshift): Do not use BP_SYM.
36325 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36326 (PARMS): Do not use macros from bp-asm.h.
36329 (__memchr): Do not use BP_SYM.
36330 (memchr): Do not use BP_SYM in weak_alias.
36331 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36332 (PARMS): Do not use macros from bp-asm.h.
36335 (memcmp): Do not use BP_SYM.
36336 (bcmp): Do not use BP_SYM in weak_alias.
36337 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36338 (PARMS): Do not use macros from bp-asm.h.
36341 (__mpn_mul_1): Do not use BP_SYM.
36342 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36344 (PARMS): Do not use macros from bp-asm.h.
36347 (__rawmemchr): Do not use BP_SYM.
36348 (rawmemchr): Do not use BP_SYM in weak_alias.
36349 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36350 (PARMS): Do not use macros from bp-asm.h.
36353 (__mpn_rshift): Do not use BP_SYM.
36354 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36355 (PARMS): Do not use macros from bp-asm.h.
36356 (SIGMSK): Likewise.
36357 (__sigsetjmp): Likewise. Do not use BP_SYM.
36358 * sysdeps/i386/start.S: Do not include "bp-sym.h".
36359 (_start): Do not use BP_SYM.
36360 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36361 (PARMS): Do not use macros from bp-asm.h.
36364 (__stpcpy): Likewise. Do not use BP_SYM.
36365 (stpcpy): Do not use BP_SYM in weak_alias.
36366 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36368 (PARMS): Do not use macros from bp-asm.h.
36372 (__stpncpy): Likewise. Do not use BP_SYM.
36373 (stpncpy): Do not use BP_SYM in weak_alias.
36374 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36375 (PARMS): Do not use macros from bp-asm.h.
36378 (strchr): Likewise. Do not use BP_SYM.
36379 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36381 (PARMS): Do not use macros from bp-asm.h.
36384 (__strchrnul): Likewise. Do not use BP_SYM.
36385 (strchrnul): Do not use BP_SYM in weak_alias.
36386 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36388 (PARMS): Do not use macros from bp-asm.h.
36390 (strcspn): Do not use BP_SYM.
36391 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36393 (PARMS): Do not use macros from bp-asm.h.
36396 (strpbrk): Likewise. Do not use BP_SYM.
36397 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36399 (PARMS): Do not use macros from bp-asm.h.
36402 (strrchr): Likewise. Do not use BP_SYM.
36403 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36404 (PARMS): Do not use macros from bp-asm.h.
36406 (strspn): Do not use BP_SYM.
36407 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36408 (PARMS): Do not use macros from bp-asm.h.
36412 (FUNCTION): Likewise. Do not use BP_SYM.
36413 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36415 (strtok_r): Likewise.
36416 (__GI___strtok_r): Likewise.
36417 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36418 (PARMS): Do not use macros from bp-asm.h.
36422 (__mpn_sub_n): Do not use BP_SYM.
36423 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36425 (PARMS): Do not use macros from bp-asm.h.
36428 (__mpn_submul_1): Do not use BP_SYM.
36429 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36431 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36433 (PARMS): Do not use macros from bp-asm.h.
36438 (__clone): Do not use BP_SYM.
36439 (clone): Do not use BP_SYM in weak_alias.
36440 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36442 (PARMS): Do not use macros from bp-asm.h.
36444 (__mmap64): Do not use BP_SYM.
36445 (mmap64): Do not use BP_SYM in weak_alias.
36446 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36447 <bp-sym.h> and <bp-asm.h>.
36448 (PARMS): Do not use macros from bp-asm.h.
36449 (__posix_fadvise64_l64): Do not use BP_SYM.
36450 * sysdeps/unix/sysv/linux/i386/semtimedop.S
36451 (PARMS): Do not use macros from bp-asm.h.
36453 (semtimedop): Do not use BP_SYM.
36454 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36457 2013-02-21 Allan McRae <allan@archlinux.org>
36459 * manual/message.texi (Charset conversion in gettext):
36460 Move @end statement to beginning of line.
36462 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36469 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36470 (denorm): Likewise.
36471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36474 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36476 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36477 tail-call to the resolved function if pltexit isn't needed.
36479 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36482 or Y being zero as being unlikely.
36483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36486 2013-02-20 Carlos O'Donell <carlos@redhat.com>
36488 * manual/nss.texi (System Databases and Name Service Switch):
36489 Remove frobnicate @pxref.
36491 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36493 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36494 __attribute__ ((unused)) to __attribute__ ((__unused__)).
36496 2013-02-20 Petr Machata <pmachata@redhat.com>
36498 * elf/elf.h (R_ARM_TARGET1): New macro.
36499 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36500 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36501 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36502 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36503 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36504 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36505 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36506 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36507 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36508 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36509 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36510 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36511 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36512 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36513 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36514 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36515 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36516 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36517 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36518 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36519 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36520 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36521 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36522 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36523 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36524 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36525 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36526 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36527 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36528 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36529 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36530 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36531 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36532 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36533 (R_ARM_THM_GOT_BREL12): Likewise.
36534 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36535 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36536 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36537 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36538 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36539 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36540 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36541 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36542 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36544 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36546 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36547 __attribute_used__ to __attribute__ ((unused)).
36549 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36551 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36554 comment formatting.
36555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36557 2013-02-19 Joseph Myers <joseph@codesourcery.com>
36560 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36562 (ENTER): Remove both macro definitions.
36564 (CHECK_BOUNDS_LOW): Likewise.
36565 (CHECK_BOUNDS_HIGH): Likewise.
36566 (CHECK_BOUNDS_BOTH): Likewise.
36567 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36568 (RETURN_BOUNDED_POINTER): Likewise.
36569 (RETURN_NULL_BOUNDED_POINTER): Likewise.
36570 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36571 (POP_ERRNO_LOCATION_RETURN): Likewise.
36572 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36573 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36574 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36576 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36577 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36578 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36579 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36580 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36581 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36582 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36583 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36584 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36585 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36586 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36587 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36588 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36589 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36591 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36592 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36594 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36595 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36596 * sysdeps/i386/i586/memset.S (memset): Likewise.
36597 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36598 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36599 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36601 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36602 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36603 Change uses of L(2) to L(out).
36604 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36605 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36606 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36607 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36608 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36610 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36611 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36613 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36614 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36615 (RETURN): Do not use macro LEAVE.
36616 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36617 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36618 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36619 * sysdeps/i386/i686/memset.S (memset): Likewise.
36620 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36621 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36622 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36623 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36625 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36626 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
36627 L(1_2) and L(1_3) into L(1).
36628 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36629 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36630 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36631 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36632 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36633 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36634 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36635 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36636 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36638 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36639 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36640 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36641 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36642 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36643 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36644 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36645 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36646 * sysdeps/i386/strcspn.S (strcspn): Likewise.
36647 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36648 * sysdeps/i386/strrchr.S (strrchr): Likewise.
36649 * sysdeps/i386/strspn.S (strspn): Likewise.
36650 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36652 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36653 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36654 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36655 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
36656 L(1_3) into L(1_1).
36657 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36658 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36659 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36661 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36663 2013-02-19 Jakub Jelinek <jakub@redhat.com>
36665 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36668 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36670 * math/atest-exp.c (exp_mpn): Remove ROUND.
36671 * math/atest-exp2.c (exp_mpn): Likewise.
36672 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36674 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36675 * stdlib/tst-tls-atexit-lib.c: Likewise.
36676 * stdlib/tst-tls-atexit.c: Likewise.
36678 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36680 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36681 and __attribute_alloc_size__.
36683 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36685 * include/programs/xmalloc.h: Change __attribute_alloc_size to
36686 __attribute_alloc_size__.
36687 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36688 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36690 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36692 * include/programs/xmalloc.h: New file.
36693 * catgets/gencat.c: Include it.
36694 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36695 * elf/pldd.c: Likewise.
36696 * iconv/iconv_charmap.c: Likewise.
36697 * iconv/iconvconfig.c: Likewise.
36698 * iconv/strtab.c: Likewise.
36699 * locale/programs/locale.c: Likewise.
36700 * locale/programs/localedef.h: Likewise.
36701 * locale/programs/simple-hash.c: Likewise.
36702 * nscd/nscd.h: Likewise.
36703 * nss/makedb.c: Likewise.
36704 * sysdeps/generic/ldconfig.h: Likewise.
36706 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36708 * Versions.def: Add GLIBC_2.18.
36709 * include/link.h (struct link_map): New member l_tls_dtor_count.
36710 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36711 (__call_tls_dtors): Likewise.
36712 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36713 __cxa_thread_atexit_impl.
36714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36722 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36730 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36731 (tests): Add test case tst-tls-atexit.
36732 (modules-names): Add shared library for tst-tls-atexit.
36733 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36734 (GLIBC_PRIVATE): Add __call_tls_dtors.
36735 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36737 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36738 * stdlib/tst-tls-atexit.c: New test case.
36739 * stdlib/tst-tls-atexit-lib.c: New test case.
36741 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36743 * elf/Versions (ld): Add _dl_find_dso_for_object.
36744 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36745 * elf/dl-open.c (_dl_find_dso_for_object): New function.
36746 (dl_open_worker): Use _dl_find_dso_for_object.
36747 * elf/dl-sym.c (do_sym): Likewise.
36748 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36750 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36752 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36753 Syntactic changes only.
36754 (_dl_runtime_profile): Do a tail-call to the resolved function.
36756 2013-02-17 Joseph Myers <joseph@codesourcery.com>
36759 * sysdeps/x86_64/bp-asm.h: Remove file.
36760 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36761 <bp-sym.h> and <bp-asm.h>.
36762 (__clone): Do not use BP_SYM.
36763 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36764 <bp-sym.h> and <bp-asm.h>.
36765 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36766 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36768 (_setjmp): Do not use BP_SYM.
36769 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36771 (setjmp): Do not use BP_SYM.
36772 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36774 (mempcpy): Do not use BP_SYM in weak_alias.
36775 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36777 (strchr): Do not use BP_SYM.
36778 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36780 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36781 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36782 (_start): Do not use BP_SYM.
36783 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36785 (strcat): Do not use BP_SYM.
36786 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36788 (STRCMP): Do not use BP_SYM.
36789 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36791 (STRCPY): Do not use BP_SYM.
36792 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36794 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36796 (FUNCTION): Do not use BP_SYM.
36797 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36799 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36801 2013-02-17 Andreas Jaeger <aj@suse.de>
36803 * time/Versions: Sort entries.
36804 * string/Versions: Likewise.
36805 * resolv/Versions: Likewise.
36806 * posix/Versions: Likewise.
36807 * iconv/Versions: Likewise.
36808 * elf/Versions: Likewise.
36809 * wcsmbs/Versions: Likewise.
36811 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36813 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36814 loop termination condition.
36816 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36817 variable to calculate EZ.
36820 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36821 the lower precision input.
36823 2013-02-15 Joseph Myers <joseph@codesourcery.com>
36826 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36827 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36828 (run-via-rtld-prefix): Do not handle %-bp tests.
36829 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36830 (all-object-suffixes): Remove .ob.
36831 (bppfx): Remove variable.
36832 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36833 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36834 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36835 [$(build-bounded) = yes] (libtype.ob): Likewise.
36836 * Makerules (elide-routines.ob): Remove variable.
36837 (do-tests-clean): Do not handle *-bp.out.
36838 (common-mostlyclean): Do not handle *-bp and *-bp.out.
36839 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36840 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36841 (tests): Do not include $(tests-bp.out).
36842 (xtests): Do not include $(xtests-bp.out).
36843 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36844 [$(build-bounded) = yes] ($(addprefix
36845 $(objpfx),$(binaries-bounded))): Remove rule.
36846 ($(objpfx)%-bp.out): Remove rule.
36847 * config.make.in (build-bounded): Remove variable.
36848 * crypt/Makefile [$(build-bounded) = yes]
36849 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36850 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36851 append to variable.
36852 [$(build-bounded) = yes] (install-lib): Likewise.
36853 [$(build-bounded) = yes] (generated): Likewise.
36854 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36856 * intl/Makefile [$(build-bounded) = yes]
36857 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36858 * math/Makefile [$(build-bounded) = yes]
36859 ($(tests:%=$(objpfx)%-bp): Likewise.
36860 * misc/Makefile [$(build-bounded) = yes]
36861 ($(objpfx)tst-tsearch-bp): Likewise.
36862 * nptl/Makeconfig (bounded-thread-library): Remove variable.
36863 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36865 * string/Makefile (o-objects.ob): Remove variable.
36866 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36867 (CFLAGS-.ob): Remove variable.
36868 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36869 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36870 both definitions of variable.
36871 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36872 (ASFLAGS-.ob): Remove variable.
36874 2013-02-14 Joseph Myers <joseph@codesourcery.com>
36877 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36878 Remove __BOUNDED_POINTERS__ from condition.
36879 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36880 * string/bits/string2.h [!__NO_STRING_INLINES &&
36881 !__BOUNDED_POINTERS__]: Likewise.
36882 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36884 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36885 Remove conditional code.
36886 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36887 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36888 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36892 * csu/libc-start.c: Do not include <bp-sym.h>.
36893 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36894 * elf/dl-open.c: Do not include <bp-sym.h>.
36895 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36896 * math/fegetenv.c: Do not include <bp-sym.h>.
36897 (fegetenv): Do not use BP_SYM in versioned symbols.
36898 * nptl/sysdeps/pthread/bits/libc-lockP.h
36899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36902 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36904 (__pthread_mutex_destroy): Likewise.
36905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36906 (__pthread_mutex_lock): Likewise.
36907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36908 (__pthread_mutex_trylock): Likewise.
36909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36910 (__pthread_mutex_unlock): Likewise.
36911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36912 (__pthread_mutexattr_init): Likewise.
36913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36914 (__pthread_mutexattr_destroy): Likewise.
36915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36916 (__pthread_mutexattr_settype): Likewise.
36917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36918 (__pthread_rwlock_init): Likewise.
36919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36920 (__pthread_rwlock_destroy): Likewise.
36921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36922 (__pthread_rwlock_rdlock): Likewise.
36923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36924 (__pthread_rwlock_tryrdlock): Likewise.
36925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36926 (__pthread_rwlock_wrlock): Likewise.
36927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36928 (__pthread_rwlock_trywrlock): Likewise.
36929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36930 (__pthread_rwlock_unlock): Likewise.
36931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36932 (__pthread_key_create): Likewise.
36933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36934 (__pthread_setspecific): Likewise.
36935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36936 (__pthread_getspecific): Likewise.
36937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36940 (_pthread_cleanup_push_defer): Likewise.
36941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36942 (_pthread_cleanup_pop_restore): Likewise.
36943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36944 (pthread_setcancelstate): Likewise.
36945 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36947 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36948 (memchr): Do not use BP_SYM in weak_alias.
36949 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36950 (fegetenv): Do not use BP_SYM in versioned symbols.
36951 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36952 (fesetenv): Do not use BP_SYM in versioned symbols.
36953 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36954 (feupdateenv): Do not use BP_SYM in versioned symbols.
36955 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36956 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36957 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36958 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36959 (open64): Do not use BP_SYM in weak_alias.
36960 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36961 (fegetenv): Do not use BP_SYM in versioned symbols.
36962 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36963 (fesetenv): Do not use BP_SYM in versioned symbols.
36964 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36965 (feupdateenv): Do not use BP_SYM in versioned symbols.
36966 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36967 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36968 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36969 (feraiseexcept): Do not use BP_SYM in versioned symbols.
36970 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36971 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36972 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36974 (__libc_start_main): Do not use BP_SYM.
36976 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36979 redundant return line.
36981 (denorm): Likewise.
36982 (dbl_mp): Likewise.
36983 (sub_magnitudes): Likewise.
36989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36991 (denorm): Likewise.
36992 (dbl_mp): Likewise.
36993 (sub_magnitudes): Likewise.
37000 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37002 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37003 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37006 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37007 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37008 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37009 of __mul for squares.
37010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37014 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37015 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37017 2013-02-13 Joseph Myers <joseph@codesourcery.com>
37020 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37022 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37023 prototype or function definition. Rename ubp_* variables and
37024 parameters. Remove argv definitions conditional on
37025 [__BOUNDED_POINTERS__].
37026 * debug/backtrace.c (__backtrace): Do not use __unbounded.
37027 * elf/dl-runtime.c (_dl_fixup): Likewise.
37028 * include/set-hooks.h (RUN_HOOK): Likewise.
37029 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37031 * string/strcpy.c (strcpy): Do not use __unbounded.
37032 * sysdeps/generic/frame.h (struct layout): Likewise.
37033 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37034 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37035 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37036 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37037 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37038 (__backtrace): Likewise.
37039 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37041 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37042 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37043 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37045 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37046 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37047 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37048 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37049 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37050 Do not use __unbounded.
37051 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37052 Rename __unboundedrlimits parameter to rlimits in prototype.
37053 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37054 Do not use __unbounded.
37055 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37056 not use __ptrvalue.
37057 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37058 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37059 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37060 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37061 __ptrvalue or __unbounded.
37062 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37063 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37065 (__new_msgctl): Do not use __ptrvalue.
37066 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37068 (__libc_msgrcv): Do not use __ptrvalue.
37069 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37070 startup_info): Do not use __unbounded.
37071 (__libc_start_main): Likewise. Rename ubp_* variables and
37072 parameters. Remove argv definitions conditional on
37073 [__BOUNDED_POINTERS__].
37074 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37076 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37078 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37080 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37082 (__new_shmctl): Do not use __ptrvalue.
37083 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37084 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37086 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37087 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37088 (__libc_sigaction): Likewise.
37089 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37090 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37092 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37094 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
37096 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37098 * string/mempcpy.c: Implement by calling memcpy.
37100 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37102 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37104 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37107 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37108 values in the mantissa.
37110 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37111 minimize writes to Z.
37112 (sub_magnitudes): Simplify code a bit.
37114 2013-02-12 Roland McGrath <roland@hack.frob.com>
37116 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37117 from the message. The linker prefixes all warnings with that already.
37119 2013-02-12 Andreas Schwab <schwab@suse.de>
37122 * posix/regexec.c (extend_buffers): Add parameter min_len.
37123 (check_matching): Pass minimum needed length.
37124 (clean_state_log_if_needed): Likewise.
37125 (get_subexp): Likewise.
37126 * posix/Makefile (tests): Add bug-regex34.
37127 (bug-regex34-ENV): Define.
37128 * posix/bug-regex34.c: New file.
37131 * posix/regcomp.c (parse_bracket_exp): When looking up collating
37132 elements compare against the byte sequence of it, not its name.
37133 * posix/Makefile (tests): Add bug-regex35.
37134 (bug-regex35-ENV): Define.
37135 * posix/bug-regex35.c: New file.
37137 2013-02-11 Tom de Vries <tom@codesourcery.com>
37139 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
37141 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37142 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37143 (CHECK_EOL): Add undef.
37145 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
37147 * bits/stdlib-bsearch.h: New file.
37148 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37149 * stdlib/stdlib.h: Likewise.
37151 2013-02-11 Roland McGrath <roland@hack.frob.com>
37153 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37154 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37156 * manual/search.texi (Array Search Function): Add missing const in
37158 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37159 declaration to use rlim_t.
37160 (Basic Scheduling Functions): Remove erroneous const from
37161 sched_getparam prototype. Remove erroneous * from
37162 sched_get_priority_max and sched_get_priority_min prototypes.
37163 (Resource Usage): Fix summary @comment on vtimes to refer to
37164 sys/vtimes.h rather than vtimes.h.
37165 Add missing *s in vtimes prototype.
37166 (Limits on Resources): Fix ulimit prototype to return long int.
37167 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37168 prototypes to use long int rather than double.
37169 (BSD Random): Fix initstate and setstate to use char *, not void *.
37170 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37171 prototype to make second argument 'struct aiocb64 *const[]'.
37172 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37173 (Status of AIO Operations): Remove erroneous const in aio_return and
37174 aio_return64 prototypes.
37175 (Synchronizing I/O): Fix sync prototype to return void.
37176 * manual/startup.texi (Suboptions): Remove an erroneous const in
37177 getsubopt prototype.
37178 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37179 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37180 use size_t rather than int.
37181 (Scanning All Users): Likewise for getpwent_r.
37182 (Setting Groups): Add missing const to setgroups prototype.
37183 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37184 * manual/socket.texi (Host Names): Fix gethostbyaddr and
37185 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37186 'const void *' rather than 'const char *'.
37187 (Host Address Functions): Likewise for inet_ntop.
37188 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37189 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37190 ssize_t for return value.
37191 (Sending Data): Likewise for send, sendto, sendmsg.
37192 (Socket Option Functions): Add a missing const in setsockopt prototype.
37193 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37194 use wchar_t for the argument.
37195 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37196 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37198 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37199 double/float/long double for second argument.
37200 Fix return types of significand, significandf, significandl.
37201 * manual/filesys.texi (Setting Permissions): Use mode_t for second
37202 argument in fchmod prototype.
37203 (File Owner): Use uid_t and gid_t in fchown prototype.
37204 (File Times): Add const to utimes, futimes, and lutimes prototypes.
37205 (Making Special Files): Use mode_t and dev_t in mknod prototype.
37206 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37207 use 'const struct dirent **' as argument types to CMP function pointer
37209 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37210 (File Times): Fix summary magic @comment for struct utimbuf and utime
37211 to refer to utime.h, not time.h.
37212 * manual/string.texi (Argz Functions): Add missing const in
37213 argz_extract and argz_next prototypes.
37214 (Finding Tokens in a String): Likewise for basename.
37215 (String/Array Comparison): Fix typo in wcscasecmp prototype.
37216 (Copying and Concatenation): Fix typo in wmemmove prototype.
37217 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37218 (Signal Stack): Remove erroneous const in sigstack prototype.
37219 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37221 (Simple Calendar Time): Likewise for stime.
37222 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37224 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37225 say sys/sysctl.h instead.
37226 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37227 and vsyslog prototypes.
37229 2013-02-11 Tom de Vries <tom@codesourcery.com>
37231 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37234 2013-02-11 Roland McGrath <roland@hack.frob.com>
37236 * misc/sys/mman.h: Fix typo in mremap comment.
37238 2013-02-08 Roland McGrath <roland@hack.frob.com>
37240 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37241 the '\0' terminator.
37243 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37246 * debug/segfault.c: Don't include <bp-checks.h>.
37247 * sysdeps/generic/bp-checks.h: Remove file.
37248 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37249 (__GETDENTS): Don't use CHECK_N.
37250 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37251 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37252 (__getgroups): Don't use CHECK_N.
37253 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37254 (setgroups): Don't use CHECK_N.
37255 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37256 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37257 (__libc_msgrcv): Don't use CHECK_N.
37258 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37259 (__libc_msgsnd): Don't use CHECK_N.
37260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37262 (__libc_pread): Don't use CHECK_N.
37263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37264 include <bp-checks.h>.
37265 (__libc_pread64): Don't use CHECK_N.
37266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37267 include <bp-checks.h>.
37268 (__libc_pwrite): Don't use CHECK_N.
37269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37270 include <bp-checks.h>.
37271 (__libc_pwrite64): Don't use CHECK_N.
37272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37274 (__libc_pread): Don't use CHECK_N.
37275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37276 include <bp-checks.h>.
37277 (__libc_pread64): Don't use CHECK_N.
37278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37279 include <bp-checks.h>.
37280 (__libc_pwrite): Don't use CHECK_N.
37281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37282 include <bp-checks.h>.
37283 (__libc_pwrite64): Don't use CHECK_N.
37284 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37285 (do_pread): Don't use CHECK_N.
37286 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37287 (do_pread64): Don't use CHECK_N.
37288 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37289 (do_pwrite): Don't use CHECK_N.
37290 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37291 (do_pwrite64): Don't use CHECK_N.
37292 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37293 (__libc_readv): Don't use CHECK_N.
37294 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37295 (semop): Don't use CHECK_N.
37296 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37298 (semtimedop): Don't use CHECK_N.
37299 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37300 (__libc_pread): Don't use CHECK_N.
37301 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37303 (__libc_pread64): Don't use CHECK_N.
37304 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37306 (__libc_pwrite): Don't use CHECK_N.
37307 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37309 (__libc_pwrite64): Don't use CHECK_N.
37310 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37312 (__libc_msgrcv): Don't use CHECK_N.
37313 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37314 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
37315 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37316 (__libc_writev): Don't use CHECK_N.
37318 2013-02-08 Roland McGrath <roland@hack.frob.com>
37320 * string/strcpy.c: Removed unused variable.
37322 * Makeconfig (+sysdep-includes): Define with := rather than =.
37323 Use an existing include/ subdir of each sysdeps dir before it.
37325 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37327 * nscd/connection.c (register_traced_file): Comment function.
37328 [HAVE_INOTIFY] (union __inev): Define.
37329 [HAVE_INOTIFY] (inotify_check_files): New function.
37330 [HAVE_INOTIFY] (clear_db_cache): Likewise.
37331 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37333 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37335 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37337 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37338 loaded if not already and that a failure is permanent.
37340 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37343 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37344 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37346 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37349 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37350 (CHECK_1_NULL_OK): Likewise.
37351 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37352 (__fxstat): Do not use CHECK_1.
37353 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37355 (___fxstat64): Do not use CHECK_1.
37356 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37358 (__fxstatat): Do not use CHECK_1.
37359 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37361 (__fxstatat64): Do not use CHECK_1.
37362 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37364 (__fxstat): Do not use CHECK_1.
37365 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37367 (__fxstatat): Do not use CHECK_1.
37368 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37370 (__getresgid): Do not use CHECK_1.
37371 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37373 (__getresuid): Do not use CHECK_1.
37374 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37376 (__lxstat): Do not use CHECK_1.
37377 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37379 (__old_msgctl): Do not use CHECK_1.
37380 (__new_msgctl): Likewise.
37381 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37383 (__new_setrlimit): Do not use CHECK_1.
37384 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37386 (__old_shmctl): Do not use CHECK_1.
37387 (__new_shmctl): Likewise.
37388 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37390 (__xstat): Do not use CHECK_1.
37391 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37392 (__lxstat): Do not use CHECK_1.
37393 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37395 (___lxstat64): Do not use CHECK_1.
37396 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37397 (__old_msgctl): Do not use CHECK_1.
37398 (__new_msgctl): Likewise.
37399 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37401 (__gettimeofday): Do not use CHECK_1.
37402 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37403 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37404 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37406 (__gettimeofday): Do not use CHECK_1.
37407 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37408 (__old_shmctl): Do not use CHECK_1_NULL_OK.
37409 (__new_shmctl): Do not use CHECK_1.
37410 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37412 (do_sigtimedwait): Do not use CHECK_1.
37413 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37415 (do_sigwaitinfo): Do not use CHECK_1.
37416 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37418 (msgctl): Do not use CHECK_1.
37419 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37421 (shmctl): Do not use CHECK_1.
37422 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37423 (ustat): Do not use CHECK_1.
37424 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37426 (__fxstat): Do not use CHECK_1.
37427 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37429 (__fxstatat): Do not use CHECK_1.
37430 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37432 (__lxstat): Do not use CHECK_1.
37433 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37435 (__xstat): Do not use CHECK_1.
37436 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37437 (__xstat): Do not use CHECK_1.
37438 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37439 (___xstat64): Do not use CHECK_1.
37442 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37444 (CHECK_BOUNDS_HIGH): Likewise.
37445 * string/strcpy.c: Do not include <bp-checks.h>.
37446 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37448 2013-02-07 Roland McGrath <roland@hack.frob.com>
37450 * nscd/nscd-client.h (__nscd_drop_map_ref):
37451 Add __attribute__ ((unused)).
37452 * nis/nss-nisplus.h (niserr2nss): Likewise.
37454 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37455 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37457 * csu/libc-tls.c (init_static_tls, init_slotinfo):
37458 Remove inline keyword.
37459 * include/rounding-mode.h (round_away): Likewise.
37460 * libio/wfileops.c (adjust_wide_data): Likewise.
37461 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37462 (__m128i_strloadu_tolower): Likewise.
37463 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37464 (__m128i_strloadu_tolower): Likewise.
37465 * time/mktime.c (ydhms_diff): Likewise.
37466 * locale/elem-hash.h (elem_hash): Likewise.
37467 * locale/setlocale.c (setdata): Likewise.
37468 * posix/regex_internal.h (re_string_char_size_at): Likewise.
37469 (re_string_wchar_at): Likewise.
37470 (bitset_not, bitset_merge, bitset_mask): Likewise.
37471 [!(__GNUC__ > 3)] (inline): Remove macro.
37472 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37473 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37474 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37475 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37476 * string/memcmp.c (memcmp_bytes): Likewise.
37477 * locale/programs/locarchive.c (compute_hashval): Likewise.
37478 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37479 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37480 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37481 * nss/getent.c (print_rpc, print_protocols): Likewise.
37482 (print_passwd, print_group, print_aliases): Likewise.
37483 * nis/nss-nisplus.h (niserr2nss): Likewise.
37484 * nscd/connections.c (restart_p): Likewise.
37485 Change return type to bool.
37487 2013-02-05 Roland McGrath <roland@hack.frob.com>
37489 * Makeconfig (all-Depend-files): Add existing
37490 $(sorted-subdirs:=/Depend) files.
37491 (all-subdirs): Remove nss.
37492 * sysdeps/unix/inet/Subdirs: Add it here instead.
37493 * hesiod/Depend: New file.
37495 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37496 instead of calling alloca.
37498 * io/lseek.c (__lseek): Rename to __libc_lseek.
37499 Define __lseek as an alias.
37501 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37503 2013-02-04 Carlos O'Donell <carlos@redhat.com>
37505 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37506 else clause and remove check for non-standard endianness.
37508 2013-02-04 David S. Miller <davem@davemloft.net>
37510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37512 2013-02-04 Joseph Myers <joseph@codesourcery.com>
37515 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37516 (__ubp_memchr): Remove prototype.
37517 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37518 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37519 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37520 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37521 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37523 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37524 (__ubp_memchr): Likewise.
37525 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37526 (__ubp_memchr): Likewise.
37527 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37528 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37529 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37530 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37532 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37533 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37534 (__getcwd): Do not use CHECK_STRING.
37535 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37537 (__real_chown): Do not use CHECK_STRING.
37538 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37540 (fchownat): Do not use CHECK_STRING.
37541 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37543 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37545 (__lchown): Do not use CHECK_STRING.
37546 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37547 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37548 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37549 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37551 include <bp-checks.h>.
37552 (truncate64): Do not use CHECK_STRING.
37553 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37555 (__real_chown): Do not use CHECK_STRING.
37556 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37558 (__lchown): Do not use CHECK_STRING.
37559 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37561 (__chown): Do not use CHECK_STRING.
37562 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37564 (truncate64): Do not use CHECK_STRING.
37565 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37567 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37568 (__xmknod): Do not use CHECK_STRING.
37569 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37571 (__xmknodat): Do not use CHECK_STRING.
37572 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37573 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37575 2013-02-04 Andreas Schwab <schwab@suse.de>
37578 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37579 * include/netdb.h: Likewise for h_errno.
37580 * elf/tst-stackguard1.c: Include <tls.h>.
37582 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
37584 * elf/link.h (struct link_map): Extend the l_addr comment.
37585 * include/link.h (struct link_map): Likewise.
37587 2013-02-01 Joseph Myers <joseph@codesourcery.com>
37590 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37591 (BOUNDED_1): Remove macro.
37592 * debug/backtrace.c: Don't include <bp-checks.h>.
37593 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37594 (__backtrace): Likewise.
37595 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37597 (__backtrace): Don't use BOUNDED_1.
37598 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37600 (__backtrace): Don't use BOUNDED_1.
37601 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37602 (__backtrace): Don't use BOUNDED_1.
37603 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37604 (shmat): Don't use BOUNDED_N.
37606 2013-01-31 Joseph Myers <joseph@codesourcery.com>
37609 * sysdeps/generic/bp-start.h: Remove file.
37610 * csu/libc-start.c: Don't include <bp-start.h>.
37611 (LIBC_START_MAIN): Set up __environ directly instead of using
37612 INIT_ARGV_and_ENVIRON.
37613 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37617 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37619 (CHECK_FCNTL): Likewise.
37620 (CHECK_N_PAGES): Likewise.
37623 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37625 (CHECK_SIGSET_NULL_OK): Likewise.
37626 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37628 (sigpending): Don't use CHECK_SIGSET.
37629 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37631 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37632 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37634 (do_sigsuspend): Don't use CHECK_SIGSET.
37635 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37637 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37638 (do_sigwait): Don't use CHECK_SIGSET.
37639 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37641 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37642 include <bp-checks.h>.
37643 (sigpending): Don't use CHECK_SIGSET.
37644 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37645 include <bp-checks.h>.
37646 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37647 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37649 (sigpending): Don't use CHECK_SIGSET.
37650 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37652 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37655 * sysdeps/generic/bp-semctl.h: Remove file.
37656 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37657 <bp-checks.h> and <bp-semctl.h>.
37658 (__old_semctl): Don't use CHECK_SEMCTL.
37659 (__new_semctl): Likewise.
37660 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37662 (__old_semctl): Don't use CHECK_SEMCTL.
37663 (__new_semctl): Likewise.
37664 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37665 <bp-checks.h> and <bp-semctl.h>.
37666 (__old_semctl): Don't use CHECK_SEMCTL.
37667 (__new_semctl): Likewise.
37668 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37669 <bp-checks.h> and <bp-semctl.h>.
37670 (semctl): Don't use CHECK_SEMCTL.
37673 * Makerules (elide-bp-thunks): Remove variable.
37674 (elide-routines.oS): Don't use $(elide-bp-thunks).
37675 (elide-routines.os): Likewise.
37676 (elide-routines.o): Likewise.
37677 (elide-routines.op): Likewise.
37678 (elide-routines.og): Likewise.
37679 (objects): Don't use $(bp-thunks).
37680 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37682 (common-generated): Do not add s-proto-bp.d.
37683 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37686 Do not generate makefile rules for bounded-pointer thunks.
37687 * sysdeps/generic/bp-thunks.h: Remove file.
37688 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37689 * sysdeps/unix/s-proto-bp.S: Likewise.
37692 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37693 parts of result separately when argument is not close to line from
37694 -i to i and one part of argument is small.
37695 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37696 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37697 * math/libm-test.inc (cacos_test): Add more tests.
37698 (casin_test): Likewise.
37699 (casinh_test): Likewise.
37700 * sysdeps/i386/fpu/libm-test-ulps: Update.
37701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37703 2013-01-31 David S. Miller <davem@davemloft.net>
37705 * po/de.po: Update from translation team.
37707 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
37709 * time/tzfile.c: Include stdint.h for SIZE_MAX.
37711 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
37713 * configure.in (_AC_PROG_CC_C89): New definition.
37714 * configure: Regenerate.
37716 * configure.in (AC_PROG_CPP): New definition.
37717 * configure: Regenerate.
37719 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37721 * debug/tst-backtrace.h: New file.
37722 * debug/tst-backtrace2.c: Include tst-backtrace.h.
37723 (ret): Remove variable.
37725 (FAIL): Remove macro.
37726 (NO_INLINE): Likewise.
37727 (fn1): Use match function instead of strstr.
37728 * debug/tst-backtrace3.c: Include tst-backtrace.h.
37729 (ret): Remove variable.
37731 (FAIL): Remove macro.
37732 (NO_INLINE): Likewise.
37733 (fn): Use match function instead of strstr.
37734 * debug/tst-backtrace4.c: Include tst-backtrace.h.
37735 (ret): Remove variable.
37737 (FAIL): Remove macro.
37738 (NO_INLINE): Likewise.
37739 (handle_signal): Use match function instead of strstr.
37740 * debug/tst-backtrace5.c: Include tst-backtrace.h.
37741 (ret): Remove variable.
37743 (FAIL): Remove macro.
37744 (NO_INLINE): Likewise.
37745 (handle_signal): Use match function instead of strstr.
37747 2013-01-23 Roland McGrath <roland@hack.frob.com>
37749 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37751 2013-01-23 David S. Miller <davem@davemloft.net>
37753 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37754 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37755 argument of CAS if possible.
37756 * sysdeps/sparc/sparc64/bits/atomic.h
37757 (__arch_compare_and_exchange_val_32_acq): Likewise.
37758 (__arch_compare_and_exchange_val_64_acq): Likewise.
37760 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
37762 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37763 * sysdeps/posix/ulimit.c: ... this.
37764 Include <limits.h>.
37765 * sysdeps/unix/bsd/ulimit.c: Remove file.
37767 2013-01-23 Adam Conrad <adconrad@0c3.net>
37769 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37770 (LDFLAGS-tst-array5): Likewise.
37772 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37775 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37776 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37777 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37778 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37780 2013-01-21 David S. Miller <davem@davemloft.net>
37782 * sysdeps/sparc/backtrace.c: New file.
37783 * sysdeps/sparc/sparc32/backtrace.h: New file.
37784 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37785 * sysdeps/sparc/sparc64/backtrace.h: New file.
37786 * sysdeps/sparc/sparc64/backtrace.c: Delete.
37787 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37790 2013-01-21 Andreas Schwab <schwab@suse.de>
37793 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37796 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
37798 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37800 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37802 2013-01-18 Joseph Myers <joseph@codesourcery.com>
37803 Mark Mitchell <mark@codesourcery.com>
37804 Tom de Vries <tom@codesourcery.com>
37805 Paul Pluzhnikov <ppluzhnikov@google.com>
37807 * debug/tst-backtrace2.c: New file.
37808 * debug/tst-backtrace3.c: Likewise.
37809 * debug/tst-backtrace4.c: Likewise.
37810 * debug/tst-backtrace5.c: Likewise.
37811 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37812 (CFLAGS-tst-backtrace3.c): Likewise.
37813 (CFLAGS-tst-backtrace4.c): Likewise.
37814 (CFLAGS-tst-backtrace5.c): Likewise.
37815 (LDFLAGS-tst-backtrace2): Likewise.
37816 (LDFLAGS-tst-backtrace3): Likewise.
37817 (LDFLAGS-tst-backtrace4): Likewise.
37818 (LDFLAGS-tst-backtrace5): Likewise.
37819 (tests): Add new tests tst-backtrace2, tst-backtrace3,
37820 tst-backtrace4 and tst-backtrace5.
37822 2013-01-18 Anton Blanchard <anton@samba.org>
37823 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37825 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37826 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37827 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37828 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37830 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37831 "+r" and remove output regs list as redundant. Add explicit inline
37832 asm to specify register of return val to work around compiler codegen
37833 bug. Remove (int) cast on return value. Add return type parameter to
37834 use in macro so that this macro does not truncate return value for
37836 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37837 pass to INTERNAL_VSYSCALL_NCS.
37838 (INLINE_VSYSCALL): Add 'long int' as return type to
37839 INTERNAL_VSYSCALL_NCS macro invocation.
37840 (INTERNAL_VSYSCALL): Add 'long int' as return type to
37841 INTERNAL_VSYSCALL_NCS macro invocation.
37842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37844 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37847 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37848 Fix application of SIMD FP exception mask.
37850 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37851 mp_no from a power of two.
37852 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37853 __mpexp_twomm1. Use __pow_mp.
37855 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37858 2013-01-17 David S. Miller <davem@davemloft.net>
37860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37862 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37865 * include/complex.h: Condition contents on [!_COMPLEX_H].
37866 (__kernel_casinhf): New prototype.
37867 (__kernel_casinh): Likewise.
37868 (__kernel_casinhl): Likewise.
37869 * math/Makefile (libm_calls): Add k_casinh.
37870 * math/k_casinh.c: New file.
37871 * math/k_casinhf.c: Likewise.
37872 * math/k_casinhl.c: Likewise.
37873 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37874 finite nonzero arguments.
37875 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37876 finite nonzero arguments.
37877 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37878 finite nonzero arguments.
37879 * math/s_casinh.c: Do not include <float.h>.
37880 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37881 * math/s_casinhf.c: Do not include <float.h>.
37882 (__casinhf): Move code for finite nonzero arguments to
37884 * math/s_casinhl.c: Do not include <float.h>.
37885 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37887 (__casinhl): Move code for finite nonzero arguments to
37889 * math/libm-test.inc (cacos_test): Add more tests.
37890 * sysdeps/i386/fpu/libm-test-ulps: Update.
37891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37893 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
37895 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37896 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37897 [!HAVE_MREMAP]: Remove [defined linux] case.
37898 * malloc/arena.c: Do not include <malloc-sysdep.h>.
37900 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37902 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37904 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
37906 * elf/elf.h (R_386_SIZE32): New relocation.
37907 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37909 (elf_machine_rela): Likewise.
37910 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37911 R_X86_64_SIZE64 and R_X86_64_SIZE32.
37913 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37915 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37916 (FP_FAST_FMA): Do not define.
37917 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37918 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37919 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37920 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37921 !_SOFT_FLOAT]: Likewise.
37922 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37923 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37925 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37926 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37927 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37928 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37929 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37930 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37933 2013-01-16 Andreas Schwab <schwab@suse.de>
37936 * include/stdlib.h (__mktemp): Add declaration.
37937 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37938 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37940 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37942 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37944 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37945 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37946 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37948 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37949 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37951 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37953 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37954 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37955 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37957 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37958 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37960 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37962 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37964 2013-01-15 David S. Miller <davem@davemloft.net>
37966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37967 trunc{,f} to libm-sysdep_routes.
37968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37978 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37979 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37980 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37981 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37982 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37983 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37986 nearbyint{,f} to libm-sysdep_routes.
37987 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37998 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38000 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38001 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38003 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38004 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38005 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38007 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38008 libc_feholdexcept and libc_fesetenv.
38010 2013-01-15 Mike Frysinger <vapier@gentoo.org>
38012 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38014 2013-01-14 David S. Miller <davem@davemloft.net>
38016 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38017 (SPARC_ASM_VIS2_IFUNC): Likewise.
38018 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38020 use of 'siam' instruction.
38021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38039 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38040 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38054 routines to libm-sysdep_routines.
38055 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38058 fdim/fdimf to libm-sysdep_routines.
38059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38067 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38068 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38069 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38070 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38072 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38074 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38075 to optimize copies.
38077 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38082 local variable MPTWO.
38083 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38086 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38088 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38091 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38093 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38095 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38097 * manual/pattern.texi (glob_t): Document gl_flags.
38098 (glob64_t): Likewise.
38100 2013-01-11 David S. Miller <davem@davemloft.net>
38102 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38103 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38104 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
38105 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38106 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38107 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38108 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38109 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38110 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38111 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38112 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38113 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38114 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38116 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38117 sparc V9 rather than using V8 code.
38118 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38119 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38121 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38123 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38126 2013-01-11 Roland McGrath <roland@hack.frob.com>
38128 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38129 not in the main loop.
38130 * configure: Regenerated.
38132 2013-01-11 Joseph Myers <joseph@codesourcery.com>
38134 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38135 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38137 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
38138 [!__GLIBC_HAVE_LONG_LONG] case.
38139 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38140 condition to just #else.
38141 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38142 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38143 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38144 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38146 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38147 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38148 #elif condition to just #else.
38149 * sysdeps/unix/sysv/linux/sys/sysmacros.h
38150 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38151 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38152 #elif condition to just #else.
38154 2013-01-11 Steve Ellcey <sellcey@mips.com>
38156 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38157 (EF_MIPS_ARCH_64): Fix value.
38158 (EF_MIPS_ARCH_32R2): New.
38159 (EF_MIPS_ARCH_64R2): New.
38161 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
38163 * Makeconfig (+link-pie-before-libc): New.
38164 (+link-pie-after-libc): Likewise.
38165 (+link-pie-tests): Likewise.
38166 (+link-pie): Rewritten.
38167 (link-before-libc): Remove $(config-LDFLAGS).
38168 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38169 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38170 (config-LDFLAGS): Renamed to ...
38171 (rtld-LDFLAGS): This.
38172 (rtld-tests-LDFLAGS): New macro.
38173 (link-libc-rpath-link): Likewise.
38174 (link-libc-tests-rpath-link): Likewise.
38175 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38176 (link-libc): Prepand $(link-libc-rpath-link).
38177 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38178 (test-program-prefix): New macro.
38179 (test-via-rtld-prefix): Likewise.
38180 (test-program-cmd): Likewise.
38181 (host-test-program-cmd): Likewise.
38182 * Makefile ($(common-objpfx)testrun.sh): Replace
38183 $(run-program-prefix) with $(test-program-prefix).
38184 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38186 ($(common-objpfx)shlib.lds): Likewise.
38187 (build-module-helper): Likewise.
38188 ($(common-objpfx)format.lds): Likewise.
38189 * Rules (binaries-pie-tests): New.
38190 (binaries-pie-notests): Likewise.
38191 (binaries-pie): Rewritten.
38192 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38193 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38194 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38195 (make-test-out): Replace $(host-built-program-cmd) with
38196 $(host-test-program-cmd).
38197 * config.make.in (build-hardcoded-path-in-tests): New variable.
38198 * configure.in (--enable-hardcoded-path-in-tests): New configure
38200 (hardcoded_path_in_tests): New AC_SUBST.
38201 * configure: Regenerated.
38202 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38203 $(built-program-cmd) with $(test-program-cmd).
38204 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38205 (test_program_cmd): This.
38206 * elf/Makefile ($(objpfx)order.out): Run test with
38207 $(test-program-prefix).
38208 ($(objpfx)order2.out): Likewise.
38209 ($(objpfx)tst-initorder.out): Likewise.
38210 ($(objpfx)tst-initorder2.out): Likewise.
38211 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38212 $(test-program-cmd).
38213 ($(objpfx)tst-array1-static.out): Likewise.
38214 ($(objpfx)tst-array2.out): Likewise.
38215 ($(objpfx)tst-array3.out): Likewise.
38216 ($(objpfx)tst-array4.out): Likewise.
38217 ($(objpfx)tst-array5.out): Likewise.
38218 ($(objpfx)tst-array5-static.out): Likewise.
38219 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38220 $(test-program-cmd).
38221 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38222 $(run-program-prefix) with $(test-program-prefix).
38223 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38224 (test_program_prefix): This.
38225 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38226 $(run-program-prefix) with $(test-program-prefix).
38227 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38228 (test_program_prefix): This.
38229 * iconvdata/tst-tables.sh: Likewise.
38230 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38231 $(run-program-prefix) with $(test-program-prefix).
38232 ($(objpfx)tst-translit.out): Likewise.
38233 ($(objpfx)tst-gettext2.out): Likewise.
38234 ($(objpfx)tst-gettext4.out): Likewise.
38235 ($(objpfx)tst-gettext6.out): Likewise.
38236 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38237 (test_program_prefix): This.
38238 * intl/tst-gettext2.sh: Likewise.
38239 * intl/tst-gettext4.sh Likewise.
38240 * intl/tst-gettext6.sh: Likewise.
38241 * intl/tst-translit.sh: Likewise.
38242 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38243 with $(test-program-cmd).
38244 * libio/Makefile ($(objpfx)test-freopen.out): Replace
38245 $(run-program-prefix) with $(test-program-prefix).
38246 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38247 (test_program_prefix): This.
38248 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38249 $(run-program-prefix) with $(test-program-prefix).
38250 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38251 (test_program_prefix): This.
38252 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38253 * posix/Makefile ($(objpfx)globtest.out): Replace
38254 $(run-via-rtld-prefix) and $(test-wrapper) with
38255 $(test-program-prefix) and $(test-via-rtld-prefix).
38256 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38257 $(test-program-prefix).
38258 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38259 $(host-test-program-cmd).
38260 (tst-spawn-ARGS): Likewise.
38261 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38262 $(test-program-prefix).
38263 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38264 (test_via_rtld_prefix): This.
38265 (test_wrapper): Renamed to ...
38266 (test_program_prefix): This.
38267 (run_program_prefix): Replaced by test_program_prefix.
38268 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38269 (test_program_prefix): This.
38270 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38271 with $(host-test-program-cmd).
38272 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38273 $(run-program-prefix) with $(test-program-prefix).
38274 ($(objpfx)tst-printf.out): Likewise.
38275 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38276 $(test-program-cmd).
38277 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38278 (test_program_prefix): This.
38279 * stdio-common/tst-unbputc.sh: Likewise.
38280 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38281 $(run-program-prefix) with $(test-program-prefix).
38282 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38283 (test_program_prefix): This.
38284 * string/Makefile ($(objpfx)tst-svc.out): Replace
38285 $(built-program-cmd) with $(test-program-cmd).
38287 2013-01-11 Andreas Jaeger <aj@suse.de>
38290 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38291 value. Sync with Linux 3.7.
38293 2013-01-10 David S. Miller <davem@davemloft.net>
38295 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38296 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38297 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38299 2013-01-10 Roland McGrath <roland@hack.frob.com>
38301 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38303 * configure: Regenerated.
38305 2013-01-10 David S. Miller <davem@davemloft.net>
38307 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38308 sparc V9 rather than using V8 code.
38309 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38310 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38312 2013-01-10 Roland McGrath <roland@hack.frob.com>
38314 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38315 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38316 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38317 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38318 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38319 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38320 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38321 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38322 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38323 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38324 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38325 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38326 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38327 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38328 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38329 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38330 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38331 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38332 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38333 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38334 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38335 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38336 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38337 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38338 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38339 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38340 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38342 2013-01-10 David S. Miller <davem@davemloft.net>
38344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38346 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38348 * posix/Makefile (tests-static): New variable.
38349 (tests): Add $(tests-static).
38350 (tst-exec-static-ARGS): New variable.
38351 (tst-spawn-static-ARGS): Likewise.
38352 * posix/tst-exec-static.c: New file.
38353 * posix/tst-spawn-static.c: Likewise.
38354 * posix/tst-exec.c: Support run directly.
38355 * posix/tst-spawn.c: Likewise.
38357 2013-01-10 Joseph Myers <joseph@codesourcery.com>
38359 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38361 * math/bits/mathcalls.h (llrint): Likewise.
38362 (llround): Likewise.
38363 * stdlib/stdlib.h (struct drand48_data): Likewise.
38364 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38365 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38366 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38368 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38370 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38371 (elf_greg_t): Likewise.
38372 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38373 (__jmp_buf): Likewise.
38374 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38376 (llrint): Likewise, for all definitions.
38377 (llrintl): Likewise.
38379 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38380 Remove [__GNUC__] condition.
38381 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38382 condition to just [__USE_ISOC99].
38383 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38385 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38388 * sysdeps/unix/sysv/linux/x86/bits/environments.h
38389 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38391 (_POSIX_V6_ILP32_OFF32): Likewise.
38392 (_XBS5_ILP32_OFF32): Likewise.
38393 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38394 (__ILP32_OFFBIG_LDFLAGS): Likewise.
38396 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38398 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38400 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38401 doubles __mpexp_twomm1. Adjust usage.
38402 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38405 2013-01-10 Andreas Schwab <schwab@suse.de>
38408 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38409 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38411 2013-01-09 David S. Miller <davem@davemloft.net>
38414 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38415 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38416 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38417 (TCP_FASTOPEN): Define.
38418 (tcp_repair_opt): New structure.
38419 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38421 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38422 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38423 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38424 (tcp_cookie_transactions): New structure.
38426 2013-01-09 Anton Blanchard <anton@samba.org>
38428 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38429 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38430 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38431 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38433 2013-01-09 Joseph Myers <joseph@codesourcery.com>
38435 * include/features.h (__USE_ANSI): Remove.
38437 2013-01-09 Roland McGrath <roland@hack.frob.com>
38439 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38441 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38443 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
38445 * sysdeps/s390/fpu/libm-test-ulps: Update.
38447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38449 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38453 (denorm): Likewise.
38454 (__mp_dbl): Likewise.
38455 (__dbl_mp): Likewise.
38456 (add_magnitudes): Likewise.
38457 (sub_magnitudes): Likewise.
38463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38467 (denorm): Likewise.
38468 (__mp_dbl): Likewise.
38469 (__dbl_mp): Likewise.
38470 (add_magnitudes): Likewise.
38471 (sub_magnitudes): Likewise.
38477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38481 (denorm): Likewise.
38482 (__mp_dbl): Likewise.
38483 (__dbl_mp): Likewise.
38484 (add_magnitudes): Likewise.
38485 (sub_magnitudes): Likewise.
38492 2013-01-08 Joseph Myers <joseph@codesourcery.com>
38494 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38495 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38496 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38497 2 && __USE_EXTERN_INLINES]: Likewise.
38499 2013-01-08 Andreas Jaeger <aj@suse.de>
38502 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38504 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38505 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38507 2013-01-07 Anton Blanchard <anton@samba.org>
38509 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38510 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38511 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38512 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38513 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38514 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38515 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38516 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38518 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38519 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38520 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38521 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38522 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38523 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38524 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38525 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38526 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38527 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38528 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38529 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38530 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38531 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38532 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38533 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38534 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38535 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38536 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38537 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38538 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38539 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38541 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38542 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38543 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38544 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38545 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38546 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38547 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38548 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38549 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38550 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38551 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38553 2013-01-07 Joseph Myers <joseph@codesourcery.com>
38555 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38556 (__MALLOC_PMT): Likewise.
38557 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38558 [__GNUC__], only on [_LIBC].
38559 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38560 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38561 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38562 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38563 forward declaration.
38564 (realloc_hook_ini): Likewise.
38565 (memalign_hook_ini): Likewise.
38566 (__libc_memalign): Do not use __MALLOC_PMT in variable
38568 (__libc_valloc): Likewise.
38569 (__libc_pvalloc): Likewise.
38570 (__libc_calloc): Likewise.
38571 (__posix_memalign): Likewise.
38574 * math/s_casinh.c: Include <float.h>.
38575 (__casinh): Do not do computation with squaring and square root
38576 for large arguments.
38577 * math/s_casinhf.c: Include <float.h>.
38578 (__casinhf): Do not do computation with squaring and square root
38579 for large arguments.
38580 * math/s_casinhl.c: Include <float.h>.
38581 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38582 (__casinhl): Do not do computation with squaring and square root
38583 for large arguments.
38584 * math/libm-test.inc (casin_test): Add more tests.
38585 (casinh_test): Likewise.
38586 * sysdeps/i386/fpu/libm-test-ulps: Update.
38587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38589 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
38591 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38592 (__x86_64_raw_data_cache_size): Likewise.
38593 (__x86_64_data_cache_size_half): Likewise.
38594 (__x86_64_raw_data_cache_size_half): Likewise.
38595 (__x86_64_shared_cache_size): Likewise.
38596 (__x86_64_raw_shared_cache_size): Likewise.
38597 (__x86_64_shared_cache_size_half): Likewise.
38598 (__x86_64_raw_shared_cache_size_half): Likewise.
38599 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38601 (__x86_data_cache_size): This.
38602 (__x86_64_raw_data_cache_size): Renamed to ...
38603 (__x86_raw_data_cache_size): This.
38604 (__x86_64_data_cache_size_half): Renamed to ...
38605 (__x86_data_cache_size_half): This.
38606 (__x86_64_raw_data_cache_size_half): Renamed to ...
38607 (__x86_raw_data_cache_size_half): This.
38608 (__x86_64_shared_cache_size): Renamed to ...
38609 (__x86_shared_cache_size): This.
38610 (__x86_64_raw_shared_cache_size): Renamed to ...
38611 (__x86_raw_shared_cache_size): This.
38612 (__x86_64_shared_cache_size_half): Renamed to ...
38613 (__x86_shared_cache_size_half): This.
38614 (__x86_64_raw_shared_cache_size_half): Renamed to ...
38615 (__x86_raw_shared_cache_size_half): This.
38616 * sysdeps/x86_64/memcpy.S: Updated.
38617 * sysdeps/x86_64/memset.S: Likewise.
38618 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38619 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38620 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38622 2013-01-04 David S. Miller <davem@davemloft.net>
38624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38626 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
38628 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38629 1 to avoid redefinition warning.
38630 (__USE_GNU): Don't define.
38631 (init_signaling_nan): Protoize.
38633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38635 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38637 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38639 (__cpymn): Likewise.
38640 (norm): Remove commented code.
38641 (denorm): Likewise.
38642 (__mp_dbl): Likewise.
38644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38645 (__cpymn): Likewise.
38646 (norm): Remove commented code.
38647 (denorm): Likewise.
38648 (__mp_dbl): Likewise.
38651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38652 mp_no value for 1.0 and 2.0.
38653 (norm): Use RADIXI instead of radixi.d.
38654 (denorm): Likewise.
38655 (__mul): Use 0.0 instead of zero.d.
38656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38657 mp_no value for 1.0 and 2.0.
38658 (norm): Use RADIXI instead of radixi.d.
38659 (denorm): Likewise.
38660 (__mul): Use 0.0 instead of zero.d.
38662 2013-01-04 Joseph Myers <joseph@codesourcery.com>
38665 * math/s_casinh.c (__casinh): Reduce finite argument to first
38666 quadrant then set signs of results at the end.
38667 * math/s_casinhf.c (__casinhf): Likewise.
38668 * math/s_casinhl.c (__casinhl): Likewise.
38669 * math/libm-test.inc (casin_test): Add more tests.
38670 (casinh_test): Likewise.
38671 * sysdeps/i386/fpu/libm-test-ulps: Update.
38672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38674 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38676 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38678 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38680 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38682 (denorm): Likewise.
38683 (__mp_dbl): Likewise.
38686 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38687 and adjust the header comment.
38689 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38690 variable name from declaration.
38692 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
38694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38695 Initialize COMMON_CPUID_INDEX_7 element.
38696 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38697 (CPUID_RTM): Likewise.
38698 (HAS_RTM): Likewise.
38699 (COMMON_CPUID_INDEX_7): New enum.
38701 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
38704 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38705 size is zero, record memory as freed.
38707 2013-01-03 Andreas Jaeger <aj@suse.de>
38709 * po/ia.po: Add new Interlingua translation.
38711 2012-01-03 Allan McRae <allan@archlinux.org>
38713 * locale/programs/localedef.c: Fix description of '--posix' flag.
38715 2013-01-02 Joseph Myers <joseph@codesourcery.com>
38717 * NEWS: Update dates in second copyright notice.
38718 * README: Update copyright dates in example.
38719 * manual/libc.texinfo: Update copyright dates.
38720 * scripts/test-installation.pl: Update copyright date in --version
38723 * hurd/ctty-input.c: Fix copyright notice formatting.
38724 * hurd/ctty-output.c: Likewise.
38725 * hurd/dtable.c: Likewise.
38726 * hurd/hurd-raise.c: Likewise.
38727 * hurd/hurdprio.c: Likewise.
38728 * hurd/msgportdemux.c: Likewise.
38729 * misc/sys/file.h: Likewise.
38730 * misc/sys/ioctl.h: Likewise.
38731 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38732 * sysdeps/mach/hurd/chdir.c: Likewise.
38733 * sysdeps/mach/hurd/fchdir.c: Likewise.
38734 * sysdeps/mach/hurd/rename.c: Likewise.
38735 * sysdeps/mach/hurd/rmdir.c: Likewise.
38736 * sysdeps/mach/hurd/seekdir.c: Likewise.
38737 * sysdeps/mach/hurd/setsid.c: Likewise.
38738 * sysdeps/posix/wait3.c: Likewise.
38740 * All files with FSF copyright notices: Update copyright dates
38741 using scripts/update-copyrights.
38742 * intl/plural.c: Regenerated.
38743 * locale/programs/charmap-kw.h: Likewise.
38744 * locale/programs/locfile-kw.h: Likewise.
38746 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38748 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38751 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38752 calculation loop and add branch prediction.
38754 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38755 check access beyond bounds of m1np.
38757 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38759 (__inv): Remove local variable MPTWO to use the global
38761 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38762 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38764 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38765 MP3HALFS static const.
38767 2013-01-01 David S. Miller <davem@davemloft.net>
38769 * po/ca.po: Update from translation team.
38771 2013-01-01 Joseph Myers <joseph@codesourcery.com>
38773 * scripts/update-copyrights: New file.
38774 * Makeconfig: Reformat copyright notice.
38775 * ctype/ctype.h: Likewise.
38776 * debug/swprintf_chk.c: Likewise.
38777 * elf/dl-cache.c: Likewise.
38778 * elf/dl-debug.c: Likewise.
38779 * elf/dl-object.c: Likewise.
38780 * grp/initgroups.c: Likewise.
38781 * hurd/Makefile: Likewise.
38782 * hurd/hurd/signal.h: Likewise.
38783 * hurd/hurdfault.c: Likewise.
38784 * hurd/hurdioctl.c: Likewise.
38785 * hurd/hurdlookup.c: Likewise.
38786 * hurd/intr-msg.c: Likewise.
38787 * iconv/gconv_open.c: Likewise.
38788 * libio/swprintf.c: Likewise.
38789 * locale/lc-ctype.c: Likewise.
38790 * locale/nl_langinfo.c: Likewise.
38791 * mach/Machrules: Likewise.
38792 * mach/Makefile: Likewise.
38793 * malloc/obstack.h: Likewise.
38794 * manual/Makefile: Likewise.
38795 * manual/tsort.awk: Likewise.
38796 * misc/bits/stab.def: Likewise.
38797 * nis/nis_print_group_entry.c: Likewise.
38798 * nis/nis_table.c: Likewise.
38799 * nis/nss_compat/compat-pwd.c: Likewise.
38800 * nis/nss_compat/compat-spwd.c: Likewise.
38801 * po/Makefile: Likewise.
38802 * posix/fnmatch.c: Likewise.
38803 * posix/regex.h: Likewise.
38804 * resolv/Makefile: Likewise.
38805 * resolv/nss_dns/dns-network.c: Likewise.
38806 * resolv/res_hconf.c: Likewise.
38807 * scripts/gen-sorted.awk: Likewise.
38808 * soft-fp/soft-fp.h: Likewise.
38809 * stdio-common/printf.h: Likewise.
38810 * stdlib/monetary.h: Likewise.
38811 * stdlib/random.c: Likewise.
38812 * stdlib/random_r.c: Likewise.
38813 * sysdeps/generic/Makefile: Likewise.
38814 * sysdeps/gnu/Makefile: Likewise.
38815 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38816 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38817 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38818 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38819 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38821 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38822 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38823 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38824 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38825 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38826 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38827 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38828 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38829 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38830 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38831 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38832 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38833 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38834 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38835 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38836 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38837 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38838 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38839 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38840 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38841 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38842 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38843 * sysdeps/mach/hurd/errnos.awk: Likewise.
38844 * sysdeps/mach/hurd/fork.c: Likewise.
38845 * sysdeps/mach/hurd/getcwd.c: Likewise.
38846 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38847 * sysdeps/mach/hurd/mmap.c: Likewise.
38848 * sysdeps/mach/hurd/utimes.c: Likewise.
38849 * sysdeps/mach/hurd/xmknod.c: Likewise.
38850 * sysdeps/posix/profil.c: Likewise.
38851 * sysdeps/posix/readdir_r.c: Likewise.
38852 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38853 * sysdeps/powerpc/bits/setjmp.h: Likewise.
38854 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38855 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38857 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38858 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38859 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38861 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38862 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38863 * sysdeps/pthread/lio_listio.c: Likewise.
38864 * sysdeps/sparc/dl-procinfo.h: Likewise.
38865 * sysdeps/unix/i386/sysdep.S: Likewise.
38866 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38867 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38868 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38869 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38871 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38872 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38873 * sysdeps/unix/sysv/linux/speed.c: Likewise.
38874 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38875 * sysdeps/wordsize-32/divdi3.c: Likewise.
38876 * time/sys/time.h: Likewise.
38877 * wcsmbs/Makefile: Likewise.
38879 2013-01-01 David S. Miller <davem@davemloft.net>
38881 * po/fr.po: Update from translation team.
38883 * catgets/gencat.c: Update copyright year.
38884 * csu/version.c: Likewise.
38885 * debug/catchsegv.sh: Likewise.
38886 * debug/pcprofiledump.c: Likewise.
38887 * debug/xtrace.sh: Likewise.
38888 * elf/ldconfig.c: Likewise.
38889 * elf/ldd.bash.in: Likewise.
38890 * elf/pldd.c: Likewise.
38891 * elf/sotruss.ksh: Likewise.
38892 * elf/sprof.c: Likewise.
38893 * iconv/iconv_prog.c: Likewise.
38894 * iconv/iconvconfig.c: Likewise.
38895 * locale/programs/locale.c: Likewise.
38896 * locale/programs/localedef.c: Likewise.
38897 * login/programs/pt_chown.c: Likewise.
38898 * malloc/memusage.sh: Likewise.
38899 * malloc/memusagestat.c: Likewise.
38900 * malloc/mtrace.pl: Likewise.
38901 * nscd/nscd.c: Likewise.
38902 * nss/getent.c: Likewise.
38903 * nss/makedb.c: Likewise.
38904 * posix/getconf.c: Likewise.
38906 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38908 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38911 2012-12-30 Mike Frysinger <vapier@gentoo.org>
38913 * math/bits/mathcalls.h (modf): Use __nonnull.
38915 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38917 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38918 (split): Use macro CN instead of the bare value.
38919 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38921 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38922 instead of the bare value.
38923 (power1): Likewise.
38925 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38927 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38929 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38931 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38933 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38934 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38935 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38936 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38938 2012-12-28 Andreas Jaeger <aj@suse.de>
38940 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
38941 values are from Linux 3.7.
38943 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38944 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
38946 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38948 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38951 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38953 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38954 variables with preprocessor constants.
38955 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38956 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38957 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38959 2012-12-27 Bruno Haible <bruno@clisp.org>
38962 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38965 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38968 and use variable directly.
38969 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38971 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38973 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38974 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38976 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38977 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38978 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38979 include directive. Remove local variable MPONE.
38980 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38981 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38982 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38984 2012-12-25 David S. Miller <davem@davemloft.net>
38986 * version.h (RELEASE): Set to "development".
38987 (VERSION): Set to "2.17.90".
38988 * NEWS: Add 2.18 section.
38990 2012-12-21 David S. Miller <davem@davemloft.net>
38992 * po/hr.po: Update from translation team.
38994 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38996 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38998 2012-12-19 Steve Ellcey <sellcey@mips.com>
39000 * NEWS: Mention new memcpy for MIPS.
39002 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39004 * manual/contrib.texi (Contributors): Spelling correction.
39006 2012-12-15 David S. Miller <davem@davemloft.net>
39008 * po/ru.po: Update from translation team.
39010 2012-12-13 David S. Miller <davem@davemloft.net>
39012 * NEWS: Mention IFUNC testsuite enhancements.
39014 * po/pl.po: Update from translation team.
39015 * po/bg.po: Likewise.
39017 * manual/contrib.texi (Contributors): Update entries for Hongjiu
39018 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
39020 2012-12-11 David S. Miller <davem@davemloft.net>
39022 * po/sv.po: Update from translation team.
39024 * po/vi.po: Update from translation team.
39026 * po/cs.po: Update from translation team.
39028 * po/de.po: Update from translation team.
39029 * po/eo.po: Likewise.
39030 * po/nl.po: Likewise.
39032 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39035 * manual/argp.texi (Argp Helper Functions): Move node to follow
39036 Argp Parsing State.
39039 * manual/conf.texi (Limits on File System Capacity): Mention if
39040 terminating null is included in the max size.
39042 2012-12-10 Andreas Jaeger <aj@suse.de>
39044 * po/cs.po: Update from translation team.
39046 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39048 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39049 void pointer and cast to uintptr_t.
39050 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39052 * sysdeps/s390/s390-64/memcpy.S: Likewise.
39053 * sysdeps/s390/s390-64/memset.S: Likewise.
39055 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
39058 * menual/message.texi (Message Translation): Fix typos.
39059 (Helper programs for gettext): Likewise.
39061 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
39064 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39067 2012-12-07 David S. Miller <davem@davemloft.net>
39069 * po/libc.pot: Update.
39071 2012-12-07 Richard Henderson <rth@redhat.com>
39074 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39075 normal/normal case to before the switch.
39076 (_FP_DIV): Likewise.
39078 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
39079 Mike Frysinger <vapier@gentoo.org>
39081 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39082 check for __NR_fadvise64_64.
39084 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
39086 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39087 0, not just to plain "0" as a statement.
39088 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39091 2012-12-06 Joseph Myers <joseph@codesourcery.com>
39093 * NEWS: Use sourceware.org in Bugzilla URL.
39095 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39098 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39100 * stdio-common/tst-put-error.c (do_test): Add newline to the
39101 padded test to ensure flush.
39103 2012-12-05 Jeff Law <law@redhat.com>
39105 * sunrpc/etc.rpc (fedfs_admin): Add entry.
39107 2012-12-05 Joseph Myers <joseph@codesourcery.com>
39109 * README: Don't refer to ports add-on as distributed separately.
39110 Mention AArch64 in list of systems supported in the ports add-on.
39112 * LICENSES: Add more non-FSF copyright and license notices.
39114 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39117 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39119 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39120 10000 as width of padded output.
39122 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39124 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39126 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39127 variable LX with __attribute__ ((unused)).
39128 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39130 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39131 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39132 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39133 with __attribute__ ((unused)).
39135 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
39137 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39139 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39141 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39142 (CFLAGS-nldbl-acos.c): New variable.
39143 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39144 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39145 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39146 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39147 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39148 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39149 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39150 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39151 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39152 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39153 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39154 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39155 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39156 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39157 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39158 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39159 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39160 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39161 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39162 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39163 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39164 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39165 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39166 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39167 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39168 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39169 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39170 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39171 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39172 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39173 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39174 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39175 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39176 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39177 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39178 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39179 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39180 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39181 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39182 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39183 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39184 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39185 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39186 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39187 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39188 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39189 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39190 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39191 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39192 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39193 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39194 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39195 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39196 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39197 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39198 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39199 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39200 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39201 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39202 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39203 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39204 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39205 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39206 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39207 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39208 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39209 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39210 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39211 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39212 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39213 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39214 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39215 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39216 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39217 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39218 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39219 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39220 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39221 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39222 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39223 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39224 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39225 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39226 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39227 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39228 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39229 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39230 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39231 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39232 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39233 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39234 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39235 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39236 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39237 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39238 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39239 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39242 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39245 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39246 whole low double instead of just low 47 bits when splitting values
39249 2012-12-03 Allan McRae <allan@archlinux.org>
39251 * manual/stdio.texi (Predefined Printf Handlers): Remove
39252 @hsep and @vsep usage.
39254 2012-12-03 Mike Frysinger <vapier@gentoo.org>
39256 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39257 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39259 2012-12-03 Jeff Law <law@redhat.com>
39261 * time/sys/time.h (settimeofday): Do not mark TV argument
39264 2012-12-01 Mike Frysinger <vapier@gentoo.org>
39266 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39267 when currently writing and seek to current position when not.
39268 * libio/Makefile (tests): Remove bug-fclose1.
39269 * libio/bug-fclose1.c: Delete.
39271 2012-12-01 Joseph Myers <joseph@codesourcery.com>
39273 * manual/arith.texi (feenableexcept): Fix typo.
39274 (fedisableexcept): Likewise.
39276 2012-11-30 Roland McGrath <roland@hack.frob.com>
39278 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39279 second, differently-typed declaration, rather than a cast.
39281 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39283 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39284 * include/rpc/svc.h: ... here.
39286 2012-11-30 Aurelien Jarno <aurel32@debian.org>
39289 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39290 depending n and resplen2 to catch cases where answer
39293 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
39295 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39296 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39298 2012-11-29 Mike Frysinger <vapier@gentoo.org>
39300 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39302 2012-11-29 Roland McGrath <roland@hack.frob.com>
39304 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39306 2012-11-28 Jeff Law <law@redhat.com>
39309 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39310 dataset_temporary. Track alloca usage into alloca_used.
39311 If dataset is large allocate and release it via malloc/free.
39313 2012-06-04 Florian Weimer <fweimer@redhat.com>
39316 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39318 2012-11-28 David S. Miller <davem@davemloft.net>
39320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39322 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39325 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39326 of pi/2 rounded to nearest to 64 bits.
39327 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39328 nearest to 64 bits.
39329 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39332 2012-11-28 Jeff Law <law@redhat.com>
39333 Martin Osvald <mosvald@redhat.com>
39336 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39337 * sunrpc/svc.c: Include time.h.
39338 (__svc_accept_failed): New function.
39339 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39340 any reason other than EINTR, call __svc_accept_failed.
39341 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39342 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39344 2012-11-28 Andreas Schwab <schwab@suse.de>
39346 * scripts/abilist.awk: Also handle indirect functions in .opd
39349 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39352 * sysdeps/x86/fpu/powl_helper.c: New file.
39353 * sysdeps/x86/fpu/Makefile: Likewise.
39354 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39356 (__ieee754_powl): Use __powl_helper for finite arguments except
39357 integer exponents below 8.
39358 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39360 (__ieee754_powl): Use __powl_helper for finite arguments except
39361 integer exponents below 8.
39362 * math/libm-test.inc (pow_test): Add more tests and enable some
39363 previously disabled tests.
39364 * sysdeps/i386/fpu/libm-test-ulps: Update.
39365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39367 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39368 Carlos O'Donell <carlos_odonell@mentor.com>
39370 * nss/makedb.c (is_prime): Assert that input is odd and greater
39371 than 4. Note that fact in a comment too.
39372 (next_prime): Add 4 to input.
39374 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39377 * libio/Makefile (tests): Add test case tst-fwrite-error.
39378 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39379 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39380 * libio/tst-fwrite-error.c: New test case.
39382 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
39384 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39385 before casting to void *.
39386 * include/libc-internal.h (__pointer_type): New macro.
39387 (__integer_if_pointer_type_sub): Likewise.
39388 (__integer_if_pointer_type): Likewise.
39389 (cast_to_integer): Likewise.
39390 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39391 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39392 before casting to atomic64_t.
39393 (atomic_exchange_acq): Likewise.
39394 (__arch_exchange_and_add_body): Likewise.
39395 (__arch_add_body): Likewise.
39396 (atomic_add_negative): Likewise.
39397 (atomic_add_zero): Likewise.
39399 2012-11-26 Joseph Myers <joseph@codesourcery.com>
39401 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39402 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39403 (add_fdes): Likewise.
39404 (linear_search_fdes): Likewise.
39405 (binary_search_unencoded_fdes): Likewise.
39407 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
39409 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39411 2012-11-24 Adam Conrad <adconrad@0c3.net>
39413 * configure.in: Autodetect C++ header directories.
39414 * configure: Regenerated.
39416 2012-11-23 Mike Frysinger <vapier@gentoo.org>
39418 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39420 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
39422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39424 2012-11-22 Joseph Myers <joseph@codesourcery.com>
39426 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39427 LDBL_MANT_DIG == 106]: Disable some tests.
39428 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39430 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39434 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39435 input for small inputs. Return +/- pi/2 for large inputs.
39436 * math/libm-test.inc (atan_test): Add more tests.
39438 * sysdeps/generic/unwind-dw2-fde-glibc.c
39439 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39440 __attribute__ ((unused)).
39443 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39444 x * y if x and y are nonzero and z is zero.
39447 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39448 nonzero exponents with absolute value below 0x1p-117 to +/-
39452 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39453 up arguments below 2**-450, not just those below 2**-500.
39454 * math/libm-test.inc (hypot_test): Add another test.
39457 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39458 Return a+b for ratio over 2**120, not 2**60.
39459 * math/libm-test.inc (hypot_test): Add another test.
39461 * math/libm-test.inc (clog_test): Use
39462 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39463 (clog10_test): Likewise.
39466 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39468 2012-11-22 Andreas Schwab <schwab@suse.de>
39470 * sysdeps/i386/fpu/libm-test-ulps: Update.
39472 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
39474 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39475 printf output with newline.
39477 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
39480 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39481 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39482 -z nodlopen, -z initfirst and -z execstack support.
39483 * configure: Regenerated.
39485 * elf/elf.h (DF_1_NODIRECT): New macro.
39486 (DF_1_IGNMULDEF): Likewise.
39487 (DF_1_NOKSYMS): Likewise.
39488 (DF_1_NOHDR): Likewise.
39489 (DF_1_EDITED): Likewise.
39490 (DF_1_NORELOC): Likewise.
39491 (DF_1_SYMINTPOSE): Likewise.
39492 (DF_1_GLOBAUDIT): Likewise.
39493 (DF_1_SINGLETON): Likewise.
39494 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39495 DT_1_SUPPORTED_MASK bits.
39496 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39498 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
39500 * sysdeps/unix/make-syscalls.sh: Document prefixes.
39502 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
39504 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39507 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39508 (sendmmsg): Move declarations...
39509 * socket/sys/socket.h: ... here.
39510 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39511 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39513 * socket/recvmmsg.c: ... this new file.
39514 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39515 (sendmmsg): Rename to __sendmmsg, create weak alias and make
39516 definition of __sendmmsg hidden.
39517 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39518 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39519 Move ENOSYS stub into and include it from...
39520 * socket/sendmmsg.c: ... this new file.
39521 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39522 (sysdep_routines): Move recvmmsg and sendmmsg...
39523 * socket/Makefile (routines): ... here.
39524 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39525 (GLIBC_PRIVATE): Add __sendmmsg.
39526 * include/sys/socket.h (__sendmmsg): Add declarations.
39527 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39530 2012-11-20 Joseph Myers <joseph@codesourcery.com>
39532 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39533 variable I1 with __attribute__ ((unused)).
39534 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39536 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39538 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39539 DUMMY variables with __attribute__ ((unused)).
39541 * bits/byteswap.h: Include <bits/types.h>.
39542 (__bswap_64): Use __uint64_t instead of unsigned long long int.
39544 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39546 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39547 string_t. Do not manually set errno.
39548 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39549 length with __strnlen. Make sure to both set errno and return it on
39552 2012-11-19 David S. Miller <davem@davemloft.net>
39554 With help from Joseph Myers.
39555 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39556 very large arguments properly.
39557 * math/libm-test.inc (atan_test): New tests.
39558 (atan2_test): New tests.
39559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39562 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39565 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39568 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39569 [POSIX] (EADDRNOTAVAIL): Likewise.
39570 [POSIX] (EAFNOSUPPORT): Likewise.
39571 [POSIX] (EALREADY): Likewise.
39572 [POSIX] (ECONNABORTED): Likewise.
39573 [POSIX] (ECONNREFUSED): Likewise.
39574 [POSIX] (ECONNRESET): Likewise.
39575 [POSIX] (EDESTADDRREQ): Likewise.
39576 [POSIX] (EDQUOT): Likewise.
39577 [POSIX] (EHOSTUNREACH): Likewise.
39578 [POSIX] (EIDRM): Likewise.
39579 [POSIX] (EISCONN): Likewise.
39580 [POSIX] (ELOOP): Likewise.
39581 [POSIX] (EMULTIHOP): Likewise.
39582 [POSIX] (ENETDOWN): Likewise.
39583 [POSIX] (ENETUNREACH): Likewise.
39584 [POSIX] (ENOBUFS): Likewise.
39585 [POSIX] (ENODATA): Likewise.
39586 [POSIX] (ENOLINK): Likewise.
39587 [POSIX] (ENOMSG): Likewise.
39588 [POSIX] (ENOPROTOOPT): Likewise.
39589 [POSIX] (ENOSR): Likewise.
39590 [POSIX] (ENOSTR): Likewise.
39591 [POSIX] (ENOTCONN): Likewise.
39592 [POSIX] (ENOTSOCK): Likewise.
39593 [POSIX] (EOPNOTSUPP): Likewise.
39594 [POSIX] (EOVERFLOW): Likewise.
39595 [POSIX] (EPROTO): Likewise.
39596 [POSIX] (EPROTONOSUPPORT): Likewise.
39597 [POSIX] (EPROTOTYPE): Likewise.
39598 [POSIX] (ESTALE): Likewise.
39599 [POSIX] (ETIME): Likewise.
39600 [POSIX] (ETXTBSY): Likewise.
39601 [POSIX] (EWOULDBLOCK): Likewise.
39602 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39603 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39604 [POSIX] (SEEK_CUR): Likewise.
39605 [POSIX] (SEEK_END): Likewise.
39606 [POSIX || UNIX98] (mode_t): Do not require.
39607 [POSIX] (off_t): Likewise.
39608 [POSIX] (pid_t): Likewise.
39609 [POSIX] (sys/stat.h): Do not allow header.
39610 [POSIX] (unistd.h): Likewise.
39611 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39612 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39613 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39614 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39616 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39617 sigevent): Specify elements.
39618 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39620 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39621 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39623 * conform/data/cpio.h-data [POSIX]: Disable whole file.
39624 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39625 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39626 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39627 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39628 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39629 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39630 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39631 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39632 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39633 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39634 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39635 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39636 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39638 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39640 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39642 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39644 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39645 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39646 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39647 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39648 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39649 Specify lower bound on value.
39650 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39651 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39652 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39653 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39654 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39655 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39656 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39657 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39659 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39661 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39662 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39663 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39664 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39665 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39666 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39667 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39668 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39669 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39670 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39671 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39672 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39673 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39674 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39675 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39676 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39678 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39680 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39681 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39682 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39683 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39684 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39685 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39687 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39688 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39689 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39690 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39691 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
39692 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39693 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39695 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39696 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39697 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39698 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39699 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39700 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39701 specify as optional.
39702 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39703 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39704 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39705 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39706 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39707 [XPG3] (NL_LANGMAX): Likewise.
39708 [POSIX || XPG3] (NL_MSGMAX): Likewise.
39709 [POSIX || XPG3] (NL_NMAX): Likewise.
39710 [POSIX || XPG3] (NL_SETMAX): Likewise.
39711 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39712 [XPG3] (NZERO): Likewise.
39713 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39714 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39715 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39716 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39717 (REG_ERANGE): Expect.
39718 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39720 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39721 Use (void) in prototype.
39722 [POSIX] (*_t): Allow.
39723 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39724 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39725 (WRDE_BADVAL): Expect.
39727 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39729 [XPG3 || XPG4] (O_RSYNC): Likewise.
39730 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39732 [XPG3 || XPG4] (pthread_sigmask): Likewise.
39733 [XPG3 || XPG4] (sigqueue): Likewise.
39734 [XPG3 || XPG4] (sigtimedwait): Likewise.
39735 [XPG3 || XPG4] (sigwaitinfo): Likewise.
39736 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39737 [XPG3 || XPG4] (vsnprintf): Likewise.
39738 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39740 [XPG3 || XPG4] (blksize_t): Likewise.
39741 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39743 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39744 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39745 [XPG3 || XPG4] (struct itimerspec): Likewise.
39746 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39747 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39748 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39749 [XPG3 || XPG4] (clockid_t): Likewise.
39750 [XPG3 || XPG4] (timer_t): Likewise.
39751 [XPG3 || XPG4] (clock_getres): Likewise.
39752 [XPG3 || XPG4] (clock_gettime): Likewise.
39753 [XPG3 || XPG4] (clock_settime): Likewise.
39754 [XPG3 || XPG4] (nanosleep): Likewise.
39755 [XPG3 || XPG4] (timer_create): Likewise.
39756 [XPG3 || XPG4] (timer_delete): Likewise.
39757 [XPG3 || XPG4] (timer_gettime): Likewise.
39758 [XPG3 || XPG4] (timer_getoverrun): Likewise.
39759 [XPG3 || XPG4] (timer_settime): Likewise.
39760 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39761 [XPG3 || XPG4] (getlogin_r): Likewise.
39762 [XPG3 || XPG4] (pread): Likewise.
39763 [XPG3 || XPG4] (pthread_atfork): Likewise.
39764 [XPG3 || XPG4] (pwrite): Likewise.
39767 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39770 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39772 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39773 finalizing MALLSTREAM.
39775 * sysdeps/mach/hurd/syncfs.c: New file.
39777 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39780 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39781 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39782 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39783 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39784 (_nss_dns_gethostbyname4_r): Likewise.
39785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39786 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39788 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
39791 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39793 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
39795 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39796 * elf/cache.c (print_entry): Print ",AArch64" for
39799 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39800 * elf/cache.c (print_entry): Print ",hard-float" for
39803 2012-11-18 David S. Miller <davem@davemloft.net>
39805 With help from Joseph Myers.
39806 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39808 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39810 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39811 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39813 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39814 * math/libm-test.inc (y0_test): New tests.
39815 (y1_test): New tests.
39816 * sysdeps/i386/fpu/libm-test-ulps: Update.
39817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39820 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
39822 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39824 * configure: Regenerated.
39826 2012-11-17 David S. Miller <davem@davemloft.net>
39829 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39830 nonzero exponents with absolute value below 0x1p-128 to +/-
39833 2012-11-17 Joseph Myers <joseph@codesourcery.com>
39835 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39837 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39839 * posix/getconf-speclist.c: New file.
39840 * posix/posix-envs.def: Likewise.
39841 * posix/confstr.c (START_ENV_GROUP): New macro.
39842 (END_ENV_GROUP): Likewise.
39843 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39844 (KNOWN_PRESENT_ENV_STRING): Likewise.
39845 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39846 (UNKNOWN_ENVIRONMENT): Likewise.
39847 (confstr): Include posix-envs.def instead of handling
39848 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39849 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39850 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39851 (END_ENV_GROUP): Likewise.
39852 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39853 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39854 (UNKNOWN_ENVIRONMENT): Likewise.
39855 (__sysconf): Include posix-envs.def instead of handling associated
39856 cases directly here.
39857 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39858 preprocessing getconf-speclist.c rather than running getconf or
39859 generating empty file.
39861 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
39863 * scripts/check-local-headers.sh: Ignore 'mach' headers.
39865 2012-11-16 Andrej Lajovic <natrij@gmail.com>
39868 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39870 2012-11-16 David S. Miller <davem@davemloft.net>
39872 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39873 smaller than LDBL_EPSILON/2.0L, just return xm1.
39875 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
39877 * elf/tst-array1.c (init): Set constructor priority to 1000.
39878 (fini): Set destructor priority to 1000.
39879 * elf/tst-array2dep.c: Likewise.
39881 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39884 * libio/fileops.c (_IO_new_file_write): Correctly return error.
39885 (_IO_new_file_xsputn): Also return EOF if none of the input
39886 data was written when overflow failed.
39887 * libio/iopadn.c (_IO_padn): Likewise.
39888 * libio/iowpadn.c (_IO_wpadn): Likewise.
39889 * stdio-common/tst-put-error.c: Add copyright notice.
39890 (do_test): Add case for printing padded string.
39891 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39892 _IO_padn returned error.
39893 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39894 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39897 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39899 * libio/libioP.h: Add comment note that the references to C++
39900 bits are now obsolete.
39902 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39904 * math/libm-test.inc (check_complex): Use asprintf.
39906 2012-11-14 Joseph Myers <joseph@codesourcery.com>
39908 * debug/pcprofiledump.c (print_version): Update copyright year.
39909 * malloc/memusagestat.c (print_version): Likewise.
39911 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
39914 * elf/Makefile (tests): Add tst-audit8.
39915 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39916 ($(objpfx)tst-audit8.out): New target.
39917 (tst-audit8-ENV): New variable.
39918 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39919 audit if l_reloc_result is NULL.
39920 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39921 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39922 * elf/tst-audit8.c: New file.
39924 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39926 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39927 * misc/Makefile (CFLAGS-select.c): Define.
39928 * posix/Makefile (CFLAGS-pause.c): Define.
39930 2012-11-13 David S. Miller <davem@davemloft.net>
39932 * crypt/Makefile: Move test targets after toplevel Rules
39933 inclusion. Grab any necessary sysdep routines when linking.
39934 * crypt/md5.c (md5_process_block): Remove define, we will always
39935 name it __md5_process_block.
39936 (md5_finish_ctx): Update md5_process_block call.
39937 (md5_stream): Likewise.
39938 (md5_process_bytes): Likewise.
39939 (md5_process_block): Rename to __md5_process_block and move to ...
39940 * crypt/md5-block.c: ... here.
39941 * crypt/sha256.c (sha256_process_block): Move to ...
39942 * crypt/sha256-block.c: ... here.
39943 * crypt/sha512.c (sha512_process_block): Move to ...
39944 * crypt/sha512-block.c: ... here.
39945 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39947 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39948 * sysdeps/sparc/sparc64/multiarch/Makefile
39949 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39951 (localedef-aux): Add md5 crypto assembler when in locale subdir.
39952 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39954 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39955 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39956 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39957 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39958 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39959 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39960 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39961 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39962 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39964 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39965 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39967 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39969 2012-11-13 Joseph Myers <joseph@codesourcery.com>
39971 * timezone/tzselect.ksh: Update from tzcode git revision
39972 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39973 * timezone/zdump.c: Likewise.
39974 * timezone/zic.c: Likewise.
39975 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39976 in TZVERSION setting, not $(PKGVERSION).
39977 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
39978 REPORT_BUGS_TO settings.
39981 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39984 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39986 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39987 detection to immediately after _FP_ROUND().
39988 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39991 2012-11-11 David S. Miller <davem@davemloft.net>
39993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39995 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39996 __close rather than their public counterparts.
39998 2012-11-10 Joseph Myers <joseph@codesourcery.com>
40000 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40002 [UNIX98] (sem_timedwait): Do not expect.
40003 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40004 [XPG4 || UNIX98] (sockatmark): Do not expect.
40005 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40006 (clock_getcpuclockid): Do not expect.
40007 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40008 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40010 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40011 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40012 [UNIX98] (vwscanf): Likewise.
40013 [UNIX98] (vswscanf): Likewise.
40015 2012-11-09 Joseph Myers <joseph@codesourcery.com>
40017 * timezone/version.h: Remove file.
40018 * timezone/README: Do not refer to version.h.
40019 * timezone/Makefile ($(objpfx)zic.o): New dependency on
40020 $(objpfx)version.h.
40021 ($(objpfx)zdump.o): Likewise.
40022 ($(objpfx)version.h): New target.
40024 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40026 * timezone/README: Don't mention modification to tzselect.ksh.
40027 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40028 work on unmodified tzselect.ksh. Substitute version numbers in
40031 * Makefile (format-me): Remove.
40032 (INSTALL): Adjust indentation. Use commands directly instead of
40033 using $(format-me).
40035 * aclocal.m4 (ACX_PKGVERSION): New macro.
40036 (ACX_BUGURL): Likewise.
40037 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40038 (PKGVERSION): New AC_DEFINE_UNQUOTED.
40039 (REPORT_BUGS_TO): Likewise.
40040 * configure: Regenerated.
40041 * config.h.in (PKGVERSION): New macro.
40042 (REPORT_BUGS_TO): Likewise.
40043 * config.make.in (PKGVERSION): New variable.
40044 (PKGVERSION_TEXI): Likewise.
40045 (REPORT_BUGS_TO): Likewise.
40046 (REPORT_BUGS_TEXI): Likewise.
40047 * Makefile (format-me): Use -I$(common-objpfx)manual.
40048 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40049 ($(common-objpfx)manual/%): New target.
40050 (manual/%): Remove target.
40051 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40052 (print_version): Use PKGVERSION.
40053 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40054 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40055 and REPORT_BUGS_TO.
40056 ($(objpfx)xtrace): Likewise.
40057 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40058 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40059 (print_version): Use PKGVERSION.
40060 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40061 (do_version): Use PKGVERSION.
40062 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40064 (common-ldd-rewrite): Likewise.
40065 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40066 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40067 (print_version): Use PKGVERSION.
40068 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40069 * elf/pldd.c (argp_program_bug_address): Remove variable.
40070 (more_help): New function.
40071 (argp): Use more_help.
40072 (print_version): Use PKGVERSION.
40073 * elf/sln.c (main): Use PKGVERSION.
40074 (usage): Use REPORT_BUGS_TO.
40075 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40076 (top level): Use PKGVERSION.
40077 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40078 (print_version): Use PKGVERSION.
40079 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40080 (print_version): Use PKGVERSION.
40081 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40082 (print_version): Use PKGVERSION.
40083 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40084 (print_version): Use PKGVERSION.
40085 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40086 (print_version): Use PKGVERSION.
40087 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40088 (print_version): Use PKGVERSION.
40089 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40091 ($(objpfx)memusage): Likewise.
40092 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40093 (do_version): Use PKGVERSION.
40094 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40095 (print_version): Use PKGVERSION.
40096 * malloc/mtrace.pl ($PACKAGE): Remove variable.
40097 ($PKGVERSION): New variable.
40098 ($REPORT_BUGS_TO): Likewise.
40099 (usage): Use $REPORT_BUGS_TO.
40100 (top level): Use $PKGVERSION.
40101 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40102 ($(objpfx)pkgvers.texi): New rule.
40103 ($(objpfx)stamp-pkgvers): Likewise.
40104 * manual/install.texi: Include pkgvers.texi.
40105 (--with-pkgversion): Document new configure option.
40106 (--with-bugurl): Likewise.
40107 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40108 than necessarily for this particular distribution. Use
40109 REPORT_BUGS_TO for where to report bugs.
40110 * INSTALL: Regenerated.
40111 * manual/libc.texinfo: Include pkgvers.texi.
40112 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40113 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40114 (print_version): Use PKGVERSION.
40115 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40116 (print_version): Use PKGVERSION.
40117 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40118 (print_version): Use PKGVERSION.
40119 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40120 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40122 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40123 (print_version): Use PKGVERSION.
40124 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40125 (print_version): Use PKGVERSION.
40126 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40129 * timezone/checktab.awk: Update from tzcode 2012i.
40130 * timezone/ialloc.c: Likewise.
40131 * timezone/private.h: Likewise.
40132 * timezone/scheck.c: Likewise.
40133 * timezone/tzfile.h: Likewise.
40134 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40135 (TZVERSION): Hardcode tzcode version number.
40136 * timezone/zdump.c: Update from tzcode 2012i.
40137 * timezone/zic.c: Likewise.
40138 * timezone/version.h: New file.
40139 * timezone/README: Describe version.h. Update upstream location.
40142 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40143 (mktemp): Enable declaration.
40144 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40145 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40147 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40149 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40151 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40153 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40155 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40157 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40161 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40162 offset in buffer as u_int32_t not u_long. Consistently use memcpy
40163 for copies of such integer values.
40164 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40165 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40167 2012-11-09 Andreas Jaeger <aj@suse.de>
40169 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40170 definitions and declarations that are provided by
40171 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40173 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40175 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40176 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40177 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40180 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40182 * elf/elf.h: Update comment before AArch64 relocations.
40184 2012-11-07 David S. Miller <davem@davemloft.net>
40186 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40187 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40188 (__start_context): Declare.
40189 (__makecontext_ret): Delete.
40190 (__makecontext): Hook up __start_context instead of
40192 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40193 (sysdep_routines): Add __start_context when in stdlib.
40195 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40197 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40198 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40199 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
40201 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
40202 (READELF): New variable. Use it instead of hardcoded "readelf".
40204 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
40206 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40207 * sysdeps/x86/Makefile: Here.
40208 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40209 * sysdeps/x86/tst-xmmymm.sh: This.
40211 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40213 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40215 [UNIX98] (pthread_barrier_t): Do not expect.
40216 [UNIX98] (pthread_barrierattr_t): Likewise.
40217 [UNIX98] (pthread_spinlock_t): Likewise.
40218 [UNIX98] (pthread_barrier_destroy): Likewise.
40219 [UNIX98] (pthread_barrier_init): Likewise.
40220 [UNIX98] (pthread_barrier_wait): Likewise.
40221 [UNIX98] (pthread_barrierattr_destroy): Likewise.
40222 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40223 [UNIX98] (pthread_barrierattr_init): Likewise.
40224 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40225 [UNIX98] (pthread_getcpuclockid): Likewise.
40226 [UNIX98] (pthread_mutex_timedlock): Likewise.
40227 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40228 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40229 [UNIX98] (pthread_sigmask): Likewise.
40230 [UNIX98] (pthread_spin_destroy): Likewise.
40231 [UNIX98] (pthread_spin_init): Likewise.
40232 [UNIX98] (pthread_spin_lock): Likewise.
40233 [UNIX98] (pthread_spin_trylock): Likewise.
40234 [UNIX98] (pthread_spin_unlock): Likewise.
40235 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40237 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40238 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40239 [XPG3 || XPG4] (pthread_cond_t): Likewise.
40240 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40241 [XPG3 || XPG4] (pthread_key_t): Likewise.
40242 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40243 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40244 [XPG3 || XPG4] (pthread_once_t): Likewise.
40245 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40246 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40247 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40248 [XPG3 || XPG4] (pthread_t): Likewise.
40250 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40252 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40254 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40255 Change function return type to int.
40257 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40258 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40259 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40260 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40261 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40262 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40263 [!POSIX] (posix_madvise): Likewise.
40264 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40266 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40267 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40268 (mode_t): Likewise.
40269 (posix_mem_offset): Likewise.
40270 (posix_typed_mem_get_info): Likewise.
40271 (posix_typed_mem_open): Likewise.
40273 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40274 Change condition to [XOPEN2K8].
40276 * conform/conformtest.pl: Preprocess allow-header data with -x c
40277 instead of from stdin.
40278 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40279 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40280 [C99-based standards] (cerfc): Likewise.
40281 [C99-based standards] (cexp2): Likewise.
40282 [C99-based standards] (cexpm1): Likewise.
40283 [C99-based standards] (clog10): Likewise.
40284 [C99-based standards] (clog1p): Likewise.
40285 [C99-based standards] (clog2): Likewise.
40286 [C99-based standards] (clgamma): Likewise.
40287 [C99-based standards] (ctgamma): Likewise.
40288 [C99-based standards] (cerff): Likewise.
40289 [C99-based standards] (cerfcf): Likewise.
40290 [C99-based standards] (cexp2f): Likewise.
40291 [C99-based standards] (cexpm1f): Likewise.
40292 [C99-based standards] (clog10f): Likewise.
40293 [C99-based standards] (clog1pf): Likewise.
40294 [C99-based standards] (clog2f): Likewise.
40295 [C99-based standards] (clgammaf): Likewise.
40296 [C99-based standards] (ctgammaf): Likewise.
40297 [C99-based standards] (cerfl): Likewise.
40298 [C99-based standards] (cerfcl): Likewise.
40299 [C99-based standards] (cexp2l): Likewise.
40300 [C99-based standards] (cexpm1l): Likewise.
40301 [C99-based standards] (clog10l): Likewise.
40302 [C99-based standards] (clog1pl): Likewise.
40303 [C99-based standards] (clog2l): Likewise.
40304 [C99-based standards] (clgammal): Likewise.
40305 [C99-based standards] (ctgammal): Likewise.
40306 * conform/data/inttypes.h-data [C99-based standards]: Include
40307 stdint.h-data. Remove all expectations for stdint.h contents.
40308 [C99-based standards] (PRI*): Do not allow.
40309 [C99-based standards] (SCN*): Likewise.
40310 [C99-based standards] (*_t): Likewise.
40311 [C99-based-standards] (PRId8): Expect macro.
40312 [C99-based-standards] (PRIi8): Likewise.
40313 [C99-based-standards] (PRIo8): Likewise.
40314 [C99-based-standards] (PRIu8): Likewise.
40315 [C99-based-standards] (PRIx8): Likewise.
40316 [C99-based-standards] (PRIX8): Likewise.
40317 [C99-based-standards] (SCNd8): Likewise.
40318 [C99-based-standards] (SCNi8): Likewise.
40319 [C99-based-standards] (SCNo8): Likewise.
40320 [C99-based-standards] (SCNu8): Likewise.
40321 [C99-based-standards] (SCNx8): Likewise.
40322 [C99-based-standards] (PRIdLEAST8): Likewise.
40323 [C99-based-standards] (PRIiLEAST8): Likewise.
40324 [C99-based-standards] (PRIoLEAST8): Likewise.
40325 [C99-based-standards] (PRIuLEAST8): Likewise.
40326 [C99-based-standards] (PRIxLEAST8): Likewise.
40327 [C99-based-standards] (PRIXLEAST8): Likewise.
40328 [C99-based-standards] (SCNdLEAST8): Likewise.
40329 [C99-based-standards] (SCNiLEAST8): Likewise.
40330 [C99-based-standards] (SCNoLEAST8): Likewise.
40331 [C99-based-standards] (SCNuLEAST8): Likewise.
40332 [C99-based-standards] (SCNxLEAST8): Likewise.
40333 [C99-based-standards] (PRIdFAST8): Likewise.
40334 [C99-based-standards] (PRIiFAST8): Likewise.
40335 [C99-based-standards] (PRIoFAST8): Likewise.
40336 [C99-based-standards] (PRIuFAST8): Likewise.
40337 [C99-based-standards] (PRIxFAST8): Likewise.
40338 [C99-based-standards] (PRIXFAST8): Likewise.
40339 [C99-based-standards] (SCNdFAST8): Likewise.
40340 [C99-based-standards] (SCNiFAST8): Likewise.
40341 [C99-based-standards] (SCNoFAST8): Likewise.
40342 [C99-based-standards] (SCNuFAST8): Likewise.
40343 [C99-based-standards] (SCNxFAST8): Likewise.
40344 [C99-based-standards] (PRId16): Likewise.
40345 [C99-based-standards] (PRIi16): Likewise.
40346 [C99-based-standards] (PRIo16): Likewise.
40347 [C99-based-standards] (PRIu16): Likewise.
40348 [C99-based-standards] (PRIx16): Likewise.
40349 [C99-based-standards] (PRIX16): Likewise.
40350 [C99-based-standards] (SCNd16): Likewise.
40351 [C99-based-standards] (SCNi16): Likewise.
40352 [C99-based-standards] (SCNo16): Likewise.
40353 [C99-based-standards] (SCNu16): Likewise.
40354 [C99-based-standards] (SCNx16): Likewise.
40355 [C99-based-standards] (PRIdLEAST16): Likewise.
40356 [C99-based-standards] (PRIiLEAST16): Likewise.
40357 [C99-based-standards] (PRIoLEAST16): Likewise.
40358 [C99-based-standards] (PRIuLEAST16): Likewise.
40359 [C99-based-standards] (PRIxLEAST16): Likewise.
40360 [C99-based-standards] (PRIXLEAST16): Likewise.
40361 [C99-based-standards] (SCNdLEAST16): Likewise.
40362 [C99-based-standards] (SCNiLEAST16): Likewise.
40363 [C99-based-standards] (SCNoLEAST16): Likewise.
40364 [C99-based-standards] (SCNuLEAST16): Likewise.
40365 [C99-based-standards] (SCNxLEAST16): Likewise.
40366 [C99-based-standards] (PRIdFAST16): Likewise.
40367 [C99-based-standards] (PRIiFAST16): Likewise.
40368 [C99-based-standards] (PRIoFAST16): Likewise.
40369 [C99-based-standards] (PRIuFAST16): Likewise.
40370 [C99-based-standards] (PRIxFAST16): Likewise.
40371 [C99-based-standards] (PRIXFAST16): Likewise.
40372 [C99-based-standards] (SCNdFAST16): Likewise.
40373 [C99-based-standards] (SCNiFAST16): Likewise.
40374 [C99-based-standards] (SCNoFAST16): Likewise.
40375 [C99-based-standards] (SCNuFAST16): Likewise.
40376 [C99-based-standards] (SCNxFAST16): Likewise.
40377 [C99-based-standards] (PRId32): Likewise.
40378 [C99-based-standards] (PRIi32): Likewise.
40379 [C99-based-standards] (PRIo32): Likewise.
40380 [C99-based-standards] (PRIu32): Likewise.
40381 [C99-based-standards] (PRIx32): Likewise.
40382 [C99-based-standards] (PRIX32): Likewise.
40383 [C99-based-standards] (SCNd32): Likewise.
40384 [C99-based-standards] (SCNi32): Likewise.
40385 [C99-based-standards] (SCNo32): Likewise.
40386 [C99-based-standards] (SCNu32): Likewise.
40387 [C99-based-standards] (SCNx32): Likewise.
40388 [C99-based-standards] (PRIdLEAST32): Likewise.
40389 [C99-based-standards] (PRIiLEAST32): Likewise.
40390 [C99-based-standards] (PRIoLEAST32): Likewise.
40391 [C99-based-standards] (PRIuLEAST32): Likewise.
40392 [C99-based-standards] (PRIxLEAST32): Likewise.
40393 [C99-based-standards] (PRIXLEAST32): Likewise.
40394 [C99-based-standards] (SCNdLEAST32): Likewise.
40395 [C99-based-standards] (SCNiLEAST32): Likewise.
40396 [C99-based-standards] (SCNoLEAST32): Likewise.
40397 [C99-based-standards] (SCNuLEAST32): Likewise.
40398 [C99-based-standards] (SCNxLEAST32): Likewise.
40399 [C99-based-standards] (PRIdFAST32): Likewise.
40400 [C99-based-standards] (PRIiFAST32): Likewise.
40401 [C99-based-standards] (PRIoFAST32): Likewise.
40402 [C99-based-standards] (PRIuFAST32): Likewise.
40403 [C99-based-standards] (PRIxFAST32): Likewise.
40404 [C99-based-standards] (PRIXFAST32): Likewise.
40405 [C99-based-standards] (SCNdFAST32): Likewise.
40406 [C99-based-standards] (SCNiFAST32): Likewise.
40407 [C99-based-standards] (SCNoFAST32): Likewise.
40408 [C99-based-standards] (SCNuFAST32): Likewise.
40409 [C99-based-standards] (SCNxFAST32): Likewise.
40410 [C99-based-standards] (PRId64): Likewise.
40411 [C99-based-standards] (PRIi64): Likewise.
40412 [C99-based-standards] (PRIo64): Likewise.
40413 [C99-based-standards] (PRIu64): Likewise.
40414 [C99-based-standards] (PRIx64): Likewise.
40415 [C99-based-standards] (PRIX64): Likewise.
40416 [C99-based-standards] (SCNd64): Likewise.
40417 [C99-based-standards] (SCNi64): Likewise.
40418 [C99-based-standards] (SCNo64): Likewise.
40419 [C99-based-standards] (SCNu64): Likewise.
40420 [C99-based-standards] (SCNx64): Likewise.
40421 [C99-based-standards] (PRIdLEAST64): Likewise.
40422 [C99-based-standards] (PRIiLEAST64): Likewise.
40423 [C99-based-standards] (PRIoLEAST64): Likewise.
40424 [C99-based-standards] (PRIuLEAST64): Likewise.
40425 [C99-based-standards] (PRIxLEAST64): Likewise.
40426 [C99-based-standards] (PRIXLEAST64): Likewise.
40427 [C99-based-standards] (SCNdLEAST64): Likewise.
40428 [C99-based-standards] (SCNiLEAST64): Likewise.
40429 [C99-based-standards] (SCNoLEAST64): Likewise.
40430 [C99-based-standards] (SCNuLEAST64): Likewise.
40431 [C99-based-standards] (SCNxLEAST64): Likewise.
40432 [C99-based-standards] (PRIdFAST64): Likewise.
40433 [C99-based-standards] (PRIiFAST64): Likewise.
40434 [C99-based-standards] (PRIoFAST64): Likewise.
40435 [C99-based-standards] (PRIuFAST64): Likewise.
40436 [C99-based-standards] (PRIxFAST64): Likewise.
40437 [C99-based-standards] (PRIXFAST64): Likewise.
40438 [C99-based-standards] (SCNdFAST64): Likewise.
40439 [C99-based-standards] (SCNiFAST64): Likewise.
40440 [C99-based-standards] (SCNoFAST64): Likewise.
40441 [C99-based-standards] (SCNuFAST64): Likewise.
40442 [C99-based-standards] (SCNxFAST64): Likewise.
40443 [C99-based-standards] (PRIdMAX): Likewise.
40444 [C99-based-standards] (PRIiMAX): Likewise.
40445 [C99-based-standards] (PRIoMAX): Likewise.
40446 [C99-based-standards] (PRIuMAX): Likewise.
40447 [C99-based-standards] (PRIxMAX): Likewise.
40448 [C99-based-standards] (PRIXMAX): Likewise.
40449 [C99-based-standards] (SCNdMAX): Likewise.
40450 [C99-based-standards] (SCNiMAX): Likewise.
40451 [C99-based-standards] (SCNoMAX): Likewise.
40452 [C99-based-standards] (SCNuMAX): Likewise.
40453 [C99-based-standards] (SCNxMAX): Likewise.
40454 [C99-based-standards] (PRIdPTR): Likewise.
40455 [C99-based-standards] (PRIiPTR): Likewise.
40456 [C99-based-standards] (PRIoPTR): Likewise.
40457 [C99-based-standards] (PRIuPTR): Likewise.
40458 [C99-based-standards] (PRIxPTR): Likewise.
40459 [C99-based-standards] (PRIXPTR): Likewise.
40460 [C99-based-standards] (SCNdPTR): Likewise.
40461 [C99-based-standards] (SCNiPTR): Likewise.
40462 [C99-based-standards] (SCNoPTR): Likewise.
40463 [C99-based-standards] (SCNuPTR): Likewise.
40464 [C99-based-standards] (SCNxPTR): Likewise.
40465 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40467 * conform/data/stdint.h-data: Update comments to clarify
40469 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
40471 [C99-based standards] (INT8_MAX): Likewise.
40472 [C99-based standards] (INT16_MIN): Likewise.
40473 [C99-based standards] (INT16_MAX): Likewise.
40474 [C99-based standards] (INT32_MIN): Likewise.
40475 [C99-based standards] (INT32_MAX): Likewise.
40476 [C99-based standards] (INT64_MIN): Likewise.
40477 [C99-based standards] (INT64_MAX): Likewise.
40478 [C99-based standards] (UINT8_MAX): Likewise.
40479 [C99-based standards] (UINT16_MAX): Likewise.
40480 [C99-based standards] (UINT32_MAX): Likewise.
40481 [C99-based standards] (UINT64_MAX): Likewise.
40482 [C99-based standards] (INT_LEAST8_MIN): Likewise.
40483 [C99-based standards] (INT_LEAST8_MAX): Likewise.
40484 [C99-based standards] (INT_LEAST16_MIN): Likewise.
40485 [C99-based standards] (INT_LEAST16_MAX): Likewise.
40486 [C99-based standards] (INT_LEAST32_MIN): Likewise.
40487 [C99-based standards] (INT_LEAST32_MAX): Likewise.
40488 [C99-based standards] (INT_LEAST64_MIN): Likewise.
40489 [C99-based standards] (INT_LEAST64_MAX): Likewise.
40490 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40491 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40492 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40493 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40494 [C99-based standards] (INT_FAST8_MIN): Likewise.
40495 [C99-based standards] (INT_FAST8_MAX): Likewise.
40496 [C99-based standards] (INT_FAST16_MIN): Likewise.
40497 [C99-based standards] (INT_FAST16_MAX): Likewise.
40498 [C99-based standards] (INT_FAST32_MIN): Likewise.
40499 [C99-based standards] (INT_FAST32_MAX): Likewise.
40500 [C99-based standards] (INT_FAST64_MIN): Likewise.
40501 [C99-based standards] (INT_FAST64_MAX): Likewise.
40502 [C99-based standards] (UINT_FAST8_MAX): Likewise.
40503 [C99-based standards] (UINT_FAST16_MAX): Likewise.
40504 [C99-based standards] (UINT_FAST32_MAX): Likewise.
40505 [C99-based standards] (UINT_FAST64_MAX): Likewise.
40506 [C99-based standards] (INTPTR_MIN): Likewise.
40507 [C99-based standards] (INTPTR_MAX): Likewise.
40508 [C99-based standards] (UINTPTR_MAX): Likewise.
40509 [C99-based standards] (INTMAX_MIN): Likewise.
40510 [C99-based standards] (INTMAX_MAX): Likewise.
40511 [C99-based standards] (UINTMAX_MAX): Likewise.
40512 [C99-based standards] (PTRDIFF_MIN): Likewise.
40513 [C99-based standards] (PTRDIFF_MAX): Likewise.
40514 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40515 [C99-based standards] (SIZE_MAX): Likewise.
40516 [C99-based standards] (WCHAR_MAX): Likewise.
40517 [C99-based standards] (WINT_MAX): Likewise.
40518 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
40519 constraint on value.
40520 [C99-based standards] (WCHAR_MIN): Likewise.
40521 [C99-based standards] (WINT_MIN): Likewise.
40522 [C99-based standards] (*_t): Allow.
40523 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40524 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40525 Include math.h-data and complex.h-data. Remove all expectations
40526 of math.h and complex.h contents.
40527 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40529 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40530 (struct tm): Expect tag.
40531 [C99-based-standards] (wcstof): Expect function.
40532 [C99-based-standards] (wcstold): Likewise.
40533 [C99-based-standards] (wcstoll): Likewise.
40534 [C99-based-standards] (wcstoull): Likewise.
40535 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40536 macro-int-constant. Specify type.
40537 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
40538 constraint on value.
40539 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40541 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40543 [ISO C standards]: Do not allow headers.
40544 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40545 wcs[abcdefghijklmnopqrstuvwxyz]*.
40546 [ISO C standards] (*_t): Do not allow.
40547 * conform/data/wctype.h-data [C99-based standards] (iswblank):
40549 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40550 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40552 [ISO C standards]: Do not allow headers.
40553 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40554 is[abcdefghijklmnopqrstuvwxyz]*.
40555 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40556 to[abcdefghijklmnopqrstuvwxyz]*.
40557 [ISO C standards] (*_t): Do not allow.
40558 * conform/data/stdalign.h-data: New file.
40559 * conform/data/stdbool.h-data: Likewise.
40560 * conform/data/stdnoreturn.h-data: Likewise.
40562 2012-11-07 Roland McGrath <roland@hack.frob.com>
40565 * manual/filesys.texi (Directory Entries): Typo fix.
40566 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40568 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40570 * elf/elf.h (EM_AARCH64): New macro.
40571 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40572 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40573 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40574 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40575 (R_AARCH64_TLSDESC): Likewise.
40576 (NT_ARM_TLS): Likewise.
40577 (NT_ARM_HW_BREAK): Likewise.
40578 (NT_ARM_HW_WATCH): Likewise.
40580 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40583 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40584 (__ieee754_powl): Saturate nonzero exponents with absolute value
40585 below 0x1p-79 to +/- 0x1p-79.
40586 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40587 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40588 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40589 nonzero exponents with absolute value below 0x1p-32 to +/-
40591 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40592 (__ieee754_powl): Saturate nonzero exponents with absolute value
40593 below 0x1p-79 to +/- 0x1p-79.
40594 * math/libm-test.inc (pow_test): Add more tests.
40596 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40598 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40599 _dl_s390_cap_flags with kernel. Increase string length.
40600 (_dl_s390_platforms): Add z196 and zEC12.
40602 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40604 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40605 Change XOPEN21K to XOPEN2K.
40607 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
40609 * string/memmove.c: Use memcpy when possible.
40611 2012-11-06 Andreas Jaeger <aj@suse.de>
40613 * po/eo.po: Update from translation team.
40615 2012-11-06 Joseph Myers <joseph@codesourcery.com>
40618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40619 exponent and small x and y exponents, scale x or y up. Increase
40620 by 2 the exponent used in scaling up.
40621 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40622 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40623 * math/libm-test.inc (fma_test): Add more tests.
40624 (fma_test_towardzero): Likewise.
40625 (fma_test_downward): Likewise.
40626 (fma_test_upward): Likewise.
40628 2012-11-05 Joseph Myers <joseph@codesourcery.com>
40631 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40635 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40636 namespace for names of struct fields.
40637 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40639 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40640 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40642 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
40645 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40647 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40649 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40653 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40656 2012-11-04 Joseph Myers <joseph@codesourcery.com>
40659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40660 definitely overflow as x * y not x * y + z.
40661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40662 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40663 * math/libm-test.inc (fma_test): Add more tests.
40664 (fma_test_towardzero): Likewise.
40665 (fma_test_downward): Likewise.
40666 (fma_test_upward): Likewise.
40668 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40672 * include/stub-tag.h: Remove file.
40673 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40675 * manual/maint.texi (Porting): Don't reference it.
40676 * Makerules ($(objpfx)stubs): Likewise.
40677 * dirent/closedir.c: Don't include <stub-tag.h>.
40678 * dirent/dirfd.c: Likewise.
40679 * dirent/fdopendir.c: Likewise.
40680 * dirent/getdents.c: Likewise.
40681 * dirent/getdents64.c: Likewise.
40682 * dirent/opendir.c: Likewise.
40683 * dirent/readdir.c: Likewise.
40684 * dirent/readdir64.c: Likewise.
40685 * dirent/readdir64_r.c: Likewise.
40686 * dirent/readdir_r.c: Likewise.
40687 * dirent/rewinddir.c: Likewise.
40688 * dirent/seekdir.c: Likewise.
40689 * dirent/telldir.c: Likewise.
40690 * gmon/profil.c: Likewise.
40691 * grp/setgroups.c: Likewise.
40692 * inet/if_index.c: Likewise.
40693 * io/access.c: Likewise.
40694 * io/chdir.c: Likewise.
40695 * io/chmod.c: Likewise.
40696 * io/chown.c: Likewise.
40697 * io/close.c: Likewise.
40698 * io/dup.c: Likewise.
40699 * io/dup2.c: Likewise.
40700 * io/dup3.c: Likewise.
40701 * io/euidaccess.c: Likewise.
40702 * io/faccessat.c: Likewise.
40703 * io/fchdir.c: Likewise.
40704 * io/fchmod.c: Likewise.
40705 * io/fchmodat.c: Likewise.
40706 * io/fchown.c: Likewise.
40707 * io/fchownat.c: Likewise.
40708 * io/fcntl.c: Likewise.
40709 * io/flock.c: Likewise.
40710 * io/fstatfs.c: Likewise.
40711 * io/fstatfs64.c: Likewise.
40712 * io/fstatvfs.c: Likewise.
40713 * io/fstatvfs64.c: Likewise.
40714 * io/futimens.c: Likewise.
40715 * io/fxstat.c: Likewise.
40716 * io/fxstat64.c: Likewise.
40717 * io/fxstatat.c: Likewise.
40718 * io/fxstatat64.c: Likewise.
40719 * io/getcwd.c: Likewise.
40720 * io/isatty.c: Likewise.
40721 * io/lchmod.c: Likewise.
40722 * io/lchown.c: Likewise.
40723 * io/link.c: Likewise.
40724 * io/linkat.c: Likewise.
40725 * io/lseek.c: Likewise.
40726 * io/lseek64.c: Likewise.
40727 * io/lxstat64.c: Likewise.
40728 * io/mkdir.c: Likewise.
40729 * io/mkdirat.c: Likewise.
40730 * io/mkfifo.c: Likewise.
40731 * io/mkfifoat.c: Likewise.
40732 * io/open.c: Likewise.
40733 * io/open64.c: Likewise.
40734 * io/openat.c: Likewise.
40735 * io/openat64.c: Likewise.
40736 * io/pipe.c: Likewise.
40737 * io/pipe2.c: Likewise.
40738 * io/poll.c: Likewise.
40739 * io/posix_fadvise.c: Likewise.
40740 * io/posix_fadvise64.c: Likewise.
40741 * io/posix_fallocate.c: Likewise.
40742 * io/posix_fallocate64.c: Likewise.
40743 * io/read.c: Likewise.
40744 * io/readlink.c: Likewise.
40745 * io/readlinkat.c: Likewise.
40746 * io/rmdir.c: Likewise.
40747 * io/sendfile.c: Likewise.
40748 * io/sendfile64.c: Likewise.
40749 * io/statfs.c: Likewise.
40750 * io/statfs64.c: Likewise.
40751 * io/statvfs.c: Likewise.
40752 * io/statvfs64.c: Likewise.
40753 * io/symlink.c: Likewise.
40754 * io/symlinkat.c: Likewise.
40755 * io/ttyname.c: Likewise.
40756 * io/ttyname_r.c: Likewise.
40757 * io/umask.c: Likewise.
40758 * io/unlink.c: Likewise.
40759 * io/unlinkat.c: Likewise.
40760 * io/utime.c: Likewise.
40761 * io/utimensat.c: Likewise.
40762 * io/write.c: Likewise.
40763 * io/xmknod.c: Likewise.
40764 * io/xmknodat.c: Likewise.
40765 * io/xstat.c: Likewise.
40766 * io/xstat64.c: Likewise.
40767 * login/getpt.c: Likewise.
40768 * login/grantpt.c: Likewise.
40769 * login/unlockpt.c: Likewise.
40770 * math/e_acoshl.c: Likewise.
40771 * math/e_acosl.c: Likewise.
40772 * math/e_asinl.c: Likewise.
40773 * math/e_atan2l.c: Likewise.
40774 * math/e_atanhl.c: Likewise.
40775 * math/e_coshl.c: Likewise.
40776 * math/e_expl.c: Likewise.
40777 * math/e_fmodl.c: Likewise.
40778 * math/e_gammal_r.c: Likewise.
40779 * math/e_hypotl.c: Likewise.
40780 * math/e_j0l.c: Likewise.
40781 * math/e_j1l.c: Likewise.
40782 * math/e_jnl.c: Likewise.
40783 * math/e_lgammal_r.c: Likewise.
40784 * math/e_log10l.c: Likewise.
40785 * math/e_log2l.c: Likewise.
40786 * math/e_logl.c: Likewise.
40787 * math/e_powl.c: Likewise.
40788 * math/e_rem_pio2l.c: Likewise.
40789 * math/e_sinhl.c: Likewise.
40790 * math/e_sqrtl.c: Likewise.
40791 * math/fclrexcpt.c: Likewise.
40792 * math/fedisblxcpt.c: Likewise.
40793 * math/feenablxcpt.c: Likewise.
40794 * math/fegetenv.c: Likewise.
40795 * math/fegetexcept.c: Likewise.
40796 * math/fegetround.c: Likewise.
40797 * math/feholdexcpt.c: Likewise.
40798 * math/fesetenv.c: Likewise.
40799 * math/fesetround.c: Likewise.
40800 * math/feupdateenv.c: Likewise.
40801 * math/fgetexcptflg.c: Likewise.
40802 * math/fraiseexcpt.c: Likewise.
40803 * math/fsetexcptflg.c: Likewise.
40804 * math/ftestexcept.c: Likewise.
40805 * math/k_cosl.c: Likewise.
40806 * math/k_rem_pio2l.c: Likewise.
40807 * math/k_sinl.c: Likewise.
40808 * math/k_tanl.c: Likewise.
40809 * math/s_asinhl.c: Likewise.
40810 * math/s_atanl.c: Likewise.
40811 * math/s_cbrtl.c: Likewise.
40812 * math/s_erfl.c: Likewise.
40813 * math/s_expm1l.c: Likewise.
40814 * math/s_log1pl.c: Likewise.
40815 * math/s_tanhl.c: Likewise.
40816 * misc/acct.c: Likewise.
40817 * misc/brk.c: Likewise.
40818 * misc/chflags.c: Likewise.
40819 * misc/chroot.c: Likewise.
40820 * misc/fchflags.c: Likewise.
40821 * misc/fgetxattr.c: Likewise.
40822 * misc/flistxattr.c: Likewise.
40823 * misc/fremovexattr.c: Likewise.
40824 * misc/fsetxattr.c: Likewise.
40825 * misc/fsync.c: Likewise.
40826 * misc/ftruncate.c: Likewise.
40827 * misc/futimes.c: Likewise.
40828 * misc/futimesat.c: Likewise.
40829 * misc/getdomain.c: Likewise.
40830 * misc/getdtsz.c: Likewise.
40831 * misc/gethostid.c: Likewise.
40832 * misc/gethostname.c: Likewise.
40833 * misc/getloadavg.c: Likewise.
40834 * misc/getpagesize.c: Likewise.
40835 * misc/getsysstats.c: Likewise.
40836 * misc/getxattr.c: Likewise.
40837 * misc/gtty.c: Likewise.
40838 * misc/ioctl.c: Likewise.
40839 * misc/lgetxattr.c: Likewise.
40840 * misc/listxattr.c: Likewise.
40841 * misc/llistxattr.c: Likewise.
40842 * misc/lremovexattr.c: Likewise.
40843 * misc/lsetxattr.c: Likewise.
40844 * misc/lutimes.c: Likewise.
40845 * misc/madvise.c: Likewise.
40846 * misc/mincore.c: Likewise.
40847 * misc/mlock.c: Likewise.
40848 * misc/mlockall.c: Likewise.
40849 * misc/mmap.c: Likewise.
40850 * misc/mprotect.c: Likewise.
40851 * misc/msync.c: Likewise.
40852 * misc/munlock.c: Likewise.
40853 * misc/munlockall.c: Likewise.
40854 * misc/munmap.c: Likewise.
40855 * misc/preadv.c: Likewise.
40856 * misc/preadv64.c: Likewise.
40857 * misc/ptrace.c: Likewise.
40858 * misc/pwritev.c: Likewise.
40859 * misc/pwritev64.c: Likewise.
40860 * misc/readv.c: Likewise.
40861 * misc/reboot.c: Likewise.
40862 * misc/remap_file_pages.c: Likewise.
40863 * misc/removexattr.c: Likewise.
40864 * misc/revoke.c: Likewise.
40865 * misc/select.c: Likewise.
40866 * misc/setdomain.c: Likewise.
40867 * misc/setegid.c: Likewise.
40868 * misc/seteuid.c: Likewise.
40869 * misc/sethostid.c: Likewise.
40870 * misc/sethostname.c: Likewise.
40871 * misc/setregid.c: Likewise.
40872 * misc/setreuid.c: Likewise.
40873 * misc/setxattr.c: Likewise.
40874 * misc/sstk.c: Likewise.
40875 * misc/stty.c: Likewise.
40876 * misc/swapoff.c: Likewise.
40877 * misc/swapon.c: Likewise.
40878 * misc/sync.c: Likewise.
40879 * misc/syncfs.c: Likewise.
40880 * misc/syscall.c: Likewise.
40881 * misc/truncate.c: Likewise.
40882 * misc/ualarm.c: Likewise.
40883 * misc/usleep.c: Likewise.
40884 * misc/ustat.c: Likewise.
40885 * misc/utimes.c: Likewise.
40886 * misc/vhangup.c: Likewise.
40887 * misc/writev.c: Likewise.
40888 * posix/_exit.c: Likewise.
40889 * posix/alarm.c: Likewise.
40890 * posix/execve.c: Likewise.
40891 * posix/fexecve.c: Likewise.
40892 * posix/fork.c: Likewise.
40893 * posix/fpathconf.c: Likewise.
40894 * posix/getaddrinfo.c: Likewise.
40895 * posix/getegid.c: Likewise.
40896 * posix/geteuid.c: Likewise.
40897 * posix/getgid.c: Likewise.
40898 * posix/getgroups.c: Likewise.
40899 * posix/getlogin.c: Likewise.
40900 * posix/getlogin_r.c: Likewise.
40901 * posix/getpgid.c: Likewise.
40902 * posix/getpid.c: Likewise.
40903 * posix/getppid.c: Likewise.
40904 * posix/getresgid.c: Likewise.
40905 * posix/getresuid.c: Likewise.
40906 * posix/getsid.c: Likewise.
40907 * posix/getuid.c: Likewise.
40908 * posix/glob64.c: Likewise.
40909 * posix/nanosleep.c: Likewise.
40910 * posix/pathconf.c: Likewise.
40911 * posix/pause.c: Likewise.
40912 * posix/posix_madvise.c: Likewise.
40913 * posix/pread.c: Likewise.
40914 * posix/pread64.c: Likewise.
40915 * posix/pwrite.c: Likewise.
40916 * posix/pwrite64.c: Likewise.
40917 * posix/sched_getaffinity.c: Likewise.
40918 * posix/sched_getp.c: Likewise.
40919 * posix/sched_gets.c: Likewise.
40920 * posix/sched_primax.c: Likewise.
40921 * posix/sched_primin.c: Likewise.
40922 * posix/sched_rr_gi.c: Likewise.
40923 * posix/sched_setaffinity.c: Likewise.
40924 * posix/sched_setp.c: Likewise.
40925 * posix/sched_sets.c: Likewise.
40926 * posix/sched_yield.c: Likewise.
40927 * posix/setgid.c: Likewise.
40928 * posix/setlogin.c: Likewise.
40929 * posix/setpgid.c: Likewise.
40930 * posix/setresgid.c: Likewise.
40931 * posix/setresuid.c: Likewise.
40932 * posix/setsid.c: Likewise.
40933 * posix/setuid.c: Likewise.
40934 * posix/sleep.c: Likewise.
40935 * posix/spawni.c: Likewise.
40936 * posix/sysconf.c: Likewise.
40937 * posix/times.c: Likewise.
40938 * posix/wait.c: Likewise.
40939 * posix/wait3.c: Likewise.
40940 * posix/wait4.c: Likewise.
40941 * posix/waitpid.c: Likewise.
40942 * resolv/gai_sigqueue.c: Likewise.
40943 * resource/getpriority.c: Likewise.
40944 * resource/getrlimit.c: Likewise.
40945 * resource/getrusage.c: Likewise.
40946 * resource/nice.c: Likewise.
40947 * resource/setpriority.c: Likewise.
40948 * resource/setrlimit.c: Likewise.
40949 * resource/ulimit.c: Likewise.
40950 * rt/aio_cancel.c: Likewise.
40951 * rt/aio_fsync.c: Likewise.
40952 * rt/aio_read.c: Likewise.
40953 * rt/aio_sigqueue.c: Likewise.
40954 * rt/aio_suspend.c: Likewise.
40955 * rt/aio_write.c: Likewise.
40956 * rt/clock_getres.c: Likewise.
40957 * rt/clock_gettime.c: Likewise.
40958 * rt/clock_nanosleep.c: Likewise.
40959 * rt/clock_settime.c: Likewise.
40960 * rt/lio_listio.c: Likewise.
40961 * rt/mq_close.c: Likewise.
40962 * rt/mq_getattr.c: Likewise.
40963 * rt/mq_notify.c: Likewise.
40964 * rt/mq_open.c: Likewise.
40965 * rt/mq_receive.c: Likewise.
40966 * rt/mq_send.c: Likewise.
40967 * rt/mq_setattr.c: Likewise.
40968 * rt/mq_timedreceive.c: Likewise.
40969 * rt/mq_timedsend.c: Likewise.
40970 * rt/mq_unlink.c: Likewise.
40971 * rt/shm_open.c: Likewise.
40972 * rt/shm_unlink.c: Likewise.
40973 * rt/timer_create.c: Likewise.
40974 * rt/timer_delete.c: Likewise.
40975 * rt/timer_getoverr.c: Likewise.
40976 * rt/timer_gettime.c: Likewise.
40977 * rt/timer_settime.c: Likewise.
40978 * setjmp/__longjmp.c: Likewise.
40979 * setjmp/setjmp.c: Likewise.
40980 * signal/kill.c: Likewise.
40981 * signal/killpg.c: Likewise.
40982 * signal/raise.c: Likewise.
40983 * signal/sigaction.c: Likewise.
40984 * signal/sigaltstack.c: Likewise.
40985 * signal/sigblock.c: Likewise.
40986 * signal/sigignore.c: Likewise.
40987 * signal/sigintr.c: Likewise.
40988 * signal/signal.c: Likewise.
40989 * signal/sigpause.c: Likewise.
40990 * signal/sigpending.c: Likewise.
40991 * signal/sigqueue.c: Likewise.
40992 * signal/sigreturn.c: Likewise.
40993 * signal/sigset.c: Likewise.
40994 * signal/sigsetmask.c: Likewise.
40995 * signal/sigstack.c: Likewise.
40996 * signal/sigsuspend.c: Likewise.
40997 * signal/sigtimedwait.c: Likewise.
40998 * signal/sigvec.c: Likewise.
40999 * signal/sigwait.c: Likewise.
41000 * signal/sigwaitinfo.c: Likewise.
41001 * signal/sysv_signal.c: Likewise.
41002 * socket/accept.c: Likewise.
41003 * socket/accept4.c: Likewise.
41004 * socket/bind.c: Likewise.
41005 * socket/connect.c: Likewise.
41006 * socket/getpeername.c: Likewise.
41007 * socket/getsockname.c: Likewise.
41008 * socket/getsockopt.c: Likewise.
41009 * socket/isfdtype.c: Likewise.
41010 * socket/listen.c: Likewise.
41011 * socket/recv.c: Likewise.
41012 * socket/recvfrom.c: Likewise.
41013 * socket/recvmsg.c: Likewise.
41014 * socket/send.c: Likewise.
41015 * socket/sendmsg.c: Likewise.
41016 * socket/sendto.c: Likewise.
41017 * socket/setsockopt.c: Likewise.
41018 * socket/shutdown.c: Likewise.
41019 * socket/sockatmark.c: Likewise.
41020 * socket/socket.c: Likewise.
41021 * socket/socketpair.c: Likewise.
41022 * stdio-common/ctermid.c: Likewise.
41023 * stdio-common/cuserid.c: Likewise.
41024 * stdio-common/remove.c: Likewise.
41025 * stdio-common/rename.c: Likewise.
41026 * stdio-common/renameat.c: Likewise.
41027 * stdio-common/tempname.c: Likewise.
41028 * stdlib/getcontext.c: Likewise.
41029 * stdlib/makecontext.c: Likewise.
41030 * stdlib/setcontext.c: Likewise.
41031 * stdlib/swapcontext.c: Likewise.
41032 * stdlib/system.c: Likewise.
41033 * streams/fattach.c: Likewise.
41034 * streams/fdetach.c: Likewise.
41035 * streams/getmsg.c: Likewise.
41036 * streams/getpmsg.c: Likewise.
41037 * streams/putmsg.c: Likewise.
41038 * streams/putpmsg.c: Likewise.
41039 * sysdeps/unix/bsd/getpt.c: Likewise.
41040 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41041 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41042 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41045 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41046 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41047 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41048 * sysvipc/msgctl.c: Likewise.
41049 * sysvipc/msgget.c: Likewise.
41050 * sysvipc/msgrcv.c: Likewise.
41051 * sysvipc/msgsnd.c: Likewise.
41052 * sysvipc/semctl.c: Likewise.
41053 * sysvipc/semget.c: Likewise.
41054 * sysvipc/semop.c: Likewise.
41055 * sysvipc/semtimedop.c: Likewise.
41056 * sysvipc/shmat.c: Likewise.
41057 * sysvipc/shmctl.c: Likewise.
41058 * sysvipc/shmdt.c: Likewise.
41059 * sysvipc/shmget.c: Likewise.
41060 * termios/tcdrain.c: Likewise.
41061 * termios/tcflow.c: Likewise.
41062 * termios/tcflush.c: Likewise.
41063 * termios/tcgetattr.c: Likewise.
41064 * termios/tcgetpgrp.c: Likewise.
41065 * termios/tcsendbrk.c: Likewise.
41066 * termios/tcsetattr.c: Likewise.
41067 * termios/tcsetpgrp.c: Likewise.
41068 * time/adjtime.c: Likewise.
41069 * time/clock.c: Likewise.
41070 * time/getitimer.c: Likewise.
41071 * time/gettimeofday.c: Likewise.
41072 * time/setitimer.c: Likewise.
41073 * time/settimeofday.c: Likewise.
41074 * time/stime.c: Likewise.
41075 * time/time.c: Likewise.
41077 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
41079 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41082 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41084 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41086 2012-11-03 Joseph Myers <joseph@codesourcery.com>
41089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41090 FE_TONEAREST before applying Dekker multiplication and Knuth
41091 addition. Clear inexact exceptions and check for exact zero
41092 results afterwards.
41093 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41094 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41095 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41096 * math/libm-test.inc (fma_test): Add more tests.
41097 (fma_test_towardzero): Likewise.
41098 (fma_test_downward): Likewise.
41099 (fma_test_upward): Likewise.
41100 * sysdeps/generic/math_private.h (default_libc_fesetround): New
41102 (libc_fesetround): New macro.
41103 (libc_fesetroundf): Likewise.
41104 (libc_fesetroundl): Likewise.
41105 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41107 (libc_fesetround_387): Likewise.
41108 (libc_fesetroundf): New macro.
41109 (libc_fesetround): Likewise.
41110 (libc_fesetroundl): Likewise.
41111 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41113 (libc_fesetroundf): New macro.
41114 (libc_fesetround): Likewise.
41115 (libc_fesetroundl): Likewise.
41116 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41117 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41118 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41120 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41121 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41123 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41124 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41126 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41130 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41131 integer constant usable in #if and use that to give value to enum
41133 (FE_DIVBYZERO): Likewise.
41134 (FE_UNDERFLOW): Likewise.
41135 (FE_OVERFLOW): Likewise.
41136 (FE_INVALID): Likewise.
41137 (FE_INVALID_SNAN): Likewise.
41138 (FE_INVALID_ISI): Likewise.
41139 (FE_INVALID_IDI): Likewise.
41140 (FE_INVALID_ZDZ): Likewise.
41141 (FE_INVALID_IMZ): Likewise.
41142 (FE_INVALID_COMPARE): Likewise.
41143 (FE_INVALID_SOFTWARE): Likewise.
41144 (FE_INVALID_SQRT): Likewise.
41145 (FE_INVALID_INTEGER_CONVERSION): Likewise.
41146 (FE_TONEAREST): Likewise.
41147 (FE_TOWARDZERO): Likewise.
41148 (FE_UPWARD): Likewise.
41149 (FE_DOWNWARD): Likewise.
41150 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41151 (FE_DIVBYZERO): Likewise.
41152 (FE_OVERFLOW): Likewise.
41153 (FE_UNDERFLOW): Likewise.
41154 (FE_INEXACT): Likewise.
41155 (FE_TONEAREST): Likewise.
41156 (FE_DOWNWARD): Likewise.
41157 (FE_UPWARD): Likewise.
41158 (FE_TOWARDZERO): Likewise.
41159 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41160 (FE_UNDERFLOW): Likewise.
41161 (FE_OVERFLOW): Likewise.
41162 (FE_DIVBYZERO): Likewise.
41163 (FE_INVALID): Likewise.
41164 (FE_TONEAREST): Likewise.
41165 (FE_TOWARDZERO): Likewise.
41166 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41167 (FE_OVERFLOW): Likewise.
41168 (FE_UNDERFLOW): Likewise.
41169 (FE_DIVBYZERO): Likewise.
41170 (FE_INEXACT): Likewise.
41171 (FE_TONEAREST): Likewise.
41172 (FE_TOWARDZERO): Likewise.
41173 (FE_UPWARD): Likewise.
41174 (FE_DOWNWARD): Likewise.
41175 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41176 (FE_DIVBYZERO): Likewise.
41177 (FE_OVERFLOW): Likewise.
41178 (FE_UNDERFLOW): Likewise.
41179 (FE_INEXACT): Likewise.
41180 (FE_TONEAREST): Likewise.
41181 (FE_DOWNWARD): Likewise.
41182 (FE_UPWARD): Likewise.
41183 (FE_TOWARDZERO): Likewise.
41185 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
41187 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41189 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
41191 * scripts/cross-test-ssh.sh (command): Use newlines to separate
41192 commands. Quote $PWD.
41193 (blacklist_exports): Don't use remove_newlines. Replace "declare
41195 (remove_newlines): Remove.
41197 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
41199 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41200 * stdlib/stdlib.h (atof): Moved to ...
41201 * include/bits/stdlib-float.h: Here. New file.
41202 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41203 * stdlib/bits/stdlib-float.h: New file.
41204 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41206 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41209 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41211 * conform/conformtest.pl (@headers): Add fenv.h.
41212 * conform/data/fenv.h-data: New file.
41213 * include/fenv.h [_ISOMAC]: Disable all contents of file except
41214 include of <math/fenv.h>.
41216 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41217 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41218 && !UNIX98]. Enables tests for XOPEN2K8.
41219 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41220 POSIX2008]: Likewise.
41222 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41223 (struct rusage): Do not expect type or its members.
41226 * math/math.h (FP_NAN): Define macro to integer constant usable in
41227 #if and use that to give value to enum constant.
41228 (FP_INFINITE): Likewise.
41229 (FP_ZERO): Likewise.
41230 (FP_SUBNORMAL): Likewise.
41231 (FP_NORMAL): Likewise.
41233 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
41235 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41236 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41239 2012-11-02 Roland McGrath <roland@hack.frob.com>
41241 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41242 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41243 autoconf-time if not.
41244 * configure.in: Remove AC_PREREQ.
41246 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41248 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41249 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41250 of the internal implementation.
41252 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41254 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41255 except include of <misc/sys/syslog.h>.
41257 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41260 function returns with a NULL context exit with zero.
41262 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41264 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41266 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
41268 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41269 (run_program_cmd): This.
41270 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41271 (tst_langinfo): New variable. Use it.
41273 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
41275 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41276 floating point opcodes.
41278 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41280 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41283 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41285 * sysdeps/mach/hurd/powerpc: Remove directory.
41286 * sysdeps/mach/powerpc: Likewise.
41288 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41290 * scripts/check-local-headers.sh: Ignore c++ headers.
41292 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41294 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41295 __libc_cleanup_region_start argument.
41297 2012-11-01 Joseph Myers <joseph@codesourcery.com>
41301 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41302 x * y using scaling, not as x * y + z.
41303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41304 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41305 * math/libm-test.inc (fma_test): Add more tests.
41306 (fma_test_towardzero): Likewise.
41307 (fma_test_downward): Likewise.
41308 (fma_test_upward): Likewise.
41310 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41312 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41314 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41316 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41319 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
41321 * rt/tst-shm.c (worker): Correct checking for mmap failure.
41323 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41330 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41333 Fix the order of the list for glibc 2.17.
41334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41337 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41341 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41344 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41345 for low part of x being zero before using __atanl (y).
41346 * math/libm-test.inc (atan2_test): Add another test.
41348 * manual/install.texi (Configuring and compiling): Document
41349 general use of test-wrapper and test-wrapper-env.
41350 * INSTALL: Regenerated.
41352 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41353 (__fma): Do not extract and scale down low bits on after-rounding
41354 systems when result rounded to normal precision would have normal
41356 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41357 (__fmal): Do not extract and scale down low bits on after-rounding
41358 systems when result rounded to normal precision would have normal
41360 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41361 (__fmal): Do not extract and scale down low bits on after-rounding
41362 systems when result rounded to normal precision would have normal
41364 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41366 (fma_test): Add more tests.
41367 (fma_test_towardzero): Likewise.
41368 (fma_test_downward): Likewise.
41369 (fma_test_upward): Likewise.
41371 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
41373 * sysdeps/i386/tininess.h: Renamed to ...
41374 * sysdeps/x86/tininess.h: This.
41375 * sysdeps/x86_64/tininess.h: Removed.
41377 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41379 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41380 input. Use $(build-program-cmd).
41381 ($(objpfx)tst-array1-static.out): Likewise.
41382 ($(objpfx)tst-array2.out): Likewise.
41383 ($(objpfx)tst-array3.out): Likewise.
41384 ($(objpfx)tst-array4.out): Likewise.
41385 ($(objpfx)tst-array5.out): Likewise.
41386 ($(objpfx)tst-array5-static.out): Likewise.
41388 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
41390 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41393 * nss/nsswitch.h (nss_interface_function): Provide new
41394 macro for use with NSS functions.
41395 * grp/initgroups.c: Use new macro.
41396 * nss/getXXbyYY.c: Likewise.
41397 * nss/getXXbyYY_r.c: Likewise.
41398 * nss/getXXent.c: Likewise.
41399 * nss/getXXent_r.c: Likewise.
41400 * sysdeps/posix/getaddrinfo.c: Likewise.
41402 2012-10-30 Andreas Jaeger <aj@suse.de>
41404 * po/ru.po: Update Russion translation from translation project.
41406 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41411 result and shift together with sticky bit instead of replicating
41412 round-to-nearest rounding.
41413 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41414 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41415 * math/libm-test.inc (fma_test): Add more tests. Do not permit
41416 missing underflow exceptions.
41417 (fma_test_towardzero): Add more tests.
41418 (fma_test_downward): Likewise.
41419 (fma_test_upward): Likewise.
41422 * sysdeps/generic/tininess.h: New file.
41423 * sysdeps/i386/tininess.h: Likewise.
41424 * sysdeps/sh/tininess.h: Likewise.
41425 * sysdeps/x86_64/tininess.h: Likewise.
41426 * stdlib/tst-strtod-underflow.c: Likewise.
41427 * stdlib/tst-tininess.c: Likewise.
41428 * stdlib/strtod_l.c: Include <tininess.h>.
41429 (round_and_return): Do not set errno for exact underflow cases.
41430 Force an underflow exception when setting errno for underflow.
41431 Determine underflow based on rounding to normal precision if
41432 TININESS_AFTER_ROUNDING.
41433 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41434 ERANGE for exact underflow cases.
41435 * stdlib/Makefile (tests): Add tst-tininess and
41436 tst-strtod-underflow.
41437 ($(objpfx)tst-tininess): Use $(link-libm).
41438 ($(objpfx)tst-strtod-underflow): Likewise.
41440 2012-10-30 Andreas Jaeger <aj@suse.de>
41443 * elf/Makefile (tests): Remove conditional for have-initfini-array
41444 since this is now always required and the variable does not exist
41446 (tests-static): Likewise.
41447 (modules-names): Likewise.
41449 * po/eo.po: Add Esperanto translation from translation project.
41451 * elf/tst-array1.c (fini_array): Make writeable so that it can be
41452 merged with constructor/destructor.
41453 (init_array): Likewise.
41454 * elf/tst-array2dep.c (fini_array): Likewise.
41455 (init_array): Likewise.
41457 2012-10-29 Mike Frysinger <vapier@gentoo.org>
41459 * manual/message.texi: Delete @cartouche tags.
41461 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
41463 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41465 * sysdeps/mach/hurd/fsync.c: Likewise.
41467 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41468 [_POSIX_REALTIME_SIGNALS]: Change condition to
41469 [_POSIX_REALTIME_SIGNALS > 0].
41471 2012-10-27 Andreas Jaeger <aj@suse.de>
41473 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41474 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41475 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41476 [__WORDSIZE != 64]: Likewise.
41478 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
41480 * iconvdata/tst-table.sh: Remove ${SHELL}.
41481 * iconvdata/tst-tables.sh: Likewise.
41483 2012-10-25 David S. Miller <davem@davemloft.net>
41485 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41486 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41489 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41491 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41492 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41493 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41496 2012-10-25 Roland McGrath <roland@hack.frob.com>
41498 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41499 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41502 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41503 Jim Blandy <jimb@codesourcery.com>
41505 * scripts/cross-test-ssh.sh: New file.
41506 * manual/install.texi (Configuring and compiling): Document use of
41508 * INSTALL: Regenerated.
41510 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
41512 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41515 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41517 * Makeconfig (run-program-prefix): Fix comment.
41519 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41520 Jim Blandy <jimb@codesourcery.com>
41522 * Makeconfig (test-wrapper): New variable,
41523 (test-wrapper-env): Likewise.
41524 [$(cross-compiling) = yes && $(test-wrapper) != ""]
41525 (run-built-tests): Define to yes.
41526 (run-program-prefix): Use $(test-wrapper).
41527 (built-program-cmd): Likewise.
41528 * Rules (make-test-out): Use $(test-wrapper-env) and
41529 $(host-built-program-cmd).
41530 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41531 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41533 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41534 $(test-wrapper-env) to tst-rtld-load-self.sh.
41535 ($(objpfx)order2.out): Use $(test-wrapper).
41536 ($(objpfx)tst-initorder.out): Likewise.
41537 ($(objpfx)tst-initorder2.out): Likewise.
41538 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41539 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41540 (test_wrapper_env): New variable. Use it to run ld.so.
41541 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41542 Use it to run ld.so.
41543 (test_wrapper_env): Likewise.
41544 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41545 $(test-wrapper) to run-iconv-test.sh.
41546 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41547 (ICONV): Use $test_wrapper.
41548 * posix/Makefile ($(objpfx)globtest.out): Pass
41549 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41550 globtest.sh, not $(run-program-prefix).
41551 * posix/globtest.sh (run_via_rtld_prefix): New variable.
41552 (test_wrapper): Likewise.
41553 (test_wrapper_env): Likewise. Use it to run globtest with HOME
41554 set together with run_via_rtld_prefix.
41555 (run_program_prefix): Define in terms of test_wrapper and
41556 run_via_rtld_prefix.
41558 2012-10-24 Roland McGrath <roland@hack.frob.com>
41560 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41561 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41565 * include/time.h: Remove librt_hidden_proto (clock_gettime).
41566 Declare __clock_getres, __clock_gettime, __clock_settime,
41567 __clock_nanosleep, and __clock_getcpuclockid.
41568 * rt/clock_gettime.c: Define __clock_gettime as an alias.
41569 Remove librt_hidden_def (clock_gettime).
41570 * sysdeps/unix/clock_gettime.c: Likewise.
41571 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41572 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41573 * rt/clock_getres.c: Define __clock_getres as an alias.
41574 * sysdeps/posix/clock_getres.c: Likewise.
41575 * rt/clock_settime.c: Define __clock_settime as an alias.
41576 * sysdeps/unix/clock_settime.c: Likewise.
41577 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41578 * sysdeps/unix/clock_nanosleep.c: Likewise.
41579 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41580 * rt/clock-compat.c: New file.
41581 * rt/Makefile (librt-routines): Add clock-compat and move
41582 $(clock-routines) to ...
41583 (routines): ... here, new variable.
41584 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41585 Don't add get_clockfreq here.
41586 * rt/Versions (libc: GLIBC_2.17): New version set.
41587 Add clock_* symbols here.
41588 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
41589 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41590 (GLIBC_2.17): Add clock_* symbols.
41591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41593 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41602 * NEWS: Mention the move.
41604 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41605 Use __open, __read, __close rather than their public counterparts.
41606 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41607 (__get_clockfreq_via_cpuinfo): Likewise.
41608 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41609 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41611 * config.h.in (HAVE_IFUNC): New #undef.
41612 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41614 * configure: Regenerated.
41616 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41618 * configure.in: Move READELF check to start of file.
41619 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41620 libc_cv_asm_gnu_indirect_function in the process.
41621 * configure: Regenerated.
41623 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41625 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41626 send the output to /dev/null.
41627 (libc_cv_cc_with_libunwind): Likewise.
41628 (libc_cv_as_noexecstack): Likewise.
41629 * configure: Regenerate.
41631 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41633 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41635 * posix/globtest.sh (TMPDIR): Do not set.
41636 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41637 (testout): Likewise.
41639 2012-10-24 Andreas Jaeger <aj@suse.de>
41641 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41642 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41643 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41644 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41645 posix_fadvise64, posix_fallocate64.
41647 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41648 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41649 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41651 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41653 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41656 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41657 <bits/fcntl-linux.h>.
41658 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41660 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41661 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41662 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41663 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41664 [__WORDSIZE != 64]: Likewise.
41666 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41668 * Makeconfig (run-built-tests): New variable.
41669 * Rules [$(cross-compiling) = yes]: Change condition to
41670 [$(run-built-tests) = no].
41671 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41672 to [$(run-built-tests) = yes].
41673 * elf/Makefile [$(cross-compiling) = no]: Likewise
41674 * grp/Makefile [$(cross-compiling) = no]: Likewise.
41675 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41676 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41677 * intl/Makefile [$(cross-compiling) = no]: Likewise.
41678 * io/Makefile [$(cross-compiling) = no]: Likewise.
41679 * libio/Makefile [$(cross-compiling) = no]: Likewise.
41680 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41681 * misc/Makefile [$(cross-compiling) = no]: Likewise.
41682 * posix/Makefile [$(cross-compiling) = no]: Likewise.
41683 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41684 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41685 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41686 * string/Makefile [$(cross-compiling) = no]: Likewise.
41688 * posix/Makefile ($(objpfx)globtest.out): Pass
41689 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41690 $(rtld-installed-name).
41691 * posix/globtest.sh (elf_objpfx): Remove variable.
41692 (rtld_installed_name): Likewise.
41693 (library_path): Likewise.
41694 (run_program_prefix): New variable. Use for running globtest
41697 2012-10-23 Jim Blandy <jimb@codesourcery.com>
41698 Joseph Myers <joseph@codesourcery.com>
41700 * Makeconfig (host-built-program-cmd): New variable.
41701 * elf/Makefile (tst-stackguard1-ARGS): Use
41702 $(host-built-program-cmd).
41703 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41704 (tst-spawn-ARGS): Likewise.
41705 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41707 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41708 Jim Blandy <jimb@codesourcery.com>
41710 * Makeconfig (run-via-rtld-prefix): New variable.
41711 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41712 (built-program-cmd): Likewise.
41714 2012-10-22 Andreas Jaeger <aj@suse.de>
41716 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41717 __O_RSYNC if it exists, otherwise to O_SYNC.
41719 2012-10-22 Jim Blandy <jimb@codesourcery.com>
41720 Joseph Myers <joseph@codesourcery.com>
41722 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41724 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41726 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41729 2012-10-22 Andreas Jaeger <aj@suse.de>
41731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41733 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41736 bits/fcntl-linux.h.
41738 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41739 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41746 2012-10-21 Jim Blandy <jimb@codesourcery.com>
41747 Joseph Myers <joseph@codesourcery.com>
41749 * config.make.in (NM): New variable.
41751 2012-10-21 Andreas Jaeger <aj@suse.de>
41753 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41754 definitions and declarations that are provided by
41755 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41757 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41760 * elf/Makefile (tests-static): Add tst-leaks1-static.
41761 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41762 ($(objpfx)tst-leaks1-static): New rule.
41763 ($(objpfx)tst-leaks1-static-mem): Likewise.
41764 (tst-leaks1-static-ENV): New macro.
41765 * elf/dl-open.c (dl_open_worker): Check the main application
41766 only if SHARED is defined.
41767 * elf/tst-leaks1-static.c: New file.
41769 2012-10-20 Andreas Jaeger <aj@suse.de>
41771 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41772 generic values for Linux.
41773 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41774 and declarations that are provided by <bits/fcntl-linux.h> and
41775 include <bits/fcntl-linux.h>.
41776 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41777 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41779 2012-10-20 Roland McGrath <roland@hack.frob.com>
41781 * io/fcntl.h: Move include of <bits/types.h> to the top and
41782 include it unconditionally.
41784 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41786 * wcsmbs/Makefile (tests-ifunc): New variable.
41787 (tests): Add $(tests-ifunc).
41788 * wcsmbs/test-wcschr-ifunc.c: New file.
41789 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41790 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41791 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41792 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41793 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41795 * string/Makefile (tests-ifunc): New variable.
41796 (tests): Add $(tests-ifunc).
41797 * string/test-memccpy.c (TEST_NAME): New macro.
41798 * string/test-memchr.c (TEST_NAME): Likewise.
41799 * string/test-memcmp.c (TEST_NAME): Likewise.
41800 * string/test-memcpy.c (TEST_NAME): Likewise.
41801 * string/test-memmem.c (TEST_NAME): Likewise.
41802 * string/test-memmove.c (TEST_NAME): Likewise.
41803 * string/test-memset.c (TEST_NAME): Likewise.
41804 * string/test-rawmemchr.c (TEST_NAME): Likewise.
41805 * string/test-stpcpy.c (TEST_NAME): Likewise.
41806 * string/test-stpncpy.c (TEST_NAME): Likewise.
41807 * string/test-strcasecmp.c (TEST_NAME): Likewise.
41808 * string/test-strcasestr.c (TEST_NAME): Likewise.
41809 * string/test-strcat.c (TEST_NAME): Likewise.
41810 * string/test-strchr.c (TEST_NAME): Likewise.
41811 * string/test-strcmp.c(TEST_NAME): Likewise.
41812 * string/test-strcpy.c (TEST_NAME): Likewise.
41813 * string/test-strcspn.c (TEST_NAME): Likewise.
41814 * string/test-strlen.c (TEST_NAME): Likewise.
41815 * string/test-strncasecmp.c (TEST_NAME): Likewise.
41816 * string/test-strncmp.c (TEST_NAME): Likewise.
41817 * string/test-strncpy.c (TEST_NAME): Likewise.
41818 * string/test-strnlen.c (TEST_NAME): Likewise.
41819 * string/test-strpbrk.c (TEST_NAME): Likewise.
41820 * string/test-strrchr.c (TEST_NAME): Likewise.
41821 * string/test-strspn.c (TEST_NAME): Likewise.
41822 * string/test-strstr.c (TEST_NAME): Likewise.
41823 * string/test-bcopy-ifunc.c: New file.
41824 * string/test-bzero-ifunc.c: Likewise.
41825 * string/test-memccpy-ifunc.c: Likewise.
41826 * string/test-memchr-ifunc.c: Likewise.
41827 * string/test-memcmp-ifunc.c: Likewise.
41828 * string/test-memcpy-ifunc.c: Likewise.
41829 * string/test-memmem-ifunc.c: Likewise.
41830 * string/test-memmove-ifunc.c: Likewise.
41831 * string/test-mempcpy-ifunc.c: Likewise.
41832 * string/test-memset-ifunc.c: Likewise.
41833 * string/test-rawmemchr-ifunc.c: Likewise.
41834 * string/test-stpcpy-ifunc.c: Likewise.
41835 * string/test-stpncpy-ifunc.c: Likewise.
41836 * string/test-strcasecmp-ifunc.c: Likewise.
41837 * string/test-strcasestr-ifunc.c: Likewise.
41838 * string/test-strcat-ifunc.c: Likewise.
41839 * string/test-strchr-ifunc.c: Likewise.
41840 * string/test-strchrnul-ifunc.c: Likewise.
41841 * string/test-strcmp-ifunc.c: Likewise.
41842 * string/test-strcpy-ifunc.c: Likewise.
41843 * string/test-strcspn-ifunc.c: Likewise.
41844 * string/test-strlen-ifunc.c: Likewise.
41845 * string/test-strncasecmp-ifunc.c: Likewise.
41846 * string/test-strncat-ifunc.c: Likewise.
41847 * string/test-strncmp-ifunc.c: Likewise.
41848 * string/test-strncpy-ifunc.c: Likewise.
41849 * string/test-strnlen-ifunc.c: Likewise.
41850 * string/test-strpbrk-ifunc.c: Likewise.
41851 * string/test-strrchr-ifunc.c: Likewise.
41852 * string/test-strspn-ifunc.c: Likewise.
41853 * string/test-strstr-ifunc.c: Likewise.
41855 * debug/Makefile (tests-ifunc): New variable.
41856 (tests): Add $(tests-ifunc).
41857 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41858 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41859 * debug/test-stpcpy_chk-ifunc.c: New file.
41860 * debug/test-strcpy_chk-ifunc.c: Likewise.
41862 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41865 * elf/dl-load.c (open_verify): Retry read if the entire ELF
41866 header is not read in.
41868 2012-10-19 Joseph Myers <joseph@codesourcery.com>
41870 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
41871 script to $(SHELL) as $<. Pass $(common-objpfx) to script
41872 directly. Pass built executable to script as
41873 $(built-program-cmd).
41874 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
41875 $testprogram without using LD_LIBRARY_PATH and $ldso.
41877 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41878 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41879 $(rtld-installed-name).
41880 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41881 (rtld_installed_name): Likewise.
41882 (library_path): Likewise.
41883 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
41884 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41885 $(run-program-prefix) to tst-tables.sh.
41886 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
41887 it to run tst-table-from and tst-table-to.
41888 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41889 Pass it to tst-table.sh.
41890 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41891 $(run-program-prefix) to tst-gettext.sh.
41892 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41894 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41896 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
41897 to run tst-gettext.
41898 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
41899 to run tst-gettext2.
41900 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
41901 to run tst-translit.
41902 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41903 $(run-program-prefix) to tst-mtrace.sh.
41904 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
41906 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41907 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41908 $(rtld-installed-name).
41909 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41910 (rtld_installed_name): Likewise.
41911 (run_program_prefix): New variable. Use it to run wordexp-test.
41913 * Makeconfig (ARCH): Remove all definitions.
41914 (machine): Likewise.
41915 [ARCH]: Remove conditional code.
41916 [!objdir]: Give error.
41917 [!objdir] (objpfx): Remove.
41918 [!objdir] (common-objpfx): Likewise.
41919 [!objdir] (common-objdir): Likewise.
41920 * configure.in (config_makefile): Remove. Hardcode Makefile in
41921 AC_CONFIG_FILES call.
41922 * configure: Regenerated.
41925 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41927 (testout): Likewise.
41929 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41930 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41931 $(rtld-installed-name).
41932 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41933 (rtld_installed_name): Likwise.
41934 (runit): Remove function.
41935 (run_getconf): New variable, Use it for running getconf binary.
41937 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
41940 * string/test-memmem.c (check_result): New function.
41941 (do_one_test): Use it.
41942 (check1): New function.
41943 (test_main): Use it.
41945 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
41947 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41949 2012-10-18 Joseph Myers <joseph@codesourcery.com>
41951 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41952 (_G_LSEEK64): Likewise.
41953 (_G_MMAP64): Likewise.
41954 (_G_FSTAT64): Likewise.
41955 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41956 (_G_LSEEK64): Likewise.
41957 (_G_MMAP64): Likewise.
41958 (_G_FSTAT64): Likewise.
41959 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41960 unconditional. Call __mmap64 directly.
41961 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41962 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
41963 __lseek64 directly.
41964 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41965 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
41967 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41968 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
41969 __lseek64 directly.
41970 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41971 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
41972 __lseek64 directly.
41973 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41974 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
41975 __lseek64 directly.
41976 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41977 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
41978 __fxstat64 directly.
41979 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41980 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41982 (freopen64) [!_G_OPEN64]: Remove conditional code.
41983 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41985 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41986 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41988 (ftello64) [!_G_LSEEK64]: Remove conditional code.
41989 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41991 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41992 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41994 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41995 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41997 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41998 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42000 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42001 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42003 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42005 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42008 * manual/memory.texi (Malloc Tunable Parameters): Add note
42009 about free list pointers overwriting some perturb bytes.
42010 Wording suggested by Roland McGrath.
42012 2012-10-17 Joseph Myers <joseph@codesourcery.com>
42014 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42015 (lgamma_test): Likewise.
42016 (tgamma_test): Likewise.
42018 2012-10-16 Florian Weimer <fweimer@redhat.com>
42021 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42022 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42024 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
42026 * NEWS: Mention BZ #14716.
42027 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42028 when removing AVAILABLE1_USES_J macro.
42030 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
42032 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42033 (__bswap_64): __uint64_t for unsigned 64-bit int.
42035 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
42037 * include/string.h (memmem): Declare libc hidden alias.
42038 * string/memmem.c (memmem): Define libc hidden alias.
42039 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42040 __read, __close instead of open, read, close.
42042 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
42044 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42045 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42047 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42048 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42049 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42051 (__rawmemchr_sse2): Likewise.
42052 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42053 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42054 (__strchr_sse2): Likewise.
42055 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42056 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42057 (__strcasecmp_sse2): Likewise.
42058 (__strncasecmp_sse2): Likewise.
42059 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42060 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42061 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42062 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42063 (__strrchr_sse2): Likewise.
42064 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42066 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42067 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42068 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42069 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42070 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42071 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42072 * sysdeps/x86_64/multiarch/memset.S: Likewise.
42073 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42074 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42075 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42076 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42077 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42078 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42079 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42080 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42081 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42082 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42083 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42084 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42085 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42086 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42087 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42088 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42089 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42090 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42091 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42092 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42093 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42094 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42095 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42097 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42099 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42100 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42101 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42102 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42104 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42106 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42107 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42108 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42109 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42111 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42112 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42113 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42114 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42115 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42116 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42117 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42118 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42119 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42120 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42121 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42122 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42123 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42124 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42125 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42126 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42127 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42128 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42129 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42130 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42131 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42132 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42133 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42134 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42135 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42136 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42137 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42138 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42139 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42140 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42141 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42142 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42143 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42144 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42145 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42146 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42147 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42148 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42149 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42150 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42151 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42153 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42154 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42155 * include/ifunc-impl-list.h: New file.
42156 * misc/ifunc-impl-list.c: Likewise.
42157 * misc/Makefile (routines): Add ifunc-impl-list.
42158 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42159 * string/test-string.h: Include <ifunc-impl-list.h>.
42160 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42161 TEST_NAME]: New variables.
42162 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42164 (test_init): Call __libc_ifunc_impl_list to initialize
42165 func_list if TEST_IFUNC and TEST_NAME are defined.
42167 * string/Makefile (strop-tests): Add bcopy and bzero.
42168 * string/test-bcopy.c: New file.
42169 * string/test-bzero.c: Likewise.
42170 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42172 * string/test-memset.c: Support bzero test if TEST_BZERO is
42174 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42176 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42178 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42181 2012-10-10 Joseph Myers <joseph@codesourcery.com>
42183 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42184 * configure: Regenerated.
42186 * Makeconfig (+link-static-before-libc): Don't include
42187 $(link-static-libc).
42189 * libio/libio.h (_IO_pos_t): Remove.
42191 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42193 * NEWS: Add note about FIPS mode. Wording suggested by Roland
42196 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42198 * crypt/crypt-entry.c: Include fips-private.h.
42199 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42200 * crypt/md5c-test.c (main): Tolerate disabled MD5.
42201 * sysdeps/unix/sysv/linux/fips-private.h: New file.
42202 * sysdeps/generic/fips-private.h: New file, dummy fallback.
42204 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42206 * crypt/crypt-private.h: Include stdbool.h.
42207 (_ufc_setup_salt_r): Return bool.
42208 * crypt/crypt-entry.c: Include errno.h.
42209 (__crypt_r): Return NULL with EINVAL for bad salt.
42210 * crypt/crypt_util.c (bad_for_salt): New.
42211 (_ufc_setup_salt_r): Check that salt is long enough and within
42212 the specified alphabet.
42213 * crypt/badsalttest.c: New file.
42214 * crypt/Makefile (tests): Add it.
42215 ($(objpfx)badsalttest): New.
42217 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
42219 * NEWS: Add entry for BZ #14602.
42221 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42223 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42225 * math/libm-test.inc: Update comment listing what functions and
42227 (isgreater_test): New function.
42228 (isgreaterequal_test): Likewise.
42229 (isless_test): Likewise.
42230 (islessequal_test): Likewise.
42231 (islessgreater_test): Likewise.
42232 (isunordered_test): Likewise.
42233 (main): Call the new functions.
42235 2012-10-09 Roland McGrath <roland@hack.frob.com>
42237 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42238 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42239 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42240 * sysdeps/i386/configure: Regenerated.
42241 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42242 * sysdeps/mach/configure: Regenerated.
42243 * sysdeps/mach/hurd/configure: Regenerated.
42244 * sysdeps/powerpc/configure: Regenerated.
42245 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42246 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42247 * sysdeps/s390/s390-32/configure: Regenerated.
42248 * sysdeps/s390/s390-64/configure: Regenerated.
42249 * sysdeps/sh/configure: Regenerated.
42250 * sysdeps/sparc/configure: Regenerated.
42251 * sysdeps/unix/sysv/linux/configure: Regenerated.
42252 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42253 * sysdeps/x86_64/configure: Regenerated.
42255 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42256 defined. Don't check if MAP is NULL.
42258 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42260 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42261 (_G_stat64): Likewise.
42262 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42263 (_G_stat64): Likewise.
42264 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42265 instead of struct _G_stat64.
42266 * libio/fileops.c (mmap_remap_check): Likewise.
42267 (decide_maybe_mmap): Likewise.
42268 (_IO_new_file_seekoff): Likewise.
42269 (_IO_file_stat): Likewise.
42270 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42272 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42273 instead of struct _G_stat64.
42274 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42276 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
42279 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42281 (CHECK_EOL): New macro.
42282 (two_way_short_needle): Check beginning of haystack for EOL. Use
42284 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42285 Replace with CHECK_EOL.
42286 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42287 Replace with CHECK_EOL.
42289 2012-10-08 Joseph Myers <joseph@codesourcery.com>
42291 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42293 * math/libm-test.inc: Update comment listing what functions and
42295 (finite_test): New function.
42296 (isinf_test): Likewise.
42297 (isnan_test): Likewise.
42298 (fpclassify_test): Test subnormal input.
42299 (isfinite_test): Likewise.
42300 (isnormal_test): Likewise.
42301 (main): Call the new functions.
42303 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
42306 * Makerules (%.dynsym): Force C locale when running
42307 $(OBJDUMP) --dynamic-syms.
42309 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
42311 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42314 2012-10-06 David S. Miller <davem@davemloft.net>
42316 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42317 upper 32-bits of the length value in %o2 since we use branch-on-register
42318 tests which consider the entire 64-bit register.
42320 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
42322 * string/test-strstr.c (check2): Add a test for page boundary.
42324 2012-10-05 David S. Miller <davem@davemloft.net>
42326 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42327 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42329 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42331 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42332 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42333 and bzero when HWCAP_SPARC_CRYPTO is present.
42335 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
42338 * string/test-strstr.c (check2): New function.
42339 (test_main): Call check2.
42341 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42343 * string/bug-strcasestr1.c (do_test): Moved to ...
42344 * string/test-strcasestr.c (check1): Here. New function.
42345 (do_one_test): Break out result checking code into ...
42346 (check_result): This. New function.
42347 (do_one_test): Call check_result.
42348 (test_main): Call check1.
42349 * string/bug-strchr1.c (do_test): Moved to ...
42350 * string/test-strchr.c (check1): Here. New function.
42351 (do_one_test): Break out result checking code into ...
42352 (check_result): This. New function.
42353 (do_one_test): Call check_result.
42354 (test_main): Call check1.
42355 * string/bug-strstr1.c (main): Moved to ...
42356 * string/test-strstr.c (check1): Here. New function.
42357 (do_one_test): Break out result checking code into ...
42358 (check_result): This. New function.
42359 (do_one_test): Call check_result.
42360 (test_main): Call check1.
42361 * string/bug-strcasestr1.c: Removed.
42362 * string/bug-strchr1.c: Likewise.
42363 * string/bug-strstr1.c: Likewise.
42365 * elf/Makefile (dl-routines): Add hwcaps.
42366 * elf/dl-support.c (_dl_important_hwcaps): Removed.
42367 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42368 (_dl_important_hwcaps): Moved to ...
42369 * elf/dl-hwcaps.c: Here. New file.
42370 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42373 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42374 if IS_IN_rtld isn't defined.
42376 * elf/dl-support.c (_dl_sysinfo_map): New.
42377 Include "get-dynamic-info.h" and "setup-vdso.h".
42378 (_dl_non_dynamic_init): Call setup_vdso.
42379 * elf/dynamic-link.h: Don't include <assert.h>.
42380 (elf_get_dynamic_info): Moved to ...
42381 * elf/get-dynamic-info.h: Here. New file.
42382 * elf/dynamic-link.h: Include "get-dynamic-info.h".
42383 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42384 * elf/setup-vdso.h: Here. New file.
42385 * elf/rtld.c: Include "setup-vdso.h".
42386 (dl_main): Call setup_vdso.
42388 2012-10-05 Joseph Myers <joseph@codesourcery.com>
42390 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42391 creal in comment listing functions tested. List finite, isinf,
42392 isnan, isless, islessequal, isgreater, isgreaterequal,
42393 islessgreater, isunordered, lgamma_r and pow10 as functions and
42394 macros not tested. Mention which functions not tested are aliases
42395 for other functions. Fix typo. Note that signs of NaNs are not
42398 * scripts/config.guess: Update from config.git.
42399 * scripts/config.sub: Likewise.
42401 2012-10-04 Roland McGrath <roland@hack.frob.com>
42403 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42404 * misc/madvise.c (madvise): Renamed to __madvise.
42405 Make madvise a weak alias.
42406 * include/sys/mman.h: Declare __madvise.
42407 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42408 * sysdeps/unix/syscalls.list
42409 (madvise): Make __madvise the strong name, and madvise a weak alias.
42410 * sysdeps/unix/sysv/linux/syscalls.list
42411 (madvise, mmap): Remove redundant entries.
42412 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42413 * malloc/malloc.c (mtrim): Likewise.
42414 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42416 2012-10-03 Roland McGrath <roland@hack.frob.com>
42418 * sysdeps/mach/hurd/dl-cache.c: File removed.
42419 * config.h.in (USE_LDCONFIG): New #undef.
42420 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42421 * configure: Regenerated.
42422 * elf/Makefile (dl-routines): Add dl-cache only under
42423 [$(use-ldconfig) = yes].
42424 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42425 cache on [USE_LDCONFIG].
42426 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42428 * elf/rtld.c (dl_main): Likewise.
42430 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
42432 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42433 _SC_LEVEL4_CACHE_LINESIZE.
42435 2012-10-03 Roland McGrath <roland@hack.frob.com>
42437 * sysdeps/unix/bsd/confstr.h: File removed.
42439 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
42441 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42444 2012-10-02 Roland McGrath <roland@hack.frob.com>
42446 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42447 Make 'mapoff' field ElfW(Off) rather than off_t.
42449 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
42451 * nscd/Makefile: Remove nscd-cflags and all its users.
42452 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42453 (CFLAGS-nonlib): Add compiler flags for nscd modules.
42456 * malloc.c (malloc_printerr): Clarify error message.
42458 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
42461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42462 Set bit_FMA_Usable if FMA is supported.
42463 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42465 (bit_FMA4_Usable): Updated.
42466 (index_FMA_Usable): New macro.
42467 (CPUID_FMA): Likewise
42468 (HAS_FMA): Defined with bit_FMA_Usable.
42470 2012-10-01 Roland McGrath <roland@hack.frob.com>
42472 * bits/types.h (__swblk_t): Type removed.
42473 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42474 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42475 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42476 (__SWBLK_T_TYPE): Likewise.
42477 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42478 (__SWBLK_T_TYPE): Likewise.
42479 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42480 (__SWBLK_T_TYPE): Likewise.
42481 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42482 (__SWBLK_T_TYPE): Likewise.
42484 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
42485 Honza Horak <hhorak@redhat.com>
42487 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42488 (xdr_mapname): Use YPMAXMAP as maxsize.
42489 (xdr_peername): Use YPMAXPEER as maxsize.
42490 (xdr_keydat): Use YPAXRECORD as maxsize.
42491 (xdr_valdat): Use YPMAXRECORD as maxsize.
42493 2012-10-01 Roland McGrath <roland@hack.frob.com>
42495 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42497 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42498 * csu/init-first.c: ... here.
42499 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42500 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42501 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42502 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42503 * sysdeps/i386/init-first.c: File removed.
42504 * sysdeps/sh/init-first.c: File removed.
42506 2012-10-01 Joseph Myers <joseph@codesourcery.com>
42509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42510 if x * y might underflow to zero and z is zero.
42511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42512 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42513 * math/libm-test.inc (min_subnorm_value): New variable.
42514 (fma_test): Add more tests.
42515 (fma_test_towardzero): Likewise.
42516 (fma_test_downward): Likewise
42517 (fma_test_upward): Likewise.
42518 (initialize): Set min_subnorm_value.
42520 2012-09-29 Joseph Myers <joseph@codesourcery.com>
42523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42525 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42526 mode for addition resulting in exact zero.
42527 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42528 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42530 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42531 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42532 * math/libm-test.inc (fma_test): Add more tests.
42533 (fma_test_towardzero): New function.
42534 (fma_test_downward): Likewise.
42535 (fma_test_upward): Likewise.
42536 (main): Call the new functions.
42538 2012-09-28 David S. Miller <davem@davemloft.net>
42540 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42542 2012-09-28 Roland McGrath <roland@hack.frob.com>
42544 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42545 instead of SIGALRM.
42547 * sysdeps/gnu/_G_config.h: Moved to ...
42548 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42549 * sysdeps/mach/hurd/_G_config.h: Moved to ...
42550 * sysdeps/generic/_G_config.h: ... here.
42552 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
42554 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42556 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42557 Conditionalize target on [libnss_test1.so-version].
42559 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42561 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42562 (elfobjdir): Move out of conditionals.
42564 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42565 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42566 (__nss_lookup_function): Conditionalize label remove_from_tree on
42567 [!DO_STATIC_NSS || SHARED], matching its only use.
42569 2012-09-28 David S. Miller <davem@davemloft.net>
42571 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42572 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42574 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42576 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42578 when HWCAP_SPARC_CRYPTO is present.
42580 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42582 * io/tst-mknodat.c: Create a FIFO instead of a socket.
42584 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
42587 * stdio-common/vfprintf.c (process_string_arg): Revert
42590 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
42592 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42594 * stdio-common/tst-sprintf.c: Include <locale.h>
42595 (main): Test sprintf's handling of incomplete multibyte
42598 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
42600 * elf/dl-runtime.c (VERSYMIDX): Removed.
42601 * elf/dl-version.c (VERSYMIDX): Likewise.
42602 * elf/do-rel.h (VERSYMIDX): Likewise.
42603 (VALIDX): Likewise.
42604 * elf/dynamic-link.h (VERSYMIDX): Likewise.
42605 * elf/rtld.c (VALIDX): Likewise.
42606 (ADDRIDX): Likewise.
42607 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42608 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42609 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42610 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42611 (VALIDX): Likewise.
42612 (ADDRIDX): Likewise.
42614 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42616 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42618 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
42621 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42623 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42624 addresses are in the same scope as 192.0.2/24.
42625 * posix/gai.conf: Document new scope table defaults.
42627 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42630 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42631 for ftell. Compute offsets from write pointers instead.
42632 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42634 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42637 * libio/Makefile (tests): New test case tst-fseek.
42638 * libio/tst-fseek.c: New test case to verify that fseek/ftell
42639 combination works in wide mode.
42640 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42641 state when the external buffer state changes.
42643 2012-09-27 David S. Miller <davem@davemloft.net>
42646 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42647 pass reloc->r_addend in as the 'high' argument to
42648 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42652 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42654 * rt/tst-aio2.c: Include <pthread.h>.
42655 * rt/tst-aio3.c: Likewise.
42657 2012-09-27 Steve Ellcey <sellcey@mips.com>
42659 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42661 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
42663 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42664 contents on [SHARED].
42666 2012-09-26 Marek Polacek <polacek@redhat.com>
42670 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42671 for C++ and GCC <4.3 as well as for non GCC compilers.
42673 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
42675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42677 2012-09-25 Roland McGrath <roland@hack.frob.com>
42679 * Makefile.in (all, install): Declare with .PHONY.
42680 Reported by Michael Hope <michael.hope@linaro.org>.
42682 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42684 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42685 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42687 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42689 (sydep_routines): Add the new and the internal functions.
42690 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42691 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42693 (GLIBC_2.17): Add the new function.
42694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42695 (GLIBC_2.17): Likewise.
42696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42697 (GLIBC_2.17): Likewise.
42698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42699 (GLIBC_2.17): Likewise.
42700 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42702 2012-09-25 Alan Modra <amodra@gmail.com>
42704 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42705 Add release barrier before setting once_control to say
42706 initialisation is done. Add hints on lwarx. Use macro in
42708 (clear_once_control): Add release barrier.
42710 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42713 * math/s_clog.c (__clog): Handle more values close to |z| = 1
42715 * math/s_clog10.c (__clog10): Likewise.
42716 * math/s_clog10f.c (__clog10f): Likewise.
42717 * math/s_clog10l.c (__clog10l): Likewise.
42718 * math/s_clogf.c (__clogf): Likewise.
42719 * math/s_clogl.c (__clogl): Likewise.
42720 * math/Makefile (libm-calls): Add x2y2m1.
42721 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42722 (__x2y2m1): Likewise.
42723 (__x2y2m1l): Likewise.
42724 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42725 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42726 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42727 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42728 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42729 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42730 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42731 * sysdeps/i386/fpu/libm-test-ulps: Update.
42732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42735 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42736 int as type of variable DEPTH.
42737 (glob): Use size_t instead of int as type of variables NEWCOUNT
42740 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42742 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42743 Add s_sincosf-sse2.
42744 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42745 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42746 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42747 macros for using routine as __sincosf_ia32.
42748 Use macro for function declaration and weak_alias.
42749 * sysdeps/i386/fpu/libm-test-ulps: Update.
42751 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42754 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42755 subnormal argument.
42756 * math/s_cexpf.c (__cexpf): Likewise.
42757 * math/s_csinf.c (__csinf): Likewise.
42758 * math/s_csinhf.c (__csinhf): Likewise.
42759 * math/s_ctanf.c (__ctanf): Likewise.
42760 * math/s_ctanhf.c (__ctanhf): Likewise.
42761 * math/s_ccosh.c (__ccoshf): Likewise.
42762 * math/s_cexp.c (__cexpl): Likewise.
42763 * math/s_csin.c (__csin): Likewise.
42764 * math/s_csinh.c (__csinh): Likewise.
42765 * math/s_ctan.c (__ctan): Likewise.
42766 * math/s_ctanh.c (ctanh): Likewise.
42767 * math/s_ccoshl.c (__ccoshl): Likewise.
42768 * math/s_cexpl.c (__cexpl): Likewise.
42769 * math/s_csinl.c (__csinl): Likewise.
42770 * math/s_csinhl.c (__csinhl): Likewise.
42771 * math/s_ctanl.c (__ctanl): Likewise.
42772 * math/s_ctanhl.c (__ctanhl): Likewise.
42774 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42776 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42777 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42778 (_IO_off_t): Define to __off_t, not _G_off_t.
42779 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42780 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42781 (_IO_wint_t): Define to wint_t, not _G_wint_t.
42782 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42783 type of __dummy and __dummy2 fields.
42784 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42785 (_G_ssize_t): Likewise.
42786 (_G_off_t): Likewise.
42787 (_G_pid_t): Likewise.
42788 (_G_uid_t): Likewise.
42789 (_G_wchar_t): Likewise.
42790 (_G_wint_t): Likewise.
42791 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42792 (_G_ssize_t): Likewise.
42793 (_G_off_t): Likewise.
42794 (_G_pid_t): Likewise.
42795 (_G_uid_t): Likewise.
42796 (_G_wchar_t): Likewise.
42797 (_G_wint_t): Likewise.
42798 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42799 (_G_ssize_t): Likewise.
42800 (_G_off_t): Likewise.
42801 (_G_pid_t): Likewise.
42802 (_G_uid_t): Likewise.
42803 (_G_wchar_t): Likewise.
42804 (_G_wint_t): Likewise.
42806 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42808 * malloc/arena.c: Include malloc-sysdep.h.
42809 (shrink_heap): Use check_may_shrink_heap to decide if madvise
42810 is sufficient to shrink the heap or an unmap is needed.
42811 * sysdeps/generic/malloc-sysdep.h: New file. Define
42812 new function check_may_shrink_heap.
42813 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
42814 new function check_may_shrink_heap.
42816 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42818 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42821 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
42823 * catgets/test-gencat.sh: Add "set -e".
42824 * elf/tst-pathopt.sh: Likewise.
42825 * grp/tst_fgetgrent.sh: Likewise.
42826 * iconvdata/run-iconv-test.sh: Likewise.
42827 * intl/tst-gettext.sh: Likewise.
42828 * intl/tst-gettext2.sh: Likewise.
42829 * intl/tst-gettext4.sh: Likewise.
42830 * intl/tst-gettext6.sh: Likewise.
42831 * intl/tst-translit.sh: Likewise.
42832 * io/ftwtest-sh: Likewise.
42833 * libio/test-freopen.sh: Likewise.
42834 * malloc/tst-mtrace.sh: Likewise.
42835 * posix/globtest.sh: Likewise.
42836 * posix/tst-getconf.sh: Likewise.
42837 * posix/wordexp-tst.sh: Likewise.
42838 * stdio-common/tst-printf.sh: Likewise.
42839 * stdio-common/tst-unbputc.sh: Likewise.
42840 * stdlib/tst-fmtmsg.sh: Likewise.
42841 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42842 * catgets/Makefile: Do not specify -e option when running
42843 testsuite shell scripts.
42844 * elf/Makefile: Likewise.
42845 * grp/Makefile: Likewise.
42846 * iconvdata/Makefile: Likewise.
42847 * intl/Makefile: Likewise.
42848 * io/Makefile: Likewise.
42849 * libio/Makefile: Likewise.
42850 * malloc/Makefile: Likewise.
42851 * posix/Makefile: Likewise.
42852 * stdio-common/Makefile: Likewise.
42853 * stdlib/Makefile: Likewise.
42854 * sysdeps/x86_64/Makefile: Likewise.
42856 * io/ftwtest-sh: Add copyright header.
42857 * posix/globtest.sh: Likewise.
42858 * posix/tst-getconf.sh: Likewise.
42859 * posix/wordexp-tst.sh: Likewise.
42860 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42862 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
42865 * Makeconfig (+link): Defined as $(+link-static) if
42866 $(build-shared) isn't yes.
42867 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42869 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42871 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42874 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42875 new chunk size with MALLOC_ALIGN_MASK.
42877 2012-09-24 Joseph Myers <joseph@codesourcery.com>
42880 * stdio-common/printf_fphex.c: Include <stdbool.h> and
42882 (__printf_fphex): Determine rounding using get_rounding_mode and
42884 * stdio-common/tst-printf-round.c (struct hex_test): New
42886 (hex_tests): New variable.
42887 (test_hex_in_one_mode): New function.
42888 (do_test): Also run tests for hex float output.
42890 2012-09-21 Joseph Myers <joseph@codesourcery.com>
42892 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42893 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42894 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42895 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42896 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42897 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42898 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42899 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42901 2012-09-20 Joseph Myers <joseph@codesourcery.com>
42903 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42904 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42905 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42906 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42908 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
42911 * elf/rtld.c (dl_main): Limit the check for self loading to normal
42913 * elf/tst-rtld-load-self.sh: New test.
42914 * elf/Makefile: Run it.
42916 2012-09-18 Joseph Myers <joseph@codesourcery.com>
42918 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42919 (tst-writev-ENV): Remove.
42920 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42922 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
42924 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42926 2012-09-17 Joseph Myers <joseph@codesourcery.com>
42928 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42930 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42932 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42933 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42934 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42937 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
42940 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42941 * config.make.in (have-cpp-asm-debuginfo): Removed.
42942 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42943 * configure: Regenerated.
42945 2012-09-14 Joseph Myers <joseph@codesourcery.com>
42948 * stdio-common/printf_fp.c: Include <stdbool.h> and
42950 (___printf_fp): Determine rounding using get_rounding_mode and
42952 * stdio-common/tst-printf-round.c: New file.
42953 * stdio-common/Makefile (tests): Add tst-printf-round.
42954 (link-libm): New variable.
42955 ($(objpfx)tst-printf-round): Depend in $(link-libm).
42957 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
42960 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42961 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42963 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42966 2012-09-13 Joseph Myers <joseph@codesourcery.com>
42968 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42969 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42970 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42971 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42973 2012-09-12 Joseph Myers <joseph@codesourcery.com>
42976 * include/rounding-mode.h: New file.
42977 * sysdeps/generic/get-rounding-mode.h: Likewise.
42978 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42979 * stdlib/strtod_l.c: Include <rounding-mode.h>.
42980 (MAX_VALUE): New macro.
42981 (MIN_VALUE): Likewise.
42982 (overflow_value): New function.
42983 (underflow_value): Likewise.
42984 (round_and_return): Use overflow_value and underflow_value to
42985 determine return values in overflow and underflow cases. Use
42986 round_away to determine rounding depending on rounding mode.
42987 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42988 determine return values in overflow and underflow cases.
42989 * stdlib/tst-strtod-round.c: Include <fenv.h>.
42990 (struct test_results): New structure.
42991 (struct test): Use struct test_results to store expected results
42992 for all rounding modes.
42993 (TEST): Include expected results for all rounding modes.
42994 (test_in_one_mode): New function.
42995 (do_test): Use test_in_one_mode to compute and check results.
42996 Check results for all rounding modes.
42997 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43000 2012-12-09 Allan McRae <allan@archlinux.org>
43002 * sysdeps/i386/fpu/libm-test-ulps: Update
43004 2012-09-11 Joseph Myers <joseph@codesourcery.com>
43006 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43007 (_G_int32_t): Likewise.
43008 (_G_uint16_t): Likewise.
43009 (_G_uint32_t): Likewise.
43010 (_G_HAVE_BOOL): Likewise.
43011 (_G_HAVE_ATEXIT): Likewise.
43012 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43013 (_G_HAVE_IO_FILE_OPEN): Likewise.
43014 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43015 (_G_int32_t): Likewise.
43016 (_G_uint16_t): Likewise.
43017 (_G_uint32_t): Likewise.
43018 (_G_HAVE_BOOL): Likewise.
43019 (_G_HAVE_ATEXIT): Likewise.
43020 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43021 (_G_HAVE_IO_FILE_OPEN): Likewise.
43022 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43023 (_G_int32_t): Likewise.
43024 (_G_uint16_t): Likewise.
43025 (_G_uint32_t): Likewise.
43026 (_G_HAVE_BOOL): Likewise.
43027 (_G_HAVE_ATEXIT): Likewise.
43028 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43029 (_G_HAVE_IO_FILE_OPEN): Likewise.
43031 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
43033 * csu/libc-tls.c: Update copyright years.
43035 2012-09-10 Joseph Myers <joseph@codesourcery.com>
43037 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43038 [!_G_USING_THUNKS]: Remove conditional code.
43039 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43040 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43042 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43043 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43044 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43045 (_G_VTABLE_LABEL_PREFIX): Likewise.
43046 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43047 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43048 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43049 (_G_VTABLE_LABEL_PREFIX): Likewise.
43050 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43051 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43052 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43053 (_G_VTABLE_LABEL_PREFIX): Likewise.
43054 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43056 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
43058 * libio/Makefile: Include ../Makeconfig before tests.
43059 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43060 only if $(build-shared) is yes.
43062 * iconv/gconv_db.c: Update copyright years.
43064 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43066 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43067 unwind info if defined PIC. Fix special cases description.
43068 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43070 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43072 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43074 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
43076 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43078 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43081 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43082 (LDLIBS-tst-chk4): This.
43083 (LDFLAGS-tst-chk5): Renamed to ...
43084 (LDLIBS-tst-chk5): This.
43085 (LDFLAGS-tst-chk6): Renamed to ...
43086 (LDLIBS-tst-chk6): This.
43087 (LDFLAGS-tst-lfschk4): Renamed to ...
43088 (LDLIBS-tst-lfschk4): This.
43089 (LDFLAGS-tst-lfschk5): Renamed to ...
43090 (LDLIBS-tst-lfschk5): This.
43091 (LDFLAGS-tst-lfschk6): Renamed to ...
43092 (LDLIBS-tst-lfschk6): This.
43094 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43095 on $(common-objpfx)soversions.mk.
43097 2012-09-07 Joseph Myers <joseph@codesourcery.com>
43100 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43103 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
43105 * malloc/arena.c (arena_get_retry): New function that gets
43106 another arena for the caller to try its request on.
43107 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43108 current arena cannot fulfill the request.
43109 (__libc_memalign): Likewise.
43110 (__libc_memalign): Likewise.
43111 (__libc_pvalloc): Likewise.
43112 (__libc_calloc): Likewise.
43114 2012-09-05 John Tobey <john.tobey@gmail.com>
43117 * manual/arith.texi (Operations on Complex): Fix description
43118 of carg branch cut.
43120 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43123 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43127 * manual/memory.texi (Memory): Make order of menu items match
43130 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43132 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43133 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
43134 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43136 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43138 * csu/libc-tls.c (static_dtv): Renamed to ...
43139 (_dl_static_dtv): This. Make it global.
43140 (_dl_initial_dtv): Removed.
43141 (__libc_setup_tls): Updated.
43142 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43143 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43146 2012-09-06 Petr Machata <pmachata@redhat.com>
43148 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43149 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43150 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43151 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43153 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43156 * csu/libc-tls.c (_dl_initial_dtv): New variable.
43157 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43160 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43163 * Makeconfig (link-static-before-libc): Replace $(+prector)
43165 (link-static-after-libc): Replace $(+postctor) with
43167 (link-bounded): Replace $(+prector)/$(+postctor) with
43168 $(+prectorT)/$(+postctorT).
43169 (+prectorT): New macro.
43170 (+postctorT): Likewise.
43172 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43174 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43175 (round_str): Handle values above the maximum for IBM long double
43177 * stdlib/tst-strtod-round.c (tests): Regenerated.
43179 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43181 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43183 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43184 zarch_nohighgprs around the zarch optimized routines.
43185 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43186 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43187 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43190 2012-09-05 David S. Miller <davem@davemloft.net>
43192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43194 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43195 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43196 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43197 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43200 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43202 * malloc/arena.c: Fold copyright years.
43203 * malloc/mcheck.c, malloc/memusage.c: Likewise.
43205 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43207 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43209 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43211 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
43213 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43215 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43216 change internal state upon failure.
43218 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43220 * malloc/mcheck.c (mcheck_check_all): Fix typo.
43221 * malloc/memusage.c (mmap): Likewise.
43222 (mmap64, mremap): Likewise. Adjust name in comment.
43224 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43226 * libio/fileops.c: Fix typos in comments.
43227 * libio/oldfileops.c: Likewise.
43228 * libio/wfileops.c: Likewise.
43230 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43233 * malloc/Makefile (tests): Add tst-malloc-usable test case.
43234 (tst-malloc-usable-ENV): Set environment for test case.
43235 * malloc/hooks.c (malloc_check_get_size): New function to get
43237 * malloc/malloc.c (musable): Use malloc_check_get_size.
43238 * malloc/tst-malloc-usable.c: New test case.
43240 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43242 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43244 2012-09-05 Allan McRae <allan@archlinux.org>
43247 * configure.in (CXX_SYSINCLUDES): Use compiler output to
43248 determine header location.
43249 * configure: Regenerated.
43251 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43253 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43255 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43256 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43258 (test): Regenerate.
43260 2012-09-04 David S. Miller <davem@davemloft.net>
43262 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43263 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43264 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43266 2012-09-04 Florian Weimer <fweimer@redhat.com>
43268 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43271 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43273 2012-09-04 Joseph Myers <joseph@codesourcery.com>
43276 * libio/iogetdelim.c: Include <limits.h>.
43277 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43278 + len + 1 would overflow.
43280 2012-09-03 Andreas Jaeger <aj@suse.de>
43282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43283 * sysdeps/i386/fpu/libm-test-ulps: Update.
43285 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43287 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43288 Add s_sinf-sse2, s_conf-sse2.
43290 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43291 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43292 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43293 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43295 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43296 for using routine as __sinf_ia32.
43297 Use macro for function declaration and weak_alias.
43298 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43299 for using routine as __cosf_ia32.
43300 Use macro for function declaration and weak_alias.
43302 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43303 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43305 * sysdeps/x86_64/fpu/s_sinf.S: New file.
43306 * sysdeps/x86_64/fpu/s_cosf.S: New file.
43307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43309 * math/libm-test.inc (cos_test): Add more test cases.
43310 (sin_test): Likewise.
43311 (sincos_test): Likewise.
43313 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43315 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43316 (IFUNC_RESOLVE): Make pointers to the specialized implementations
43318 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43320 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
43323 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43324 first element of the GOT.
43325 (elf_machine_load_address): Return the difference between
43326 the runtime address of _DYNAMIC and elf_machine_dynamic ().
43328 2012-09-01 Allan McRae <allan@archlinux.org>
43331 * configure.in (AWK): Require gawk version 3.0 or later.
43332 * configure: Regenerated.
43334 2012-09-01 Joseph Myers <joseph@codesourcery.com>
43336 * sysdeps/unix/sysv/linux/kernel-features.h
43337 (__ASSUME_POSIX_CPU_TIMERS): Remove.
43338 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43339 [__NR_clock_getres]: Make code unconditional.
43340 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43341 (clock_getcpuclockid): Remove code left unreachable by removal of
43343 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43344 code unconditional.
43345 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43346 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43347 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43348 Make code unconditional.
43349 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43350 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43351 * sysdeps/unix/sysv/linux/clock_settime.c
43352 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43354 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43355 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43357 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
43360 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43361 scripts/test-installation.pl.
43363 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43364 and $ld_so_version if it is set.
43366 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43369 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43370 failure if reading from procfs failed.
43371 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43373 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43375 * sysdeps/unix/sysv/linux/kernel-features.h
43376 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43377 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43378 Remove conditional code.
43379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43380 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43381 Remove conditional code.
43382 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43383 * sysdeps/unix/sysv/linux/i386/fxstat.c
43384 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43385 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43386 * sysdeps/unix/sysv/linux/i386/fxstatat.c
43387 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43388 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43389 * sysdeps/unix/sysv/linux/i386/lxstat.c
43390 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43391 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43392 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43393 Remove conditional code.
43394 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43395 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43396 Remove conditional code.
43397 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43398 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43399 <kernel-features.h>.
43400 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43402 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43403 Remove conditional code.
43404 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43405 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43406 Remove conditional.
43408 2012-08-27 Mike Frysinger <vapier@gentoo.org>
43411 * NEWS: Add fixed bug number.
43413 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43416 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43417 underflowing exponent in case of negative sign.
43418 * stdlib/tst-strtod-round-data: Add more tests.
43419 * stdlib/tst-strtod-round.c (tests): Regenerated.
43422 * stdlib/strtod_l.c (NDIG): Remove.
43423 (HEXNDIG): Likewise.
43424 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43425 smallest representable value.
43426 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43427 lie within an exact representation of 1/2 ulp of the result.
43428 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43430 (TENS_P9_IDX): Define unconditionally.
43431 (TENS_P9_SIZE): Likewise.
43432 (TENS_P10_IDX): Likewise.
43433 (TENS_P10_SIZE): Likewise.
43434 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43435 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43436 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43437 entries for 10^2^13 and 10^2^14.
43438 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43439 (TENS_P13_IDX): Define.
43440 (TENS_P13_SIZE): Likewise.
43441 (TENS_P14_IDX): Likewise.
43442 (TENS_P14_SIZE): Likewise.
43443 (_fpioconst_pow10): Change array size to
43444 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
43446 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43447 1024]: Add entries for 10^2^13 and 10^2^14.
43448 [LAST_POW10 > _LAST_POW10]: Remove #error.
43449 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43450 (_fpioconst_pow10): Change array size to
43451 FPIOCONST_POW10_ARRAY_SIZE.
43452 * stdlib/gen-fpioconst.c: New file.
43453 * stdlib/gen-tst-strtod-round.c: Likewise.
43454 * stdlib/tst-strtod-round-data: Likewise.
43455 * stdlib/tst-strtod-round.c: Likewise.
43456 * stdlib/Makefile (tests): Add tst-strtod-round.
43459 * stdlib/strtod_l.c: Include <stdint.h>.
43460 (NDEBUG): Do not define.
43461 (round_and_return): Change EXPONENT parameter to type intmax_t.
43462 Rearrange calculations to avoid internal overflow possibilities.
43463 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43464 Rearrange calculations to avoid internal overflow possibilities.
43465 Assert that number fits inside MPNSIZE limbs.
43466 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43467 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
43468 calculations and add assertions to avoid internal overflow
43469 possibilities. Add casts to avoid signed/unsigned operations.
43470 * stdlib/tst-strtod-overflow.c: New file.
43471 * stdlib/Makefile (tests): Add tst-strtod-overflow.
43473 2012-08-25 Marek Polacek <polacek@redhat.com>
43475 * time/time.h: Fix some typos in comments.
43477 2012-08-23 Roland McGrath <roland@hack.frob.com>
43479 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43480 * posix/tst-rfc3484-2.c: Likewise.
43481 * posix/tst-rfc3484-3.c: Likewise.
43483 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
43485 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43486 (EF_ARM_ABI_FLOAT_HARD): Likewise.
43488 2012-08-23 Joseph Myers <joseph@codesourcery.com>
43490 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43491 #include of fxstatat64.c.
43493 2012-08-22 Roland McGrath <roland@hack.frob.com>
43495 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43496 * shadow/getspent_r.c: Likewise.
43497 * shadow/getspnam.c: Likewise.
43498 * shadow/getspnam_r.c: Likewise.
43499 * gshadow/getsgent.c: Likewise.
43500 * gshadow/getsgent_r.c: Likewise.
43501 * gshadow/getsgnam.c: Likewise.
43502 * gshadow/getsgnam_r.c: Likewise.
43503 * inet/getnetbyad.c: Likewise.
43504 * inet/getnetbyad_r.c: Likewise.
43505 * inet/getnetbynm.c: Likewise.
43506 * inet/getnetbynm_r.c: Likewise.
43507 * inet/getnetent.c: Likewise.
43508 * inet/getnetent_r.c: Likewise.
43509 * inet/getproto.c: Likewise.
43510 * inet/getproto_r.c: Likewise.
43511 * inet/getprtent.c: Likewise.
43512 * inet/getprtent_r.c: Likewise.
43513 * inet/getprtname.c: Likewise.
43514 * inet/getprtname_r.c: Likewise.
43515 * inet/getrpcbyname.c: Likewise.
43516 * inet/getrpcbyname_r.c: Likewise.
43517 * inet/getrpcbynumber.c: Likewise.
43518 * inet/getrpcbynumber_r.c: Likewise.
43519 * inet/getrpcent.c: Likewise.
43520 * inet/getrpcent_r.c: Likewise.
43521 * inet/getaliasent.c: Likewise.
43522 * inet/getaliasent_r.c: Likewise.
43523 * inet/getaliasname.c: Likewise.
43524 * inet/getaliasname_r.c: Likewise.
43525 * nscd/getgrgid_r.c: Likewise.
43526 * nscd/getgrnam_r.c: Likewise.
43527 * nscd/gethstbyad_r.c: Likewise.
43528 * nscd/gethstbynm3_r.c: Likewise.
43529 * nscd/getpwnam_r.c: Likewise.
43530 * nscd/getpwuid_r.c: Likewise.
43531 * nscd/getsrvbynm_r.c: Likewise.
43532 * nscd/getsrvbypt_r.c: Likewise.
43533 * nscd/gai.c: Likewise.
43535 * configure.in (build_nscd): New substituted variable, set
43536 by --disable-build-nscd and defaults to $use_nscd.
43537 * configure: Regenerated.
43538 * config.make.in (build-nscd): New substituted variable.
43539 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43540 Change conditional to require [$(build-nscd) = yes] as well.
43541 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43544 * configure.in (use_nscd): New substituted variable, set by
43545 --disable-nscd. If enabled, define USE_NSCD.
43546 * configure: Regenerated.
43547 * config.h.in: Add USE_NSCD.
43548 * config.make.in (use-nscd): New substituted variable.
43549 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43550 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43551 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43552 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43553 (CFLAGS-getgrnam_r.c): Likewise.
43554 (CFLAGS-initgroups.c): Likewise.
43555 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43556 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43558 * inet/getnetgrent_r.c
43559 (nscd_setnetgrent): New function, broken out of ...
43560 (setnetgrent): ... here. Call it.
43561 (innetgr): Conditionalize nscd bits on [USE_NSCD].
43562 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43563 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43564 * nscd/Makefile (routines, aux): Move definitions after include of
43565 Makeconfig. Conditionalize on [$(use-nscd) != no].
43566 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43567 Conditionalize on [USE_NSCD].
43568 (is_nscd, nscd_init_cb): Likewise.
43569 (nss_load_library): Conditionalize init callback on [USE_NSCD].
43570 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43571 * nss/nss_db/db-init.c: Likewise.
43572 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43574 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43575 (make_request): Use it.
43576 (cache_valid_p): New function.
43577 (__check_pf): Use it.
43578 * NEWS: Add item for --disable-nscd.
43580 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
43582 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43583 to support sed >= 4.2.1-20-ga9bf076.
43584 * configure: Regenerated.
43586 2012-08-22 Roland McGrath <roland@hack.frob.com>
43588 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43589 Conditionalize whole body on [IREL].
43591 2012-08-22 Jeff Law <law@redhat.com>
43594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43595 if the family is PF_UNSPEC.
43597 2012-08-22 Mike Frysinger <vapier@gentoo.org>
43599 * Makerules (lib-version): Rename from V.
43600 (install-lib-nosubdir): Change V to lib-version.
43602 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
43605 * powerpc32/power6/wcschr.c: New file.
43606 * powerpc32/power6/wcscpy.c: New file.
43607 * powerpc32/power6/wcsrchr.c: New file.
43608 * powerpc64/power6/wcschr.c: New file.
43609 * powerpc64/power6/wcscpy.c: New file.
43610 * powerpc64/power6/wcsrchr.c: New file.
43612 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43614 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43615 (two_way_short_needle): Use it.
43616 * string/strstr.c (AVAILABLE1_USES_J): Define.
43617 * string/strcasestr.c: Likewise.
43619 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43621 * string/strcasestr.c (TOLOWER): Make side-effect safe.
43624 * NEWS: Add an entry.
43625 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43626 define their defaults.
43627 (two_way_short_needle): Detect end-of-string on-the-fly.
43628 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43629 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43630 * string/bug-strcasestr1.c: New test.
43631 * string/Makefile: Run it.
43633 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43636 * string/str-two-way.h (two_way_short_needle): Optimize matching of
43637 the first character.
43639 2012-08-21 Roland McGrath <roland@hack.frob.com>
43641 * csu/elf-init.c (__libc_csu_irel): Function removed.
43642 * csu/libc-start.c (apply_irel): New function.
43643 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43645 2012-08-21 Joseph Myers <joseph@codesourcery.com>
43647 * sysdeps/unix/sysv/linux/kernel-features.h
43648 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43649 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43650 <kernel-features.h>.
43651 [__NR_fadvise64_64]: Make code unconditional.
43652 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43653 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43654 !__NR_fadvise64_64)]: Likewise.
43655 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43656 !__NR_fadvise64_64))]: Likewise.
43657 [__NR_fadvise64]: Make code unconditional.
43658 [!__NR_fadvise64]: Remove conditional code.
43659 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43660 <kernel-features.h>.
43661 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43663 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43666 not include <kernel-features.h>.
43667 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43669 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43671 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43672 include <kernel-features.h>.
43673 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43675 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43678 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43680 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43681 slight instruction rearrangements per scrollpipe analysis.
43682 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43684 2012-08-20 Roland McGrath <roland@hack.frob.com>
43686 * manual/syslog.texi (syslog; vsyslog, closelog):
43687 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43688 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43690 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43691 DSOCAPS to match condition on defining it.
43693 2012-08-20 Joseph Myers <joseph@codesourcery.com>
43695 * sysdeps/unix/sysv/linux/kernel-features.h
43696 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43698 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43699 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43701 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43702 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43704 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43705 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43707 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43708 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43710 * sysdeps/unix/sysv/linux/kernel-features.h
43711 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43712 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43714 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43715 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43716 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43717 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43718 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43719 Make code unconditional.
43720 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43721 (__mmap64) [!__NR_mmap2]: Likewise.
43722 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43723 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43724 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43725 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43726 [__NR_mmap2]: Make code unconditional.
43727 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43728 (__mmap64) [!__NR_mmap2]: Likewise.
43730 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43732 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43734 2012-08-18 Andreas Jaeger <aj@suse.de>
43736 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43738 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43740 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43741 * include/unistd.h (__have_sock_cloexec): Likewise.
43742 (__have_pipe2): Likewise.
43743 (__have_dup3): Likewise.
43745 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43748 * include/unistd.h (__have_pipe2): Change define into an extern int.
43749 (__have_dup3): Likewise.
43750 * socket/have_sock_cloexec.c: Include fcntl.h.
43751 (__have_pipe2): New variable.
43752 (__have_dup3): Likewise.
43754 2012-08-17 Mike Frysinger <vapier@gentoo.org>
43756 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43758 2012-08-17 Marek Polacek <polacek@redhat.com>
43760 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43761 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43763 2012-08-17 Roland McGrath <roland@hack.frob.com>
43765 * configure.in: Add AC_SUBST for sysheaders.
43766 * configure: Regenerated.
43767 * config.make.in (sysheaders): New substituted variable.
43769 * sysdeps/unix/mkfifo.c: Moved ...
43770 * sysdeps/posix/mkfifo.c: ... here.
43771 * sysdeps/unix/mkfifoat.c: Moved ...
43772 * sysdeps/posix/mkfifoat.c: ... here.
43774 * sysdeps/unix/utime.c: Moved ...
43775 * sysdeps/posix/utime.c: ... here.
43777 * sysdeps/unix/time.c: Moved ...
43778 * sysdeps/posix/time.c: ... here.
43779 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43780 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43782 * sysdeps/unix/nice.c: Moved ...
43783 * sysdeps/posix/nice.c: ... here.
43785 * sysdeps/unix/alarm.c: Moved ...
43786 * sysdeps/posix/alarm.c: ... here.
43788 * intl/Makefile ($(codeset_mo)): Depend on the input file.
43790 2012-08-17 Jeff Law <law@redhat.com>
43792 * intl/Makefile (codeset_mo): New variable.
43793 ($(codeset_mo)): New target.
43794 (tst-codeset.out): Depend on that. Remove explicit rule.
43795 (tst-gettext3.out, tst-gettext5.out): Likewise.
43796 (LOCPATH-ENV, tst-codeset-ENV): New variables.
43797 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43798 * intl/tst-codeset.sh: Remove.
43799 * intl/tst-gettext3.sh: Likewise.
43800 * intl/tst-gettext5.sh: Likewise.
43802 2012-08-17 Roland McGrath <roland@hack.frob.com>
43804 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
43805 * sysdeps/unix/syscalls.list: ... here.
43807 * sysdeps/posix/getaddrinfo.c
43808 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43809 (gaiconf_init, gaiconf_reload): Use them.
43810 [!_STATBUF_ST_NSEC]
43811 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43812 Define using time_t rather than struct timespec.
43814 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43815 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43817 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43819 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43820 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43823 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43824 __libc_cleanup_push argument.
43826 * bits/param.h: New file.
43827 * misc/sys/param.h: New file.
43828 * include/sys/param.h: New file.
43829 * misc/Makefile (headers): Add bits/param.h.
43830 * sysdeps/generic/sys/param.h: File removed.
43831 * sysdeps/unix/sysv/linux/bits/param.h: New file.
43832 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43833 * sysdeps/mach/hurd/bits/param.h: New file.
43834 * sysdeps/mach/hurd/sys/param.h: File removed.
43836 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43839 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43841 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43842 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43845 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43846 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43847 rather than -D_IO_MTSAFE_IO conditionally.
43848 * stdio-common/Makefile (CPPFLAGS): Likewise.
43849 * wcsmbs/Makefile (CPPFLAGS): Likewise.
43850 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43851 Use $(libio-mtsafe).
43852 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43853 of -D_IO_MTSAFE_IO.
43854 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43855 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43856 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43857 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43858 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43859 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43860 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43861 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43862 (CFLAGS-fread_u_chk.c): Likewise.
43863 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43864 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43865 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43866 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43867 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43868 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43869 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43870 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43871 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43873 * libio/Makefile: Test [$(libc-reentrant) = yes]
43874 instead of [$(filter %REENTRANT, $(defines)) nonempty].
43877 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43878 * sysdeps/pthread/configure: File removed.
43879 * sysdeps/pthread/Makeconfig: New file.
43880 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43881 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43883 2012-08-16 Gary Benson <gbenson@redhat.com>
43885 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43886 unmapping the first object in a namespace.
43888 2012-08-16 Roland McGrath <roland@hack.frob.com>
43890 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43891 (__internal_setnetgrent): ... this. Add internal_function to
43892 definition. Add libc_hidden_def.
43893 (setnetgrent): Update caller.
43894 (internal_endnetgrent): Renamed to ...
43895 (__internal_endnetgrent): ... this. Add internal_function to
43896 definition. Add libc_hidden_def.
43897 (endnetgrent): Update caller.
43898 (internal_getnetgrent_r): Renamed to ...
43899 (__internal_getnetgrent_r): ... this. Add internal_function to
43900 definition. Add libc_hidden_def.
43901 (__getnetgrent_r): Update caller.
43902 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
43904 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43906 * stdlib/longlong.h: Update from GCC.
43908 2012-08-16 Roland McGrath <roland@hack.frob.com>
43910 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43911 on _QL, which is set by umul_ppmm but never used.
43912 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43913 variables, which are set by GMP macros but never used.
43914 * stdio-common/_itowa.c (_itowa): Likewise.
43915 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43916 * stdlib/mod_1.c (mpn_mod_1): Likewise.
43918 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
43920 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43921 struct La_sh_regs is not constant.
43922 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43923 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43924 and struct La_sparc64_regs are not constant.
43926 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43928 * sysdeps/unix/sysv/linux/kernel-features.h
43929 (__ASSUME_POSIX_TIMERS): Remove.
43930 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43931 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43932 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43933 Make code unconditional.
43934 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43935 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43936 Make code unconditional.
43937 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43938 * sysdeps/unix/sysv/linux/clock_nanosleep.c
43939 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43940 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43941 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43942 Make code unconditional.
43943 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43944 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43945 (__libc_missing_posix_timers): Remove.
43947 2012-08-15 Roland McGrath <roland@hack.frob.com>
43949 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43950 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43952 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43954 * elf/dl-sym.c: Include <stdlib.h>.
43956 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43957 constants, which avoids warnings in 32-bit builds.
43959 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43960 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43962 * misc/lseek.c: File moved to ...
43963 * io/lseek.c: ... here.
43965 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43967 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43968 shifting LEN more than 31 bits at once.
43970 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43973 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43974 segmentation fault for a case of two empty input strings.
43975 * string/test-strncasecmp.c (check1): Renamed to...
43976 (bz12205): ...this.
43977 (bz14195): Add new testcase for two empty input strings and N > 0.
43978 (test_main): Call new testcase, adapt for renamed function.
43980 2012-08-15 Andreas Jaeger <aj@suse.de>
43983 * crypt/md5test2.c: New test, based on test supplied by Serge
43984 Belyshev <belyshev@depni.sinp.msu.ru>.
43985 * crypt/Makefile (xtests): Add md5test-giant..
43986 * crypt/Makefile ($(objpfx)md5test-giant): Add.
43988 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
43991 * crypt/md5.c (md5_process_block): Don't assume the buffer
43992 length is less than 2**32.
43993 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43994 length is less than 2**64.
43996 2012-08-15 Roland McGrath <roland@hack.frob.com>
43998 * string/str-two-way.h: Include <sys/param.h>.
43999 (MAX): Macro removed.
44001 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44002 Move #define and #undef of memmove to just before and after
44003 including <string.h>.
44005 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44006 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44007 and after including <string.h>. Move declarations of
44008 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44009 to before #include "string/memmove.c".
44011 * include/dirent.h: Declare __getdirentries.
44013 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44014 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44016 2012-08-14 Mike Frysinger <vapier@gentoo.org>
44018 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44019 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44020 * sysdeps/i386/configure: Regenerated.
44021 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44022 STABS_CURRENT_FILE, and STABS_FUN.
44023 (END): Remove call to STABS_FUN_END.
44024 (STABS_CURRENT_FILE1): Delete.
44025 (STABS_CURRENT_FILE): Likewise.
44026 (STABS_FUN): Likewise.
44027 (STABS_FUN_END): Likewise.
44028 (STABS_FUN2): Likewise.
44029 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44030 * sysdeps/x86_64/configure: Regenerated.
44032 2012-08-14 Roland McGrath <roland@hack.frob.com>
44034 * elf/dl-open.c: Include <atomic.h>.
44035 * elf/dl-lookup.c: Likewise.
44037 2012-08-14 Joseph Myers <joseph@codesourcery.com>
44039 * sysdeps/unix/sysv/linux/kernel-features.h
44040 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44041 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44043 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44045 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44046 condition on __ASSUME_CLONE_THREAD_FLAGS.
44048 2012-08-14 Andreas Jaeger <aj@suse.de>
44050 * sysdeps/i386/fpu/libm-test-ulps: Update.
44052 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
44054 * include/atomic.h (atomic_exchange_and_add): Split into ...
44055 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44058 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
44060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44062 2012-08-13 Jeff Law <law@redhat.com>
44064 * manual/stdio.texi (snprintf): Clarify handling of the trailing
44065 null byte in the output string.
44067 2012-08-10 Joseph Myers <joseph@codesourcery.com>
44069 * sysdeps/unix/sysv/linux/kernel-features.h
44070 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44071 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44072 (__ASSUME_ARG_MAX_STACK_BASED): Define.
44073 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44074 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44075 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
44076 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44078 2012-08-09 Jeff Law <law@redhat.com>
44081 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44082 When avoid_arena is set, don't retry in the that arena. Pick the
44083 next one, whatever it might be.
44084 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44085 (arena_lock): Pass in new parameter to arena_get2.
44086 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44088 (__libc_malloc): Unify retrying after main arena failure with
44089 __libc_memalign version.
44090 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44092 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
44095 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44096 to __redirect_strstr.
44097 (__strstr_sse42): Use typeof __redirect_strstr.
44098 (__strstr_ia32): Likewise.
44099 (__libc_strstr): New prototype.
44100 (strstr): Renamed to ...
44101 (__libc_strstr): This.
44102 (strstr): New strong alias of __libc_strstr.
44103 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44104 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44107 (__libc_time): New prototype.
44108 (time_ifunc): Replace time with __libc_time.
44109 (time): New strong alias and hidden definition of __libc_time.
44110 (__GI_time): Remove strong alias.
44111 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44112 Include <stddef.h>.
44113 (memmove): Redefined to __redirect_memmove.
44114 (__memmove_sse2): Use typeof __redirect_memmove.
44115 (__memmove_ssse3): Likewise.
44116 (__memmove_ssse3_back): Likewise.
44117 (__libc_memmove): New prototype.
44118 (memmove): Renamed to ...
44119 (__libc_memmove): This.
44120 (memmove): New strong alias of __libc_memmove.
44122 2012-08-08 Mark Salter <msalter@redhat.com>
44125 (R_MN10300_TLS_GD): Define.
44126 (R_MN10300_TLS_LD): Likewise.
44127 (R_MN10300_TLS_LDO): Likewise.
44128 (R_MN10300_TLS_GOTIE): Likewise.
44129 (R_MN10300_TLS_IE): Likewise.
44130 (R_MN10300_TLS_LE): Likewise.
44131 (R_MN10300_TLS_DTPMOD): Likewise.
44132 (R_MN10300_TLS_DTPOFF): Likewise.
44133 (R_MN10300_TLS_TPOFF): Likewise.
44134 (R_MN10300_SYM_DIFF): Likewise.
44135 (R_MN10300_ALIGN): Likewise.
44136 (R_MN10300_NUM): Update.
44138 2012-08-08 Joseph Myers <joseph@codesourcery.com>
44140 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44143 2012-08-08 Roland McGrath <roland@hack.frob.com>
44145 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44147 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44148 sysdeps/unix -> sysdeps/posix move.
44149 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44151 2012-08-07 Allan McRae <allan@archlinux.org>
44154 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44155 (SUNOS_CPP): Likewise.
44156 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44158 (open_input): Call CPP using execvp.
44160 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44162 * sysdeps/unix/sysv/linux/kernel-features.h
44163 (__ASSUME_PROT_GROWSUPDOWN): Remove.
44164 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44165 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44166 (__ASSUME_WAITID_SYSCALL): Likewise.
44167 * sysdeps/unix/sysv/linux/dl-execstack.c
44168 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44169 code unconditional.
44170 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44172 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44173 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44174 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44176 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44178 [__ASSUME_WAITID_SYSCALL]: Likewise.
44179 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44181 2012-08-07 Roland McGrath <roland@hack.frob.com>
44183 * sysdeps/unix/closedir.c: Renamed to ...
44184 * sysdeps/posix/closedir.c: ... here.
44185 * sysdeps/unix/dirfd.c: Renamed to ...
44186 * sysdeps/posix/dirfd.c: ... here.
44187 * sysdeps/unix/dirstream.h: Renamed to ...
44188 * sysdeps/posix/dirstream.h: ... here.
44189 * sysdeps/unix/fdopendir.c: Renamed to ...
44190 * sysdeps/posix/fdopendir.c: ... here.
44191 * sysdeps/unix/opendir.c: Renamed to ...
44192 * sysdeps/posix/opendir.c: ... here.
44193 * sysdeps/unix/readdir.c: Renamed to ...
44194 * sysdeps/posix/readdir.c: ... here.
44195 * sysdeps/unix/readdir_r.c: Renamed to ...
44196 * sysdeps/posix/readdir_r.c: ... here.
44197 * sysdeps/unix/rewinddir.c: Renamed to ...
44198 * sysdeps/posix/rewinddir.c: ... here.
44199 * sysdeps/unix/seekdir.c: Renamed to ...
44200 * sysdeps/posix/seekdir.c: ... here.
44201 * sysdeps/unix/telldir.c: Renamed to ...
44202 * sysdeps/posix/telldir.c: ... here.
44203 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44204 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44205 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44206 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44208 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44209 * bits/fcntl.h: ... here.
44211 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44213 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44214 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44215 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44216 (struct flock): Move l_start, l_len to the beginning.
44217 Use __pid_t for l_pid.
44218 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44219 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44220 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44221 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44222 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44223 [__USE_LARGEFILE64] (struct flock64): New type.
44224 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44226 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44227 * bits/dirent.h: ... here.
44229 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44230 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44232 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44234 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44235 Change from 2.6.0 to 2.6.16.
44236 * sysdeps/unix/sysv/linux/configure: Regenerated.
44237 * sysdeps/unix/sysv/linux/kernel-features.h
44238 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44239 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44241 (__ASSUME_UTIMES): Likewise.
44242 (__ASSUME_CLONE_STOPPED): Remove.
44243 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44244 architectures, not kernel version.
44245 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44246 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44247 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44248 (__ASSUME_WAITID_SYSCALL): Likewise.
44249 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44250 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44251 * README: State 2.6.16 as minimum Linux kernel version. Do not
44252 refer to older versions.
44254 2012-08-06 Roland McGrath <roland@hack.frob.com>
44256 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44257 Define alphasort64 as an alias.
44258 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44259 Define versionsort64 as an alias.
44260 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44261 Define scandir64 as an alias.
44262 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44263 Define scandirat64 as an alias.
44264 * dirent/alphasort64.c (alphasort64):
44265 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44266 * dirent/versionsort64.c: Likewise.
44267 * dirent/scandir64.c: Likewise.
44268 * dirent/scandirat64.c: Likewise.
44269 * sysdeps/wordsize-64/alphasort.c: File removed.
44270 * sysdeps/wordsize-64/alphasort64.c: File removed.
44271 * sysdeps/wordsize-64/scandir.c: File removed.
44272 * sysdeps/wordsize-64/scandir64.c: File removed.
44273 * sysdeps/wordsize-64/scandirat.c: File removed.
44274 * sysdeps/wordsize-64/scandirat64.c: File removed.
44275 * sysdeps/wordsize-64/versionsort.c: File removed.
44276 * sysdeps/wordsize-64/versionsort64.c: File removed.
44277 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44278 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44279 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44280 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44281 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44282 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44283 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44284 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44286 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44287 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44288 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44289 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44290 [defined __arch64__ || defined __sparcv9]
44291 (__INO_T_MATCHES_INO64_T): New macro.
44292 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44293 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44294 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44295 * sysdeps/unix/sysv/linux/bits/dirent.h
44296 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44297 (_DIRENT_MATCHES_DIRENT64): New macro.
44299 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44300 Define lockf64 as an alias.
44301 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44302 Define fseeko64 as an alias.
44303 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44304 Define ftello64 as an alias.
44305 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44306 Define _IO_fgetpos64 and fgetpos64 as aliases.
44307 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44308 Define _IO_fsetpos64 and fsetpos64 as aliases.
44309 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44310 Conditionalize body on this.
44311 * libio/fseeko64.c: Likewise.
44312 * libio/ftello64.c: Likewise.
44313 * libio/iofgetpos64.c: Likewise.
44314 * libio/iofsetpos64.c: Likewise.
44315 * sysdeps/wordsize-64/lockf.c: File removed.
44316 * sysdeps/wordsize-64/lockf64.c: File removed.
44317 * sysdeps/wordsize-64/fseeko.c: File removed.
44318 * sysdeps/wordsize-64/fseeko64.c: File removed.
44319 * sysdeps/wordsize-64/ftello.c: File removed.
44320 * sysdeps/wordsize-64/ftello64.c: File removed.
44321 * sysdeps/wordsize-64/iofgetpos.c: File removed.
44322 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44323 * sysdeps/wordsize-64/iofsetpos.c: File removed.
44324 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44325 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44326 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44327 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44328 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44329 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44330 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44331 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44332 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44333 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44334 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44336 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44337 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44338 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44339 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44340 [defined __arch64__ || defined __sparcv9]
44341 (__OFF_T_MATCHES_OFF64_T): New macro.
44342 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44343 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44344 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44345 (__OFF_T_MATCHES_OFF64_T): New macro.
44347 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44349 * stdlib/secure-getenv.c (__secure_getenv): Replace
44350 GLIBC_2_16 with GLIBC_2_17.
44352 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44354 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44355 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44357 2012-08-03 David S. Miller <davem@davemloft.net>
44359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44361 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44363 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44365 (__ASSUME_CORRECT_SI_PID): Likewise.
44366 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44367 (__ASSUME_TMPFS_NAME): Likewise.
44368 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44369 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44370 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44371 (HAVE_AUX_SECURE): Make definition unconditional.
44372 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44373 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44375 2012-08-03 Roland McGrath <roland@hack.frob.com>
44377 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44378 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44379 * sysdeps/mach/hurd/eloop-threshold.h: New file.
44380 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44381 __eloop_threshold instead of SYMLOOP_MAX.
44383 * sysdeps/generic/eloop-threshold.h: New file.
44384 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44386 * elf/chroot_canon.c (chroot_canon): Likewise.
44388 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44391 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44392 Change to 2.6.0 everywhere.
44393 * sysdeps/unix/sysv/linux/configure: Regenerated.
44394 * sysdeps/unix/sysv/linux/kernel-features.h
44395 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44396 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44398 (__ASSUME_POSIX_TIMERS): Define unconditionally.
44399 (__ASSUME_FUTEX_REQUEUE): Remove.
44400 (__ASSUME_STATFS64): Define unconditionally.
44401 (__ASSUME_AT_SECURE): Likewise.
44402 (__ASSUME_CORRECT_SI_PID): Likewise.
44403 (__ASSUME_TGKILL): Define without depending on kernel version for
44405 (__ASSUME_UTIMES): Likewise.
44406 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44408 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44409 (__ASSUME_TMPFS_NAME): Likewise.
44410 * README: Update reference to Linux kernel versions.
44412 2012-08-02 Marek Polacek <polacek@redhat.com>
44415 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
44416 libc_cv_asm_type_prefix with %.
44417 * configure: Regenerated.
44418 * include/libc-symbols.h: Remove comment about
44419 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44420 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44421 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44422 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44423 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44424 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44425 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44426 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44427 * elf/tst-unique2mod1.c: Likewise.
44428 * elf/tst-unique1mod2.c: Likewise.
44429 * elf/tst-unique1mod1.c: Likewise.
44430 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44431 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44432 Replace ASM_TYPE_DIRECTIVE with .type.
44433 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44434 * sysdeps/i386/sysdep.h: Likewise.
44435 * sysdeps/x86_64/sysdep.h: Likewise.
44436 * sysdeps/sh/sysdep.h: Likewise.
44437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44438 Do not define ASM_TYPE_DIRECTIVE.
44439 * sysdeps/powerpc/sysdep.h: Likewise.
44440 * sysdeps/powerpc/powerpc32/sysdep.h:
44441 Replace ASM_TYPE_DIRECTIVE with .type.
44442 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44443 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44444 * sysdeps/i386/fpu/e_powf.S: Likewise.
44445 * sysdeps/i386/fpu/e_expl.S: Likewise.
44446 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44447 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44448 * sysdeps/i386/fpu/e_pow.S: Likewise.
44449 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44450 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44451 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44452 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44453 * sysdeps/i386/fpu/e_log2.S: Likewise.
44454 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44455 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44456 * sysdeps/i386/fpu/e_powl.S: Likewise.
44457 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44458 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44459 * sysdeps/i386/fpu/e_logl.S: Likewise.
44460 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44461 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44462 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44463 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44464 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44465 * sysdeps/i386/fpu/e_log.S: Likewise.
44466 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44467 * sysdeps/i386/fpu/e_logf.S: Likewise.
44468 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44469 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44470 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44471 * sysdeps/i386/fpu/e_log10.S: Likewise.
44472 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44473 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44474 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44475 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44476 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44477 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44478 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44479 * sysdeps/i386/i686/strtok.S: Likewise.
44480 * sysdeps/i386/i386-mcount.S: Likewise.
44481 * sysdeps/i386/strtok.S: Likewise.
44482 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44483 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44484 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44485 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44486 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44487 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44488 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44489 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44490 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44491 * sysdeps/x86_64/_mcount.S: Likewise.
44492 * sysdeps/x86_64/strtok.S: Likewise.
44493 * sysdeps/sh/_mcount.S: Likewise.
44495 2012-08-01 Roland McGrath <roland@hack.frob.com>
44497 * libio/iofopen.c: Include <fcntl.h>.
44498 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44499 (_IO_fopen64, fopen64): Define as aliases.
44500 * libio/iofopen64.c: Include <fcntl.h>.
44501 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44502 Conditionalize body on this.
44503 * sysdeps/wordsize-64/iofopen.c: File removed.
44504 * sysdeps/wordsize-64/iofopen64.c: File removed.
44506 2012-08-01 Marek Polacek <polacek@redhat.com>
44508 * libc/Makeconfig: Use elf in place of binfmt-subdir.
44509 Use dlfcn directly instead of a variable.
44510 (binfmt-subdir): Do not define.
44513 2012-08-01 Joseph Myers <joseph@codesourcery.com>
44515 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44516 Remove all definitions.
44517 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44518 <kernel-features.h>.
44519 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44520 (miss_F_GETOWN_EX): Remove all definitions.
44521 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44523 [!__ASSUME_FCNTL64]: Remove conditional code.
44524 [__ASSUME_FCNTL64]: Make code unconditional.
44525 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44526 <kernel-features.h>.
44527 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44528 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44529 (lockf64) [__NR_fcntl64]: Make code unconditional.
44530 (lockf64) [__ASSUME_FCNTL64]: Likewise.
44532 * sysdeps/unix/sysv/linux/kernel-features.h
44533 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44534 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44535 Make code unconditional.
44536 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44537 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44539 [__NR_vfork]: Make code unconditional.
44540 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44541 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44543 [__NR_vfork]: Make code unconditional.
44544 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44545 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44547 2012-08-01 Roland McGrath <roland@hack.frob.com>
44549 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44550 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44552 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44553 Define mkstemp64 as an alias.
44554 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44555 Define mkstemps64 as an alias.
44556 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44557 Define mkostemp64 as an alias.
44558 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44559 Define mkostemps64 as an alias.
44560 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44561 Conditionalize body on this.
44562 * misc/mkostemp64.c: Likewise.
44563 * misc/mkostemps64.c: Likewise.
44564 * misc/mkstemps64.c: Likewise.
44565 * sysdeps/wordsize-64/mkstemp64.c: File removed.
44566 * sysdeps/wordsize-64/mkostemp64.c: File removed.
44567 * sysdeps/wordsize-64/mkostemp.c: File removed.
44568 * sysdeps/wordsize-64/mkstemp.c: File removed.
44569 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44570 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44571 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44572 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44575 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44576 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44577 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44578 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44580 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44581 compat_symbol macros from <shlib-compat.h> rather than the underlying
44582 default_symbol_version and symbol_version macros, so that DEFAULT
44583 lines in shlib-versions are respected.
44584 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44586 2012-08-01 Florian Weimer <fweimer@redhat.com>
44588 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44589 Declare with warn_unused_result.
44590 (setgid, setregid, setegid, setresgid): Likewise.
44591 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44593 * WUR-REPORT: Remove set*id functions.
44595 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
44597 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44599 2012-07-31 Roland McGrath <roland@hack.frob.com>
44602 * include/sys/socket.h (__libc_accept, __libc_accept4):
44603 Add attribute_hidden.
44604 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44606 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44608 * inet/getnetgrent_r.c (setup): Likewise.
44610 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44612 2012-07-31 David S. Miller <davem@davemloft.net>
44614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44616 2012-07-31 Joseph Myers <joseph@codesourcery.com>
44619 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44620 value between 1.0 and 2.0 and smaller part has absolute value less
44622 * math/s_clog10.c (__clog10): Likewise.
44623 * math/s_clog10f.c (__clog10f): Likewise.
44624 * math/s_clog10l.c (__clog10l): Likewise.
44625 * math/s_clogf.c (__clogf): Likewise.
44626 * math/s_clogl.c (__clogl): Likewise.
44627 * math/libm-test.inc (clog_test): Add more tests.
44628 (clog10_test): Likewise.
44629 * sysdeps/i386/fpu/libm-test-ulps: Update.
44630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44632 2012-07-31 Florian Weimer <fweimer@redhat.com>
44634 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44635 Exit with zero in case no suitable GID is found, and write a
44636 message to standard error.
44638 2012-07-30 Roland McGrath <roland@hack.frob.com>
44640 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44642 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44643 (MAXPATHLEN): Removed.
44644 (NOGROUP, NODEV): New macros.
44645 (setbit, clrbit, isset, isclr): New macros.
44646 (howmany, roundup, powerof2): New macros.
44647 (DEV_BSIZE): New macro.
44649 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44650 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44652 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44653 definition on [!__NO_LONG_DOUBLE_MATH].
44655 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44656 PTR_MANGLE and PTR_DEMANGLE.
44658 * socket/accept4.c (accept4): Rename to __libc_accept4.
44659 Define accept4 as a weak alias.
44661 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44662 on [_DIRENT_HAVE_D_TYPE].
44663 * io/ftw.c (ftw_dir): Likewise.
44665 * io/xmknod.c (__xmknod): Don't check PATH for being null.
44667 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44669 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44670 Use the BSD numbers rather than the arbitrary ones we had.
44671 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44672 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44673 (SIGXCPU, SIGXFSZ): New macros.
44676 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44677 initializer on [_LIBC_REENTRANT].
44679 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44680 definitions inside [_POSIX_MAPPED_FILES].
44682 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44684 * dirent/opendir.c: Include <fcntl.h>.
44686 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44687 (__libc_getspecific): Likewise.
44688 (__libc_key_create): Likewise.
44690 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44691 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44692 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44693 (tmpfile64): Define as alias.
44694 * sysdeps/wordsize-64/tmpfile.c: File removed.
44695 * sysdeps/wordsize-64/tmpfile64.c: File removed.
44696 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44697 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44699 * stdio-common/vfscanf.c: Include <stdbool.h>.
44700 * nss/makedb.c: Likewise.
44701 * stdio-common/_i18n_number.h: Likewise.
44702 * argp/argp-help.c: Likewise.
44703 * posix/wordexp.c: Likewise.
44704 * sysdeps/posix/spawni.c: Likewise.
44705 * nss/nss_files/files-initgroups.c: Likewise.
44706 * stdio-common/reg-modifier.c: Include <stdlib.h>.
44707 * nss/nss_files/files-initgroups.c: Likewise.
44708 * nss/nss_db/db-netgrp.c: Likewise.
44709 * nss/nss_db/db-initgroups.c: Likewise.
44710 * io/fchmodat.c: Include <sys/stat.h>.
44712 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44713 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44715 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44718 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44719 Add multiple inclusion protection.
44721 2012-07-27 David S. Miller <davem@davemloft.net>
44723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44725 2012-07-27 Gary Benson <gbenson@redhat.com>
44728 * elf/rtld.c: Include <stap-probe.h>.
44729 (dl_main): Added static probes "init_start" and "init_complete".
44730 * elf/dl-load.c: Include <stap-probe.h>.
44731 (lose): Take new parameter "nsid".
44732 Added static probe "map_failed".
44733 (_dl_map_object_from_fd): Pass namespace id to lose.
44734 Added static probe "map_start".
44735 (open_verify): Pass namespace id to lose.
44736 * elf/dl-open.c: Include <stap-probe.h>.
44737 (dl_open_worker) Added static probes "map_complete", "reloc_start"
44738 and "reloc_complete".
44739 * elf/dl-close.c: Include <stap-probe.h>.
44740 (_dl_close_worker): Added static probes "unmap_start" and
44742 * elf/rtld-debugger-interface.txt: New file documenting the above.
44744 2012-07-26 Roland McGrath <roland@hack.frob.com>
44746 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44747 rather than a string variable.
44748 * sunrpc/rpc_main.c (h_output): Likewise.
44749 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44751 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
44753 * inet/check_native.c: New file.
44755 2012-07-26 Joseph Myers <joseph@codesourcery.com>
44758 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44759 if larger part has absolute value 1.0.
44760 * math/s_clog10.c (__clog10): Likewise.
44761 * math/s_clog10f.c (__clog10f): Likewise.
44762 * math/s_clog10l.c (__clog10l): Likewise.
44763 * math/s_clogf.c (__clogf): Likewise.
44764 * math/s_clogl.c (__clogl): Likewise.
44765 * math/libm-test.inc (clog_test): Add more tests.
44766 (clog10_test): Likewise.
44767 * sysdeps/i386/fpu/libm-test-ulps: Update.
44768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44770 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44771 (pltexit): Likewise.
44772 (La_regs): Likewise.
44773 (La_retval): Likewise.
44774 (int_retval): Likewise.
44775 Update #error for removed macros to refer only to definitions in
44777 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44779 (pltexit): Likewise.
44780 (La_regs): Likewise.
44781 (La_retval): Likewise.
44782 (int_retval): Likewise.
44783 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44785 (pltexit): Likewise.
44786 (La_regs): Likewise.
44787 (La_retval): Likewise.
44788 (int_retval): Likewise.
44789 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44791 (pltexit): Likewise.
44792 (La_regs): Likewise.
44793 (La_retval): Likewise.
44794 (int_retval): Likewise.
44795 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44797 (pltexit): Likewise.
44798 (La_regs): Likewise.
44799 (La_retval): Likewise.
44800 (int_retval): Likewise.
44801 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44803 (pltexit): Likewise.
44804 (La_regs): Likewise.
44805 (La_retval): Likewise.
44806 (int_retval): Likewise.
44807 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44809 (pltexit): Likewise.
44810 (La_regs): Likewise.
44811 (La_retval): Likewise.
44812 (int_retval): Likewise.
44813 * sysdeps/generic/tst-audit.h: Update comment to refer only to
44814 macro definitions in tst-audit.h.
44815 * sysdeps/i386/tst-audit.h: New file.
44816 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44817 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44818 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44819 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44820 * sysdeps/sh/tst-audit.h: Likewise.
44821 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44822 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44823 * sysdeps/x86_64/tst-audit.h: Likewise.
44825 2012-07-26 Andreas Jaeger <aj@suse.de>
44827 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44830 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44831 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44832 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44834 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44835 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44836 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44838 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44841 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44843 (si_call_addr, si_syscall, si_arch): Define new macro.
44844 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44846 (si_call_addr, si_syscall, si_arch): Define new marcro.
44847 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44849 (si_call_addr, si_syscall, si_arch): Define new macro.
44850 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44852 (si_call_addr, si_syscall, si_arch): Define new macro.
44854 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44857 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44858 Change to 2.4.21 where previously 2.4.1.
44859 * sysdeps/unix/sysv/linux/configure: Regenerated.
44860 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44861 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44862 Linux kernel version.
44863 (__ASSUME_STD_AUXV): Remove.
44864 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44866 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44867 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44868 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44869 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44870 (__ASSUME_NETLINK_SUPPORT): Likewise.
44871 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44872 (__no_netlink_support): Remove conditional definition.
44873 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44875 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44876 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44877 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44878 (if_nameindex_ioctl): Remove.
44879 (if_nameindex_netlink): Do not handle __no_netlink_support.
44880 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44882 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44883 Remove conditional code.
44884 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44886 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44888 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44889 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44890 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44892 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44893 [!__ASSUME_STD_AUXV]: Remove conditional code.
44894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44895 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44896 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44898 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44899 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44901 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44903 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44904 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44906 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44908 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44911 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44914 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44915 code unconditional.
44916 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44918 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44920 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44923 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44925 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44928 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44929 code unconditional.
44930 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44932 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44934 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44937 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44938 code unconditional.
44939 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44941 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44943 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44946 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
44948 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44949 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44950 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44951 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44952 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44953 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44954 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44955 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44956 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44957 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44958 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44959 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44960 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44961 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44962 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44963 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44964 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44965 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44966 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44968 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44969 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44970 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44972 2012-07-25 Florian Weimer <fweimer@redhat.com>
44974 * Versions.def: Add GLIBC_2.17.
44975 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44976 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44977 Introduce __libc_secure_getenv.
44978 * stdlib/Versions (2.17): Add secure_getenv
44979 (GLIBC_PRIVATE): Add __libc_secure_getenv.
44980 * stdlib/secure-getenv.c: Rename __secure_getenv to
44981 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
44982 symbol __secure_getenv for GLIBC_2.0.
44983 * stdlib/tst-secure-getenv.c: New.
44984 * stdlib/Makefile (tests): Add testcase.
44985 * manual/startup.texi (Environment Access): Document
44987 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44988 __libc_secure_getenv.
44989 * inet/ruserpass.c (ruserpass): Likewise.
44990 * malloc/mtrace.c (mtrace): Likewise.
44991 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44992 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44993 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44994 * sysdeps/posix/tempname.c: Likewise. Evaluate
44995 HAVE_SECURE_GETENV.
44996 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44997 __secure_getenv to __libc_secure_getenv.
44998 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45011 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45013 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45014 (struct La_i86_retval): Likewise.
45015 (struct La_x86_64_regs): Likewise.
45016 (struct La_x86_64_retval): Likewise.
45017 (struct La_x32_regs): Likewise.
45018 (struct La_x32_retval): Likewise.
45019 (struct La_ppc32_regs): Likewise.
45020 (struct La_ppc32_retval): Likewise.
45021 (struct La_ppc64_regs): Likewise.
45022 (struct La_ppc64_retval): Likewise.
45023 (struct La_sh_regs): Likewise.
45024 (struct La_sh_retval): Likewise.
45025 (struct La_s390_32_regs): Likewise.
45026 (struct La_s390_32_retval): Likewise.
45027 (struct La_s390_64_regs): Likewise.
45028 (struct La_s390_64_retval): Likewise.
45029 (struct La_sparc32_regs): Likewise.
45030 (struct La_sparc32_retval): Likewise.
45031 (struct La_sparc64_regs): Likewise.
45032 (struct La_sparc64_retval): Likewise.
45033 (struct audit_ifaces): Remove architecture-specific pltenter and
45035 * sysdeps/i386/ldsodefs.h: New file.
45036 * sysdeps/powerpc/ldsodefs.h: Likewise.
45037 * sysdeps/s390/ldsodefs.h: Likewise.
45038 * sysdeps/sh/ldsodefs.h: Likewise.
45039 * sysdeps/sparc/ldsodefs.h: Likewise.
45040 * sysdeps/x86_64/ldsodefs.h: Likewise.
45042 2012-07-25 Marek Polacek <polacek@redhat.com>
45045 * math/libm-test.inc (yn_test): Add another test.
45046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45047 to ERANGE when the result is +-Inf.
45048 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45049 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45050 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45051 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45053 2012-07-24 Joseph Myers <joseph@codesourcery.com>
45055 * conform/data/time.h-data (NULL): Use macro-constant. Require
45057 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
45059 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
45061 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
45063 * configure.in <sysdeps resolving>: Correct printing
45065 * configure: Regenerate.
45067 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
45069 * math/w_ilogb.c: Include <limits.h>.
45070 * math/w_ilogbl.c: Likewise.
45072 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45074 * manual/lang.texi (__va_copy): Document primarily as ISO C99
45075 va_copy. Document allowing for unavailable va_copy only as
45076 pre-C99 compatibility.
45077 * manual/string.texi (Copying and Concatenation): Use va_copy
45078 instead of __va_copy in concat example.
45080 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
45082 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45083 (__sendto): Use create_address_port. Initialize APORT and deallocate
45086 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45087 with O_NOLINK passed to __file_name_lookup.
45089 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45090 with O_NOLINK passed to __file_name_lookup.
45092 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45093 negative N or less than NGIDS.
45095 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45096 type to string_t. Set ERANGE as errno and return it if NAME is not big
45097 enough. Use memcpy instead of strncpy.
45099 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45101 * elf/Makefile (check-data): Remove.
45102 (localplt.data): New vpath directive.
45103 ($(objpfx)check-localplt.out): Use localplt.data from vpath
45104 instead of $(check-data).
45105 * scripts/data/localplt-generic.data: Move to ...
45106 * sysdeps/generic/localplt.data: ... here.
45107 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45108 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45109 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45112 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45115 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45118 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45121 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45124 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45128 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45130 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45131 PPC32 and PPC64 files.
45132 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45133 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45135 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45137 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45138 __makecontext_ret to ...
45139 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45140 ... here and call exit if uc_link is NULL. New file.
45141 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45142 __makecontext_ret.S.
45143 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45144 __makecontext_ret to ...
45145 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45146 ... here and call exit if uc_link is NULL. New file.
45147 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45148 __makecontext_ret.S.
45150 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45152 * elf/elf.h (R_390_IRELATIVE): New definition.
45153 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45154 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
45155 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45156 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45157 (elf_machine_lazy_rel): Likewise.
45158 * sysdeps/s390/dl-irel.h: New file.
45159 * sysdeps/s390/s390-64/memcpy.S: New asm code.
45160 * sysdeps/s390/s390-64/memset.S: New asm code.
45161 * sysdeps/s390/s390-64/memcmp.S: New asm code.
45162 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45163 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45164 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45165 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45166 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45167 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45168 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45169 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45170 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45171 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45172 * sysdeps/s390/s390-32/memcpy.S: New asm code.
45173 * sysdeps/s390/s390-32/memset.S: New asm code.
45174 * sysdeps/s390/s390-32/memcmp.S: New asm code.
45176 2012-07-17 Marek Polacek <polacek@redhat.com>
45179 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45180 * sysdeps/s390/s390-64/configure.in: Likewise.
45181 * sysdeps/sparc/configure.in: Likewise.
45182 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45183 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45184 * sysdeps/i386/configure.in: Likewise.
45185 * sysdeps/x86_64/configure.in: Likewise.
45186 * sysdeps/sh/configure.in: Likewise.
45187 * sysdeps/s390/s390-32/configure: Regenerated.
45188 * sysdeps/s390/s390-64/configure: Likewise.
45189 * sysdeps/x86_64/configure: Likewise.
45190 * sysdeps/sh/configure: Likewise.
45191 * sysdeps/powerpc/powerpc64/configure: Likewise.
45192 * sysdeps/powerpc/powerpc32/configure: Likewise.
45193 * sysdeps/sparc/configure: Likwise.
45194 * sysdeps/i386/configure: Likewise.
45196 * elf/dl-open.c: Comment fixes.
45198 2012-07-17 Joseph Myers <joseph@codesourcery.com>
45200 * Makefile [CXX] (check-data): Remove.
45201 [CXX] (c++-types.data): New vpath directive.
45202 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45203 vpath. Do not allow for C++ type data being missing.
45204 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45205 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45206 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45207 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45208 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45209 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45210 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45213 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45216 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45219 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45222 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45225 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45228 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45231 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45234 * elf/tls-macros.h (TLS_LE): Move architecture-specific
45235 definitions to architecture-specific files.
45236 (TLS_IE): Likewise.
45237 (TLS_LD): Likewise.
45238 (TLS_GD): Likewise.
45239 * sysdeps/i386/tls-macros.h: New file.
45240 * sysdeps/powerpc/tls-macros.h: Likewise.
45241 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45242 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45243 * sysdeps/sh/tls-macros.h: Likewise.
45244 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45245 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45246 * sysdeps/x86_64/tls-macros.h: Likewise.
45248 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45250 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45251 zero value for regular exit case.
45253 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45254 (__start_context): Preserve zero value for regular exit case.
45256 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45257 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45259 * manual/setjmp.texi (setcontext): Clarify normal process
45260 termination when uc_link is the null pointer.
45261 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45264 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
45266 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45267 preprocessor. Test for each exception mask separately.
45269 2012-07-16 Andreas Jaeger <aj@suse.de>
45271 * po/ru.po: Update from translation team.
45273 2012-07-15 Joseph Myers <joseph@codesourcery.com>
45275 * conform/data/string.h-data (NULL): Use macro-constant. Require
45277 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45278 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45279 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45280 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45281 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45283 2012-07-13 Andreas Jaeger <aj@suse.de>
45285 * po/fr.po: Update from translation team.
45287 2012-07-12 Marek Polacek <polacek@redhat.com>
45290 * math/libm-test.inc (yn_test): Add test for BZ #14173.
45291 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45294 2012-07-12 Joseph Myers <joseph@codesourcery.com>
45297 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45298 Change to 2.4.1 where previously 2.4.0.
45299 * sysdeps/unix/sysv/linux/configure: Regenerated.
45300 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45301 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45303 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45304 (__ASSUME_AT_CLKTCK): Remove.
45305 (__ASSUME_AT_PAGESIZE): Likewise.
45306 (__ASSUME_AT_XID): Likewise.
45307 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45308 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45309 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45311 (HAVE_AUX_PAGESIZE): Likewise.
45312 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45313 [__ASSUME_AT_CLKTCK]: Make code unconditional.
45314 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45316 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
45319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45320 the temporary buffer used to invoke __gethostbyname2_r,
45321 __gethostbyaddr_r and gethostbyname4_r to make room for struct
45322 host_data / struct gaih_addrtuple.
45323 * resolv/nss_dns/dns-host.c (global scope): Move definition of
45324 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45325 header file nss/nsswitch.h.
45326 * nss/nsswitch.h (global scope): Add definition of implementation
45327 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45328 resolv/nss_dns/dns-host.c).
45330 2012-07-11 Andreas Jaeger <aj@suse.de>
45332 * po/fr.po: Update from translation team.
45334 * po/sv.po: Update from translation team
45335 * po/fr.po: Another update from translation team.
45337 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45339 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45340 for subnormals or multiply small sinh result by itself.
45341 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45344 2012-07-11 David S. Miller <davem@davemloft.net>
45346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45348 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
45351 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45352 (INTERNAL_MARK): Shift it here.
45354 2012-07-10 Marek Polacek <polacek@redhat.com>
45357 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
45358 libc_cv_asm_global_directive with .globl.
45359 * configure: Regenerated.
45360 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45362 * sysdeps/i386/configure: Regenerated.
45363 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45365 * sysdeps/x86_64/configure: Regenerated.
45366 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45367 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45368 * elf/tst-unique2mod2.c: Likewise.
45369 * elf/tst-unique2mod1.c: Likewise.
45370 * elf/tst-unique1mod2.c: Likewise.
45371 * elf/tst-unique1mod1.c: Likewise.
45372 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45373 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45374 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45375 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45376 * sysdeps/mach/sysdep.h: Likewise.
45377 * sysdeps/i386/sysdep.h: Likewise.
45378 * sysdeps/i386/i386-mcount.S: Likewise.
45379 * sysdeps/x86_64/_mcount.S: Likewise.
45380 * sysdeps/x86_64/sysdep.h: Likewise.
45381 * sysdeps/sh/_mcount.S: Likewise.
45382 * sysdeps/sh/sysdep.h: Likewise.
45383 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45384 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45385 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45386 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45387 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45388 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45389 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45390 * locale/localeinfo.h: Likewise.
45391 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45392 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45394 2012-07-09 Roland McGrath <roland@hack.frob.com>
45397 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45399 * manual/message.texi (The Uniforum approach): Likewise.
45400 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45401 (glibc iconv Implementation): Likewise.
45403 2012-07-09 Joseph Myers <joseph@codesourcery.com>
45406 * math/s_clog.c (__clog): Avoid scaling a value down where that
45407 could result in underflow.
45408 * math/s_clog10.c (__clog10): Likewise.
45409 * math/s_clog10f.c (__clog10f): Likewise.
45410 * math/s_clog10l.c (__clog10l): Likewise.
45411 * math/s_clogf.c (__clogf): Likewise.
45412 * math/s_clogl.c (__clogl): Likewise.
45413 * math/libm-test.inc (clog_test): Add more tests.
45414 (clog10_test): Likewise.
45415 * sysdeps/i386/fpu/libm-test-ulps: Update.
45416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45418 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
45421 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45422 by 7 not 8 to examine high bit of fractional part.
45425 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45426 for call to __mcount_internal.
45427 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45428 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45429 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45431 2012-07-06 Joseph Myers <joseph@codesourcery.com>
45434 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45435 approximation for values within 0x1p-13f of an odd multiple of
45437 * math/libm-test.inc (tan_test): Do not allow spurious underflow
45438 exception. Add more tests.
45439 * sysdeps/i386/fpu/libm-test-ulps: Update.
45442 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45443 inputs and return -1 for them. Do not check for +Inf in case not
45444 reachable for +Inf.
45445 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45446 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45447 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45448 and return -1 for them. Do not check for +Inf in case not
45449 reachable for +Inf.
45450 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45452 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45453 and return -1 for them. Do not check for +Inf in case not
45454 reachable for +Inf.
45455 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
45456 spurious underflow.
45457 * sysdeps/i386/fpu/libm-test-ulps: Update.
45458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45460 2012-07-06 Mike Frysinger <vapier@gentoo.org>
45462 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45464 2012-07-05 Joseph Myers <joseph@codesourcery.com>
45468 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45469 could result in spurious underflow. Scale down values above
45470 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45471 * math/s_csqrtf.c (__csqrtf): Likewise.
45472 * math/s_csqrtl.c (__csqrtl): Likewise.
45473 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
45474 spurious underflow.
45475 * sysdeps/i386/fpu/libm-test-ulps: Update.
45476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45478 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
45480 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45482 * catgets/xopen-msg.awk: New file.
45483 * catgets/xopen-msg.sed: Removed.
45485 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45487 * intl/po2test.awk: New file.
45488 * intl/po2test.sed: Removed.
45490 2012-07-04 Joseph Myers <joseph@codesourcery.com>
45493 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45494 or multiply small sinh result by itself.
45495 * math/s_ctanf.c (__ctanf): Likewise.
45496 * math/s_ctanh.c (__ctanh): Likewise.
45497 * math/s_ctanhf.c (__ctanhf): Likewise.
45498 * math/s_ctanhl.c (__ctanhl): Likewise.
45499 * math/s_ctanl.c (__ctanl): Likewise.
45500 * math/libm-test.inc (ctan_test_tonearest): New function.
45501 (ctan_test_towardzero): Likewise.
45502 (ctan_test_downward): Likewise.
45503 (ctan_test_upward): Likewise.
45504 (ctanh_test_tonearest): Likewise.
45505 (ctanh_test_towardzero): Likewise.
45506 (ctanh_test_downward): Likewise.
45507 (ctanh_test_upward): Likewise.
45508 (main): Call these new functions.
45509 * sysdeps/i386/fpu/libm-test-ulps: Update.
45510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45512 2012-07-03 Mike Frysinger <vapier@gentoo.org>
45514 * .gitignore: Delete /ports entry.
45516 2012-07-03 Andreas Jaeger <aj@suse.de>
45518 * po/bg.po: Update from translation team.
45519 * po/cs.po: Likewise.
45520 * po/de.po: Likewise.
45521 * po/hr.po: Likewise.
45522 * po/nl.pl: Likewise.
45523 * po/pl.po: Likewise.
45524 * po/vi.po: Likewise.
45526 2012-07-03 Joseph Myers <joseph@codesourcery.com>
45528 * Makeconfig [!+link] (+link-before-libc): New variable.
45529 [!+link] (+link-after-libc): Likewise.
45530 [!+link] (+link-tests): Likewise.
45531 [!+link] (+link): Define in terms of $(+link-before-libc) and
45532 $(+link-after-libc).
45533 [!+link-static] (+link-static-before-libc): New variable.
45534 [!+link-static] (+link-static-after-libc): Likewise.
45535 [!+link-static] (+link-static-tests): Likewise.
45536 [!+link-static] (+link-static): Define in terms of
45537 $(+link-static-before-libc) and $(+link-static-after-libc).
45538 [build-shared] (link-libc-before-gnulib): New variable.
45539 [build-shared] (link-libc-tests): Likewise.
45540 [build-shared] (link-libc): Define in terms of
45541 $(link-libc-before-gnulib).
45542 [!build-shared] (link-libc-tests): New variable.
45543 (link-libc-static-tests): New variable.
45544 [!gnulib] (gnulib-arch): New variable.
45545 [!gnulib] (gnulib-tests): Likewise.
45546 [!gnulib] (static-gnulib-arch): Likewise.
45547 [!gnulib] (static-gnulib-tests): Likewise.
45548 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
45549 Define with "=" instead of ":=".
45550 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
45551 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
45552 * Rules (binaries-all-notests): New variable.
45553 (binaries-all-tests): Likewise.
45554 (binaries-static-notests): Likewise.
45555 (binaries-static-tests): Likewise.
45556 (binaries-all): Define using $(binaries-all-notests) and
45557 $(binaries-all-tests).
45558 (binaries-static): Define using $(binaries-static-notests) and
45559 $(binaries-static-tests).
45560 (binaries-shared-tests): New variable.
45561 (binaries-shared-notests): Likewise.
45562 (binaries-shared): Remove variable.
45563 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45564 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45565 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45566 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45567 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45568 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45569 * elf/Makefile (sln-modules): New variable.
45570 (extra-objs): Add $(sln-modules:=.o).
45571 (ldconfig-modules): Add static-stubs.
45572 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45573 * elf/static-stubs.c: New file.
45576 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45577 by 7 not 8 to examine high bit of fractional part. Use volatile
45578 variables when splitting into final array of floats if
45579 __FLT_EVAL_METHOD__ != 0.
45580 * math/libm-test.inc (cos_test): Add another test.
45581 (sin_test): Likewise.
45582 * sysdeps/i386/fpu/libm-test-ulps: Update.
45585 * math/libm-test.inc (cosh_test): Add more tests.
45587 * version.h (RELEASE): Set to "development".
45588 (VERSION): Set to "2.16.90".
45590 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
45592 * NEWS: Update copyright. Remove last-updated date.
45593 Mention math library bug fixes and timezone data changes.
45594 * README: Mention GNU/Hurd, x32, and HPPA support status.
45596 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
45598 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45600 2012-06-27 Andreas Jaeger <aj@suse.de>
45602 * manual/contrib.texi (Contributors): Add Samuel Thibault.
45604 2012-06-25 Andreas Jaeger <aj@suse.de>
45606 * sysdeps/s390/fpu/libm-test-ulps: Update.
45608 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
45609 Thomas Schwinge <thomas@codesourcery.com>
45611 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45612 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45613 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45616 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
45618 * sysdeps/mach/start.c: Remove file.
45619 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45620 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45621 * sysdeps/sh/init-first.c: Likewise.
45623 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45624 registers for frame unwinding purposes, add CFI directives.
45625 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45626 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45627 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45630 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45631 __fortify_fail returning.
45632 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45634 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45635 sysdeps/sh/____longjmp_chk.S.
45636 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45637 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45638 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45639 (gen-as-const-headers): Append sigaltstack-offsets.sym.
45641 * sysdeps/sh/abort-instr.h: New file.
45642 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45643 process in case exit returns.
45645 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45646 initialize the GOT register before use.
45648 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45649 calculation of ARGC > 4.
45651 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45652 meaningful names to some local labels.
45654 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45655 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45657 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45658 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45659 (__arch_compare_and_exchange_val_16_acq): Likewise.
45660 (__arch_compare_and_exchange_val_32_acq): Likewise.
45661 (atomic_exchange_and_add): Fix gUSA sequence.
45662 (atomic_add): Likewise.
45663 (atomic_add_negative): Likewise.
45664 (atomic_add_zero): Likewise.
45665 (atomic_bit_test_set): Likewise.
45667 2012-06-22 Andreas Schwab <schwab@redhat.com>
45670 * include/link.h (struct link_map): Add l_free_initfini.
45671 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45673 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45674 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45675 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45678 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
45680 * configure.in: Use AC_LANG_SOURCE.
45681 * configure: Regenerate.
45683 2012-06-22 Roland McGrath <roland@hack.frob.com>
45685 * configure.in (libc_cv_localstatedir): New substituted variable.
45686 * configure: Regenerated.
45687 * config.make.in (localstatedir): New variable, substituted from
45688 libc_cv_localstatedir.
45689 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45690 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45691 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45692 * sysdeps/gnu/configure: Regenerated.
45694 2012-06-21 Jeff Law <law@redhat.com>
45697 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45698 free. Simplify list management for _LIBC case.
45700 2012-06-21 Joseph Myers <joseph@codesourcery.com>
45703 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45704 Clear sign bit of 64-bit integer value before comparing against
45707 * sysdeps/mach/configure: Regenerated.
45709 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
45712 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45714 2012-06-21 Jeff Law <law@redhat.com>
45717 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
45718 uint16_t for elements in the "seen" array to avoid char overflows.
45719 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45720 * elf/dl-open.c (dl_open_worker): Likewise.
45722 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
45724 * scripts/list-sources.sh: Scan PORTS for translations.
45725 * po/libc.pot: Regenerated.
45727 2012-06-21 Andreas Jaeger <aj@suse.de>
45730 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45732 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45733 * bits/byteswap-16.h (__bswap_16): Likewise.
45734 * bits/byteswap.h (__bswap_constant_16): Likewise.
45736 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
45739 * sysdeps/i386/fpu_control.h: Removed.
45740 * sysdeps/x86_64/fpu_control.h: Moved to ...
45741 * sysdeps/x86/fpu_control.h: Here.
45743 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45744 (_FPU_SETCW): Likewise.
45746 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
45749 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45750 * sysdeps/x86/fpu/bits/mathinline.h: This.
45751 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45755 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45756 functions if __x86_64__ is defined.
45758 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
45760 * string/endian.h: Add !__ASSEMBLER__ condition for including
45761 conversion interfaces.
45763 2012-06-15 Joseph Myers <joseph@codesourcery.com>
45766 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45767 of ABS(x) in calculating zero to negative powers other than odd
45769 * math/libm-test.inc (pow_test): Add more tests.
45771 2012-06-15 Andreas Jaeger <aj@suse.de>
45773 * manual/contrib.texi (Contributors): Update entry of Liubov
45774 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45777 2012-06-15 Cyril Hrubis <metan@ucw.cz>
45779 * string/string.h: Add __wur to GNU version of strerror_r.
45781 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
45784 * string/Makefile (tests): Add tst-strtok_r.
45785 * string/tst-strtok_r.c: New file.
45786 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45787 RAX_LP/RDX_LP on SAVE_PTR.
45789 2012-06-14 Roland McGrath <roland@hack.frob.com>
45791 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45793 2012-06-14 Joseph Myers <joseph@codesourcery.com>
45795 * libm_test.inc (csqrt_test): Allow more spurious underflow
45797 (j0_test): Likewise.
45798 (j1_test): Likewise.
45799 (y0_test): Likewise.
45800 (y1_test): Likewise.
45802 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
45804 * po/Makefile (libc.pot): Use UTF-8 charset.
45806 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
45809 Suppress sign-conversion warning from FD_SET.
45810 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45811 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45812 not unsigned long int.
45813 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45815 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
45819 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45820 __extern_always_inline instead of __extern_inline.
45821 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45822 (__signbit): Likewise.
45823 (__signbitl): Support C++ namespace.
45824 (lrintf): New inline function.
45826 (llrintf): Likewise.
45827 (llrint): Likewise.
45837 (floorf): Likewise.
45838 (nearbyint): Likewise.
45839 (nearbyintf): Likewise.
45841 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
45843 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45844 non-default versions.
45846 2012-06-11 Roland McGrath <roland@hack.frob.com>
45849 * manual/argp.texi (Argp): Reword argp_parse description slightly.
45851 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
45853 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45854 (FE_UPWARD, FE_DOWNWARD): Don't define.
45855 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45856 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45858 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45860 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45861 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45863 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45865 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45866 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45867 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45868 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45870 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
45873 * sysdeps/i386/fpu/bits/fenv.h: Removed.
45874 * sysdeps/i386/fpu/Implies: New file.
45875 * sysdeps/x86_64/fpu/Implies: Likewise.
45876 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45877 * sysdeps/x86/fpu/bits/fenv.h: This.
45879 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45882 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45885 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45886 character 0xffff that matches the last element of the
45889 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45891 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45894 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45896 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45897 values higher than 25.6283.
45899 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45901 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45902 subnormal exponent extraction and add some __builtin_expect.
45903 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45904 Fix for subnormal mantissa calculation.
45906 2012-06-04 Mike Frysinger <vapier@gentoo.org>
45908 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45909 cpu2 is -1 and errno is not ENOSYS.
45911 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
45914 * sysdeps/i386/i486/bits/string.h: Renamed to ...
45915 * sysdeps/x86/bits/string.h: This.
45916 * sysdeps/x86_64/bits/string.h: Removed.
45918 * sysdeps/i386/i486/bits/string.h: Define inline functions only
45919 if not compiling for x86-64, but compiling for >= i486.
45921 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45922 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45924 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45925 New macro from Linux kernel 3.4.0.
45926 (FP_XSTATE_MAGIC2): Likewise.
45927 (FP_XSTATE_MAGIC2_SIZE): Likewise.
45928 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45929 (struct _fpx_sw_bytes): New struct.
45930 (struct _xsave_hdr): Likewise.
45931 (struct _ymmh_state): Likewise.
45932 (struct _xstate): Likewise.
45934 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45935 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45936 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45937 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45938 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45939 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45941 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45942 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45943 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45944 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45945 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45946 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45948 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45951 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45952 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45953 (sysdep_headers): Include sys/platform/ppc.h.
45954 * sysdeps/powerpc/test-gettimebase.c: Test for
45955 __ppc_get_timebase() to catch future ISA opcode/insn changes.
45956 * manual/Makefile (appendices): Include platform.texi.
45957 * manual/contrib.texi (Contributors): Update @node pointers.
45958 * manual/maint.texi (Maintenance): Likewise.
45959 (Platform): New node.
45960 * manual/platform.texi: New file. Document the new features.
45962 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45963 Jakub Jelinek <jakub@redhat.com>
45966 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45967 where __builtin_expect is unavailable.
45969 2012-06-03 David S. Miller <davem@davemloft.net>
45971 * stdlib/longlong.h: Updated from GCC.
45973 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
45976 * sysdeps/powerpc/powerpc32/mcount.c: New file.
45977 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45980 (GLIBC_2.16): Likewise.
45982 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45984 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45986 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45989 (default-abi): New variable.
45990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45991 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45993 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45995 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45997 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46000 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46001 definition. Document in comment.
46003 2012-06-01 David S. Miller <davem@davemloft.net>
46005 * stdlib/longlong.h: Updated from GCC.
46007 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46010 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46011 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46012 sys/debugreg.h sys/io.h here.
46013 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46014 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46016 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46017 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46018 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46019 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46020 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46021 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46023 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46024 Define only if __x86_64__ is defined.
46026 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46029 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46030 Use int64_t for variable i.
46031 * math/libm-test.inc (fmod_test): Add more tests.
46033 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46034 z computation is not scheduled after fetestexcept.
46035 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46036 Use math_force_eval instead of asm to ensure calculation scheduled
46037 before exception test.
46038 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46039 Ensure a1 + u.d computation is not scheduled after fetestexcept.
46041 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
46043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46044 computation is not scheduled after fetestexcept.
46046 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46049 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46050 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46052 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46054 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46055 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46057 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46060 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46062 (__WCHAR_MIN): Support __WORDSIZE == 64.
46063 (__WCHAR_MAX): Likewise.
46065 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46066 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46069 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46070 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46073 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46074 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46076 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46077 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46079 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46080 Defined to 1 if __x86_64__ isn't defined.
46081 (_STAT_VER_LINUX_OLD): New.
46082 (st_atime): Remove duplicate.
46083 (st_mtime): Likewise.
46084 (st_ctime): Likewise.
46086 2012-05-31 David S. Miller <davem@davemloft.net>
46088 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46091 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
46093 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46097 * elf/dl-reloc.c: Include <_itoa.h>.
46098 (_dl_reloc_bad_type): Remove use of INTUSE.
46099 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46100 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46101 * stdio-common/psiginfo.c (psiginfo): Likewise.
46102 * stdio-common/psignal.c (psignal): Likewise.
46103 * string/strsignal.c (strsignal): Likewise.
46104 * include/signal.h (_sys_siglist): Declare hidden proto.
46105 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
46106 INTVARDEF with libc_hidden_data_def.
46107 * stdio-common/itoa-udigits.c: Likewise.
46108 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46109 (_itoa_lower_digits_internal): Remove declaration.
46110 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46111 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46112 (_sys_sigabbrev_internal): Remove aliases.
46113 (_sys_siglist): Define hidden alias.
46115 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
46117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46120 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46123 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46124 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46126 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46127 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46128 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46129 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46130 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46131 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46133 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46134 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46135 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46137 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46145 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46146 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46147 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46149 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46150 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46151 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46152 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46153 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46154 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46156 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46157 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46159 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46160 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46162 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46163 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46164 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46166 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46167 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46169 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46171 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46172 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46173 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46175 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46177 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46179 2012-05-31 Joseph Myers <joseph@codesourcery.com>
46181 * math/math.h (M_El): Use two more decimal places.
46182 (M_LOG2El): Likewise.
46183 (M_LOG10El): Likewise.
46184 (M_LN2l): Likewise.
46185 (M_LN10l): Likewise.
46187 (M_PI_2l): Likewise.
46188 (M_PI_4l): Likewise.
46189 (M_1_PIl): Likewise.
46190 (M_2_PIl): Likewise.
46191 (M_2_SQRTPIl): Likewise.
46192 (M_SQRT2l): Likewise.
46193 (M_SQRT1_2l): Likewise.
46195 2012-05-31 David S. Miller <davem@davemloft.net>
46197 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46198 values between float registers.
46199 * sysdeps/sparc/sparc64/memset.S: Likewise.
46200 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46202 2012-05-31 Mike Frysinger <vapier@gentoo.org>
46204 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46205 -D_FORTIFY_SOURCE=1.
46206 (CPPFLAGS-tst-longjmp_chk.c): Define.
46207 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46208 (CPPFLAGS-tst-longjmp_chk2.c): Define.
46209 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46210 CFLAGS-tst-wchar-h.c.
46212 2012-05-31 Marek Polacek <polacek@redhat.com>
46215 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46216 __endmntent_internal): Remove declaration.
46217 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46218 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46219 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46221 2012-05-30 David S. Miller <davem@davemloft.net>
46223 * sysdeps/sparc/sparc32/soft-fp/q_util.c
46224 (___Q_simulate_exceptions): Use real FP ops rather than writing
46226 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46229 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46232 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46233 * sysdeps/x86/bits/xtitypes.h: This.
46235 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46236 * sysdeps/x86/bits/wordsize.h: This.
46238 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46239 * sysdeps/x86/bits/huge_vall.h: This.
46241 * sysdeps/i386/bits/select.h: Removed.
46242 * sysdeps/x86_64/bits/select.h: Renamed to ...
46243 * sysdeps/x86/bits/select.h: This.
46245 * sysdeps/i386/bits/setjmp.h: Removed.
46246 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46247 * sysdeps/x86/bits/setjmp.h: This.
46249 * sysdeps/i386/bits/mathdef.h: Removed.
46250 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46251 * sysdeps/x86/bits/mathdef.h: This.
46253 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
46256 * include/sys/socket.h (__connect_internal)
46257 (__libc_sa_len_internal): Remove declaration.
46258 (__connect, __libc_sa_len): Declare hidden_proto.
46259 (SA_LEN): Remove use of INTUSE.
46260 * socket/connect.c: Add libc_hidden_def.
46261 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46262 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46263 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46265 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46266 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46267 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46268 of adding _internal alias.
46270 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46273 * sysdeps/i386/bits/link.h: Removed.
46274 * sysdeps/i386/bits/linkmap.h: Likewise.
46275 * sysdeps/x86_64/bits/link.h: Renamed to ...
46276 * sysdeps/x86/bits/link.h: This.
46277 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46278 * sysdeps/x86/bits/linkmap.h: This.
46280 * sysdeps/i386/bits/endian.h: Removed.
46281 * sysdeps/x86_64/bits/endian.h: Renamed to ...
46282 * sysdeps/x86/bits/endian.h: This.
46284 * sysdeps/i386/bits/byteswap.h: Removed.
46285 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46286 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46287 * sysdeps/x86/bits/byteswap.h: This.
46288 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46289 * sysdeps/x86/bits/byteswap-16.h: This.
46290 * sysdeps/i386/Implies: Add x86.
46291 * sysdeps/x86_64/Implies: Likewise.
46293 2012-05-30 David S. Miller <davem@davemloft.net>
46295 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46296 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46297 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46298 (FP_TRAPPING_EXCEPTIONS): Define.
46299 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46300 (FP_TRAPPING_EXCEPTIONS): Define.
46301 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46302 subnormals only when inexact has been signalled or underflow
46303 exceptions are enabled.
46304 (_FP_PACK_CANONICAL): Likewise.
46306 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46309 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46310 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46312 2012-05-30 Richard Henderson <rth@twiddle.net>
46314 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46315 with #ifndef NOT_IN_libc.
46317 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
46318 marked to avoid plt entry.
46320 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46323 * Makeconfig (default-abi): New macro.
46324 (abi-includes): Likewise.
46325 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
46326 $(abi-$(default-abi)-lib-soname) for soname if defined.
46327 ($(common-objpfx)gnu/lib-names.stmp): Generate from
46329 * Makefile (installed-stubs): Likewise.
46330 * include/stubs-biarch.h: Removed.
46331 * scripts/lib-names.awk: Only handle one library at a time.
46332 * scripts/soversions.awk: Remove WORDSIZE support.
46333 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46335 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46337 (syscall-list-default-condition): Likewise.
46338 (syscall-list-default-condition): Likewise.
46339 (syscall-list-includes): Likewise.
46340 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46341 syscall-list-* with abi-*. Handle undefined abi-variants.
46342 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46343 * sysdeps/unix/sysv/linux/i386/Implies: New file.
46344 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46345 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46346 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46347 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46349 (syscall-list-32-options): Likewise.
46350 (syscall-list-32-condition): Likewise.
46351 (syscall-list-64-options): Likewise.
46352 (syscall-list-64-condition): Likewise.
46353 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46355 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46358 (abi-64-ld-soname): New macro.
46359 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46360 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46363 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46364 * sysdeps/x86_64/x32/shlib-versions: Likewise.
46366 2012-05-30 Joseph Myers <joseph@codesourcery.com>
46368 * sysdeps/unix/sysv/linux/kernel-features.h
46369 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46370 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46371 include <kernel-features.h>.
46372 [!__NR_ftruncate64]: Remove conditional code.
46373 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46374 [__NR_ftruncate64]: Make code unconditional.
46375 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46376 * sysdeps/unix/sysv/linux/truncate64.c: Do not
46377 include <kernel-features.h>.
46378 [!__NR_ftruncate64]: Remove conditional code.
46379 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46380 [__NR_ftruncate64]: Make code unconditional.
46381 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46383 include <kernel-features.h>.
46384 [!__NR_ftruncate64]: Remove conditional code.
46385 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46386 [__NR_ftruncate64]: Make code unconditional.
46387 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46389 include <kernel-features.h>.
46390 [!__NR_ftruncate64]: Remove conditional code.
46391 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46392 [__NR_ftruncate64]: Make code unconditional.
46393 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46395 * configure.in (libc_cv_fpie): Weaken to a compile test using
46396 LIBC_TRY_CC_OPTION.
46397 * configure: Regenerated.
46399 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46414 2012-05-27 David S. Miller <davem@davemloft.net>
46416 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46418 (__Q_simulate_exceptions): Return void. Change to simulate
46419 exceptions by writing into the %fsr.
46420 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46421 (__Qp_handle_exceptions): Likewise.
46423 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46424 __Qp_handle_exceptions.
46425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46426 __Qp_handle_exceptions.
46427 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46428 as unused and give dummy FP_RND_NEAREST initializer.
46429 (FP_INHIBIT_RESULTS): Define.
46430 (___Q_simulate_exceptions): Update declaration.
46431 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46433 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46434 as unused and give dummy FP_RND_NEAREST initializer.
46435 (__Qp_handle_exceptions): Update declaration.
46436 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46439 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
46441 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46442 the temporary FPU control word.
46443 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46444 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46445 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46446 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46447 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46448 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46449 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46450 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46451 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46452 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46453 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46455 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46457 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46460 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
46462 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46463 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46464 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46465 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46467 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46468 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46471 2012-05-27 Ulrich Drepper <drepper@gmail.com>
46473 * po/h.po: Update from translation team.
46475 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
46477 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46479 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46480 handling of denormals.
46481 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46482 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46483 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46484 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46485 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46486 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46487 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46490 2012-05-26 Marek Polacek <polacek@redhat.com>
46493 * math/libm-test.inc (fma_test): Don't always expect underflow
46496 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46499 * elf/tst-execstack.c: Include stackinfo.h.
46500 (do_test): Adjust test case to ensure that pthread_getattr_np
46501 behaviour remains the same after marking stack executable.
46503 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46505 * sysdeps/unix/sysv/linux/kernel-features.h
46506 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46507 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46509 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46510 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46511 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46513 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46514 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46516 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
46518 * configure.in: Define the default includes to being none.
46519 * configure: Regenerated.
46521 2012-05-25 Roland McGrath <roland@hack.frob.com>
46523 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46524 * sysdeps/x86_64/setjmp.S: Likewise.
46525 * sysdeps/i386/bsd-setjmp.S: Likewise.
46526 * sysdeps/i386/bsd-_setjmp.S: Likewise.
46527 * sysdeps/i386/setjmp.S: Likewise.
46528 * sysdeps/i386/__longjmp.S: Likewise.
46529 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46530 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46532 * include/stap-probe.h: New file.
46533 * configure.in: Handle --enable-systemtap.
46534 * configure: Regenerated.
46535 * config.h.in (USE_STAP_PROBE): New #undef.
46536 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46537 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46538 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46540 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46543 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46544 to 2.4.0 where earlier.
46545 * sysdeps/unix/sysv/linux/configure: Regenerated.
46546 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46547 <kernel-features.h>.
46548 [__ASSUME_32BITUIDS]: Make code unconditional.
46549 [!__ASSUME_32BITUIDS]: Remove conditional code.
46550 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46551 <kernel-features.h>.
46552 [__ASSUME_32BITUIDS]: Make code unconditional.
46553 [!__ASSUME_32BITUIDS]: Remove conditional code.
46554 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46555 [__ASSUME_32BITUIDS]: Make code unconditional.
46556 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46557 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46558 <kernel-features.h>.
46559 [__ASSUME_32BITUIDS]: Make code unconditional.
46560 [!__ASSUME_32BITUIDS]: Remove conditional code.
46561 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46562 <kernel-features.h>.
46563 [__ASSUME_32BITUIDS]: Make code unconditional.
46564 [!__ASSUME_32BITUIDS]: Remove conditional code.
46565 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46566 <kernel-features.h>.
46567 [__ASSUME_32BITUIDS]: Make code unconditional.
46568 [!__ASSUME_32BITUIDS]: Remove conditional code.
46569 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46570 <kernel-features.h>.
46571 [__ASSUME_32BITUIDS]: Make code unconditional.
46572 [!__ASSUME_32BITUIDS]: Remove conditional code.
46573 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46574 <kernel-features.h>.
46575 [__ASSUME_32BITUIDS]: Make code unconditional.
46576 [!__ASSUME_32BITUIDS]: Remove conditional code.
46577 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46578 <kernel-features.h>.
46579 [__ASSUME_32BITUIDS]: Make code unconditional.
46580 [!__ASSUME_32BITUIDS]: Remove conditional code.
46581 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46582 <kernel-features.h>.
46583 [__ASSUME_32BITUIDS]: Make code unconditional.
46584 [!__ASSUME_32BITUIDS]: Remove conditional code.
46585 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46586 <kernel-features.h>.
46587 [__ASSUME_32BITUIDS]: Make code unconditional.
46588 [!__ASSUME_32BITUIDS]: Remove conditional code.
46589 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46590 <kernel-features.h>.
46591 [__ASSUME_32BITUIDS]: Make code unconditional.
46592 [!__ASSUME_32BITUIDS]: Remove conditional code.
46593 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46594 <kernel-features.h>.
46595 [__ASSUME_32BITUIDS]: Make code unconditional.
46596 [!__ASSUME_32BITUIDS]: Remove conditional code.
46597 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46598 <kernel-features.h>.
46599 [__NR_setresgid] (__setresgid): Do not declare.
46600 [__ASSUME_32BITUIDS]: Make code unconditional.
46601 [!__ASSUME_32BITUIDS]: Remove conditional code.
46602 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46603 <kernel-features.h>.
46604 [__NR_setresuid] (__setresuid): Do not declare.
46605 [__ASSUME_32BITUIDS]: Make code unconditional.
46606 [!__ASSUME_32BITUIDS]: Remove conditional code.
46607 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46608 <kernel-features.h>.
46609 [__ASSUME_32BITUIDS]: Make code unconditional.
46610 [!__ASSUME_32BITUIDS]: Remove conditional code.
46611 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46612 <kernel-features.h>.
46613 [__ASSUME_32BITUIDS]: Make code unconditional.
46614 [!__ASSUME_32BITUIDS]: Remove conditional code.
46615 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46616 <kernel-features.h>.
46617 [__ASSUME_32BITUIDS]: Make code unconditional.
46618 [!__ASSUME_32BITUIDS]: Remove conditional code.
46619 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46620 <kernel-features.h>.
46621 [__ASSUME_32BITUIDS]: Make code unconditional.
46622 [!__ASSUME_32BITUIDS]: Remove conditional code.
46623 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46624 <kernel-features.h>.
46625 [__ASSUME_32BITUIDS]: Make code unconditional.
46626 [!__ASSUME_32BITUIDS]: Remove conditional code.
46627 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46628 <kernel-features.h>.
46629 [__ASSUME_32BITUIDS]: Make code unconditional.
46630 [!__ASSUME_32BITUIDS]: Remove conditional code.
46631 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46632 <kernel-features.h>.
46633 [__ASSUME_32BITUIDS]: Make code unconditional.
46634 [!__ASSUME_32BITUIDS]: Remove conditional code.
46635 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46636 <kernel-features.h>.
46637 [__ASSUME_32BITUIDS]: Make code unconditional.
46638 [!__ASSUME_32BITUIDS]: Remove conditional code.
46639 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46640 <kernel-features.h>.
46641 [__ASSUME_32BITUIDS]: Make code unconditional.
46642 [!__ASSUME_32BITUIDS]: Remove conditional code.
46643 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46644 <kernel-features.h>.
46645 [__ASSUME_32BITUIDS]: Make code unconditional.
46646 [!__ASSUME_32BITUIDS]: Remove conditional code.
46647 * sysdeps/unix/sysv/linux/kernel-features.h
46648 (__ASSUME_SETRESUID_SYSCALL): Remove.
46649 (__ASSUME_SETRESGID_SYSCALL): Likewise.
46650 (__ASSUME_32BITUIDS): Likewise.
46651 (__ASSUME_LDT_WORKS): Likewise.
46652 (__ASSUME_O_DIRECTORY): Likewise.
46653 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46654 architecture but not kernel version.
46655 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46656 (__ASSUME_MMAP2_SYSCALL): Likewise.
46657 (__ASSUME_STAT64_SYSCALL): Likewise.
46658 (__ASSUME_IPC64): Likewise.
46659 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46660 <kernel-features.h>.
46661 [__ASSUME_32BITUIDS]: Make code unconditional.
46662 [!__ASSUME_32BITUIDS]: Remove conditional code.
46663 * sysdeps/unix/sysv/linux/opendir.c: Do not include
46664 <kernel-features.h>.
46665 [__ASSUME_O_DIRECTORY]: Make code unconditional.
46666 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46667 132096]: Remove conditional code.
46668 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46669 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46670 <kernel-features.h>.
46671 [__ASSUME_32BITUIDS]: Make code unconditional.
46672 [!__ASSUME_32BITUIDS]: Remove conditional code.
46673 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46674 <kernel-features.h>.
46675 [__ASSUME_32BITUIDS]: Make code unconditional.
46676 [!__ASSUME_32BITUIDS]: Remove conditional code.
46677 * sysdeps/unix/sysv/linux/setegid.c: Do not include
46678 <kernel-features.h>.
46679 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46681 (__setresgid): Do not declare.
46682 [__ASSUME_32BITUIDS]: Make code unconditional.
46683 [!__ASSUME_32BITUIDS]: Remove conditional code.
46684 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46685 <kernel-features.h>.
46686 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46688 (__setresuid): Do not declare.
46689 [__ASSUME_32BITUIDS]: Make code unconditional.
46690 [!__ASSUME_32BITUIDS]: Remove conditional code.
46691 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46692 <kernel-features.h>.
46693 [__ASSUME_32BITUIDS]: Make code unconditional.
46694 [!__ASSUME_32BITUIDS]: Remove conditional code.
46695 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46696 <kernel-features.h>.
46697 [__ASSUME_32BITUIDS]: Make code unconditional.
46698 [!__ASSUME_32BITUIDS]: Remove conditional code.
46700 2012-05-25 Richard Henderson <rth@twiddle.net>
46702 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46703 dl_hwcap to ifunc resolver.
46704 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46706 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46707 dl_hwcap to ifunc resolver.
46708 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46710 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46713 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46714 for |x| <= 2**-26, not 2**-57.
46715 * math/libm-test.inc (acos_test): Do not allow spurious underflow
46718 2012-05-24 Jeff Law <law@redhat.com>
46720 * stdio-common/Makefile (tests): Add bug25.
46721 * stdio-common/bug25.c: New test.
46723 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46726 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46727 multiple of MALLOC_ALIGNMENT in size.
46728 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46730 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46732 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46734 (FILENAME_MAX): Use macro-int-constant.
46735 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
46736 (_IOFBF): Use macro-int-constant.
46737 (_IOLBF): Likewise.
46738 (_IONBF): Likewise.
46739 (SEEK_CUR): Likewise.
46740 (SEEK_END): Likewise.
46741 (SEEK_SET): Likewise.
46742 (TMP_MAX): Likewise.
46743 (EOF): Use macro-int-constant. Require < 0.
46744 (NULL): Use macro-constant. Require == 0.
46745 (stdin): Require type to be FILE *.
46746 (stdout): Likewise.
46747 (stderr): Likewise.
46748 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46749 macro-int-constant.
46750 (EXIT_SUCCESS): Likewise.
46751 (NULL): Use macro-constant. Require == 0.
46752 (RAND_MAX): Use macro-int-constant.
46753 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46754 [C99-based standards] (strtof): Require function.
46755 [C99-based standards] (strtold): Likewise.
46756 [C99-based standards] (strtoll): Likewise.
46757 [C99-based standards] (strtoull): Likewise.
46758 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46759 [ISO || ISO99 || ISO11] (limits.h): Likewise.
46760 [ISO || ISO99 || ISO11] (math.h): Likewise.
46761 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46762 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46763 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46765 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
46768 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46769 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46770 * intl/dgettext.c (DCGETTEXT): Likewise.
46771 * intl/gettext.c (DCGETTEXT): Likewise.
46772 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46773 * posix/regex_internal.h (gettext): Likewise.
46774 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46775 Remove declaration.
46776 * include/argz.h (__argz_count_internal)
46777 (__argz_stringify_internal): Remove declaration.
46778 (__argz_count, __argz_stringify): Declare hidden proto.
46779 * intl/dcgettext.c: Remove use of INTDEF.
46780 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46781 * string/argz-stringify.c: Likewise.
46782 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46783 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46784 Declare hidden proto.
46785 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46786 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46787 Declare hidden proto.
46788 * include/stdio.h (__asprintf_internal): Don't declare.
46789 (__asprintf): Don't define as macro. Declare hidden proto.
46790 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46791 (__fsetlocking): Declare hidden proto.
46792 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46793 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46795 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46796 (_IO_setlinebuf): Remove use of INTUSE.
46797 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46798 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46799 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46800 Remove declaration.
46801 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46802 (_IO_do_flush): Remove use of INTUSE.
46803 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46804 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46805 (_IO_adjust_column, _IO_least_wmarker)
46806 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46807 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46808 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46809 (_IO_default_doallocate, _IO_wdefault_doallocate)
46810 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46811 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46812 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46813 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46814 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46815 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46816 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46817 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46818 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46819 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46820 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46821 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46822 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46824 (_IO_flush_all_internal, _IO_adjust_column_internal)
46825 (_IO_default_uflow_internal, _IO_default_finish_internal)
46826 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46827 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46828 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46829 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46830 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46831 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46832 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46833 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46834 (_IO_file_close_internal, _IO_file_close_it_internal)
46835 (_IO_file_underflow_internal, _IO_file_overflow_internal)
46836 (_IO_file_init_internal, _IO_file_attach_internal)
46837 (_IO_file_fopen_internal, _IO_file_read_internal)
46838 (_IO_file_sync_internal, _IO_file_seek_internal)
46839 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46840 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46841 (_IO_str_underflow_internal, _IO_str_overflow_internal)
46842 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46843 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46844 (_IO_list_all_internal, _IO_link_in_internal)
46845 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46846 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46847 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46848 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46849 (_IO_do_write_internal, _IO_padn_internal)
46850 (_IO_getline_info_internal, _IO_getline_internal)
46851 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46852 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46853 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46854 (_IO_vfscanf_internal, _IO_vfprintf_internal)
46855 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46856 (_IO_init_internal, _IO_un_link_internal): Don't declare.
46857 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46858 with libc_hidden_ver, remove use of INTUSE.
46859 * libio/genops.c: Likewise.
46860 * libio/freopen.c: Likewise.
46861 * libio/freopen64.c: Likewise.
46862 * libio/iofclose.c: Likewise.
46863 * libio/iofdopen.c: Likewise.
46864 * libio/iofflush.c: Likewise.
46865 * libio/iofflush_u.c: Likewise.
46866 * libio/iofgets.c: Likewise.
46867 * libio/iofgets_u.c: Likewise.
46868 * libio/iofopen.c: Likewise.
46869 * libio/iofopncook.c: Likewise.
46870 * libio/iofread.c: Likewise.
46871 * libio/iofread_u.c: Likewise.
46872 * libio/ioftell.c: Likewise.
46873 * libio/iofwrite.c: Likewise.
46874 * libio/iogetline.c: Likewise.
46875 * libio/iogets.c: Likewise.
46876 * libio/iogetwline.c: Likewise.
46877 * libio/iopadn.c: Likewise.
46878 * libio/iopopen.c: Likewise.
46879 * libio/ioseekoff.c: Likewise.
46880 * libio/ioseekpos.c: Likewise.
46881 * libio/iosetbuffer.c: Likewise.
46882 * libio/iosetvbuf.c: Likewise.
46883 * libio/ioungetc.c: Likewise.
46884 * libio/ioungetwc.c: Likewise.
46885 * libio/iovdprintf.c: Likewise.
46886 * libio/iovsprintf.c: Likewise.
46887 * libio/iovsscanf.c: Likewise.
46888 * libio/memstream.c: Likewise.
46889 * libio/obprintf.c: Likewise.
46890 * libio/oldfileops.c: Likewise.
46891 * libio/oldiofclose.c: Likewise.
46892 * libio/oldiofdopen.c: Likewise.
46893 * libio/oldiofopen.c: Likewise.
46894 * libio/oldiopopen.c: Likewise.
46895 * libio/oldstdfiles.c: Likewise.
46896 * libio/putc.c: Likewise.
46897 * libio/setbuf.c: Likewise.
46898 * libio/setlinebuf.c: Likewise.
46899 * libio/stdfiles.c: Likewise.
46900 * libio/strops.c: Likewise.
46901 * libio/vasprintf.c: Likewise.
46902 * libio/vscanf.c: Likewise.
46903 * libio/vsnprintf.c: Likewise.
46904 * libio/vswprintf.c: Likewise.
46905 * libio/wfiledoalloc.c: Likewise.
46906 * libio/wfileops.c: Likewise.
46907 * libio/wgenops.c: Likewise.
46908 * libio/wmemstream.c: Likewise.
46909 * libio/wstrops.c: Likewise.
46910 * libio/__fpurge.c: Likewise.
46911 * libio/__fsetlocking.c: Likewise.
46912 * assert/assert.c: Likewise.
46913 * debug/fgets_chk.c: Likewise.
46914 * debug/fgets_u_chk.c: Likewise.
46915 * debug/fread_chk.c: Likewise.
46916 * debug/fread_u_chk.c: Likewise.
46917 * debug/gets_chk.c: Likewise.
46918 * debug/obprintf_chk.c: Likewise.
46919 * debug/vasprintf_chk.c: Likewise.
46920 * debug/vdprintf_chk.c: Likewise.
46921 * debug/vsnprintf_chk.c: Likewise.
46922 * debug/vsprintf_chk.c: Likewise.
46923 * malloc/mtrace.c: Likewise.
46924 * misc/error.c: Likewise.
46925 * misc/syslog.c: Likewise.
46926 * stdio-common/asprintf.c: Likewise.
46927 * stdio-common/fxprintf.c: Likewise.
46928 * stdio-common/getw.c: Likewise.
46929 * stdio-common/isoc99_fscanf.c: Likewise.
46930 * stdio-common/isoc99_scanf.c: Likewise.
46931 * stdio-common/isoc99_vfscanf.c: Likewise.
46932 * stdio-common/isoc99_vscanf.c: Likewise.
46933 * stdio-common/isoc99_vsscanf.c: Likewise.
46934 * stdio-common/printf-prs.c: Likewise.
46935 * stdio-common/printf_fp.c: Likewise.
46936 * stdio-common/printf_fphex.c: Likewise.
46937 * stdio-common/printf_size.c: Likewise.
46938 * stdio-common/putw.c: Likewise.
46939 * stdio-common/scanf.c: Likewise.
46940 * stdio-common/sprintf.c: Likewise.
46941 * stdio-common/tmpfile.c: Likewise.
46942 * stdio-common/vfprintf.c: Likewise.
46943 * stdio-common/vfscanf.c: Likewise.
46944 * stdlib/strfmon_l.c: Likewise.
46945 * sunrpc/openchild.c: Likewise.
46946 * sunrpc/xdr_stdio.c: Likewise.
46947 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46948 * sysdeps/mach/hurd/tmpfile.c: Likewise.
46950 2012-05-24 Roland McGrath <roland@hack.frob.com>
46952 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46954 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46955 in the third column, to generate for the shared library an IFUNC
46956 that uses _dl_vdso_vsym.
46957 * Makerules (COMPILE.c, compile-stdin.c): New variables.
46958 * Makeconfig (object-suffixes-noshared): New variable.
46960 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46961 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46962 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46963 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46966 * include/sys/time.h (__gettimeofday): Remove macro.
46967 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46968 * time/gettimeofday.c (__gettimeofday): Remove #undef.
46970 (__gettimeofday): Add libc_hidden_def.
46971 (gettimeofday): Add libc_hidden_weak.
46972 * sysdeps/mach/gettimeofday.c: Likewise.
46973 * sysdeps/posix/gettimeofday.c: Likewise.
46974 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46975 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46976 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46977 (__gettimeofday_internal): Remove strong_alias.
46978 (__gettimeofday): Add libc_hidden_def.
46979 (gettimeofday): Add libc_hidden_weak.
46980 * sysdeps/unix/syscalls.list (gettimeofday):
46981 Remove __gettimeofday_internal alias.
46983 2012-05-24 Daniel Jacobowitz <drow@false.org>
46984 H.J. Lu <hongjiu.lu@intel.com>
46987 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46988 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46989 (largebin_index_32_big): New.
46990 (largebin_index): Use it for 16-byte alignment.
46991 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
46992 correction with front_misalign.
46994 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47022 * scripts/data/c++-types-x32-linux-gnu.data: New file.
47023 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47025 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47029 * math/libm-test.inc (exp_test): Add test from bug 14036.
47030 (pow_test): Add test from bug 10846.
47032 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47034 (special_function): Do not include flags in test name.
47035 (parse_args): Likewise.
47036 * sysdeps/i386/fpu/libm-test-ulps: Update.
47037 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47038 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47039 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47042 * math/gen-libm-test.pl (%beautify): Add entries for underflow
47044 * math/libm-test.inc ("Philosophy"): Update comment about
47046 (UNDERFLOW_EXCEPTION): New macro.
47047 (UNDERFLOW_EXCEPTION_OK): Likewise.
47048 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47049 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47050 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47051 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47052 (INVALID_EXCEPTION_OK): Update value.
47053 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47054 (OVERFLOW_EXCEPTION_OK): Likewise.
47055 (IGNORE_ZERO_INF_SIGN): Likewise.
47056 (test_exceptions): Handle underflow exceptions.
47057 (acos_test): Update for underflow exception expectations.
47058 (cexp_test): Likewise.
47059 (clog_test): Likewise.
47060 (clog10_test): Likewise.
47061 (csqrt_test): Likewise.
47062 (ctan_test): Likewise.
47063 (ctanh_test): Likewise.
47064 (exp_test): Likewise.
47065 (exp10_test): Likewise.
47066 (exp2_test): Likewise.
47067 (expm1_test): Likewise.
47068 (fma_test): Likewise.
47069 (j0_test): Likewise.
47070 (jn_test): Likewise.
47071 (nexttoward_test): Likewise.
47072 (pow_test): Likewise.
47073 (scalbn_test): Likewise.
47074 (scalbln_test): Likewise.
47075 (tan_test): Likewise.
47076 (y1_test): Likewise.
47077 * sysdeps/i386/fpu/libm-test-ulps: Update.
47078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47080 2012-05-23 David S. Miller <davem@davemloft.net>
47082 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47083 (__libc_sigaction): Remove unused local variables.
47085 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47087 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47089 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
47091 mktime: avoid signed integer overflow
47092 * time/mktime.c (__mktime_internal): Do not mishandle the case
47093 where diff == INT_MIN.
47095 mktime: simplify computation of average
47096 * time/mktime.c (ranged_convert): Use new time_t_avg function
47097 instead of rolling our own (probably-slower) code.
47099 mktime: do not assume signed right shift propagates sign bit
47100 * time/mktime.c (isdst_differ): New static function.
47101 (__mktime_internal): No need to normalize tm_isdst now.
47102 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47105 mktime: merge another wrapv change from gnulib
47106 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47107 from some compilers.
47109 mktime: remove incorrect attempt at unusual arithmetics
47110 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47111 The code didn't really work on such machines anyway.
47112 (TYPE_MINIMUM): Assume two's complement.
47113 (twos_complement_arithmetic): Verify that long_int and time_t
47114 are two's complement (or unsigned, in the latter case).
47116 mktime: check signed shifts on long_int and time_t, too
47117 * time/mktime.c (SHR): Check that shifts work as desired
47118 on the types long_int and time_t too, as SHR is used on
47121 mktime: do not assume 'long' is wide enough
47122 * time/mktime.c (verify): Move decl up.
47123 (long_int): New type.
47124 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47125 to remove assumption in the code that 'long' is wide enough to
47126 store year values. This assumption is not true on x32 and on
47127 some non-glibc platforms.
47129 mktime: merge wrapv change from gnulib
47130 * time/mktime.c (WRAPV): New macro.
47131 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47132 (guess_time_tm, __mktime_internal): Do not assume that signed
47133 integer overflow wraps around; modern compilers generate code
47134 where this assumption is no longer valid.
47136 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47138 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47139 Replace "jmp L(pseudo_end)" with "ret".
47140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47143 2012-05-23 Andreas Jaeger <aj@suse.de>
47145 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47146 * sysdeps/unix/sysv/linux/poll.c: Remove file.
47148 2012-05-23 Andreas Jaeger <aj@suse.de>
47149 Maximilian Attems <max@stro.at>
47151 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47154 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47156 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47157 code so that pseudo_end is just ret and the stack pointer is
47158 correct also for static library in error case.
47160 2012-05-23 Joseph Myers <joseph@codesourcery.com>
47162 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47163 move to syscalls.list.
47164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47169 * manual/install.texi (Running make install): Do not mention Linux
47170 kernel version for which pt_chown is not needed.
47171 (Linux): Do not mention problems with nscd with 2.0 kernels.
47172 * INSTALL: Regenerated.
47174 2012-05-23 Andreas Jaeger <aj@suse.de>
47176 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47177 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47179 * sysdeps/unix/sysv/linux/s390/bits/mman.h
47180 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47181 * sysdeps/unix/sysv/linux/sh/bits/mman.h
47182 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47183 * sysdeps/unix/sysv/linux/i386/bits/mman.h
47184 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47185 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47186 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47187 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47188 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47189 * sysdeps/unix/sysv/linux/bits/in.h
47190 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47192 2012-05-22 Roland McGrath <roland@hack.frob.com>
47194 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47195 (PREPARE_VERSION): Just use assert instead, it will be elided
47196 under [NDEBUG] anyway.
47198 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47200 * sysdeps/unix/sysv/linux/Makefile: Include
47201 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47202 (sysdep_routines): Remove sysctl.
47203 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47204 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47205 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47206 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47207 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47209 2012-05-22 Andreas Jaeger <aj@suse.de>
47211 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47212 that pseudo_end is just ret and the stack pointer is correct also
47213 for static library in error case.
47215 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
47218 * nss/nsswitch.c (defconfig_entries): New variable.
47219 (__nss_database_lookup): Don't leak defconfig entries.
47220 (nss_parse_service_list): Don't leak on error paths.
47221 (free_database_entries): New function.
47222 (free_defconfig): New function.
47223 (free_mem): Move common code to free_database_entries.
47225 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47227 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47229 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47231 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47232 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47235 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47236 (INTERNAL_SYSCALL_TYPES): Likewise.
47237 (LOAD_ARGS_TYPES_[1-6]): Likewise.
47238 (LOAD_REGS_TYPES_[1-6]): Likewise.
47239 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47240 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47242 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47244 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47245 copysignl for GLIBC_2_0.
47246 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47247 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47248 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47249 logbl for GLIBC_2_0.
47250 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47251 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47253 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47255 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47256 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47258 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47261 * time/mktime.c: Update copyright years.
47263 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
47265 mktime: merge comment-quoting-style change from gnulib
47266 * time/mktime.c: Quote 'like this' in comments.
47267 The GNU coding standards suggest that we no longer quote `like this',
47268 as "`" and "'" are typically rendered asymmetrically nowadays.
47269 The typical gnulib style is to quote 'like this' when quoting
47270 code, and "like this" when quoting English.
47272 * time/mktime.c (compile-command): Add "-I.".
47274 mktime: merge mktime-internal.h change from gnulib
47275 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47277 mktime: merge time_r change from gnulib
47278 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47280 mktime: merge DEBUG change from gnulib
47281 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47282 case system <time.h> has a #define.
47284 mktime: merge <sys/types.h> change from gnulib
47285 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47286 since <time.t> is now guaranteed to define time_t.
47288 mktime: merge HAVE_CONFIG_H change from gnulib
47289 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47291 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47296 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47298 (struct rusage): Use anonymous union to pad each field to
47301 2012-05-21 David S. Miller <davem@davemloft.net>
47303 * Makefules (o-iterator): Remove .s cases.
47304 (compile-command.s): Delete.
47305 (COMPILE.s): Delete.
47306 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47308 2012-05-21 Joseph Myers <joseph@codesourcery.com>
47310 * configure.in (libc_cv_predef_stack_protector): Only consider
47311 "foobar" and "__stack_chk_fail" lines in libc_undefs.
47312 * configure: Regenerated.
47314 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47316 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47317 New macro. Use R*LP on int and pointer.
47318 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47319 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47320 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47321 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47323 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47324 [__WORDSIZE_TIME64_COMPAT32] instead of
47325 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47326 (struct utmp): Likewise.
47327 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47328 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47330 (__WORDSIZE_TIME64_COMPAT32): This.
47331 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47332 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47333 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47334 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47335 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47336 (__WORDSIZE_TIME64_COMPAT32): New macro.
47338 2012-05-21 Andreas Jaeger <aj@suse.de>
47340 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47341 only if [SHARED]. Add prototype for __wcschr_ia32.
47343 2012-05-21 Roland McGrath <roland@hack.frob.com>
47345 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47346 of %rbp unmolested in the jmp_buf while mangling the low bits.
47347 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47348 unmolested high bits of %rbp while demangling the low bits.
47349 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47351 2012-05-21 Andreas Jaeger <aj@suse.de>
47353 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47354 * sunrpc/svc_simple.c: Use it for registerrpc.
47355 * sunrpc/xcrypt.c: Use it for passwd2des.
47357 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47359 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47361 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47362 Don't define if [__SYSCALL_WORDSIZE != 32].
47363 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47366 2012-05-21 Bruno Haible <bruno@clisp.org>
47367 Andreas Jaeger <aj@suse.de>
47369 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47370 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47371 inptr and inend for must_buffer_ch.
47372 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47373 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47374 * stdio-common/Makefile (tests): Remove bug15.
47375 (bug15-ENV): Remove macro.
47376 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47379 2012-05-19 Andreas Jaeger <aj@suse.de>
47380 Roland McGrath <roland@hack.frob.com>
47382 * manual/contrib.texi: Completely rewritten. It contains now an
47383 alphabetical list of contributors and their contributions.
47385 2012-05-21 Richard Henderson <rth@twiddle.net>
47387 * misc/getauxval.c (__getauxval): Use unsigned long int.
47388 * misc/sys/auxv.h: Include <sys/cdefs.h>.
47389 (getauxval): Use unsigned long int.
47391 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47393 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47395 2012-05-21 Roland McGrath <roland@hack.frob.com>
47397 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47398 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47399 __alignof__ (long double).
47401 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47405 2012-05-20 Richard Henderson <rth@twiddle.net>
47407 * misc/getauxval.c: New file.
47408 * misc/sys/auxv.h: New file.
47409 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47410 (routines): Add getauxval.
47411 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47412 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47413 * elf/dl-sysdep.c (_dl_auxv): Remove.
47414 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47415 * elf/dl-support.c (_dl_auxv): New variable.
47416 (_dl_aux_init): Initialize it.
47417 * manual/startup.texi (Auxiliary Vector): New node.
47418 * sysdeps/generic/bits/hwcap.h: New file.
47419 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47420 * sysdeps/powerpc/sysdep.h: ... here. Include it.
47421 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47422 * sysdeps/sparc/sysdep.h: ... here. Include it.
47423 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47424 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47430 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47436 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47440 2012-05-19 David S. Miller <davem@davemloft.net>
47442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47444 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47447 * math/s_ccosh.c: Include <float.h>
47448 (__ccosh): Avoid internal overflow calculating sinh and cosh
47449 values before multiplying by sin and cos values.
47450 * math/s_ccoshf.c: Likewise.
47451 * math/s_ccoshl.c: Likewise.
47452 * math/s_csin.c: Likewise.
47453 * math/s_csinf.c: Likewise.
47454 * math/s_csinl.c: Likewise.
47455 * math/s_csinh.c: Likewise.
47456 * math/s_csinhf.c: Likewise.
47457 * math/s_csinhl.c: Likewise.
47458 * math/libm-test.inc (ccos_test): Add more tests.
47459 (ccosh_test): Likewise.
47460 (csin_test): Likewise.
47461 (csinh_test): Likewise.
47462 * sysdeps/i386/fpu/libm-test-ulps: Update.
47463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47465 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
47467 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47468 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47470 * sysdeps/x86_64/x32/_itoa.h: Add comment.
47472 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47474 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47475 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47476 * sysdeps/powerpc/soft-fp/Versions: Likewise.
47477 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47478 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47479 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47480 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47481 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47482 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47483 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47484 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47485 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47486 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47487 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47488 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47489 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47490 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47491 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47492 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47493 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47494 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47495 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47496 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47497 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47498 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47499 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47500 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47501 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47502 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47503 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47504 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47506 2012-05-18 Andreas Jaeger <aj@suse.de>
47508 * csu/.gitignore: Delete.
47510 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47512 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47513 (timex): Use __syscall_slong_t.
47515 2012-05-18 Andreas Jaeger <aj@suse.de>
47516 Carlos O'Donell <carlos_odonell@mentor.com>
47518 * manual/install.texi (Configuring and compiling): Update
47519 description about files modified in the source directory.
47520 * INSTALL: Regenerated.
47522 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47524 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47525 value. Use "or" to set return value to -1.
47526 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47527 negate return value.
47529 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47531 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47532 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47533 failure if the compiler has Graphite support disabled.
47534 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47536 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47537 (CFLAGS-memmove.c): Likewise.
47538 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47541 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47543 * sysdeps/x86_64/x32/_itoa.h: New file.
47545 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47546 getdents system call only if kernel and user dirents have the
47547 same d_ino and d_off.
47549 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47550 LLONG_MAX != LONG_MAX.
47551 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47552 (_fitoa_word): Likewise.
47554 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47556 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47557 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47558 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47560 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47561 include <bits/wordsize.h>. Check __x86_64__ instead of
47563 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47564 if __x86_64__ is defined. Use anonymous union on fpstate.
47566 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47569 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
47571 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47572 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47573 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47574 Refer to _rtld_local_ro instead of _rtld_global_ro.
47575 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47577 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47579 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47581 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47582 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47583 of _rtld_global, and rtld_progname instead of _dl_argv[0].
47585 * sysdeps/powerpc/powerpc32/dl-machine.c
47586 (__elf_machine_runtime_setup) [PROF]: Don't reference
47589 2012-05-18 Andreas Jaeger <aj@suse.de>
47591 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47592 function only available for GCCs before 3.4 since GCC 3.4
47593 introduced a builtin.
47595 (llrintf): Likewise.
47596 (llrint): Likewise.
47603 (nearbyint): Likewise.
47604 (nearbyintf): Likewise.
47608 (floorf): Likewise.
47610 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47612 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47613 on both fields and cast pointer to __syscall_ulong_t.
47615 * bits/types.h (__fsword_t): New type.
47616 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47617 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47618 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47619 (__FSWORD_T_TYPE): Likewise.
47620 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47621 (__FSWORD_T_TYPE): Likewise.
47622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47623 (__FSWORD_T_TYPE): Likewise.
47624 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47625 (__FSWORD_T_TYPE): Likewise.
47626 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47627 __SWORD_TYPE with __fsword_t.
47628 (statfs64): Likewise.
47630 2012-05-17 David S. Miller <davem@davemloft.net>
47632 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47634 2012-05-17 Andreas Jaeger <aj@suse.de>
47636 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47639 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47641 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47643 2012-05-17 Andreas Jaeger <aj@suse.de>
47645 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47648 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47650 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47652 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47654 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47655 * sysdeps/x86_64/tst-mallocalign1.c: New file.
47657 2012-05-17 Andreas Jaeger <aj@suse.de>
47658 Carlos O'Donell <carlos_odonell@mentor.com>
47661 * sysdeps/x86_64/multiarch/init-arch.h
47662 (bit_YMM_Usable): Rename to...
47663 (bit_AVX_Usable): ... this.
47664 (bit_FMA4_Usable): New macro.
47665 (bit_XMM_state): New macro.
47666 (bit_YMM_state): New macro.
47667 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47668 [__ASSEMBLER__] (index_AVX_Usable): ... this.
47669 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47670 (CPUID_OSXSAVE): New macro.
47671 (CPUID_AVX): New macro.
47672 (CPUID_FMA4): New macro.
47673 (index_YMM_Usable): Rename to...
47674 (index_AVX_Usable): ... this.
47675 (HAS_AVX): Use HAS_ARCH_FEATURE.
47676 (HAS_FMA4): Likewise.
47677 (HAS_YMM_USABLE): Remove.
47678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47679 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47681 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47682 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47683 * sysdeps/x86_64/multiarch/Makefile: Likewise.
47684 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47685 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47687 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47689 * math/libm-test.c: Support platforms without multiple rounding modes.
47690 * math/bug-nextafter.c: Support platforms without FP exceptions.
47691 * math/bug-nexttoward.c: Likewise.
47692 * math/test-fenv.c: Likewise.
47693 * math/test-misc.c: Likewise.
47694 * stdlib/bug-getcontext.c: Likewise.
47696 2012-05-17 Andreas Jaeger <aj@suse.de>
47698 * manual/examples/search.c (critter_cmp): Change signature to
47700 * manual/string.texi (Collation Functions): Likewise.
47702 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47704 * bits/types.h: Fold copyright years.
47705 * bits/typesizes.h: Likewise.
47706 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47707 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47708 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47709 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47710 * time/time.h: Likewise.
47712 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
47715 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47716 in instead of returning them. Return void.
47717 (__libc_mallinfo): Accumulate over all arenas.
47718 (__malloc_stats): Adjust for change in int_mallinfo interface.
47720 2012-05-16 Roland McGrath <roland@hack.frob.com>
47723 * configure.in (NM): Add AC_CHECK_TOOL for it.
47724 (libc_extra_cflags): New substituted variable.
47725 Check for -fstack-protector being used implicitly.
47726 * configure: Regenerated.
47727 * config.make.in (config-extra-cflags): New variable,
47728 gets @libc_extra_cflags@.
47729 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47732 * configure.in: Check for _FORTIFY_SOURCE being predefined.
47733 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47734 * configure: Regenerated.
47735 * config.make.in (CPPUNDEFS): New substituted variable.
47736 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47737 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47738 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47740 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47742 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47743 (mq_attr): Use __syscall_slong_t.
47745 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47747 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47748 Check __x86_64__ instead of __WORDSIZE.
47749 (_STAT_VER_LINUX): Likewise.
47750 (stat): Check __x86_64__ instead of __WORDSIZE. Use
47751 __syscall_ulong_t and __syscall_slong_t.
47752 (stat64): Likewise.
47754 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47756 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47758 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47760 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47762 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47764 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47767 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47768 include <bits/wordsize.h>. Check __x86_64__ instead of
47770 (greg_t): Use "__extension__ long long int" if __x86_64__ is
47772 (mcontext_t): Replace "unsigned long" with "unsigned long long".
47774 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47775 include <bits/wordsize.h>. Check __x86_64__ instead of
47777 (user_regs_struct): Use "__extension__ unsigned long long"
47778 instead of "unsigned long" if __x86_64__ is defined.
47779 (user): Likewise. Pad after pointer field if __ILP32__ is
47782 2012-05-16 Joseph Myers <joseph@codesourcery.com>
47784 * configure.in (makeinfo): Require version 4.5 or later. Allow
47786 * configure: Regenerated.
47787 * manual/install.texi (texinfo): Increase version requirement to
47789 * INSTALL: Regenerated.
47791 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47793 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47795 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47797 * sysdeps/x86_64/x32/ffs.c: New file.
47799 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47801 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47802 defined. Use __syscall_ulong_t.
47803 (shminfo): Use __syscall_ulong_t.
47804 (shm_info): Likewise.
47806 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47809 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47811 (msgqnum_t): Use __syscall_ulong_t.
47812 (msglen_t): Likewise.
47813 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
47816 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47817 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47819 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47821 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47822 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47824 * sysvipc/sys/msg.h (msgbuf): Replace long int with
47827 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47828 include <bits/wordsize.h>. Check __x86_64__ instead of
47831 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47832 "unsigned long long int" if __x86_64__ is defined.
47833 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47835 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47836 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47837 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47839 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47841 (GET_PC): Cast to uintptr_t first.
47842 (GET_FRAME): Likewise.
47843 (GET_STACK): Likewise.
47845 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47846 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47847 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47848 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47849 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47850 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47851 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47852 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47853 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47854 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47855 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47856 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47857 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47858 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47859 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47860 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47861 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47862 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47863 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47864 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47865 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47866 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47867 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47868 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47869 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47870 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47871 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47872 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47873 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47875 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
47877 * Makerules (+depfiles): Also collect depfiles from .oS in
47879 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47880 .oS, $(libnldbl-routines)).
47882 * Makerules (native-compile-mkdep-flags): Define.
47883 * sunrpc/Makefile (extra-objs): Add $(addprefix
47884 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47885 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47886 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
47887 calling $(make-target-directory).
47889 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47891 * bits/types.h (__snseconds_t): Removed.
47892 * time/time.h (struct timespec): Replace __snseconds_t with
47894 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47895 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47897 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47898 (__SNSECONDS_T_TYPE): Likewise.
47899 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47900 (__SNSECONDS_T_TYPE): Likewise.
47901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47902 (__SNSECONDS_T_TYPE): Likewise.
47904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47906 * sysdeps/mach/hurd/bits/typesizes.h
47907 (__SYSCALL_SLONG_TYPE): New macro.
47908 (__SYSCALL_ULONG_TYPE): Likewise.
47910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47912 * bits/types.h (__syscall_slong_t): New type.
47913 (__syscall_ulong_t): Likewise.
47915 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47916 (__SYSCALL_ULONG_TYPE): Likewise.
47917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47918 (__SYSCALL_SLONG_TYPE): Likewise.
47919 (__SYSCALL_ULONG_TYPE): Likewise.
47920 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47921 (__SYSCALL_SLONG_TYPE): Likewise.
47922 (__SYSCALL_ULONG_TYPE): Likewise.
47923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47924 (__SYSCALL_SLONG_TYPE): Likewise.
47925 (__SYSCALL_ULONG_TYPE): Likewise.
47927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47929 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47930 Add sigaltstack-offsets.sym.
47931 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47932 <sigaltstack-offsets.h>.
47933 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
47934 longjmp_msg pointer.
47935 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
47936 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47938 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47940 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47942 * elf/stackguard-macros.h: Remove file.
47943 * sysdeps/generic/stackguard-macros.h: New file.
47944 * sysdeps/i386/stackguard-macros.h: Likewise.
47945 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47946 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47947 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47948 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47949 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47950 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47951 * sysdeps/x86_64/stackguard-macros.h: Likewise.
47952 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47953 <elf/stackguard-macros.h>.
47956 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47957 __aligned__ in attribute.
47958 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47959 (gregset_t): Likewise.
47961 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47963 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47964 * sysdeps/x86_64/64/Implies-after: Here. New file.
47965 * sysdeps/x86_64/x32/Implies-after: New file.
47967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47969 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47970 and access return value for _dl_profile_fixup. Use R10_LP to
47973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47975 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47979 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47980 * sysdeps/x86_64/x32/sysdep.h: New file.
47982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47984 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47985 * sysdeps/x86_64/setjmp.S: Likewise.
47987 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47989 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47990 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47991 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47992 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47993 remove unused global constant.
47995 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47997 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47998 include of <not-cancel.h>.
48000 2012-05-15 Roland McGrath <roland@hack.frob.com>
48002 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48004 2012-05-15 Jeff Law <law@redhat.com>
48005 Andreas Jaeger <aj@suse.de>
48008 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48010 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48011 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48012 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48013 code changing __hst_map_handle.map.
48015 2012-05-15 Roland McGrath <roland@hack.frob.com>
48017 * configure.in (sysnames): Look for Implies-before and Implies-after
48019 * configure: Regenerated.
48021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48023 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48024 8-byte data alignment with LP_SIZE alignment.
48026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48028 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48033 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48035 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48037 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48038 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48039 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48041 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48045 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48046 (stackinfo_sub_sp): Likewise.
48048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48050 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48055 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48058 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48060 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48065 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48067 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48069 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48070 into R11_LP and load __x86_64_shared_cache_size_half into
48073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48075 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48078 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48080 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48082 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48086 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48087 powerpc32/power7/fpu/s_logb.c via #include.
48088 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48089 powerpc32/power7/fpu/s_logbf.c via #include.
48090 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48091 powerpc32/power7/fpu/s_logbl.c via #include.
48093 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48095 * README.libm: Remove file.
48097 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48099 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48100 count for x32. Use R*_LP and omit operand-size suffix.
48102 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48104 * shlib-versions: Move x86_64-.*-linux.* entries to ...
48105 * sysdeps/x86_64/64/shlib-versions: Here. New file.
48106 * sysdeps/x86_64/x32/shlib-versions: New file.
48108 2012-05-14 Roland McGrath <roland@hack.frob.com>
48110 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48111 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48112 Use _dl_fatal_printf instead.
48114 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48116 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48117 set if not set by the user. Do not allow for being unset.
48118 * sysdeps/unix/sysv/linux/configure: Regenerated.
48120 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48122 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48123 the `q' suffix from lea and replace .quad with ASM_ADDR.
48125 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48128 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
48130 (PTR_DEMANGLE): Likewise.
48132 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48134 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48136 (ASM_ADDR): Likewise.
48137 (RAX_LP): Likewise.
48138 (RBP_LP): Likewise.
48139 (RBX_LP): Likewise.
48140 (RCX_LP): Likewise.
48141 (RDI_LP): Likewise.
48142 (RSI_LP): Likewise.
48143 (RSP_LP): Likewise.
48146 (R10_LP): Likewise.
48147 (R10_LP): Likewise.
48148 (R11_LP): Likewise.
48149 (R12_LP): Likewise.
48150 (R13_LP): Likewise.
48151 (R14_LP): Likewise.
48152 (R15_LP): Likewise.
48154 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48156 * sysdeps/x86_64/x32/dl-machine.h: New file.
48158 2012-05-14 Andreas Jaeger <aj@suse.de>
48160 * manual/Makefile (subdir): Remove export of subdir.
48161 (all): Remove target.
48162 (.PHONY): Remove all from list.
48163 (mkinstalldirs): Remove.
48164 (.PHONY): Remove installdirs from list.
48165 ($(inst_infodir)/libc.info): Use make-target-directory.
48166 (installdirs): Remove.
48167 (subdir_%): Remove.
48168 (glibc-targets): Remove.
48171 ($(objpfx)stubs ../po/manual.pot): Remove.
48172 ($(objpfx)stamp%): Remove.
48173 (make-target-directory): Remove.
48174 (subdir_install): Remove.
48175 (routines): Remove.
48182 * manual/.gitignore: Remove, it's not needed anymore.
48183 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48185 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48187 (texis): Renamed to $(objpfx)texis.
48188 (texis-path): New, contains path to generated files.
48189 (chapters.%): Use texis-path for complete path, add extra argument
48191 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48192 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48193 (summary,texi, stamp-summary): Use complete path of
48194 files. Generate files in build dir.
48195 (dir-add.texi): Build in build dir.
48196 (libm-err.texi,stamp-libm-err): Likewise.
48197 (version.texi, stamp-version): Likewise.
48198 (.%c.texi): Likewise.
48199 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48200 (mostlyclean): Remove target.
48201 (realclean): Remove target.
48202 (generated): Add new variable with contents from mostlyclean and
48203 realclean, remove entries duplicated in common-mostlyclean, add
48204 stamp-libm-err and stamp-version.
48205 (generated-dirs): Add libc directory.
48206 ($(inst_infodir)/libc.info): Install files from build dir.
48208 * manual/install.texi (Configuring and compiling): Adjust since
48209 the info files are not part of the tar ball anymore.
48211 2012-05-14 Andreas Jaeger <aj@suse.de>
48213 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48216 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48219 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48220 to 2.2.0 where earlier.
48221 * sysdeps/unix/sysv/linux/configure: Regenerated.
48222 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48223 Remove conditional code.
48224 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48225 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48226 Remove conditional code.
48227 [!__NR_lchown]: Likewise.
48228 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48229 [__NR_lchown]: Likewise.
48230 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48231 comment referencing __ASSUME_LCHOWN_SYSCALL.
48232 * sysdeps/unix/sysv/linux/i386/sigaction.c
48233 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48234 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48235 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48236 Remove conditional code.
48237 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48238 (__protocol_available): Remove #if 0 code.
48239 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48241 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48242 * sysdeps/unix/sysv/linux/kernel-features.h
48243 (__ASSUME_GETCWD_SYSCALL): Don't define.
48244 (__ASSUME_REALTIME_SIGNALS): Likewise.
48245 (__ASSUME_PREAD_SYSCALL): Likewise.
48246 (__ASSUME_PWRITE_SYSCALL): Likewise.
48247 (__ASSUME_POLL_SYSCALL): Likewise.
48248 (__ASSUME_LCHOWN_SYSCALL): Likewise.
48249 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48251 (__ASSUME_SIOCGIFNAME): Don't define.
48252 (__ASSUME_MSG_NOSIGNAL): Likewise.
48253 (__ASSUME_SENDFILE): Define unconditionally.
48254 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48255 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48257 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48258 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48259 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48260 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48261 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48262 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48263 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48265 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48266 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48268 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48269 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48271 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48272 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48274 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48275 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48277 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48278 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48280 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48281 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48283 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48284 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48286 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48287 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48288 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48289 Remove conditional code.
48290 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48291 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48292 Remove conditional code.
48293 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48294 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48295 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48296 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48297 Remove conditional code.
48298 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48299 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48300 Remove conditional code.
48301 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48302 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48303 Remove conditional code.
48304 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48305 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48306 Remove conditional code.
48307 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48308 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48309 Remove conditional code.
48310 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48311 * sysdeps/unix/sysv/linux/sh/pwrite64.c
48312 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48313 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48314 * sysdeps/unix/sysv/linux/sigaction.c
48315 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48316 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48317 * sysdeps/unix/sysv/linux/sigpending.c
48318 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48319 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48320 * sysdeps/unix/sysv/linux/sigprocmask.c
48321 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48322 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48323 * sysdeps/unix/sysv/linux/sigsuspend.c
48324 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48325 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48326 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48327 (__libc_missing_rt_sigs): Remove.
48328 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48329 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48330 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48331 Remove conditional code.
48332 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48333 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48335 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48336 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48337 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48338 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48340 2012-05-14 Andreas Jaeger <aj@suse.de>
48342 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48343 it's not used in glibc.
48344 (__coshm1): Likewise.
48345 (__acosh1p): Likewise.
48348 * manual/string.texi (Copying and Concatenation): Add missing
48349 variable in concat example.
48350 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48352 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48355 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48356 __builtin_clzl with __builtin_clzll.
48358 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48361 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48364 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48366 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48367 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48368 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48369 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48371 2012-05-14 Mike Frysinger <vapier@gentoo.org>
48373 * NEWS: Update ia64 info.
48375 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
48377 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48380 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
48382 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48383 * sysdeps/unix/syscalls.list (dup3): Likewise.
48384 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48385 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48387 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48389 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48390 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48392 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48394 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48396 (TLS_IE): Use mov/add instead of movq/addq to load thread
48398 (TLS_GD_PREFIX): New.
48401 2012-05-11 David S. Miller <davem@davemloft.net>
48403 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48404 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48405 (_FPU_SETCW): Likewise.
48407 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48409 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48410 is 32-byte aligned.
48412 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
48415 * iconvdata/gb18030.c: Update tables.
48416 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
48417 characters specially.
48418 (BODY for TO_LOOP): Add encoding of missing ranges.
48420 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
48423 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48424 * sysdeps/mach/hurd/dup3.c: Likewise.
48425 * sysdeps/mach/hurd/readlinkat.c: Likewise.
48426 * sysdeps/powerpc/memmove.c:: Likewise.
48428 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48430 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48431 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48433 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48435 * elf/elf.h (R_X86_64_RELATIVE64): New.
48436 (R_X86_64_NUM): Updated.
48437 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48438 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
48439 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48440 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48441 tst-quad1pie tst-quad2pie
48442 (modules-names): Add tst-quadmod1 tst-quadmod2.
48443 ($(objpfx)tst-quad1): New dependency.
48444 ($(objpfx)tst-quad2): Likewise.
48445 ($(objpfx)tst-quad1pie): Likewise.
48446 ($(objpfx)tst-quad2pie): Likewise.
48447 * sysdeps/x86_64/tst-quad1.c: New file.
48448 * sysdeps/x86_64/tst-quad1pie.c: New file.
48449 * sysdeps/x86_64/tst-quad2.c: Likewise.
48450 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48451 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48452 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48453 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48454 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48456 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48458 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48459 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48460 * streams/stropts.h (t_scalar_t): Define type.
48462 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48463 (_PATH_PRESERVE): Set to "/var/lib".
48464 (_PATH_RWHODIR): Set to "/var/spool/rwho".
48466 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48469 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48470 if __dir_mkfile succeeded.
48472 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48473 checking for _hurd_dtablesize. Unlock it right after having
48474 finished _hurd_dtable allocation.
48476 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48478 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48479 * sysdeps/mach/hurd/configure: Regenerated.
48480 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48481 special-casing to...
48482 * sysdeps/gnu/configure.in: ... this new file.
48483 * sysdeps/unix/sysv/linux/configure: Regenerated.
48484 * sysdeps/gnu/configure: New generated file.
48486 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48487 for Linux: use nsec instead of usec, as well as:
48488 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48489 members of type struct timespec.
48490 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48492 (struct stat64): Likewise.
48493 (_STATBUF_ST_NSEC): New macro.
48494 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48496 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48497 __strtoul_internal rather than strtoul.
48499 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48501 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48504 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48506 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48507 which preserves existing values.
48508 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48510 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48512 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48513 TIMEOUT values. Return EINVAL for NFDS values either negative or
48514 greater than FD_SETSIZE.
48516 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48518 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48519 allocated, call __vm_protect to finish enabling the existing space, and
48520 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48521 allocate the remainder.
48523 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48525 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48526 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
48528 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48530 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48531 sysdeps/mach/hurd/readlink.c.
48533 * posix/tst-sysconf.c (posix_options): Only use
48534 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48535 _POSIX_SYNCHRONIZED_IO when they are defined
48536 * sysdeps/mach/hurd/bits/posix_opt.h:
48537 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48538 (_XOPEN_REALTIME): Undefine macro.
48539 (_XOPEN_REALTIME_THREADS): Undefine macro.
48540 (_XOPEN_SHM): Undefine macro.
48541 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48543 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48545 (_POSIX_ASYNC_IO): Undefine macro.
48546 (_POSIX_PRIORITIZED_IO): Undefine macro.
48547 (_POSIX_SPIN_LOCKS): Define macro to -1.
48549 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48550 SA_NODEFER, SA_RESETHAND.
48551 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48552 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48555 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48557 * elf/Makefile (pldd-modules): Define unconditionally.
48559 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48561 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48563 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48565 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48566 Return ENOENT when name is empty.
48567 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48569 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48571 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48573 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48575 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48577 Fix mlock in all cases except non-readable pages.
48578 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48579 instead of VM_PROT_ALL as parameter to __vm_wire function.
48581 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48582 (__mkdir): When path is `/', just fail with EEXIST.
48583 * sysdeps/mach/hurd/mkdirat.c: Likewise.
48585 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48587 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48588 <sys/uio.h> (for writev).
48589 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48590 and <sys/param.h> (for MIN).
48592 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48594 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48595 REQUESTED_TIME. Properly set the remaining time and return EINTR
48598 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48600 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48601 Depend on against $(link-rpcuserlibs).
48603 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48605 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48606 (__libc_stack_end): Do not use attribute_relro.
48607 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48608 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48609 to libthread-provided value.
48610 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48613 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48616 * bits/libc-lock.h (__libc_once_get): New macro.
48617 * sysdeps/mach/bits/libc-lock.h: Likewise.
48618 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48619 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48620 instead of using implementation details.
48622 * libio/fileops.c: Unconditionally include <kernel-features.h>.
48623 * libio/freopen.c: Likewise.
48624 * libio/freopen64.c: Likewise.
48625 * misc/syslog.c: Likewise.
48626 * nscd/connections.c: Likewise.
48627 * nscd/netgroupcache.c: Likewise.
48628 * sysdeps/posix/getcwd.c: Likewise.
48630 2012-05-10 Roland McGrath <roland@hack.frob.com>
48632 * math/w_ilogbf.c: Add #include <limits.h>.
48634 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48636 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48637 path instead of returning without unlocking.
48639 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48640 immediate-write ioctls.
48641 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48643 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48645 * sysdeps/mach/hurd/i386/init-first.c (init): Use
48646 __builtin_frame_address instead of making assumptions about the
48647 location of the return address relative to DATA. Force early load of
48648 the return address.
48649 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48650 __builtin_frame_address.
48653 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48654 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
48655 implement dup3 and do some further code clean-ups.
48656 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48657 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48659 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48661 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48663 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48664 HURD_CRITICAL_END around holding _hurd_dtable_lock.
48665 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48666 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48667 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48670 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48671 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
48672 when handler == SIG_ERR, not when handler != SIG_ERR.
48674 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48676 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48677 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48680 accept4 for GNU Hurd.
48681 * include/sys/socket.h (__libc_accept4): New prototype.
48682 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
48683 to implement __libc_accept4.
48684 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48686 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48688 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48689 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48690 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48691 signal-defines.sym.
48693 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48695 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48697 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48699 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48700 assertion on O_CLOEXEC flag.
48701 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48702 * hurd/intern-fd.c: Likewise.
48703 * hurd/port2fd.c: Likewise.
48705 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48708 * bits/in.h (IPV6_PKTINFO): Define new macro.
48709 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48711 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48716 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48717 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48718 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48719 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48720 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48721 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48722 * math/libm-test.inc (logb_test) : Additional logb tests.
48724 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
48725 Andreas Jaeger <aj@suse.de>
48727 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48728 * configure: Regenerated.
48729 * config.h.in (LINK_OBSOLETE_RPC): New macro.
48730 * config.make.in (link-obsolete-rpc): New substituted variable.
48731 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48732 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48733 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48734 (shared-only-routines): Don't set it under [link-obsolete-rpc],
48735 so that libc.a contains the symbols.
48736 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48737 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48738 * sunrpc/auth_none.c: Likewise.
48739 * sunrpc/auth_unix.c: Likewise.
48740 * sunrpc/authdes_prot.c: Likewise.
48741 * sunrpc/authuxprot.c: Likewise.
48742 * sunrpc/clnt_gen.c: Likewise.
48743 * sunrpc/clnt_perr.c: Likewise.
48744 * sunrpc/clnt_raw.c: Likewise.
48745 * sunrpc/clnt_simp.c: Likewise.
48746 * sunrpc/clnt_tcp.c: Likewise.
48747 * sunrpc/clnt_udp.c: Likewise.
48748 * sunrpc/clnt_unix.c: Likewise.
48749 * sunrpc/des_crypt.c: Likewise.
48750 * sunrpc/des_soft.c: Likewise.
48751 * sunrpc/get_myaddr.c: Likewise.
48752 * sunrpc/key_call.c: Likewise.
48753 * sunrpc/key_prot.c: Likewise.
48754 * sunrpc/netname.c: Likewise.
48755 * sunrpc/pm_getmaps.c: Likewise.
48756 * sunrpc/pm_getport.c: Likewise.
48757 * sunrpc/pmap_clnt.c: Likewise.
48758 * sunrpc/pmap_prot.c: Likewise.
48759 * sunrpc/pmap_prot2.c: Likewise.
48760 * sunrpc/pmap_rmt.c: Likewise.
48761 * sunrpc/publickey.c: Likewise.
48762 * sunrpc/rpc_cmsg.c: Likewise.
48763 * sunrpc/rpc_common.c: Likewise.
48764 * sunrpc/rpc_dtable.c: Likewise.
48765 * sunrpc/rpc_prot.c: Likewise.
48766 * sunrpc/rpc_thread.c: Likewise.
48767 * sunrpc/rtime.c: Likewise.
48768 * sunrpc/svc.c: Likewise.
48769 * sunrpc/svc_auth.c: Likewise.
48770 * sunrpc/svc_raw.c: Likewise.
48771 * sunrpc/svc_run.c: Likewise.
48772 * sunrpc/svc_tcp.c: Likewise.
48773 * sunrpc/svc_udp.c: Likewise.
48774 * sunrpc/svc_unix.c: Likewise.
48775 * sunrpc/svcauth_des.c: Likewise.
48776 * sunrpc/xcrypt.c: Likewise.
48777 * sunrpc/xdr.c: Likewise.
48778 * sunrpc/xdr_array.c: Likewise.
48779 * sunrpc/xdr_float.c: Likewise.
48780 * sunrpc/xdr_intXX_t.c: Likewise.
48781 * sunrpc/xdr_mem.c: Likewise.
48782 * sunrpc/xdr_rec.c: Likewise.
48783 * sunrpc/xdr_ref.c: Likewise.
48784 * sunrpc/xdr_sizeof.c: Likewise.
48785 * sunrpc/xdr_stdio.c: Likewise.
48787 2012-05-10 Roland McGrath <roland@hack.frob.com>
48789 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48790 change. Update copyright years.
48792 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48794 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48796 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
48797 Joseph Myers <joseph@codesourcery.com>
48798 Paul Pluzhnikov <ppluzhnikov@google.com>
48801 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48803 [cross-compiling] (extra-libs): Likewise.
48804 [cross-compiling] (extra-libs-others): Likewise.
48805 [cross-compiling] (librpcsvc-routines): Likewise.
48806 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48807 [cross-compiling] (omit-deps): Likewise.
48808 (sunrpc-CPPFLAGS): New variable.
48809 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48810 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48811 (cross-rpcgen-objs): New variable.
48812 (extra-objs): Append $(cross-rpcgen-objs).
48813 ($(cross-rpcgen-objs)): New rule.
48814 ($(objpfx)cross-rpcgen): Likewise.
48815 (rpcgen-cmd): Define to use $(built-program-file). Expand
48817 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48818 ($(objpfx)x%.stmp): Likewise.
48819 * sunrpc/proto.h [IS_IN_build] (_): Define.
48820 [IS_IN_build] (_libc_intl_domainname): Likewise.
48822 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48824 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48825 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48826 and R_X86_64_TPOFF64.
48828 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48830 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48831 sysdeps/unix/sysv/syscalls.list.
48834 * sysdeps/unix/sysv/syscalls.list: Remove file.
48836 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
48839 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48840 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48841 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48842 (__LC_IDENTIFICATION): Make these macros useful in #if
48843 expressions, as required by C99.
48845 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
48847 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48848 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
48851 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
48853 * stdlib/longlong.h: Updated from GCC.
48855 2012-05-09 Andreas Jaeger <aj@suse.de>
48857 * nscd/nscd.c (run_modes): Make named enum, reorder so that
48858 default is first entry.
48859 (run_mode): Set type.
48860 (main): Remove informal message about syslog.
48861 (options): Fix typo.
48864 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48867 (llrintf): Likewise.
48868 (llrint): Likewise.
48871 (nearbyint): Likewise.
48872 (nearbyintf): Likewise.
48874 2012-05-09 Andreas Jaeger <aj@suse.de>
48875 Pedro Alves <palves@redhat.com>
48877 * nscd/nscd.c (run_mode): Use enum.
48878 (main): Cleanup coding style issue.
48880 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
48881 Andreas Jaeger <aj@suse.de>
48883 * nscd/nscd.c (go_background): Replaced with...
48884 (run_mode): ... this.
48885 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48886 (options): Add -F --foreground.
48887 (main): Implement it.
48888 (parse_opt): Parse it.
48890 2012-05-09 Andreas Jaeger <aj@suse.de>
48893 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48894 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48895 -Wconversion warning.
48896 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48899 2012-05-09 Joseph Myers <joseph@codesourcery.com>
48901 * conform/data/locale.h-data (NULL): Use macro-constant. Require
48903 (LC_ALL): Use macro-int-constant.
48904 (LC_COLLATE): Likewise.
48905 (LC_CTYPE): Likewise.
48906 (LC_MESSAGES): Likewise.
48907 (LC_MONETARY): Likewise.
48908 (LC_NUMERIC): Likewise.
48909 (LC_TIME): Likewise.
48910 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48911 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48912 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48913 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48915 [C99-based standards] (float_t): Expect type.
48916 [C99-based standards] (double_t): Expect type.
48917 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
48919 [C99-based standards] (HUGE_VALL): Likewise.
48920 [C99-based standards] (INFINITY): Likewise.
48921 [C99-based standards] (NAN): Likewise.
48922 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48923 [C99-based standards] (FP_NAN): Likewise.
48924 [C99-based standards] (FP_NORMAL): Likewise.
48925 [C99-based standards] (FP_SUBNORMAL): Likewise.
48926 [C99-based standards] (FP_ZERO): Likewise.
48927 [C99-based standards] (FP_FAST_FMA): Use
48928 optional-macro-int-constant. Specify type. Require == 1.
48929 [C99-based standards] (FP_FAST_FMAF): Likewise.
48930 [C99-based standards] (FP_FAST_FMAL): Likewise.
48931 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48932 [C99-based standards] (FP_ILOGBNAN): Likewise.
48933 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48935 [C99-based standards] (MATH_ERREXCEPT): Likewise.
48936 [C99-based standards] (math_errhandling): Specify type.
48937 [ISO99 || ISO11] (signgam): Do not allow.
48938 [non-C99-based standards] (copysignf): Do not allow.
48939 [non-C99-based standards] (exp2f): Likewise.
48940 [non-C99-based standards] (log2f): Likewise.
48941 [non-C99-based standards] (modff): Allow.
48942 [non-C99-based standards] (erff): Do not allow.
48943 [non-C99-based standards] (erfcf): Likewise.
48944 [non-C99-based standards] (gammaf): Likewise.
48945 [non-C99-based standards] (hypotf): Likewise.
48946 [non-C99-based standards] (j0f): Likewise.
48947 [non-C99-based standards] (j1f): Likewise.
48948 [non-C99-based standards] (jnf): Likewise.
48949 [non-C99-based standards] (lgammaf): Likewise.
48950 [non-C99-based standards] (tgammaf): Likewise.
48951 [non-C99-based standards] (y0f): Likewise.
48952 [non-C99-based standards] (y1f): Likewise.
48953 [non-C99-based standards] (ynf): Likewise.
48954 [non-C99-based standards] (isnanf): Likewise.
48955 [non-C99-based standards] (acoshf): Likewise.
48956 [non-C99-based standards] (asinhf): Likewise.
48957 [non-C99-based standards] (atanhf): Likewise.
48958 [non-C99-based standards] (cbrtf): Likewise.
48959 [non-C99-based standards] (expm1f): Likewise.
48960 [non-C99-based standards] (ilogbf): Likewise.
48961 [non-C99-based standards] (log1pf): Likewise.
48962 [non-C99-based standards] (logbf): Likewise.
48963 [non-C99-based standards] (nextafterf): Likewise.
48964 [non-C99-based standards] (remainderf): Likewise.
48965 [non-C99-based standards] (rintf): Likewise.
48966 [non-C99-based standards] (scalbf): Likewise.
48967 [non-C99-based standards] (copysignl): Likewise.
48968 [non-C99-based standards] (exp2l): Likewise.
48969 [non-C99-based standards] (log2l): Likewise.
48970 [non-C99-based standards] (modfl): Allow.
48971 [non-C99-based standards] (erfl): Do not allow.
48972 [non-C99-based standards] (erfcl): Likewise.
48973 [non-C99-based standards] (gammal): Likewise.
48974 [non-C99-based standards] (hypotl): Likewise.
48975 [non-C99-based standards] (j0l): Likewise.
48976 [non-C99-based standards] (j1l): Likewise.
48977 [non-C99-based standards] (jnl): Likewise.
48978 [non-C99-based standards] (lgammal): Likewise.
48979 [non-C99-based standards] (tgammal): Likewise.
48980 [non-C99-based standards] (y0l): Likewise.
48981 [non-C99-based standards] (y1l): Likewise.
48982 [non-C99-based standards] (ynl): Likewise.
48983 [non-C99-based standards] (isnanl): Likewise.
48984 [non-C99-based standards] (acoshl): Likewise.
48985 [non-C99-based standards] (asinhl): Likewise.
48986 [non-C99-based standards] (atanhl): Likewise.
48987 [non-C99-based standards] (cbrtl): Likewise.
48988 [non-C99-based standards] (expm1l): Likewise.
48989 [non-C99-based standards] (ilogbl): Likewise.
48990 [non-C99-based standards] (log1pl): Likewise.
48991 [non-C99-based standards] (logbl): Likewise.
48992 [non-C99-based standards] (nextafterl): Likewise.
48993 [non-C99-based standards] (remainderl): Likewise.
48994 [non-C99-based standards] (rintl): Likewise.
48995 [non-C99-based standards] (scalbl): Likewise.
48996 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48997 [non-C99-based standards] (FP_*): Do not allow.
48998 [C99-based standards] (FP_*): Change to
48999 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49000 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49002 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49003 (SIG_ERR): Likewise.
49004 [X/Open-based standards] (SIG_HOLD): Likewise.
49005 (SIG_IGN): Likewise.
49006 (SIGABRT): Use macro-int-constant. Specify type. Require
49008 (SIGFPE): Likewise.
49009 (SIGILL): Likewise.
49010 (SIGINT): Likewise.
49011 (SIGSEGV): Likewise.
49012 (SIGTER): Likewise.
49013 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49014 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49015 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49016 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49017 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49018 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49019 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49020 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49021 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49022 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49023 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49024 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49025 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49026 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49027 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49028 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49029 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49030 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49031 [X/Open-based standards] (SIGTRAP): Likewise.
49032 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49033 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49034 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49035 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49036 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49039 2012-05-08 Ian Wienand <ianw@vmware.com>
49042 * time/tzset.c (__tzset_parse_tz): Update default rules for
49043 daylight time changes in the Energy Policy Act of 2005.
49045 2012-05-09 Andreas Jaeger <aj@suse.de>
49048 * elf/ldconfig.c (parse_conf): Change string to make clear that
49049 ldconfig only issued a warning if ld.so.conf does not exist.
49051 2012-05-08 David S. Miller <davem@davemloft.net>
49053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49054 movxtod instead of popping the value on the stack.
49056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49058 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
49060 * config.h.in: Add HAVE_ARM_PCS_VFP.
49062 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
49065 * include/features.h: Warn if user requests __FORTIFY_SOURCE
49066 checking but the checks are disabled for any reason.
49068 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
49070 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49071 and ELF64_R_TYPE with ELFW(R_TYPE).
49073 2012-05-08 Joseph Myers <joseph@codesourcery.com>
49075 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49076 (ulimit): Likewise.
49078 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49079 (settimeofday): Likewise.
49081 2012-05-08 Mike Frysinger <vapier@gentoo.org>
49083 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
49084 a struct th_u2 inside the union, and move tu_block/tu_code into
49085 a new th_u3 union of tu_block/tu_code inside of that. Move
49086 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
49087 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
49088 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49089 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49090 (th_stuff): Change to th_u1.tu_stuff.
49092 (th_msg): Change to th_u1.th_u2.tu_data.
49094 2012-05-07 David S. Miller <davem@davemloft.net>
49096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49099 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49100 (SETUP_PIC_REG): Use it.
49101 (SETUP_PIC_REG_LEAF): Use it.
49103 2012-05-07 Joseph Myers <joseph@codesourcery.com>
49107 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49109 (EXPL_FINITE): Likewise.
49110 (FLDLOG): Likewise.
49111 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49112 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49114 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49116 (EXPL_FINITE): Likewise.
49117 (FLDLOG): Likewise.
49118 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49119 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49121 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
49122 test of -max_value argument for long double.
49123 * sysdeps/i386/fpu/libm-test-ulps: Update.
49124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49126 2012-05-06 David S. Miller <davem@davemloft.net>
49128 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49129 quad soft-float symbols whose references which are compiler
49131 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49133 2012-05-06 Joseph Myers <joseph@codesourcery.com>
49137 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49139 (EXPL_FINITE): Likewise.
49140 (FLDLOG): Likewise.
49143 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49144 Adjust comments for base varying.
49145 (__expl_finite): Change alias to EXPL_FINITE.
49146 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49148 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49149 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49150 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49151 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49152 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49154 (EXPL_FINITE): Likewise.
49155 (FLDLOG): Likewise.
49158 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49159 Adjust comments for base varying.
49160 (__expl_finite): Change alias to EXPL_FINITE.
49161 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
49163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49166 * math/libm-test.inc (check_float_internal): Correct ulp
49167 calculation for subnormal expected results.
49169 2012-05-06 Andreas Jaeger <aj@suse.de>
49171 * Makeconfig (+math-flags): New, set to -frounding-math.
49172 (+cflags): Add +math-flags so that all of glibc gets compiled with
49175 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49177 2012-05-05 Joseph Myers <joseph@codesourcery.com>
49179 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49185 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49186 (__ieee754_expl): Allow for and saturate large arguments.
49187 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49188 (u_threshold): Likewise.
49189 (__exp): Call __ieee754_exp before checking for overflow and
49191 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49192 (u_threshold): Likewise.
49193 (__expf): Call __ieee754_expf before checking for overflow and
49195 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49196 (u_threshold): Likewise.
49197 (__expl): Call __ieee754_expl before checking for overflow and
49199 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49200 (__ieee754_expl): Allow for and saturate large arguments.
49201 * math/libm-test.inc (exp_test): Add another test. Do not allow
49202 missing overflow exception on overflow.
49203 (expm1_test): Do not allow missing overflow exception on overflow.
49205 * sysdeps/i386/fpu/e_expl.c: Move to ...
49206 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
49207 rather than using inline asm.
49208 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49209 * sysdeps/x86_64/fpu/e_expl.S: Copy from
49210 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49212 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49215 (signal): Likewise.
49219 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49221 * sysdeps/unix/syscalls.list (adjtime): Add entry from
49222 sysdeps/unix/common/syscalls.list.
49223 (fchmod): Likewise.
49224 (fchown): Likewise.
49225 (ftruncate): Likewise.
49226 (getrusage): Likewise.
49227 (gettimeofday): Likewise.
49228 (setpgid): Likewise.
49229 (setregid): Likewise.
49230 (setreuid): Likewise.
49231 (sigaction): Likewise.
49232 (truncate): Likewise.
49233 (vhangup): Likewise.
49234 * sysdeps/unix/common/syscalls.list: Remove file.
49235 * sysdeps/unix/bsd/Implies: Don't include unix/common.
49236 * sysdeps/unix/sysv/linux/Implies: Likewise.
49238 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
49240 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49242 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49246 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49249 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49252 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49255 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49258 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49261 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49264 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49268 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49272 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49275 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49279 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49283 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49285 * sysdeps/unix/common/bits/dirent.h: Remove file.
49286 * sysdeps/unix/common/bits/fcntl.h: Likewise.
49288 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49289 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49290 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49291 * sysdeps/unix/bsd/isatty.c: Likewise.
49292 * sysdeps/unix/bsd/tcdrain.c: Likewise.
49293 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49294 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49296 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49299 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49300 long double comparison inaccuracies.
49301 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49304 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
49306 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49307 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49309 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49312 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49313 nonzero digits before rounding a hex value.
49314 * stdlib/tst-strtod.c (tests): Add another test.
49316 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49318 * sysdeps/s390/fpu/libm-test-ulps: Update.
49320 2012-05-03 Andreas Jaeger <aj@suse.de>
49322 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49323 does not get optimized out.
49324 (malloc_opt_barrier): New.
49326 2012-05-03 Andreas Jaeger <aj@suse.de>
49327 Roland McGrath <roland@hack.frob.com>
49329 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49330 intermediate file deletion.
49331 (generated): Add .symlist files.
49333 2012-05-03 Joseph Myers <joseph@codesourcery.com>
49336 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49337 Redirect under this condition.
49338 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49339 [__USE_GNU] (__dprintf_chk): Not under this condition.
49340 [__USE_GNU] (__vdprintf_chk): Likewise.
49341 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49342 under this condition.
49343 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49344 [__USE_XOPEN2K8] (dprintf): Define under this condition.
49345 [__USE_XOPEN2K8] (vdprintf): Likewise.
49346 [__USE_GNU] (__dprintf_chk): Not under this condition.
49347 [__USE_GNU] (__vdprintf_chk): Likewise.
49348 [__USE_GNU] (dprintf): Likewise.
49349 [__USE_GNU] (vdprintf): Likewise.
49351 2012-05-03 Roland McGrath <roland@hack.frob.com>
49353 * elf/Makefile (common-generated): Set this instead of generated for
49354 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
49355 $(all-built-dso)-derived lists.
49357 2012-05-03 Andreas Jaeger <aj@suse.de>
49359 * sysdeps/i386/fpu/libm-test-ulps: Update.
49362 * FAQ.in: Likewise.
49363 * scripts/gen-FAQ.pl: Likewise.
49364 * manual/install.texi (Installation): Point to online location of
49366 * Makefile (files-for-dist): Remove FAQ.
49369 2012-05-02 Allan McRae <allan@archlinux.org>
49371 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49372 (LDFLAGS-reldepmod5.so): Likewise.
49373 (LDFLAGS-reldep6mod1.so): Likewise.
49374 (LDFLAGS-reldep6mod4.so): Likewise.
49375 (LDFLAGS-reldep8mod3.so): Likewise.
49376 (LDFLAGS-unload4mod1.so): Likewise.
49377 (LDFLAGS-unload4mod2.so): Likewise.
49378 (LDFLAGS-tst-initorder): Likewise.
49379 (LDFLAGS-tst-initordera2.so): Likewise.
49380 (LDFLAGS-tst-initordera3.so): Likewise.
49381 (LDFLAGS-tst-initordera4.so): Likewise.
49382 (LDFLAGS-tst-initorderb2.so): Likewise.
49383 (LDFLAGS-noload): Likewise.
49384 (LDFLAGS-next): Likewise.
49385 (LDFLAGS-order2mod1.so): Likewise.
49386 (LDFLAGS-order2mod2.so): Likewise.
49387 (LDFLAGS-tst-initorder2): Likewise.
49388 (LDFLAGS-tst-initorder2a.so): Likewise.
49389 (LDFLAGS-tst-initorder2b.so): Likewise.
49390 (LDFLAGS-tst-initorder2c.so): Likewise.
49391 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49393 2012-05-02 David S. Miller <davem@davemloft.net>
49395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49397 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
49400 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49402 2012-05-02 Andreas Jaeger <aj@suse.de>
49404 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49405 since we manipulate rounding mode.
49406 (CPPFLAGS-test-idouble.c): Likewise.
49407 (CPPFLAGS-test-ifloat.c): Likewise.
49408 (CFLAGS-test-ldouble.c): Likewise.
49409 (CFLAGS-test-double.c): Likewise.
49410 (CFLAGS-test-float.c): Likewise.
49411 (CFLAGS-test-misc.c): Likewise.
49412 (CFLAGS-test-test-fenv.c): Likewise.
49414 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49418 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49419 comparisons to determine direction to adjust input.
49421 2012-05-01 Roland McGrath <roland@hack.frob.com>
49423 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49424 output to the target.
49426 * scripts/localplt.awk: New file.
49427 * elf/Makefile ($(objpfx)check-localplt): Target removed.
49428 (check-localplt-CFLAGS): Variable removed.
49429 ($(all-built-dso:=.jmprel)): New static pattern rule.
49430 (generated): Add those targets.
49431 (localplt-built-dso): New variable.
49432 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49434 * elf/check-localplt.c: File removed.
49436 * scripts/check-execstack.awk: New file.
49437 * elf/Makefile ($(objpfx)check-execstack): Target removed.
49438 (check-execstack-CFLAGS): Variable removed.
49439 ($(objpfx)check-execstack.h): Target removed.
49440 ($(objpfx)execstack-default): New target.
49441 (generated): Add that instead of check-execstack.h.
49442 ($(all-built-dso:=.phdr)): New static pattern rule.
49443 (generated): Add those targets.
49444 * elf/check-execstack.c: File removed.
49446 * scripts/check-textrel.awk: New file.
49447 * elf/Makefile ($(objpfx)check-textrel): Target removed.
49448 (check-textrel-CFLAGS): Variable removed.
49449 (all-built-dso): Use := to define.o
49450 ($(all-built-dso:=.dyn)): New static pattern rule.
49451 (generated): Add those targets.
49452 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49453 * config.make.in (READELF): New substituted variable.
49454 * elf/check-textrel.c: File removed.
49456 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49458 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49460 * conform/data/ctype.h-data [C99-based standards] (isblank):
49462 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49463 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49464 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49465 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49466 Specify type. Require positive value.
49467 (EILSEQ): Likewise.
49468 (ERANGE): Likewise.
49469 [ISO || POSIX] (EILSEQ): Do not expect.
49470 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49471 Specify type. Require positive value.
49472 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49473 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49474 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49475 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49476 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49477 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49478 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49479 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49480 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49481 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49482 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49483 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49484 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49485 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49486 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49487 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49488 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49489 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49490 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49491 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49492 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49493 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49494 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49495 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49496 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49497 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49498 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49499 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49500 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49501 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49502 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49503 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49504 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49505 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49506 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49507 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49508 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49509 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49510 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49511 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49512 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49513 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49514 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49515 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49516 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49517 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49518 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49519 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49520 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49521 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49522 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49523 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49524 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49525 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49526 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49527 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49528 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49529 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49530 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49531 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49532 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49533 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49534 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49535 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49536 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49537 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49538 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49539 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49540 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49541 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49542 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49543 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49544 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49545 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49546 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49547 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49548 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49550 (FLT_ROUNDS): Expect as macro, not constant.
49551 (FLT_MANT_DIG): Use macro-int-constant.
49552 (DBL_MANT_DIG): Likewise.
49553 (LDBL_MANT_DIG): Likewise.
49554 (FLT_DIG): Likewise.
49555 (DBL_DIG): Likewise.
49556 (LDBL_DIG): Likewise.
49557 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
49558 (DBL_MIN_EXP): Likewise.
49559 (LDBL_MIN_EXP): Likewise.
49560 (FLT_MAX_EXP): Use macro-int-constant.
49561 (DBL_MAX_EXP): Likewise.
49562 (LDBL_MAX_EXP): Likewise.
49563 (FLT_MAX_10_EXP): Likewise.
49564 (DBL_MAX_10_EXP): Likewise.
49565 (LDBL_MAX_10_EXP): Likewise.
49566 (FLT_MAX): Use macro-constant.
49567 (DBL_MAX): Likewise.
49568 (LDBL_MAX): Likewise.
49569 (FLT_EPSILON): Use macro-constant. Give upper bound.
49570 (DBL_EPSILON): Likewise.
49571 (LDBL_EPSILON): Likewise.
49572 (FLT_MIN): Likewise.
49573 (DBL_MIN): Likewise.
49574 (LDBL_MIN): Likewise.
49575 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49576 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49577 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49578 [ISO11] (FLT_HAS_SUBNORM): Likewise.
49579 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49580 [ISO11] (DBL_DECIMAL_DIG): Likewise.
49581 [ISO11] (FLT_DECIMAL_DIG): Likewise.
49582 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49583 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49584 [ISO11] (FLT_TRUE_MIN): Likewise.
49585 [ISO11] (LDBL_TRUE_MIN): Likewise.
49586 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49587 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49588 (SCHAR_MIN): Use macro-int-constant. Specify type.
49589 (SCHAR_MAX): Likewise.
49590 (UCHAR_MAX): Likewise.
49591 (CHAR_MIN): Likewise.
49592 (CHAR_MAX): Likewise.
49593 (MB_LEN_MAX): Use macro-int-constant.
49594 (SHRT_MIN): Use macro-int-constant. Specify type.
49595 (SHRT_MAX): Likewise.
49596 (USHRT_MAX): Likewise.
49597 (INT_MAX): Likewise.
49598 (INT_MIN): Use macro-int-constant. Specify type. Make upper
49600 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
49602 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49604 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
49605 bound negative. Suffix upper bound with "L".
49606 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49608 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49610 [C99-based standards] (LLONG_MAX): Likewise.
49611 [C99-based standards] (ULLONG_MAX): Likewise.
49612 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
49614 [ISO11] (max_align_t): Require type.
49615 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49617 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49618 from $CFLAGS, without defining away __attribute__ calls.
49619 (checknamespace): Use $CFLAGS_namespace.
49621 * conform/conformtest.pl (@keywords): Only include C99 keywords
49622 for standards based on C99 or C11.
49624 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49626 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49629 * conform/conformtest.pl: Handle "macro-int-constant" and test for
49630 usability of symbols in #if.
49632 * conform/conformtest.pl: If macro or constant types start
49633 "promoted:", expect the symbol to be of the following type
49634 promoted by the integer promotions.
49636 * conform/conformtest.pl: Parse all "constant" and "macro" lines
49637 in one place. Also handle "macro-constant".
49639 * conform/conformtest.pl: Only accept expected macro values with
49640 "==". Parse all "macro" lines in one place.
49641 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49643 * conform/conformtest.pl: Handle braced types on "constant" lines
49644 instead of handling "typed-constant".
49645 * conform/data/signal.h-data: Use "constant" instead of
49648 * conform/conformtest.pl: Handle "optional-" at start of lines in
49649 one place rather than duplicating several cases. Handle each
49650 format of "macro" line with initial "optional-".
49652 * conform/conformtest.pl: Only accept expected constant or
49653 optional-constant values with "==". Parse all "constant" lines in
49654 one place. Parse all "optional-constant" lines in one place.
49655 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49656 * conform/data/fmtmsg.h-data: Likewise.
49657 * conform/data/netinet/in.h-data: Likewise.
49658 * conform/data/tar.h-data: Likewise.
49659 * conform/data/limits.h-data: Use "==" form on "constant" and
49660 "optional-constant" lines.
49662 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49663 Use -std=c99 for XOPEN2K.
49664 (@knownproblems): Remove.
49665 (newtoken): Don't check %isknown.
49667 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49668 Do not expect macro.
49669 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49670 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49671 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49672 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49673 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49674 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49675 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49676 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49677 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49678 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49679 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49680 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49681 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49682 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49683 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49684 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49685 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49686 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49687 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49688 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49689 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49690 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49691 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49692 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49693 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49694 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49695 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49696 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49697 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49698 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49699 [XPG3] (acosh): Likewise.
49700 [XPG3] (asinh): Likewise.
49701 [XPG3] (atanh): Likewise.
49702 [XPG3] (cbrt): Likewise.
49703 [XPG3] (expm1): Likewise.
49704 [XPG3] (ilogb): Likewise.
49705 [XPG3] (log1p): Likewise.
49706 [XPG3] (logb): Likewise.
49707 [XPG3] (nextafter): Likewise.
49708 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49709 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49710 [XPG3] (remainder): Likewise.
49711 [XPG3] (rint): Likewise.
49712 [XPG3 || XPG4 || UNIX98] (round): Likewise.
49713 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49714 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49715 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49716 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49717 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49718 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49719 [UNIX98 || XOPEN2K] (scalb): Expect.
49720 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49721 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49722 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49723 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49724 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49725 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49726 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49727 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49728 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49729 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49730 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49731 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49732 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49733 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49734 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49735 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49736 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49737 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49738 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49739 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49740 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49741 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49742 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49743 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49744 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49745 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49746 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49747 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49748 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49749 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49750 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49751 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49752 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49753 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49754 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49755 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49756 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49757 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49758 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49759 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49760 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49761 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49762 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49763 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49764 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49765 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49766 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49767 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49768 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49769 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49770 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49771 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49772 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49773 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49774 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49775 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49776 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49777 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49778 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49779 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49780 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49781 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49782 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49783 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49784 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49785 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49786 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49787 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49788 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49789 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49790 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49791 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49792 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49793 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49794 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49795 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49796 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49797 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49798 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49799 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49800 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49801 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49802 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49803 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49804 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49805 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49806 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49807 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49808 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49809 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49810 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49811 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49812 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49813 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49814 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49815 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49816 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49817 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49818 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49819 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49820 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49821 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49822 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49823 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49824 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49825 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49826 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49827 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49828 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49829 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49830 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49831 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49832 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49833 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49834 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49835 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49836 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49837 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49838 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49839 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49840 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49841 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49842 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49843 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49844 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49845 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49846 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49847 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49848 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49849 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49850 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49851 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49852 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49853 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49854 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49855 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49856 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49858 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49859 _XOPEN_SOURCE_EXTENDED for XPG4.
49861 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49863 * Makeconfig (localtime): Remove variable.
49864 (inst_localtime-file): Likewise.
49866 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49887 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49891 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49892 comparisons to determine direction to adjust input.
49893 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49894 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49895 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49897 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49899 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49901 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49902 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49904 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49906 * math/libm-test.inc (nexttoward_test): Add more tests.
49908 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49911 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49912 in version GLIBC_2.1, not GLIBC_2.0.
49913 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49916 2012-04-30 Joseph Myers <joseph@codesourcery.com>
49919 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49921 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49922 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49923 * math/libm-test.inc (acos_test): Add more tests.
49924 (asin_test): Likewise.
49925 * sysdeps/i386/fpu/libm-test-ulps: Update.
49926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49929 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49931 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49932 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49933 * math/libm-test.inc (acos_test_tonearest): New function.
49934 (acos_test_towardzero): Likewise.
49935 (acos_test_downward): Likewise.
49936 (acos_test_upward): Likewise.
49937 (asin_test_tonearest): Likewise.
49938 (asin_test_towardzero): Likewise.
49939 (asin_test_downward): Likewise.
49940 (asin_test_upward): Likewise.
49941 (main): Call the new functions.
49942 * sysdeps/i386/fpu/libm-test-ulps: Update.
49943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49947 * math/e_exp10.c: Include <float.h>.
49948 (__ieee754_exp10): Handle underflow here rather than multiplying
49949 large negative argument by M_LN10.
49950 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49952 * math/e_exp10l.c: Include <float.h>.
49953 (__ieee754_exp10l): Handle underflow here rather than multiplying
49954 large negative argument by M_LN10l.
49955 * math/libm-test.inc (exp10_test): Add another test. Do not allow
49956 spurious overflow exception on underflow.
49958 2012-04-29 Marek Polacek <polacek@redhat.com>
49960 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49961 (__fortify_function): New macro.
49962 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49963 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49964 __extern_always_inline.
49965 * libio/bits/stdio2.h: Likewise.
49966 * libio/bits/stdio.h: Likewise.
49967 * string/string.h: Likewise.
49968 * string/bits/string3.h: Likewise.
49969 * include/stdio.h: Likewise.
49970 * stdlib/bits/stdlib.h: Likewise.
49971 * stdlib/stdlib.h: Likewise.
49972 * rt/bits/mqueue2.h: Likewise.
49973 * rt/mqueue.h: Likewise.
49974 * posix/bits/unistd.h: Likewise.
49975 * posix/unistd.h: Likewise.
49976 * io/bits/poll2.h: Likewise.
49977 * io/bits/fcntl2.h: Likewise.
49978 * io/fcntl.h: Likewise.
49979 * io/sys/poll.h: Likewise.
49980 * misc/bits/syslog.h: Likewise.
49981 * misc/bits/syslog-ldbl.h: Likewise.
49982 * misc/sys/syslog.h: Likewise.
49983 * socket/bits/socket2.h: Likewise.
49984 * socket/sys/socket.h: Likewise.
49985 * debug/tst-chk1.c: Likewise.
49986 * wcsmbs/bits/wchar2.h: Likewise.
49987 * wcsmbs/bits/wchar-ldbl.h: Likewise.
49988 * wcsmbs/wchar.h: Likewise.
49990 2012-04-29 Andreas Jaeger <aj@suse.de>
49992 * Makerules (tests): Remove enable-check-abi protection.
49993 (check-abi-warn): Remove.
49994 (check-abi-%): Remove check-abi-warn usage.
49996 * configure.in: Remove check-abi configure option.
49997 * configure: Regenerated.
49998 * config.make.in (enable-check-abi): Remove.
50000 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
50003 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50004 double functions to double *_finite functions.
50007 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50008 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50010 * stdio-common/Makefile (tests): Add tst-sprintf3.
50011 * stdio-common/tst-sprintf3.c: New file.
50013 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50014 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50016 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50018 * conform/conformtest.pl: Remove duplicate typed-constant
50021 2012-04-28 David S. Miller <davem@davemloft.net>
50023 * Makerules (%.abilist): Add vpath on sysdep_dirs.
50024 (check-abi-%): Remove AWK script prerequisite and explicit
50026 (check-abi): Rewrite to just diff the symlist with the abilist.
50027 (config-tls, config-abi-config): Delete, no longer used.
50028 (update-abi-%): Remove AWK script and explicit abilist directory.
50029 (update-abi): Rewrite to simply compare and conditionally copy the
50030 symlist and the sysdep abilist file. Remove update-abi-config
50032 * abilist/ld.abilist: Remove.
50033 * abilist/libBrokenLocale.abilist: Remove.
50034 * abilist/libanl.abilist: Remove.
50035 * abilist/libcrypt.abilist: Remove.
50036 * abilist/libdl.abilist: Remove.
50037 * abilist/librt.abilist: Remove.
50038 * abilist/libthread_db.abilist: Remove.
50039 * abilist/libutil.abilist: Remove.
50040 * scripts/extract-abilist.awk: Remove.
50041 * scripts/merge-abilist.awk: Remove.
50042 * sysdeps/generic/libcidn.abilist: New file.
50043 * sysdeps/generic/libnss_compat.abilist: New file.
50044 * sysdeps/generic/libnss_db.abilist: New file.
50045 * sysdeps/generic/libnss_dns.abilist: New file.
50046 * sysdeps/generic/libnss_files.abilist: New file.
50047 * sysdeps/generic/libnss_hesiod.abilist: New file.
50048 * sysdeps/generic/libnss_nis.abilist: New file.
50049 * sysdeps/generic/libnss_nisplus.abilist: New file.
50050 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50051 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50052 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50054 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50055 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50056 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50057 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50058 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50059 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50060 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50061 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50062 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50064 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50065 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50066 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50067 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50069 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50070 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50071 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50072 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50073 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50074 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50076 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50077 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50078 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50080 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50183 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50184 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50185 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50187 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50188 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50189 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50190 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50191 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50192 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50193 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50194 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50195 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50196 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50248 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50250 * conform/conformtest.pl: Fix typo in handling typed-constant from
50253 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50255 * README: Cut down references to pre-2.6 Linux kernels and
50256 Linuxthreads. Update lists of configurations in libc and ports
50257 and sort alphabetically. Say "or newer" with Linux kernel version
50260 * config.h.in [IS_IN_build]: Allow compiling without optimization.
50262 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50265 * math/libm-test.inc (logb_test_downward): New test to expose
50266 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50269 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50272 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50274 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50275 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50277 2012-04-26 Joseph Myers <joseph@codesourcery.com>
50279 * sysdeps/unix/i386/brk.S: Remove file.
50280 * sysdeps/unix/i386/dl-brk.S: Likewise.
50281 * sysdeps/unix/i386/pipe.S: Likewise.
50282 * sysdeps/unix/i386/sigreturn.S: Likewise.
50283 * sysdeps/unix/i386/syscall.S: Likewise.
50284 * sysdeps/unix/i386/vfork.S: Likewise.
50285 * sysdeps/unix/i386/wait.S: Likewise.
50287 * sysdeps/unix/common/tcsendbrk.c: Move to ...
50288 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50290 * configure.in (arm*-none*): Do not allow without
50291 --enable-hacker-mode.
50292 (netbsd*): Remove case setting base_os.
50293 (386bsd*): Likewise.
50294 (freebsd*): Likewise.
50297 (sunos*): Likewise.
50298 (ultrix*): Likewise.
50299 (newsos*): Likewise.
50300 (dynix*): Likewise.
50306 (minix*): Likewise.
50307 (irix4*): Likewise.
50308 (irix6*): Likewise.
50309 (solaris[2-9]*): Likewise.
50311 * configure: Regenerated.
50313 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50316 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50317 overflow or cancellation in calculating denominator.
50318 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50319 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50320 down expression to avoid unexpected rounding in newer GCCs.
50321 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50323 2012-04-26 David S. Miller <davem@davemloft.net>
50325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50326 long-double compat symbols.
50327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50341 2012-04-25 David S. Miller <davem@davemloft.net>
50343 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50344 HWCAP_* values only after the memory barriers have been defined.
50345 (atomic_full_barrier): Define.
50346 (atomic_read_barrier): Define.
50347 (atomic_write_barrier): Define.
50349 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50351 * shlib-versions: Add libgcc_s version information.
50352 * sysdeps/generic/libgcc_s.h: Remove.
50353 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50355 * sysdeps/gnu/unwind-resume.c: Likewise.
50356 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50358 2012-04-25 David S. Miller <davem@davemloft.net>
50360 * sysdeps/unix/sparc/brk.S: Delete.
50361 * sysdeps/unix/sparc/dl-brk.S: Delete.
50362 * sysdeps/unix/sparc/pipe.S: Delete.
50363 * sysdeps/unix/sparc/sysdep.S: Delete.
50364 * sysdeps/unix/sparc/sysdep.h: Delete.
50365 * sysdeps/unix/sparc/vfork.S: Delete.
50366 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50367 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50368 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50369 (ret_ERRVAL, r0, r1, MOVE): Define.
50370 (JUMPTARGET): Remove.
50371 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50372 sysdeps/unix/sparc/sysdep.h
50373 (ENTRY, END): Remove.
50374 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50376 2012-04-25 Joseph Myers <joseph@codesourcery.com>
50378 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50379 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50382 * timezone/README: Update upstream location and email address for
50384 * timezone/zdump.c: Update from tzcode 2012b.
50385 * timezone/zic.c: Likewise.
50387 * configure.in (libc_cv_as_needed): Remove test.
50388 * configure: Regenerated.
50389 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50390 conditional definition.
50391 [$(have-as-needed) != yes] (no-as-needed): Likewise.
50392 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50393 * config.make.in (have-as-needed): Remove variable.
50395 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50396 Paul Pluzhnikov <ppluzhnikov@google.com>
50398 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50401 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
50403 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50404 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50405 * sysdeps/sh/strlen.S: Likewise.
50407 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50409 * sysdeps/unix/fork.S: Remove file.
50410 * sysdeps/unix/i386/fork.S: Likewise.
50411 * sysdeps/unix/sparc/fork.S: Likewise.
50413 * sysdeps/unix/system.c: Remove file.
50414 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50416 * sysdeps/unix/getegid.S: Remove file.
50417 * sysdeps/unix/geteuid.S: Likewise.
50419 2012-04-24 Roland McGrath <roland@hack.frob.com>
50421 * scripts/check-localplt.awk: New file.
50422 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50424 * scripts/data/localplt-generic.data: Add a comment.
50426 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50427 NODE when __dir_mkfile failed.
50428 * sysdeps/mach/hurd/symlinkat.c: Likewise.
50429 Reported by Ludovic Courtès <ludo@gnu.org>.
50431 2012-04-24 Andreas Jaeger <aj@suse.de>
50433 * Makerules (common-clean): Also remove gen-as-const-headers
50436 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50438 * Makerules (native-compile): Do not change working directory for
50439 build. Use $(OUTPUT_OPTION) in command.
50440 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50442 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50445 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50446 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50447 * math/libm-test.inc (floor_test): Add more tests.
50448 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50450 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50452 * sysdeps/unix/getdents.c: Remove file.
50453 * sysdeps/unix/sysv/getdents.c: Likewise.
50454 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50456 * sysdeps/unix/syscalls.list (madvise): Add syscall from
50457 sysdeps/unix/mman/syscalls.list.
50459 (mprotect): Likewise.
50461 (munmap): Likewise.
50462 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50463 * sysdeps/unix/mman/syscalls.list: Remove.
50464 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50466 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50467 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50468 * configure: Regenerated.
50469 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50470 $(libgcc_s_suffix).
50471 * config.make.in (libgcc_s_suffix): Remove variable.
50473 2012-04-23 Joseph Myers <joseph@codesourcery.com>
50475 * sysdeps/unix/sysv/gethostname.c: Move to ...
50476 * sysdeps/posix/gethostname.c: ... here.
50478 * sysdeps/unix/execve.S: Remove file.
50480 * sysdeps/unix/_exit.S: Remove file.
50482 2012-04-23 Andreas Jaeger <aj@suse.de>
50485 * manual/Makefile: Remove make dist support, there's no
50486 need for a stand-alone documentation tar ball.
50487 (TEXI2DVI): Define always, it's not in Makeconfig.
50490 (edition): Removed.
50491 (glibc-doc-$(edition).tar): Removed
50495 (ETAGS): Remove, it's in Makeconfig.
50496 (move-if-change): Remove, it's in Makeconfig.
50498 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
50501 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50502 (strtod, strtof, strtold, strtol, strtoul, strtoq)
50503 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50504 (strtod_l, strtof_l, strtold_l): Remove __wur.
50505 It is not necessarily an error to ignore strtol's return value.
50506 One can reliably look at the stored endptr to decide whether
50507 the number had valid syntax.
50509 2012-04-21 Andreas Jaeger <aj@suse.de>
50512 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50514 2012-04-21 Joseph Myers <joseph@codesourcery.com>
50516 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50517 * sysdeps/unix/sysv/Versions: Remove file.
50519 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
50522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50524 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
50527 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50528 version from __vm86.
50530 2012-04-20 Joseph Myers <joseph@codesourcery.com>
50532 * sysdeps/unix/common/lxstat.c: Remove file.
50533 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50535 * sysdeps/unix/sysv/Makefile: Remove file.
50537 * sysdeps/unix/sysv/direct.h: Remove file.
50539 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50540 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50541 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50542 * sysdeps/unix/sysv/bits/signum.h: Likewise.
50543 * sysdeps/unix/sysv/bits/stat.h: Likewise.
50544 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50545 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50547 * sysdeps/unix/sysv/setrlimit.c: Remove file.
50549 * sysdeps/unix/xmknod.c: Remove file.
50550 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50552 * sysdeps/unix/sysv/settimeofday.c: Remove file.
50554 * sysdeps/unix/sysv/i386/time.S: Remove file.
50556 * sysdeps/unix/fxstat.c: Remove file.
50557 * sysdeps/unix/xstat.c: Likewise.
50558 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50560 * sysdeps/unix/sysv/sigaction.c: Remove file.
50562 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50563 (sysdep_headers): Remove variable.
50564 [termio.h not in sysdep_headers] (generated): Likewise.
50565 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50566 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50567 * sysdeps/unix/sysv/tcdrain.c: Likewise.
50568 * sysdeps/unix/sysv/tcflow.c: Likewise.
50569 * sysdeps/unix/sysv/tcflush.c: Likewise.
50570 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50571 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50572 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50573 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50574 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50576 * sysdeps/unix/siglist.c: Remove file.
50578 * sysdeps/unix/getppid.S: Remove file.
50580 * sysdeps/unix/mkdir.c: Remove file.
50581 * sysdeps/unix/rmdir.c: Likewise.
50583 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
50585 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50587 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50588 errlist-compat value.
50590 2012-04-18 David S. Miller <davem@davemloft.net>
50592 * sysdeps/generic/memcopy.h (reg_char): Delete.
50593 * debug/strcat_chk.c: Use char, not reg_char.
50594 * debug/strcpy_chk.c: Likewise.
50595 * debug/strncat_chk.c: Likewise.
50596 * debug/strncpy_chk.c: Likewise.
50597 * string/memchr.c: Likewise.
50598 * string/memrchr.c: Likewise.
50599 * string/rawmemchr.c: Likewise.
50600 * string/strcat.c: Likewise.
50601 * string/strchr.c: Likewise.
50602 * string/strchrnul.c: Likewise.
50603 * string/strcmp.c: Likewise.
50604 * string/strcpy.c: Likewise.
50605 * string/strncat.c: Likewise.
50606 * string/strncmp.c: Likewise.
50607 * string/strncpy.c: Likewise.
50609 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50611 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50612 __builtin_memcopy is called when src and dest ranges are known to not
50615 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50617 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50618 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50619 fwd_align_merge macro call.
50620 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50621 bwd_align_merge macro call.
50622 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50624 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50626 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50627 bwd_align_merge macros.
50628 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50629 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50630 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50632 2012-04-18 David S. Miller <davem@davemloft.net>
50634 * sysdeps/sparc/sparc64/memcopy.h: Delete.
50636 2012-04-18 Andreas Jaeger <aj@suse.de>
50639 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50640 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50641 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50643 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50644 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50645 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50647 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50648 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50649 Adjust for changed ldbl-128 files.
50651 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50652 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50653 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50655 2012-04-17 David S. Miller <davem@davemloft.net>
50657 * sysdeps/sparc/sparc32/memcopy.h: Delete.
50659 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
50661 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50662 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50663 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50664 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50665 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50666 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50668 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50671 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50672 * math/libm-test.inc: Add ilogb errno and exception tests.
50673 * math/w_ilogb.c: New file: ilogb wrapper.
50674 * math/w_ilogbf.c: New file: ilogbf wrapper.
50675 * math/w_ilogbl.c: New file: ilogbl wrapper.
50676 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50677 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50678 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50679 exception being thrown with 0.0 as argument.
50680 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50681 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50682 exception being thrown with 0.0 as argument.
50683 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50684 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50685 exception being thrown with 0.0 as argument.
50686 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50687 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50688 exception being thrown with 0.0 as argument.
50689 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50690 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50691 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50692 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50693 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50694 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50695 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50696 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50697 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50699 2012-04-17 Petr Baudis <pasky@ucw.cz>
50701 * include/sys/uio.h: Change __vector to __iovec to avoid clash
50704 2012-04-16 Marek Polacek <polacek@redhat.com>
50706 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50708 2012-04-16 Marek Polacek <polacek@redhat.com>
50710 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50711 operands of fdivp instruction.
50713 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50715 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50716 * elf/tst-auditmod3b.c: Likewise.
50717 * elf/tst-auditmod4b.c: Likewise.
50718 * elf/tst-auditmod5b.c: Likewise.
50719 * elf/tst-auditmod6b.c: Likewise.
50720 * elf/tst-auditmod6c.c: Likewise.
50721 * elf/tst-auditmod7b.c: Likewise.
50722 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50723 * sysdeps/x86_64/preconfigure.in: Likewise.
50724 * sysdeps/x86_64/preconfigure: Regenerated.
50726 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50728 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50731 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
50733 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50734 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50736 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
50739 * locale/iso-639.def: Fix gl language name. Spotted by
50742 2012-04-12 Roland McGrath <roland@hack.frob.com>
50745 * libio/libio.h (__io_write_fn): Update comment.
50747 2012-04-12 Petr Baudis <pasky@ucw.cz>
50750 * stdio.texi (Hook Functions): The user provided writer function
50751 is not allowed to return -1.
50753 2012-04-11 David S. Miller <davem@davemloft.net>
50755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50757 2012-04-11 Mike Frysinger <vapier@gentoo.org>
50759 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50760 Add a leading slash to rtkaio.
50762 2012-04-11 Jim Meyering <meyering@redhat.com>
50765 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50766 It is not necessarily an error to ignore fwrite's return
50767 value. One can reliably use ferror to test for errors after
50770 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50772 * bits/types.h (__snseconds_t): New type.
50773 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50775 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50776 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50777 (__SNSECONDS_T_TYPE): Likewise.
50778 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50779 (__SNSECONDS_T_TYPE): Likewise.
50780 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50781 (__SNSECONDS_T_TYPE): Likewise.
50783 2012-04-10 Andreas Jaeger <aj@suse.de>
50786 * manual/time.texi (Processor Time): Return type of times is
50787 elapsed real time since an arbitrary point in the past.
50788 (CPU Time): Move CLK_TCK from here...
50789 (Processor Time): ...to here. Correct description.
50790 * manual/conf.texi (Constants for Sysconf): Correct description of
50793 2012-04-10 David S. Miller <davem@davemloft.net>
50796 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50797 where the is a gap between DT_REL(A) and DT_JMPREL.
50799 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50801 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50802 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50803 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50805 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50807 * elf/dl-support.c (_dl_inhibit_cache): New variable.
50808 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50809 (dl_main): Handle --inhibit-cache.
50810 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50812 * elf/dl-load.c (_dl_map_object): Use it.
50813 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50815 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50818 * sysdeps/i386/fpu/e_powl.S (p78): New object.
50819 (__ieee754_powl): Saturate large exponents rather than testing for
50820 overflow of y*log2(x).
50821 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50822 * math/libm-test.inc (pow_test): Do not permit spurious overflow
50826 * math/s_ctan.c: Include <float.h>.
50827 (__ctan): Avoid internal overflow or cancellation in calculating
50829 * math/s_ctanf.c: Likewise.
50830 * math/s_ctanl.c: Likewise.
50831 * math/s_ctanh.c: Likewise.
50832 * math/s_ctanhf.c: Likewise.
50833 * math/s_ctanhl.c: Likewise.
50834 * math/libm-test.inc (ctan_test): Add more tests.
50835 (ctanh_test): Likewise.
50836 * sysdeps/i386/fpu/libm-test-ulps: Update.
50837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50839 2012-04-09 Andreas Jaeger <aj@suse.de>
50842 * manual/filesys.texi (Directory Entries): Mention that d_namlen
50843 is an optional BSD extension.
50846 * manual/stdio.texi (Opening Streams): Document additional fopen
50849 2012-04-09 Roland McGrath <roland@hack.frob.com>
50851 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50852 %eax without telling the compiler.
50854 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
50857 * manual/install.texi: Use sourceware.org.
50859 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50862 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50863 (__ieee754_pow): Generate overflow and underflow using huge*huge
50864 and tiny*tiny rather than just returning constant infinity or zero
50865 for large exponents.
50866 * math/libm-test.inc (pow_test): Require overflow exceptions for
50867 applicable cases of large exponents.
50870 * sysdeps/i386/fpu/e_pow.S (p10): New object.
50871 (__ieee754_pow): Use iterative multiplication algorithm only for
50872 integer exponents with absolute value below 1024. Check for odd
50873 integer exponents when using algorithm for real exponents.
50874 * math/libm-test.inc (pow_test): Add more tests.
50875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50877 2012-04-08 Joseph Myers <joseph@codesourcery.com>
50880 * math/libm-test.inc (exp_test): Do not allow overflow exception
50883 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
50886 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50887 instead of __kernel_standard_f.
50889 2012-04-08 Mike Frysinger <vapier@gentoo.org>
50891 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50892 * sysdeps/x86_64/memset_chk.S: Likewise.
50894 2012-04-08 Andreas Jaeger <aj@suse.de>
50897 * manual/startup.texi (Environment Access): Describe return value
50898 for putenv and setenv.
50901 * manual/filesys.texi (Directory Entries): Add description for
50905 * manual/filesys.texi (Directory Entries): Clarify that it's file
50906 system not operating system in the description of DT_UNKNOWN.
50909 * manual/syslog.texi (closelog): Fix reference, it's openlog.
50911 2012-04-08 Stephen Compall <s11@member.fsf.org>
50914 * manual/llio.texi (Opening and Closing Files): Add cross
50915 reference to explain mode argument.
50917 2012-04-07 Mike Frysinger <vapier@gentoo.org>
50919 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50920 * sysdeps/x86_64/memset_chk.S: Likewise.
50922 2012-04-07 David S. Miller <davem@davemloft.net>
50924 * elf/elf.h (R_SPARC_WDISP10): Define.
50925 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50927 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50928 R_SPARC_SIZE64 and R_SPARC_H34.
50930 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
50932 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50933 conditions and remove no longer applicable assertion.
50935 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50937 * bits/byteswap.h: Include <features.h>.
50938 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50939 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50941 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50943 * bits/byteswap.h (__bswap_16): Removed.
50944 Include <bits/byteswap-16.h> to get __bswap_16.
50945 * sysdeps/i386/bits/byteswap.h: Likewise.
50946 * sysdeps/s390/bits/byteswap.h: Likewise.
50947 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50948 * bits/byteswap-16.h: New file.
50949 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50950 * sysdeps/s390/bits/byteswap-16.h: Likewise.
50951 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50952 * string/Makefile (headers): Add bits/byteswap-16.h.
50954 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50957 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50959 * nss/Makefile (tests-static, tests): Add tst-nss-static.
50960 * nss/tst-nss-static.c: New.
50962 2012-04-06 Robert Millan <rmh@gnu.org>
50965 * manual/llio.texi (File Position Primitive): lseek
50966 refers to WHENCE when it really means OFFSET.
50968 2012-04-06 Andreas Jaeger <aj@suse.de>
50970 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50971 strncmp declarations.
50973 * abilist/libc.abilist: Add __poll and __ppoll.
50975 2012-04-05 David S. Miller <davem@davemloft.net>
50977 * scripts/check-local-headers.sh: Accept a host triplet in the
50978 path matched by the exclude regexp.
50980 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50982 * sysdeps/powerpc/powerpc32/dl-machine.h
50983 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50984 * sysdeps/s390/s390-32/dl-machine.h
50985 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50986 * sysdeps/sparc/sparc32/dl-machine.h
50987 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50988 * sysdeps/sparc/sparc64/dl-machine.h
50989 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50991 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50993 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50994 undefined symbol errors.
50996 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50999 2012-04-05 Michael Matz <matz@suse.de>
51002 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51004 2012-04-05 Andreas Jaeger <aj@suse.de>
51007 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51010 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51012 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51013 which ROUND is no valid rounding mode.
51015 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51017 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51019 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51021 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51023 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51024 an exception using FPU order intentionally.
51026 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51028 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51029 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51030 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51031 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51033 2012-04-05 Simon Josefsson <simon@josefsson.org>
51036 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51037 EINVAL when BUFLEN is too smal.
51039 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
51042 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51043 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51045 2012-04-03 Andreas Jaeger <aj@suse.de>
51048 * manual/setjmp.texi (System V contexts): Fix sentence.
51051 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51052 New macro for this case.
51053 [!__GNUC__] (__bswap_64): New inline function for this case.
51054 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51055 * bits/byteswap.h: Likewise.
51056 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51057 ull, guard with __GLIBC_HAVE_LONG_LONG.
51059 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51060 __GLIBC_HAVE_LONG_LONG.
51062 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51063 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51065 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51068 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51069 inptr and inend, rather than using last_ch.
51071 2012-04-02 David S. Miller <davem@davemloft.net>
51073 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51074 * stdio-common/printf-parse.h (read_int): Change return type to
51075 'int', return -1 on INT_MAX overflow.
51076 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51077 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
51078 overflows INT_MAX. Check for overflow of in-format-string precision
51079 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
51080 SIZE_MAX not INT_MAX for integer overflow test.
51081 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51082 skip the construct in the format string but do not record anything.
51083 * stdio-common/bug22.c: Adjust to test both width/prevision
51084 INT_MAX overflow as well as total length INT_MAX overflow. Check
51085 explicitly for proper errno values.
51087 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
51089 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51091 * string/test-strcmp.c [! WIDE]: Likewise.
51092 * time/tst-mktime2.c: Likewise for INT_MAX.
51093 * string/test-string.h: #include <sys/param.h> for MIN.
51095 * csu/init-first.c (__libc_init_first): Call __ctype_init.
51096 * sysdeps/i386/init-first.c (init): Likewise.
51097 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51098 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51099 * sysdeps/sh/init-first.c (init): Likewise.
51101 2012-04-01 Ulrich Drepper <drepper@gmail.com>
51103 * po/ru.po: Update from translation team.
51104 * po/vi.po: Likewise.
51106 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
51108 * resolv/nss_dns/dns-host.c: Merge copyright years.
51110 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51112 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51113 Optimize memcpy with prefetch if
51114 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
51115 src, dst pointers have unequal 16 byte alignments.
51117 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51120 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51121 from a CNAME entry and return the minimum ttl for the query.
51122 (gaih_getanswer_slice): Likewise.
51124 2012-03-30 Jeff Law <law@redhat.com>
51126 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51128 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51129 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51131 * resolv/nss_dns/dns-host.c: Update copyright year.
51133 2012-03-30 Ulrich Drepper <drepper@gmail.com>
51135 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51136 requests to save a system call. Fix check that all bytes are sent.
51138 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51139 comments for sendmmsg.
51141 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51144 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51145 with only 1 character between 0x0041 and 0x01b0.
51146 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51147 * wcsmbs/tst-mbsnrtowcs.c: New file.
51149 2012-03-29 David S. Miller <davem@davemloft.net>
51151 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51152 small copies by hand.
51154 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51157 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51158 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51161 2012-03-28 David S. Miller <davem@davemloft.net>
51163 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51164 that branches into memcpy.
51165 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51166 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51167 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51168 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51171 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51172 implementation too.
51173 * sysdeps/sparc/mempcpy.S: New file.
51175 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51176 the IFUNC routine in the libc case.
51177 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51179 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51180 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51181 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51182 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51183 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51184 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51185 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51186 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51188 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51189 loop to 256 bytes instead of 64 bytes and fix test signedness.
51191 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51192 * sysdeps/sparc/sparc32/Makefile: rather than here...
51193 * sysdeps/sparc/sparc64/Makefile: and here.
51195 2012-03-28 Ulrich Drepper <drepper@gmail.com>
51197 * malloc/mallocbug.c: Avoid warnings about unused variables.
51199 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51202 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51203 in the right place. Discard and retry query if response is
51204 larger than input buffer size.
51206 2012-03-28 Joseph Myers <joseph@codesourcery.com>
51211 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51212 x for large integer exponent.
51213 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51214 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
51215 sign of result as needed afterwards.
51216 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51217 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51218 result for underflowing pow the same as for overflow.
51219 (__kernel_standard_l): Handle powl overflow and underflow here
51220 rather than calling __kernel_standard.
51221 * math/libm-test.inc (pow_test): Add more tests.
51236 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51237 * sysdeps/ieee754/k_standard.c: Include <float.h>.
51238 (__kernel_standard_l): New function.
51239 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51241 * math/w_acosl.c (__acosl): Likewise.
51242 * math/w_asinl.c (__asinl): Likewise.
51243 * math/w_atan2l.c (__atan2l): Likewise.
51244 * math/w_atanhl.c (__atanhl): Likewise.
51245 * math/w_coshl.c (__coshl): Likewise.
51246 * math/w_exp10l.c (__exp10l): Likewise.
51247 * math/w_exp2l.c (__exp2l): Likewise.
51248 * math/w_fmodl.c (__fmodl): Likewise.
51249 * math/w_hypotl.c (__hypotl): Likewise.
51250 * math/w_j0l.c (__j0l, __y0l): Likewise.
51251 * math/w_j1l.c (__j1l, __y1l): Likewise.
51252 * math/w_jnl.c (__jnl, __ynl): Likewise.
51253 * math/w_lgammal.c (__lgammal): Likewise.
51254 * math/w_log10l.c (__log10l): Likewise.
51255 * math/w_log2l.c (__log2l): Likewise.
51256 * math/w_logl.c (__logl): Likewise.
51257 * math/w_powl.c (__powl): Likewise.
51258 * math/w_remainderl.c (__remainderl): Likewise.
51259 * math/w_scalbl.c (sysv_scalbl): Likewise.
51260 * math/w_sinhl.c (__sinhl): Likewise.
51261 * math/w_sqrtl.c (__sqrtl): Likewise.
51262 * math/w_tgammal.c (__tgammal): Likewise.
51263 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51264 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51265 * math/libm-test.inc (acos_test): Add more tests.
51266 (acosh_test): Likewise.
51267 (asin_test): Likewise.
51268 (atanh_test): Likewise.
51269 (exp_test): Likewise.
51270 (exp10_test): Likewise.
51271 (exp2_test): Likewise.
51272 (expm1_test): Likewise.
51273 (lgamma_test): Likewise.
51274 (log_test): Likewise.
51275 (log10_test): Likewise.
51276 (log1p_test): Likewise.
51277 (log2_test): Likewise.
51278 (pow_test): Do not allow some spurious overflow exceptions.
51279 (sqrt_test): Add more tests.
51280 (tgamma_test): Likewise.
51281 (y0_test): Likewise.
51282 (y1_test): Likewise.
51283 (yn_test): Likewise.
51285 2012-03-27 Anton Blanchard <anton@samba.org>
51287 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51289 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51290 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51291 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51293 2012-03-27 David S. Miller <davem@davemloft.net>
51295 * conform/Makefile: Run run-conformtest.sh using $(BASH).
51297 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51298 have-as-vis3 check.
51300 2012-03-27 Andreas Jaeger <aj@suse.de>
51302 * sysdeps/x86_64/elf/configure.in: Moved to ...
51303 * sysdeps/x86_64/configure.in: ... here.
51304 * sysdeps/x86_64/elf/start.S: Moved to ...
51305 * sysdeps/x86_64/start.S: ... here.
51306 * sysdeps/x86_64/elf/configure: Delete.
51308 * sysdeps/x86_64/configure.in: Merge contents from
51309 sysdeps/i386/configure.in (without i686 check).
51311 * sysdeps/i386/elf/Versions: Merge into ...
51312 * sysdeps/i386/Versions: ... this.
51313 * sysdeps/i386/elf/Versions: Delete file.
51314 * sysdeps/i386/elf/start.S: Moved to ...
51315 * sysdeps/i386/start.S: ...here.
51316 * sysdeps/i386/elf/configure.in: Merge into...
51317 * sysdeps/i386/configure.in: ...here.
51318 * sysdeps/i386/elf/configure.in: Delete file.
51319 * sysdeps/i386/elf/configure: Delete file.
51321 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51322 * debug/backtracesyms.c: ... here.
51323 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51324 * debug/backtracesymsfd.c: ... here.
51325 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51326 * sysdeps/generic/ifunc-sel.h: ... here.
51328 * sysdeps/unix/i386/start.c: Delete file.
51329 * sysdeps/unix/sparc/start.c: Delete file.
51330 * sysdeps/unix/start.c: Delete file.
51332 * sysdeps/sh/elf/configure.in: Moved to ...
51333 * sysdeps/sh/configure.in: ... here.
51334 * sysdeps/sh/elf/start.S: Moved to ...
51335 * sysdeps/sh/start.S: ... here.
51336 * sysdeps/sh/elf/configure: Delete file.
51338 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51339 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51340 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51341 * sysdeps/powerpc/powerpc64/entry.h: ... here.
51342 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51343 * sysdeps/powerpc/powerpc64/start.S: here.
51344 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51345 * sysdeps/powerpc/powerpc64/Makefile: ... this.
51346 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51347 * sysdeps/powerpc/powerpc64/configure.in: ... this.
51348 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51350 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51351 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51352 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51353 * sysdeps/powerpc/powerpc32/start.S: ... here.
51354 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51355 * sysdeps/powerpc/powerpc32/configure.in: ... this.
51356 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51358 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51359 * sysdeps/powerpc/ifunc-sel.h: ... here.
51360 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51361 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51363 * sysdeps/sparc/elf/configure.in: Moved to ...
51364 * sysdeps/sparc/configure.in: ... here.
51365 * sysdeps/sparc/elf/configure: Delete file.
51366 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51367 * sysdeps/sparc/sparc32/start.S: ... here.
51368 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51369 * sysdeps/sparc/sparc64/start.S: ... here.
51370 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51371 * sysdeps/sparc/sparc32/Makefile: ... this.
51372 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51373 * sysdeps/sparc/sparc64/Makefile: ... this.
51375 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51376 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51377 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51378 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51379 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51380 * sysdeps/s390/s390-32/setjmp.S: ... here.
51381 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51382 * sysdeps/s390/s390-32/configure.in: ... here.
51383 * sysdeps/s390/s390-32/elf/configure: Delete file.
51384 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51385 * sysdeps/s390/s390-32/start.S: ... here.
51387 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51388 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51389 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51390 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51391 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51392 * sysdeps/s390/s390-64/setjmp.S: ... here.
51393 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51394 * sysdeps/s390/s390-64/configure.in: ... here
51395 * sysdeps/s390/s390-64/elf/configure: Delete file.
51396 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51397 * sysdeps/s390/s390-64/start.S: ... here.
51398 * sysdeps/s390/s390-64/elf/configure: Delete.
51400 * configure.in: Remove support for elf directories in sysdeps.
51402 * configure: Regenerated.
51403 * sysdeps/i386/configure: Regenerated.
51404 * sysdeps/powerpc/powerpc32/configure: Regenerated.
51405 * sysdeps/powerpc/powerpc64/configure: Regenerated.
51406 * sysdeps/s390/s390-32/configure: Regenerated.
51407 * sysdeps/s390/s390-64/configure: Regenerated.
51408 * sysdeps/sh/configure: Regenerated.
51409 * sysdeps/sparc/configure: Regenerated.
51410 * sysdeps/x86_64/configure: Regenerated.
51412 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
51414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51416 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51417 denormal result into account.
51419 2012-03-25 Roland McGrath <roland@hack.frob.com>
51421 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51422 Reported by Allan McRae <allan@archlinux.org>.
51424 2012-03-23 Jeff Law <law@redhat.com>
51426 * nss/getnssent.c (__nss_getent): Fix typo.
51428 2012-03-23 David S. Miller <davem@davemloft.net>
51430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51432 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
51434 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51435 to pad to uint64_t for each field.
51436 (dl_tls_index): Replace unsigned long with uint64_t.
51438 2012-03-23 Daniel Jacobowitz <dmj@google.com>
51439 Paul Pluzhnikov <ppluzhnikov@google.com>
51442 * grp/Makefile (otherlibs): Don't set it.
51443 * inet/Makefile (otherlibs): Likewise.
51444 * login/Makefile (otherlibs): Likewise.
51445 * nscd/Makefile (otherlibs): Likewise.
51446 * posix/Makefile (otherlibs): Likewise.
51447 * pwd/Makefile (otherlibs): Likewise.
51448 * rt/Makefile (otherlibs): Likewise.
51449 * sunrpc/Makefile (otherlibs): Likewise.
51450 * nss/Makefile (otherlibs): Likewise.
51451 Add libnss_files to routines and static-only-routines.
51452 ($(objpfx)getent): Remove rule.
51453 * resolv/Makefile: Add libnss_dns and libresolv to routines and
51454 static-only-routines.
51456 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51459 * math/s_cexp.c: Include <float.h>.
51460 (__cexp): Handle exp result overflowing not necessarily
51461 overflowing both real and imaginary parts of result.
51462 * math/s_cexpf.c: Likewise.
51463 * math/s_cexpl.c: Likewise.
51464 * math/libm-test.inc (cexp_test): Add more tests.
51465 * sysdeps/i386/fpu/libm-test-ulps: Update.
51466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51468 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51470 * include/link.h (ELFW): New macro.
51471 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51472 Replace ELF64_R_TYPE with ELFW(R_TYPE).
51474 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51476 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51479 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51481 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51483 (struct La_x32_retval): Likewise.
51485 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51487 * sysdeps/x86_64/preconfigure.in: New file.
51488 * sysdeps/x86_64/preconfigure: New generated file.
51490 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51493 * math/e_exp2l.c: Include <float.h>.
51494 (__ieee754_exp2l): Handle overflow and underflow cases
51495 separately. Only pass fractional part of argument to
51497 * math/libm-test.inc (exp2_test): Add more tests.
51499 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51500 negating x to take absolute value.
51501 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51503 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51504 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51506 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51507 computing low part if x was negated.
51508 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51510 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51512 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51513 la_x32_gnu_pltexit.
51514 (pltexit): Cast int_retval to ptrdiff_t.
51515 * elf/tst-auditmod3b.c: Likewise.
51516 * elf/tst-auditmod4b.c: Likewise.
51517 * elf/tst-auditmod5b.c: Likewise.
51518 * elf/tst-auditmod6b.c: Likewise.
51519 * elf/tst-auditmod6c.c: Likewise.
51520 * elf/tst-auditmod7b.c: Likewise.
51522 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51523 and x32_gnu_pltexit.
51525 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51526 __ELF_NATIVE_CLASS.
51527 (La_x32_regs): New macro.
51528 (La_x32_retval): Likewise.
51529 (la_x32_gnu_pltenter): New function prototype.
51530 (la_x32_gnu_pltexit): Likewise.
51532 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
51534 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51539 * configure.in (libc_cv_cc_nofma): Check for option to disable
51540 generation of FMA instructions.
51541 * configure: Regenerate.
51542 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51543 * sysdeps/ieee754/dbl-64/Makefile: New file.
51544 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51545 Remove brandred-fma4.
51546 (CFLAGS-brandred-fma4.c): Remove.
51547 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51548 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51550 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51553 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51555 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51556 LLONG_MAX != LONG_MAX.
51557 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51558 (_fitoa_word): Likewise.
51559 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51560 LLONG_MAX != LONG_MAX.
51561 * stdio-common/_itowa.h: Include <_itoa.h>.
51562 (_itowa_word): Use _ITOA_WORD_TYPE on value.
51563 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
51564 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
51565 only if not defined.
51566 (_ITOA_WORD_TYPE): Likewise.
51567 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51568 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51570 2012-03-21 David S. Miller <davem@davemloft.net>
51572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51574 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51576 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51577 of x86_64 when setting libc_cv_slibdir, libdir and
51579 * sysdeps/unix/sysv/linux/configure: Regenerated.
51581 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51583 * manual/lang.texi (Old Varargs): Remove section.
51584 (How Variadic): Update menu.
51585 (va_start): Do not mention varargs.h.
51587 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51588 Joseph Myers <joseph@codesourcery.com>
51590 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51592 * configure: Regenerated.
51594 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51596 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51597 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51600 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51603 * Makefile (files-for-dist): Remove NOTES.
51604 (NOTES): Remove rule.
51605 * README: Don't refer to NOTES.
51606 * manual/creature.texi: Don't include macros.texi.
51607 * manual/intro.texi (creature.texi): Remove comment referring to
51610 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51611 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51612 * configure: Regenerated.
51613 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51614 LIBC_TRY_CC_OPTION.
51615 (libc_cv_as_i686): Likewise.
51616 (libc_cv_cc_avx): Likewise.
51617 (libc_cv_cc_sse2avx): Likewise.
51618 (libc_cv_cc_fma4): Likewise.
51619 (libc_cv_cc_novzeroupper): Likewise.
51620 * sysdeps/i386/configure: Regenerated.
51623 * sysdeps/i386/fpu/s_cexp.S: Remove.
51624 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51625 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51626 * math/libm-test.inc (cexp_test): Add more tests.
51627 * sysdeps/i386/fpu/libm-test-ulps: Update.
51628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51630 2012-03-21 Allan McRae <allan@archlinux.org>
51632 * timezone/Makefile: Do not install iso3166.tab and zone.tab
51634 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51637 * math/w_exp2.c: Do not include <float.h>.
51638 (o_threshold, u_threshold): Remove.
51639 (__exp2): Calculate result before checking finiteness and calling
51641 * math/w_exp2f.c: Likewise.
51642 * math/w_exp2l.c: Likewise.
51643 * math/libm-test.inc (exp2_test): Require overflow exception for
51647 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51648 range of signed 64-bit integers before using fistpll. Remove
51649 checks for whether integers fit in mantissa bits.
51650 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51651 the range of signed 32-bit integers before using fistpl. Remove
51652 checks for whether integers fit in mantissa bits.
51653 * sysdeps/i386/fpu/e_powl.S (p64): New object.
51654 (__ieee754_powl): Test for y outside the range of signed 64-bit
51655 integers before using fistpll. Reduce 64-bit values to 63-bit
51657 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51658 divide-by-zero is raised for zero to large negative powers.
51659 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51660 (__ieee754_powl): Test for y outside the range of signed 64-bit
51661 integers before using fistpll. Reduce 64-bit values to 63-bit
51663 * math/libm-test.inc (pow_test): Add more tests.
51665 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51667 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51668 <stdio-common/_itoa.h>.
51669 * debug/segfault.c: Likewise.
51670 * elf/dl-cache.c: Likewise.
51671 * elf/dl-minimal.c: Likewise.
51672 * elf/dl-misc.c: Likewise.
51673 * elf/dl-sysdep.c: Likewise.
51674 * elf/dl-version.c: Likewise.
51675 * elf/rtld.c: Likewise.
51676 * hurd/hurdsock.c: Likewise.
51677 * hurd/lookup-retry.c: Likewise.
51678 * malloc/malloc.c: Likewise.
51679 * malloc/mtrace.c: Likewise.
51680 * nscd/nscd_getgr_r.c: Likewise.
51681 * nscd/nscd_getpw_r.c: Likewise.
51682 * nscd/nscd_getserv_r.c: Likewise.
51683 * posix/getopt_init.c: Likewise.
51684 * posix/wordexp.c: Likewise.
51685 * stdio-common/_itoa.c: Likewise.
51686 * stdio-common/printf_fphex.c: Likewise.
51687 * stdio-common/vfprintf.c: Likewise.
51688 * string/_strerror.c: Likewise.
51689 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51690 * sysdeps/i386/i686/hp-timing.h: Likewise.
51691 * sysdeps/mach/_strerror.c: Likewise.
51692 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51693 * sysdeps/mach/hurd/sethostid.c: Likewise.
51694 * sysdeps/mach/hurd/xmknodat.c: Likewise.
51695 * sysdeps/mach/xpg-strerror.c: Likewise.
51696 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51697 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51698 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51699 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51700 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51701 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51702 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51703 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51704 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51705 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51706 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51707 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51708 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51709 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51710 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51711 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51712 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51713 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51714 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51715 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51716 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51718 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51720 * stdio-common/_itoa.h: Moved to ...
51721 * sysdeps/generic/_itoa.h: Here.
51723 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51725 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51726 instead of "_itoa.h" and "_itowa.h".
51727 * stdio-common/vfprintf.: Likewise.
51729 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51731 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51733 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51734 (__signbit): Likwise.
51735 (llrintf): Likwise.
51738 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51740 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51743 2012-03-20 Joseph Myers <joseph@codesourcery.com>
51745 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51746 OVERFLOW_EXCEPTION_OK.
51747 * math/libm-test.inc ("Philosophy"): Update comment about
51749 (OVERFLOW_EXCEPTION): Define.
51750 (OVERFLOW_EXCEPTION_OK): Likewise.
51751 (INVALID_EXCEPTION_OK): Renumber.
51752 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51753 (IGNORE_ZERO_INF_SIGN): Likewise.
51754 (test_exceptions): Handle FE_OVERFLOW.
51755 (exp10_test): Expect overflow exceptions.
51756 (exp2_test): Likewise.
51757 (expm1_test): Likewise.
51758 (nextafter_test): Likewise.
51759 (pow_test): Likewise.
51760 (scalbn_test): Likewise.
51761 (scalbln_test): Likewise.
51763 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51765 * sysdeps/x86_64/bits/atomic.h
51766 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51768 (atomic_exchange_acq): Likewise.
51769 (__arch_exchange_and_add_body): Likewise.
51770 (__arch_add_body): Likewise.
51771 (atomic_add_negative): Likewise.
51772 (atomic_add_zero): Likewise.
51774 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51776 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51777 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51779 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51781 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51782 Check __x86_64__ instead of __WORDSIZE.
51784 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51786 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51788 2012-03-19 David S. Miller <davem@davemloft.net>
51790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51792 * sysdeps/sparc/fpu/fenv_private.h: New file.
51793 * sysdeps/sparc/fpu/math_private.h: Use it.
51794 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51796 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51797 (libc_feholdexcept_setroundl): Remove.
51798 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51800 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51801 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51803 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51805 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51806 int64_t instead of long int.
51807 (INSERT_WORDS64): Likwise.
51809 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51811 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51812 _Unwind_GetCFA return to _Unwind_Ptr first.
51814 2012-03-19 Joseph Myers <joseph@codesourcery.com>
51817 * math/s_clog.c: Include <float.h>.
51818 (__clog): Scale large or subnormal inputs.
51819 * math/s_clogf.c: Likewise.
51820 * math/s_clogl.c: Likewise.
51821 * math/s_clog10.c: Include <float.h>.
51822 (M_LOG10_2): Define.
51823 (__clog10): Scale large or subnormal inputs.
51824 * math/s_clog10f.c: Likewise.
51825 * math/s_clog10l.c: Likewise.
51826 * math/libm-test.inc (clog_test): Add more tests.
51827 (clog10_test): Likewise.
51828 * sysdeps/i386/fpu/libm-test-ulps: Update.
51829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51832 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51834 * math/libm-test.inc (atan2_test): Add another test.
51836 * Makerules (common-objdir-compile): Remove.
51837 * sysdeps/unix/Makefile (config-generated): Do not add
51838 $(unix-generated) to variable.
51839 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51840 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51842 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51844 [generic bits/local_lim.h] (before-compile): Do not append to
51846 [generic bits/local_lim.h] (common-generated): Likewise.
51847 [generic sys/param.h] (before-compile): Do not append to variable.
51848 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51849 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51850 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51851 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51853 [generic sys/param.h] (sys/param.h-includes): Remove variable.
51854 [generic sys/param.h] (sys/param.h-includes): Remove rule.
51855 [generic sys/param.h] ($(addprefix
51856 $(common-objpfx),$(sys/param.h-includes))): Likewise.
51857 [generic sys/param.h] (common-generated): Do not append to
51859 [generic sys/param.h] (sysdep_headers): Likewise.
51860 [generic bits/errno.h] (before-compile): Do not append to
51862 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51864 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51865 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51866 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51867 [generic bits/errno.h] (common-generated): Do not append to
51869 [generic bits/ioctls.h] (before-compile): Do not append to
51871 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51873 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51874 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51875 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51877 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51878 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51879 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51880 [generic bits/ioctls.h] (common-generated): Do not append to
51882 [generic sys/syscall.h] (syscall.h): Remove variable.
51883 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51885 [generic sys/syscall.h] (before-compile): Do not append to
51887 [generic sys/syscall.h] (common-generated): Likewise.
51888 * sysdeps/unix/errnos-tmpl.c: Remove file.
51889 * sysdeps/unix/errnos.awk: Likewise.
51890 * sysdeps/unix/ioctls-tmpl.c: Likewise.
51891 * sysdeps/unix/ioctls.awk: Likewise.
51892 * sysdeps/unix/mk-local_lim.c: Likewise.
51893 * sysdeps/unix/snarf-ioctls: Likewise.
51895 2012-03-19 Richard Henderson <rth@twiddle.net>
51897 * sysdeps/i386/fpu/fenv_private.h: New file.
51898 * sysdeps/i386/fpu/math_private.h: Use it.
51899 (math_opt_barrier, math_force_eval): Remove.
51900 (libc_feholdexcept_setround_53bit): Remove.
51901 (libc_feupdateenv_53bit): Remove.
51902 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51903 (math_opt_barrier, math_force_eval): Remove.
51904 (libc_feholdexcept): Remove.
51905 (libc_feholdexcept_setround): Remove.
51906 (libc_fetestexcept, libc_fesetenv): Remove.
51907 (libc_feupdateenv_test): Remove.
51908 (libc_feupdateenv, libc_feholdsetround): Remove.
51909 (libc_feresetround): Remove.
51911 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51912 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51914 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51915 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51916 (libc_feupdateenv_testl): New.
51917 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51918 (libc_feupdateenv_testf): New.
51919 (libc_feupdateenv): Use libc_feupdateenv_test.
51920 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51921 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51923 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51924 (libc_feholdsetroundf, libc_feholdsetroundl): New.
51925 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51926 (libc_feresetround_noex): New.
51927 (libc_feresetround_noexf): New.
51928 (libc_feresetround_noexl): New.
51929 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51930 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51931 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51932 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51934 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51935 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51937 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51938 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51939 SET_RESTORE_ROUND_NOEX.
51940 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51941 SET_RESTORE_ROUND_NOEXF.
51942 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51943 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51944 (libc_feholdsetroundf): New.
51945 (libc_feresetround, libc_feresetroundf): New.
51947 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51948 (libc_feholdexcept_setround_53bit): Convert from macro to function.
51949 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
51951 * sysdeps/generic/math_private.h: Include <fenv.h>.
51952 (default_libc_feholdexcept): New.
51953 (default_libc_feholdexcept_setround): New.
51954 (default_libc_fesetenv, default_libc_feupdateenv): New.
51955 (libc_feholdexcept): Only define if undefined.
51956 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51957 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51958 (libc_feholdexcept_setroundl): Likewise.
51959 (libc_feholdexcept_setround_53bit): Likewise.
51960 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51961 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51962 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51963 (libc_feupdateenv_53bit): Likewise.
51964 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51965 (libc_feholdexcept): Convert from macro to inline function.
51966 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51967 (libc_fesetenv, libc_feupdateenv): Likewise.
51969 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51970 not previously defined.
51971 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51972 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51973 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51974 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51975 * sysdeps/ieee754/flt-32/math_private.h: New file.
51976 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51977 math_private.h below SET_FLOAT_WORD.
51978 (__isnan, __isinf_ns, __finite): Remove.
51979 (__isnanf, __isinf_nsf, __finitef): Remove.
51981 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
51983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51985 2012-03-17 David S. Miller <davem@davemloft.net>
51988 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51991 2012-03-16 David S. Miller <davem@davemloft.net>
51993 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51997 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51999 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52000 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52001 sysdep_routines when subdir is sysvipc.
52002 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52003 __getshmlba helper.
52005 * sysdeps/sparc/fpu/libm-test/ulps: Update.
52007 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52009 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52012 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52014 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52015 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52016 (__lround): Renamed to ...
52017 (__llround): This. Replace long int with long long int.
52018 Define lround functions as aliases of llround functions.
52019 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52021 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52023 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52024 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
52025 adresses to uintptr_t. Replace "long int" and "unsigned long
52026 int" with "greg_t" on va_arg.
52028 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52030 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52031 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52033 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52034 Move e_machine check before EI_CLASS check. Handle x32
52035 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52036 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52037 SKIP_EM_IA_64 and include
52038 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52040 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52041 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52042 (add_system_dir): New macro.
52044 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52045 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52047 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52058 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52060 * math/w_j0f.c (j0f): Likewise.
52062 * math/w_j0l.c (__j0l): Likewise.
52064 * math/w_j1.c (j1): Likewise.
52066 * math/w_j1f.c (j1f): Likewise.
52068 * math/w_j1l.c (__j1l): Likewise.
52070 * math/w_jn.c (jn): Likewise.
52072 * math/w_jnf.c (jnf): Likewise.
52074 * math/w_jnl.c (__jnl): Likewise.
52076 * math/libm-test.inc (j0_test): Add more tests.
52077 (j1_test): Likewise.
52078 (jn_test): Likewise. Add trailing semicolon to existing test.
52079 (y0_test): Likewise.
52080 (y1_test): Likewise.
52081 * sysdeps/i386/fpu/libm-test-ulps: Update.
52082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52086 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52087 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52088 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52089 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52090 (__tanl): Set errno for infinite argument.
52091 * sysdeps/i386/fpu/mptan.c: Remove.
52092 * sysdeps/i386/fpu/s_tan.S: Likewise.
52093 * sysdeps/i386/fpu/s_tanl.S: Likewise.
52094 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52095 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52096 * math/libm-test.inc (tan_test): Add more tests and enable more
52097 tests for double and long double.
52098 * sysdeps/i386/fpu/libm-test-ulps: Update.
52099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52101 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
52103 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52104 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52106 2012-03-16 Roland McGrath <roland@hack.frob.com>
52108 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52109 * configure.in: Use it for both main tree and add-ons.
52110 * configure: Regenerated.
52112 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52114 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52116 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52118 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52122 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52123 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52124 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52125 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52126 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52128 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52130 != 0 for prec == 2.
52131 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52132 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52133 * sysdeps/i386/fpu/s_cosl.S: Likewise.
52134 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52135 * sysdeps/i386/fpu/s_sinl.S: Likewise.
52136 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52137 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52138 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52139 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52140 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52141 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52142 * math/libm-test.inc (cos_test): Add more tests and enable more
52143 tests for long double.
52144 (sin_test): Likewise.
52145 (sincos_test): Likewise.
52146 * sysdeps/i386/fpu/libm-test-ulps: Update.
52147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52149 2012-03-16 David S. Miller <davem@davemloft.net>
52151 * sysdeps/sparc/fpu/math_private.h: New file.
52153 2012-03-15 David S. Miller <davem@davemloft.net>
52155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52169 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52170 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52172 * sysdeps/sparc/sparc-ifunc.h: New file.
52173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52199 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52211 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52212 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52213 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52214 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52215 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52216 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52218 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52220 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52224 2012-03-15 Andreas Jaeger <aj@suse.de>
52227 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52228 ieee754/flt-32 implementation for sin, cos and sincos.
52229 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52230 * sysdeps/i386/fpu/s_cosf.S: Likewise.
52231 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52232 * sysdeps/i386/fpu/s_sinf.S: Likewise.
52233 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52234 ieee754/flt-32 implementation for tan.
52236 * math/libm-test.inc (cos_test): Enable some large input tests for
52238 (sin_test): Likewise.
52239 (sincos_test): Likewise.
52240 (tan_test): Add tests for large input.
52242 * sysdeps/i386/fpu/libm-test-ulps: Update.
52244 2012-03-15 Andreas Jaeger <aj@suse.de>
52247 * math/libm-test.inc (cos_test): Add more test cases.
52248 (sin_test): Likewise.
52249 (sincos_test): Likewise.
52251 2012-03-15 Andreas Jaeger <aj@suse.de>
52254 * math/libm-test.inc (cos_test): Add a test case for large input
52256 (sin_test): Likewise.
52257 (sincos_test): Likewise.
52259 2012-03-15 Andreas Jaeger <aj@suse.de>
52260 Joseph Myers <joseph@codesourcery.com>
52263 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52264 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52265 * sysdeps/i386/fpu/branred.c: Likewise.
52266 * sysdeps/i386/fpu/dosincos.c: Likewise.
52267 * sysdeps/i386/fpu/mpa.c: Likewise.
52268 * sysdeps/i386/fpu/s_cos.S: Likewise.
52269 * sysdeps/i386/fpu/s_sin.S: Likewise.
52270 * sysdeps/i386/fpu/s_sincos.S: Likewise.
52271 * sysdeps/i386/fpu/sincos32.c: Likewise.
52273 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52275 (libc_feupdateenv_53bit): Define.
52276 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52278 (libc_feupdateenv_53bit): Define.
52280 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52281 53 bit (without extend i386 double precision).
52283 * math/libm-test.inc (sincos_test): Add tests for large input.
52287 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52289 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52293 2012-03-15 David S. Miller <davem@davemloft.net>
52295 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52296 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52297 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52298 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52323 fmin/fmax sysdep routines.
52324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52326 2012-03-14 David S. Miller <davem@davemloft.net>
52328 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52329 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52332 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52333 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52334 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52335 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52336 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52341 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52348 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52349 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52350 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52351 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52352 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52353 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52354 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52355 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52356 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52400 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52405 * sysdeps/sparc/configure.in: New file.
52406 * sysdeps/sparc/configure: Generate.
52407 * configure.in (libc_cv_sparc_as_vis3): Substitute.
52408 * configure: Regenerate.
52409 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52410 * config.make.in (have-as-vis3): New.
52411 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52412 available use -Av9d instead of -Av9a.
52413 * sysdeps/sparc/sparc64/Makefile: Likewise.
52414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52423 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52424 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52425 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52426 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52427 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52429 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52430 fzeros/fnegs to load 0x80000000 into a float register instead of
52432 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52434 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52438 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52439 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52440 ($(inst_includedir)/bits/syscall.h): Remove rule.
52441 ($(objpfx)bits/syscall.d): Include instead of
52442 $(objpfx)syscall-list.d.
52443 (generated): Change syscall-list.h and syscall-list.d to
52444 bits/syscall.h and bits/syscall.d.
52446 2012-03-14 Roland McGrath <roland@hack.frob.com>
52449 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52451 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52454 * math/s_csqrt.c: Include <float.h>.
52455 (__csqrt): Scale large or subnormal inputs.
52456 * math/s_csqrtf.c: Likewise.
52457 * math/s_csqrtl.c: Likewise.
52458 * math/libm-test.inc (csqrt_test): Add more tests.
52459 * sysdeps/i386/fpu/libm-test-ulps: Update.
52460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52463 * math/libm-test.inc (hypot_test): Add more tests.
52465 2012-03-13 David S. Miller <davem@davemloft.net>
52468 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52469 double-precision for the calculation instead of scaling.
52471 2012-03-13 Joseph Myers <joseph@codesourcery.com>
52473 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52474 manipulate bits before adding and subtracting TWO52[sx].
52475 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52476 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52478 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52480 2012-03-13 David S. Miller <davem@davemloft.net>
52482 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52483 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52484 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52485 rtld-global-offsets.h
52486 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52488 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52491 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52493 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52494 'err' in the ifdef scope in which it is actually used.
52496 * nss/nss_db/db-init.c: Include string.h
52498 2012-03-12 David S. Miller <davem@davemloft.net>
52500 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52501 masking out of the most significant byte of random value used.
52502 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52503 Fix coding style in previous change.
52505 * sysdeps/unix/sysv/linux/kernel-features.h
52506 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52507 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52509 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52512 2012-03-11 David S. Miller <davem@davemloft.net>
52514 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52515 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52516 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52517 for 'resultvar' otherwise things get truncated on 64-bit.
52519 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52520 Fix masking out of the most significant byte of random value used.
52522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52524 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
52526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52528 2012-03-09 David S. Miller <davem@davemloft.net>
52530 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52531 variables with appropriate CPP guards.
52532 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52533 from the frame pointer, not the stack pointer. Correct layout
52534 comments. Fix test on resulting framesize and the management of
52535 the outregs buffer for pltexit. Preserve floating point return
52536 values across _dl_call_pltexit call.
52537 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52538 framesize and the management of the outregs buffer for pltexit.
52539 Preserve floating point return values across _dl_call_pltexit
52541 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52542 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52543 (la_sparc64_gnu_pltexit): New functions.
52544 (print_exit): Fix format string for return register value.
52546 2012-03-10 Joseph Myers <joseph@codesourcery.com>
52548 * sunrpc/Makefile (others): Add rpcgen.
52549 ($(objpfx)rpcgen): Remove special build rule and dependency on
52551 * sunrpc/rpcgen.c: New file.
52553 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
52556 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52557 * stdio-common/bug-vfprintf-nargs.c: Likewise.
52558 * sysdeps/i386/crti.S: Likewise.
52559 * sysdeps/i386/crtn.S: Likewise.
52560 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52561 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52562 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52563 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52564 * sysdeps/sh/crti.S: Likewise.
52565 * sysdeps/sh/crtn.S: Likewise.
52566 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52569 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52571 * locale/programs/locfile-kw.gperf: Likewise.
52572 * locale/programs/charmap-kw.h: Regenerated.
52573 * locale/programs/locfile-kw.h: Likewise.
52576 * intl/plural.y: Replace FSF snail mail address with URL.
52577 * intl/plural.c: Regenerated.
52579 2012-03-09 Richard Henderson <rth@twiddle.net>
52581 * include/math_private.h: Remove file.
52582 * math/math_private.h: Move file ...
52583 * sysdeps/generic/math_private.h: ... here.
52585 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52586 * sysdeps/powerpc/fpu/math_private.h: Likewise.
52587 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52589 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52590 and <math_private.h>.
52591 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52592 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52593 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52594 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52595 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52596 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52597 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52599 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52600 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52602 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52603 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52605 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52606 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52607 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52608 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52609 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52610 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52611 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52612 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52613 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52615 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52616 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52617 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52618 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52619 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52620 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52621 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52622 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52623 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52624 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52625 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52626 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52627 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52628 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52629 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52630 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52631 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52632 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52633 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52634 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52635 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52636 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52637 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52638 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52639 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52640 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52641 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52642 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52643 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52644 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52645 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52646 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52647 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52648 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52649 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52650 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52651 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52652 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52653 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52654 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52655 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52656 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52657 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52658 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52659 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52660 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52661 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52662 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52663 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52664 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52665 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52666 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52667 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52668 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52670 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52671 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52672 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52673 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52674 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52675 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52676 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52677 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52678 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52679 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52680 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52681 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52682 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52683 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52684 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52685 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52686 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52687 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52688 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52689 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52690 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52691 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52692 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52693 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52694 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52695 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52696 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52697 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52698 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52699 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52700 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52701 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52702 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52703 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52704 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52705 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52706 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52707 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52708 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52709 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52710 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52711 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52712 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52713 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52714 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52715 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52716 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52717 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52718 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52719 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52720 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52721 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52722 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52723 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52724 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52725 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52726 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52727 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52728 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52729 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52730 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52731 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52732 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52733 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52734 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52735 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52736 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52737 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52738 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52739 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52740 * sysdeps/ieee754/k_standard.c: Likewise.
52741 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52742 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52743 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52744 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52745 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52746 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52747 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52748 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52749 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52750 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52751 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52752 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52753 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52754 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52755 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52756 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52757 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52758 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52759 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52760 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52761 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52762 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52763 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52764 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52765 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52766 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52767 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52768 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52769 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52770 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52771 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52772 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52773 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52774 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52775 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52776 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52777 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52778 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52779 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52780 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52781 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52782 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52783 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52784 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52785 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52786 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52787 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52788 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52789 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52790 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52791 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52792 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52793 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52794 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52795 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52796 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52797 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52798 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52799 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52800 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52801 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52802 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52803 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52804 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52805 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52806 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52807 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52808 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52809 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52810 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52811 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52812 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52813 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52814 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52815 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52816 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52817 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52818 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52819 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52820 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52821 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52822 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52823 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52824 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52825 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52826 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52827 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52828 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52829 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52830 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52831 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52832 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52833 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52834 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52835 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52836 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52837 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52838 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52839 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52840 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52841 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52842 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52843 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52844 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52845 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52846 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52847 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52848 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52849 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52850 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52851 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52852 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52853 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52854 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52855 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52856 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52857 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52858 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52859 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52860 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52861 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52862 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52863 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52864 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52865 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52866 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52867 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52868 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52869 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52870 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52871 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52872 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52873 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52874 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52875 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52876 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52877 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52878 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52879 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52880 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52881 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52882 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52883 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52884 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52885 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52886 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52887 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52888 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52889 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52890 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52891 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52892 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52893 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52894 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52895 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52896 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52897 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52898 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52899 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52900 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52901 * sysdeps/ieee754/s_lib_version.c: Likewise.
52902 * sysdeps/ieee754/s_matherr.c: Likewise.
52903 * sysdeps/ieee754/s_signgam.c: Likewise.
52904 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52905 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52906 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52907 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52908 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52909 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52910 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52911 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52912 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52913 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52914 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52915 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52916 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52917 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52918 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52919 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52920 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52921 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52922 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52923 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52924 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52926 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52928 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52929 * sunrpc/rpc_main.c: Likewise.
52930 * sunrpc/rpc_svcout.c: Likewise.
52932 2012-03-09 David S. Miller <davem@davemloft.net>
52934 * include/math_private.h: New file.
52936 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52938 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52939 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52940 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52941 from <bits/socket_type.h>.
52942 (enum __socket_type): Don't define here.
52943 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52945 bits/socket_type.h.
52948 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52949 checking __USE_GNU.
52951 * Makerules ($(inst_includedir)/%.h): New rule.
52952 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52953 (install-others): Remove variable setting.
52954 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52956 2012-03-08 Richard Henderson <rth@twiddle.net>
52958 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52959 from macro to inline function; merge with the
52960 !__LIBC_INTERNAL_MATH_INLINES version.
52961 (__ieee754_sqrtf): Likewise.
52963 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52964 to inline function.
52965 (__rintf, __floor, __floorf): Likewise.
52967 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52968 macro to inline function.
52969 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52971 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52972 not <math/math_private.h>.
52974 2012-03-08 David S. Miller <davem@davemloft.net>
52976 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52978 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52980 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
52982 * resolv/gai_misc.c (handle_requests): Fix struct timespec
52984 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52985 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52987 2012-03-08 Ulrich Drepper <drepper@gmail.com>
52989 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
52990 be defined individually, they must be defined as a block. Define
52991 S for printing a string instead of hidint the different by using a
52992 macro for adding the 'l'.
52993 * stdio-common/tst-fphex-wide.c: Adjust.
52995 2012-03-07 Marek Polacek <polacek@redhat.com>
52997 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52999 2012-03-08 Marek Polacek <polacek@redhat.com>
53002 * stdio-common/Makefile (tests): Add tst-fphex-wide.
53003 * stdio-common/tst-fphex.c: Define a few macros to make the
53004 test reusable. Use them.
53005 * stdio-common/tst-fphex-wide.c: New file.
53007 2012-03-08 Joseph Myers <joseph@codesourcery.com>
53010 * manual/macros.texi (gnusystems): New macro.
53011 (nongnusystems): Likewise.
53012 (gnulinuxhurdsystems): Likewise.
53013 (gnuhurdsystems): Likewise..
53014 (gnulinuxsystems): Likewise.
53015 * manual/charset.texi: Use new macros or @theglibc{} to refer to
53016 variants of the GNU system, not "GNU system".
53017 * manual/conf.texi: Likewise.
53018 * manual/errno.texi: Likewise. Update example of errno macro
53020 * manual/filesys.texi: Likewise.
53021 (getumask): Document as specific to GNU/Hurd.
53022 * manual/install.texi: Likewise. Reword some references to
53024 * manual/intro.texi: Likewise.
53025 * manual/io.texi: Likewise.
53026 (File Name Portability): Detail which constraints are inapplicable
53027 to all GNU systems and which are only inapplicable to GNU/Hurd.
53028 * manual/job.texi: Likewise.
53029 * manual/llio.texi: Likewise.
53030 (O_NOCTTY): Document as present on GNU/Linux.
53031 * manual/maint.texi: Likewise.
53032 * manual/memory.texi: Likewise.
53033 * manual/pattern.texi: Likewise.
53034 * manual/pipe.texi: Likewise.
53035 * manual/process.texi: Likewise.
53036 * manual/resource.texi: Likewise.
53037 (RUSAGE_CHILDREN): Remove statement about specifying a particular
53039 * manual/setjmp.texi: Likewise.
53040 * manual/signal.texi: Likewise.
53041 * manual/startup.texi: Likewise.
53042 * manual/stdio.texi: Likewise.
53043 * manual/terminal.texi: Likewise.
53044 (ONLCR): Document as POSIX.
53045 (OXTABS): Document availability on GNU/Linux as XTABS.
53046 (ONOEOT): Document availability separately from other bits.
53047 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53048 * manual/time.texi: Likewise.
53049 * manual/users.texi: Likewise.
53050 * INSTALL: Regenerated.
53051 * sysdeps/gnu/errlist.c: Regenerated.
53053 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53054 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53055 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
53057 * configure: Regenerated.
53059 2012-03-07 Joseph Myers <joseph@codesourcery.com>
53061 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53062 default includes instead of AC_HEADER_CHECK.
53063 * sysdeps/i386/configure: Regenerated.
53066 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53067 * math/s_cacoshf.c (__cacoshf): Likewise.
53068 * math/s_cacoshl.c (__cacoshl): Likewise.
53069 * math/s_casinh.c (__casinh): Set signs of result from argument.
53070 * math/s_casinhf.c (__casinhf): Likewise.
53071 * math/s_casinhl.c (__casinhl): Likewise.
53072 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53073 (casinh_test): Add more tests.
53074 * sysdeps/i386/fpu/libm-test-ulps: Update.
53075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53077 2012-03-07 Ulrich Drepper <drepper@gmail.com>
53079 * po/zh_TW.po: Update from translation team.
53081 * login/Makefile (distribute): Remove variable.
53082 * catgets/Makefile: Likewise.
53083 * mach/Makefile: Likewise.
53084 * malloc/Makefile: Likewise.
53085 * misc/Makefile: Likewise.
53086 * iconv/Makefile: Likewise.
53087 * nscd/Makefile: Likewise.
53088 * hurd/Makefile: Likewise.
53089 * manual/Makefile: Likewise.
53090 * locale/Makefile: Likewise.
53091 * intl/Makefile: Likewise.
53092 * conform/Makefile: Likewise.
53093 * nss/Makefile: Likewise.
53094 * time/Makefile: Likewise.
53095 * soft-fp/Makefile: Likewise.
53096 * dirent/Makefile: Likewise.
53097 * gmon/Makefile: Likewise.
53098 * po/Makefile: Likewise.
53099 * rt/Makefile: Likewise.
53100 * socket/Makefile: Likewise.
53101 * math/Makefile: Likewise.
53102 * signal/Makefile: Likewise.
53103 * debug/Makefile: Likewise.
53104 * elf/Makefile: Likewise.
53105 * timezone/Makefile: Likewise.
53106 * stdlib/Makefile: Likewise.
53107 * iconvdata/Makefile: Likewise.
53108 * sunrpc/Makefile: Likewise.
53109 * io/Makefile: Likewise.
53110 * argp/Makefile: Likewise.
53111 * inet/Makefile: Likewise.
53112 * hesiod/Makefile: Likewise.
53113 * grp/Makefile: Likewise.
53114 * csu/Makefile: Likewise.
53115 * wctype/Makefile: Likewise.
53116 * crypt/Makefile: Likewise.
53117 * libio/Makefile: Likewise.
53118 * string/Makefile: Likewise.
53119 * nis/Makefile: Likewise.
53120 * resolv/Makefile: Likewise.
53121 * stdio-common/Makefile: Likewise.
53122 * wcsmbs/Makefile: Likewise.
53123 * dlfcn/Makefile: Likewise.
53124 * posix/Makefile: Likewise.
53127 * timezone/Makefile: Don't install timezone files, just the programs
53130 2012-03-06 Ulrich Drepper <drepper@gmail.com>
53132 * nss/databases.def: Add missing gshadow entry.
53134 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
53136 2012-03-06 Marek Polacek <polacek@redhat.com>
53139 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53140 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53141 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53142 * stdio-common/tst-long-dbl-fphex.c: New file.
53144 2012-03-06 David S. Miller <davem@davemloft.net>
53146 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53147 (set_obp_int): New function.
53148 (get_obp_int): New function.
53149 (__get_clockfreq_via_dev_openprom): Likewise.
53150 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53151 Avoid unused variable warnings on 'val' and use builtin_expect.
53152 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53154 (INLINE_CLONE_SYSCALL): Likewise.
53156 2012-03-05 David S. Miller <davem@davemloft.net>
53158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53160 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
53162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53164 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53165 only for |x| >= 40.
53166 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53168 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
53170 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53171 Replace gettimeofday with __vdso_gettimeofday.
53173 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53174 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53175 __vdso_clock_gettime and __vdso_getcpu.
53177 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53178 time with __vdso_time.
53180 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53182 * manual/lang.texi (size_t): Note types to which size_t may be
53183 equivalent with the GNU C Library, but do not describe when
53184 differences between them are significant.
53186 2012-03-05 Andreas Jaeger <aj@suse.de>
53188 * sysdeps/i386/fpu/libm-test-ulps: Update.
53190 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53193 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53194 (__ieee754_pow): Save and restore rounding mode and use
53195 round-to-nearest for main computations.
53196 * math/libm-test.inc (pow_test_tonearest): New function.
53197 (pow_test_towardzero): Likewise.
53198 (pow_test_downward): Likewise.
53199 (pow_test_upward): Likewise.
53200 (main): Call the new functions.
53201 * sysdeps/i386/fpu/libm-test-ulps: Update.
53202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53205 * math/libm-test.inc (cosh_test_tonearest): New function.
53206 (cosh_test_towardzero): Likewise.
53207 (cosh_test_downward): Likewise.
53208 (cosh_test_upward): Likewise.
53209 (sinh_test_tonearest): Likewise.
53210 (sinh_test_towardzero): Likewise.
53211 (sinh_test_downward): Likewise.
53212 (sinh_test_upward): Likewise.
53213 (main): Call the new functions.
53214 * sysdeps/i386/fpu/libm-test-ulps: Update.
53215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53217 2012-03-05 Tom de Vries <tom@codesourcery.com>
53219 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53220 default stack guard is set in last bytes.
53221 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53223 2012-03-05 Kees Cook <keescook@chromium.org>
53225 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53228 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53229 possibly allocate from heap instead of stack.
53230 * stdio-common/bug-vfprintf-nargs.c: New file.
53231 * stdio-common/Makefile (tests): Add nargs overflow test.
53233 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
53235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53237 2012-03-03 Marek Polacek <polacek@redhat.com>
53239 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53240 * math/math_private.h: Likewise.
53241 * stdlib/tst-strtod.c: Likewise.
53242 * sysdeps/i386/i486/bits/atomic.h: Likewise.
53243 * sysdeps/x86_64/bits/atomic.h: Likewise.
53245 2012-03-02 David S. Miller <davem@davemloft.net>
53247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53251 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53252 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53253 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53254 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53256 2012-03-02 Roland McGrath <roland@hack.frob.com>
53259 * manual/examples/README: New file, says the example source files
53260 can be used under GPL>=2.
53261 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53262 line containing just "*/".
53263 * manual/examples/add.c: Add copyright header (GPL>=2).
53264 * manual/examples/argp-ex1.c: Likewise.
53265 * manual/examples/argp-ex2.c: Likewise.
53266 * manual/examples/argp-ex3.c: Likewise.
53267 * manual/examples/argp-ex4.c: Likewise.
53268 * manual/examples/atexit.c: Likewise.
53269 * manual/examples/db.c: Likewise.
53270 * manual/examples/dir.c: Likewise.
53271 * manual/examples/dir2.c: Likewise.
53272 * manual/examples/execinfo.c: Likewise.
53273 * manual/examples/filecli.c: Likewise.
53274 * manual/examples/filesrv.c: Likewise.
53275 * manual/examples/fmtmsgexpl.c: Likewise.
53276 * manual/examples/genpass.c: Likewise.
53277 * manual/examples/inetcli.c: Likewise.
53278 * manual/examples/inetsrv.c: Likewise.
53279 * manual/examples/isockad.c: Likewise.
53280 * manual/examples/longopt.c: Likewise.
53281 * manual/examples/memopen.c: Likewise.
53282 * manual/examples/memstrm.c: Likewise.
53283 * manual/examples/mkfsock.c: Likewise.
53284 * manual/examples/mkisock.c: Likewise.
53285 * manual/examples/mygetpass.c: Likewise.
53286 * manual/examples/pipe.c: Likewise.
53287 * manual/examples/popen.c: Likewise.
53288 * manual/examples/rprintf.c: Likewise.
53289 * manual/examples/search.c: Likewise.
53290 * manual/examples/select.c: Likewise.
53291 * manual/examples/setjmp.c: Likewise.
53292 * manual/examples/sigh1.c: Likewise.
53293 * manual/examples/sigusr.c: Likewise.
53294 * manual/examples/stpcpy.c: Likewise.
53295 * manual/examples/strdupa.c: Likewise.
53296 * manual/examples/strftim.c: Likewise.
53297 * manual/examples/strncat.c: Likewise.
53298 * manual/examples/subopt.c: Likewise.
53299 * manual/examples/swapcontext.c: Likewise.
53300 * manual/examples/termios.c: Likewise.
53301 * manual/examples/testopt.c: Likewise.
53302 * manual/examples/testpass.c: Likewise.
53303 * manual/examples/timeval_subtract.c: Likewise.
53306 * manual/time.texi (Elapsed Time): Move timeval_subtract example
53308 * manual/timeval_subtract.c.texi: ... here, new file.
53310 2012-03-02 David S. Miller <davem@davemloft.net>
53312 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53314 2012-03-02 Joseph Myers <joseph@codesourcery.com>
53317 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53318 (__sin): Save and restore rounding mode and use round-to-nearest
53319 for all computations.
53320 (__cos): Save and restore rounding mode and use round-to-nearest
53321 for all computations.
53322 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53324 (tan): Save and restore rounding mode and use round-to-nearest for
53326 * math/libm-test.inc (cos_test_tonearest): New function.
53327 (cos_test_towardzero): Likewise.
53328 (cos_test_downward): Likewise.
53329 (cos_test_upward): Likewise.
53330 (sin_test_tonearest): Likewise.
53331 (sin_test_towardzero): Likewise.
53332 (sin_test_downward): Likewise.
53333 (sin_test_upward): Likewise.
53334 (tan_test_tonearest): Likewise.
53335 (tan_test_towardzero): Likewise.
53336 (tan_test_downward): Likewise.
53337 (tan_test_upward): Likewise.
53338 (main): Call the new functions.
53339 * sysdeps/i386/fpu/libm-test-ulps: Update.
53340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53343 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53344 small n, then large n, before computing and testing k+n.
53345 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53346 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53348 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53350 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53351 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53352 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53353 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53354 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53355 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53356 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53357 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53358 * math/libm-test.inc (scalbn_test): Add more tests.
53359 (scalbln_test): Likewise.
53361 * manual/filesys.texi (mode_t): Describe constraints on size and
53362 signedness, not exact equivalence to a particular type.
53364 (ino64_t): Likewise.
53366 (nlink_t): Likewise.
53367 (blkcnt_t): Likewise.
53368 (blkcnt64_t): Likewise.
53369 * manual/llio.texi (off_t): Likewise.
53372 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53373 (__ieee754_exp): Save and restore rounding mode and use
53374 round-to-nearest for all computations.
53375 * math/libm-test.inc (exp_test_tonearest): New function.
53376 (exp_test_towardzero): Likewise.
53377 (exp_test_downward): Likewise.
53378 (exp_test_upward): Likewise.
53379 (main): Call the new functions.
53380 * sysdeps/i386/fpu/libm-test-ulps: Update.
53381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53383 2012-03-01 Chris Demetriou <cgd@google.com>
53385 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53386 have predictable order.
53388 2012-03-01 David S. Miller <davem@davemloft.net>
53390 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53392 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53393 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53394 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53395 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53397 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53398 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53399 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53401 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53402 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53403 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53404 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53405 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53409 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53410 * sysdeps/sparc/fpu/libm-test-ulps: to here.
53411 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53413 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53414 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53415 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53416 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53417 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53418 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53420 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53421 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53422 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53423 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53424 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53425 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53426 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53427 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53428 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53429 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53430 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53431 * sysdeps/sparc/elf/configure: Regenerated.
53433 2012-03-01 Joseph Myers <joseph@codesourcery.com>
53435 * configure.in (AS, LD): Require binutils 2.20 or later.
53436 * configure: Regenerated.
53437 * manual/install.texi (Tools for Compilation): Give binutils 2.20
53438 as required minimum version.
53439 * INSTALL: Regenerated.
53443 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53444 before squaring exponent.
53445 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53446 bottom long double and 27 bits of top long double before squaring
53448 * math/libm-test.inc (erfc_test): Add more tests.
53449 * sysdeps/i386/fpu/libm-test-ulps: Update.
53450 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53453 2012-03-01 Kai Tietz <ktietz@redhat.com>
53455 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53456 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53457 containing bit-fields.
53458 * soft-fp/extended.h (_FP_UNION_E): Likewise.
53459 * soft-fp/single.h (_FP_UNION_S): Likewise.
53460 * soft-fp/double.h (_FP_UNION_D): Likewise.
53462 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53465 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53466 not include ../strcmp.S.
53467 [USE_AS_STRNCASECMP_L]: Likewise.
53468 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53469 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53470 * sysdeps/i386/i686/multiarch/strncase_l-c.c
53471 (__strncasecmp_l_ia32): Define as alias to
53472 __strncasecmp_l_nonascii.
53475 * math/libm-test.inc (expm1_test): Add test for bug 5794.
53476 * sysdeps/i386/fpu/libm-test-ulps: Update.
53477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53479 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53482 2012-02-29 Jeff Law <law@redhat.com>
53484 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53485 out of bounds read.
53487 2012-02-29 Marek Polacek <polacek@redhat.com>
53490 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53491 * elf/Makefile: Add rules to run tst-unused-dep.out.
53493 2012-02-28 David S. Miller <davem@davemloft.net>
53495 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53496 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53497 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53498 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53499 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53500 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53502 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53504 * math/libm-test.inc (llround_test): Move one test from
53505 lround_test. Use TEST_f_L in moved test.
53506 (lround_test): Move misplaced test to llround_test. Add testcase
53509 2012-02-28 Ulrich Drepper <drepper@gmail.com>
53511 * sysdeps/x86_64/fpu/e_expf.S: New file.
53512 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53514 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
53517 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53518 of remain_len that may cause incomplete multi-byte character and
53520 * posix/bug-regex33.c: New file.
53521 * posix/Makefile (tests): Add bug-regex33.
53523 2012-02-28 Joseph Myers <joseph@codesourcery.com>
53525 * manual/macros.texi: New file.
53526 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53527 * manual/libc.texinfo: Include macros.texi.
53528 * manual/creatute.texi: Likewise.
53529 * manual/install.texi: Likewise.
53530 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53531 @glibcadj{} in references to the GNU C Library.
53532 * manual/charset.texi: Likewise.
53533 * manual/conf.texi: Likewise.
53534 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
53535 when not using those macros.
53536 * manual/creature.texi: Likewise.
53537 * manual/crypt.texi: Likewise.
53538 * manual/errno.texi: Likewise.
53539 * manual/filesys.texi: Likewise.
53540 * manual/header.texi: Likewise.
53541 * manual/install.texi: Likewise.
53542 * manual/intro.texi: Likewise.
53543 * manual/io.texi: Likewise.
53544 * manual/job.texi: Likewise.
53545 * manual/lang.texi: Likewise.
53546 * manual/libc.texiinfo: Likewise.
53547 * manual/llio.texi: Likewise.
53548 * manual/locale.texi: Likewise.
53549 * manual/maint.texi: Likewise.
53550 * manual/math.texi: Likewise.
53551 * manual/memory.texi: Likewise.
53552 * manual/message.texi: Likewise.
53553 * manual/nss.texi: Likewise.
53554 * manual/pattern.texi: Likewise.
53555 * manual/process.texi: Likewise.
53556 * manual/resource.texi: Likewise.
53557 * manual/search.texi: Likewise.
53558 * manual/setjmp.texi: Likewise.
53559 * manual/signal.texi: Likewise.
53560 * manual/socket.texi: Likewise.
53561 * manual/startup.texi: Likewise.
53562 * manual/stdio.texi: Likewise.
53563 * manual/string.texi: Likewise.
53564 * manual/sysinfo.texi: Likewise.
53565 * manual/syslog.texi: Likewise.
53566 * manual/terminal.texi: Likewise.
53567 * manual/time.texi: Likewise.
53568 * manual/users.texi: Likewise.
53569 * INSTALL: Regenerated.
53570 * NOTES: Regenerated.
53571 * sysdeps/gnu/errlist.c: Regenerated.
53573 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
53575 * include/dirent.h: Include <dirstream.h> before
53578 2012-02-28 David S. Miller <davem@davemloft.net>
53580 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53581 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53582 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53583 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53585 2012-02-27 David S. Miller <davem@davemloft.net>
53587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53589 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53590 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53593 frame pointer instead of stack pointer relative arg slot.
53594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53595 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53596 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53598 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
53601 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53603 2012-02-27 David S. Miller <davem@davemloft.net>
53605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53609 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53610 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53611 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53612 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53614 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53616 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53617 later. Allow versions 5-9.
53618 * configure: Regenerated.
53619 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53620 required minimum version and 4.6 as recommended version. Do not
53621 mention bugs in GCC 2.7 and 2.8.
53622 * INSTALL: Regenerated.
53624 2012-02-27 David S. Miller <davem@davemloft.net>
53626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53630 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53631 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53632 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53633 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53635 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53636 manipulate bits before adding and subtracting TWO112[sx].
53637 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53639 2012-02-27 Roland McGrath <roland@hack.frob.com>
53642 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53643 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53644 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53645 being in POSIX, because they are in 1003.1-2008.
53647 * rt/tst-aio.c: Include <fcntl.h>.
53648 * rt/tst-aio7.c: Likewise.
53649 * rt/tst-aio64.c: Likewise.
53651 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53653 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53655 * manual/install.texi (--with-headers): Describe headers as
53656 interface headers, not private headers.
53657 (Specific advice for GNU/Linux systems): Describe use of headers
53658 from "make headers_install", not private headers from older
53660 * INSTALL: Regenerated.
53661 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53663 * sysdeps/unix/sysv/linux/configure: Regenerated.
53665 * manual/llio.texi (fclean): Remove documentation.
53667 * manual/Makefile (libc-texi-generated): New variable. Include
53669 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53670 $(libc-texi-generated), not duplicated list of files.
53671 (version.texi, stamp-version): New rules.
53672 (realclean): Remove $(libc-texi-generated), not individual files
53673 from that list. Do not remove dir-add.texinfo.
53674 * manual/libc.texinfo: Comment out uses of edition numbers and
53675 references to printed manual. Remove last-updated dates.
53676 (EDITION): Comment out.
53678 (VERSION, UPDATED): Remove.
53679 (version.texi): Include.
53681 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
53683 * sysdeps/posix/spawni.c: Include <signal.h>.
53684 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53685 * sysdeps/pthread/aio_fsync.c: Likewise.
53687 2012-02-26 Ulrich Drepper <drepper@gmail.com>
53689 * conform/Makefile (tests): Run only when not cross-compiling and
53690 when fast-check is not defined.
53692 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53693 * conform/data/limits.h-data: Fixes for POSIX2008.
53694 * conform/run-conformtest.sh: Run all tests.
53695 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53697 * include/bits/dlfcn.h: Likewise.
53698 * include/langinfo.h: Likewise.
53699 * include/monetary.h: Likewise.
53700 * include/sys/poll.h: Likewise.
53702 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53704 * posix/spawn.h: Define __need_sigset_t.
53705 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53706 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53707 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
53708 to get sigevent_t only.
53709 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53710 only for __USE_GNU.
53711 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53712 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53713 process_vm_writev only for __USE_GNU.
53714 * termios/termios.h: Declare tcgetsid also for POSIX2008.
53716 * conform/Makefile: For now ignore errors from run-conformtest.
53717 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
53718 POSIX to avoid namespace pollution. Don't prepend headers.
53719 * conform/data/aio.h-data: Fixes for POSIX testing.
53720 * conform/data/fcntl.h-data: Likewise.
53721 * conform/data/glob.h-data: Likewise.
53722 * conform/data/grp.h-data: Likewise.
53723 * conform/data/pthread.h-data: Likewise.
53724 * conform/data/pwd.h-data: Likewise.
53725 * conform/data/signal.h-data: Likewise.
53726 * conform/data/spawn.h-data: Likewise.
53727 * conform/data/stdio.h-data: Likewise.
53728 * conform/data/stdlib.h-data: Likewise.
53729 * conform/data/stropts.h-data: Likewise.
53730 * conform/data/sys/mman.h-data: Likewise.
53731 * conform/data/sys/stat.h-data: Likewise.
53732 * conform/data/sys/types.h-data: Likewise.
53733 * conform/data/sys/wait.h-data: Likewise.
53734 * conform/data/time.h-data: Likewise.
53735 * conform/data/unistd.h-data: Likewise.
53736 * conform/data/utime.h-data: Likewise.
53738 * io/sys/stat.h: fchmod was always in POSIX.
53739 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53740 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53741 * rt/aio.h: Define __need_timespec before including <time.h>.
53742 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53743 struct. Add forward declaration of pthread_attr_t and use it in
53745 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53746 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53747 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53748 always remove CLK_TCK definition.
53750 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
53752 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53754 2012-02-25 Ulrich Drepper <drepper@gmail.com>
53756 * conform/run-conformtest.sh: New file.
53757 * conform/Makefile: Run run-conformtest for tests.
53758 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
53761 * conform/data/uchar.h-data: New file.
53762 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53763 * conform/data/arpa/inet.h-data: Likewise.
53764 * conform/data/assert.h-data: Likewise.
53765 * conform/data/complex.h-data: Likewise.
53766 * conform/data/cpio.h-data: Likewise.
53767 * conform/data/ctype.h-data: Likewise.
53768 * conform/data/dirent.h-data: Likewise.
53769 * conform/data/dlfcn.h-data: Likewise.
53770 * conform/data/errno.h-data: Likewise.
53771 * conform/data/fcntl.h-data: Likewise.
53772 * conform/data/float.h-data: Likewise.
53773 * conform/data/fmtmsg.h-data: Likewise.
53774 * conform/data/fnmatch.h-data: Likewise.
53775 * conform/data/ftw.h-data: Likewise.
53776 * conform/data/glob.h-data: Likewise.
53777 * conform/data/grp.h-data: Likewise.
53778 * conform/data/iconv.h-data: Likewise.
53779 * conform/data/inttypes.h-data: Likewise.
53780 * conform/data/langinfo.h-data: Likewise.
53781 * conform/data/libgen.h-data: Likewise.
53782 * conform/data/limits.h-data: Likewise.
53783 * conform/data/locale.h-data: Likewise.
53784 * conform/data/math.h-data: Likewise.
53785 * conform/data/monetary.h-data: Likewise.
53786 * conform/data/mqueue.h-data: Likewise.
53787 * conform/data/ndbm.h-data: Likewise.
53788 * conform/data/net/if.h-data: Likewise.
53789 * conform/data/netdb.h-data: Likewise.
53790 * conform/data/netinet/in.h-data: Likewise.
53791 * conform/data/nl_types.h-data: Likewise.
53792 * conform/data/poll.h-data: Likewise.
53793 * conform/data/pthread.h-data: Likewise.
53794 * conform/data/pwd.h-data: Likewise.
53795 * conform/data/regex.h-data: Likewise.
53796 * conform/data/sched.h-data: Likewise.
53797 * conform/data/search.h-data: Likewise.
53798 * conform/data/semaphore.h-data: Likewise.
53799 * conform/data/setjmp.h-data: Likewise.
53800 * conform/data/signal.h-data: Likewise.
53801 * conform/data/spawn.h-data: Likewise.
53802 * conform/data/stdarg.h-data: Likewise.
53803 * conform/data/stdio.h-data: Likewise.
53804 * conform/data/stdlib.h-data: Likewise.
53805 * conform/data/string.h-data: Likewise.
53806 * conform/data/strings.h-data: Likewise.
53807 * conform/data/stropts.h-data: Likewise.
53808 * conform/data/sys/ipc.h-data: Likewise.
53809 * conform/data/sys/mman.h-data: Likewise.
53810 * conform/data/sys/msg.h-data: Likewise.
53811 * conform/data/sys/resource.h-data: Likewise.
53812 * conform/data/sys/select.h-data: Likewise.
53813 * conform/data/sys/sem.h-data: Likewise.
53814 * conform/data/sys/shm.h-data: Likewise.
53815 * conform/data/sys/socket.h-data: Likewise.
53816 * conform/data/sys/stat.h-data: Likewise.
53817 * conform/data/sys/statvfs.h-data: Likewise.
53818 * conform/data/sys/time.h-data: Likewise.
53819 * conform/data/sys/timeb.h-data: Likewise.
53820 * conform/data/sys/times.h-data: Likewise.
53821 * conform/data/sys/types.h-data: Likewise.
53822 * conform/data/sys/uio.h-data: Likewise.
53823 * conform/data/sys/un.h-data: Likewise.
53824 * conform/data/sys/utsname.h-data: Likewise.
53825 * conform/data/sys/wait.h-data: Likewise.
53826 * conform/data/syslog.h-data: Likewise.
53827 * conform/data/tar.h-data: Likewise.
53828 * conform/data/termios.h-data: Likewise.
53829 * conform/data/utime.h-data: Likewise.
53830 * conform/data/utmpx.h-data: Likewise.
53831 * conform/data/varargs.h-data: Likewise.
53832 * conform/data/wchar.h-data: Likewise.
53833 * conform/data/wctype.h-data: Likewise.
53834 * conform/data/wordexp.h-data: Likewise.
53836 * include/stropts.h: New file.
53837 * include/uchar.h: New file.
53838 * include/aio.h: Changes to allow conformtest.pl to use the headers.
53839 * include/assert.h: Likewise.
53840 * include/ctype.h: Likewise.
53841 * include/dirent.h: Likewise.
53842 * include/dlfcn.h: Likewise.
53843 * include/fcntl.h: Likewise.
53844 * include/fnmatch.h: Likewise.
53845 * include/glob.h: Likewise.
53846 * include/grp.h: Likewise.
53847 * include/libio.h: Likewise.
53848 * include/locale.h: Likewise.
53849 * include/math.h: Likewise.
53850 * include/net/if.h: Likewise.
53851 * include/netdb.h: Likewise.
53852 * include/netinet/in.h: Likewise.
53853 * include/pthread.h: Likewise.
53854 * include/pwd.h: Likewise.
53855 * include/regex.h: Likewise.
53856 * include/sched.h: Likewise.
53857 * include/search.h: Likewise.
53858 * include/setjmp.h: Likewise.
53859 * include/signal.h: Likewise.
53860 * include/stdio.h: Likewise.
53861 * include/stdlib.h: Likewise.
53862 * include/string.h: Likewise.
53863 * include/sys/cdefs.h: Likewise.
53864 * include/sys/mman.h: Likewise.
53865 * include/sys/msg.h: Likewise.
53866 * include/sys/resource.h: Likewise.
53867 * include/sys/select.h: Likewise.
53868 * include/sys/socket.h: Likewise.
53869 * include/sys/stat.h: Likewise.
53870 * include/sys/statvfs.h: Likewise.
53871 * include/sys/time.h: Likewise.
53872 * include/sys/times.h: Likewise.
53873 * include/sys/uio.h: Likewise.
53874 * include/sys/utsname.h: Likewise.
53875 * include/sys/wait.h: Likewise.
53876 * include/termios.h: Likewise.
53877 * include/time.h: Likewise.
53878 * include/ulimit.h: Likewise.
53879 * include/unistd.h: Likewise.
53880 * include/utime.h: Likewise.
53881 * include/wchar.h: Likewise.
53882 * include/wctype.h: Likewise.
53883 * include/wordexp.h: Likewise.
53885 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53887 * time/time.h: TIME_UTC must be a macro.
53888 Make timespec_get available for ISO C11 only as well.
53890 2012-02-24 Ulrich Drepper <drepper@gmail.com>
53892 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53893 Reported by Peng Haitao <penght@cn.fujitsu.com>.
53895 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53897 * configure.in: Use -o not -a in test for unsupported multi-arch.
53899 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53901 * manual/texinfo.tex: Update to version 2012-01-19.16.
53903 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53905 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53907 2012-02-24 Roland McGrath <roland@hack.frob.com>
53910 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53911 * manual/fdl-1.3.texi: New file.
53912 * manual/fdl-1.1.texi: File removed.
53915 * manual/libc.texinfo (FDL_VERSION): New @set.
53916 Use it for mention of FDL in cover text.
53917 (Documentation License): Use it in @include file name.
53919 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53920 Roland McGrath <roland@hack.frob.com>
53923 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53924 (not LONG_LONG_MAX and LONG_LONG_MIN.
53925 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53926 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
53928 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53930 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53934 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53935 manipulate bits before adding and subtracting TWO23[sx].
53936 * math/libm-test.inc (nearbyint_test): Add more tests.
53938 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53941 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53942 bits before adding and subtracting TWO23[sx].
53943 * math/libm-test.inc (rint_test): Add more tests.
53944 (rint_test_tonearest): Likewise.
53945 (rint_test_towardzero): Likewise.
53946 (rint_test_downward): Likewise.
53947 (rint_test_upward: Likewise.
53949 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53952 * include/stdc-predef.h: New file. Extracted from features.h.
53953 * include/features.h: Include stdc-predef.h.
53954 * Makefile (headers): Add stdc-predef.h.
53955 * CONFORMANCE (Compiler limitations): Update.
53957 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53959 * manual/libc.texinfo (VERSION, UPDATED): Revert.
53961 2012-02-21 David S. Miller <davem@davemloft.net>
53963 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53964 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53966 2012-02-20 David S. Miller <davem@davemloft.net>
53968 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53969 using a normal save/restore sequence, rather than allocating a
53970 dummy stack frame just to store a frame pointer and restore.
53971 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53973 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53975 * manual/install.texi: Fix stray word in line-wrapped comment.
53977 2012-02-20 David S. Miller <davem@davemloft.net>
53979 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53980 both binutils and gcc support GOTDATA.
53982 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53983 "rd %pc" in the PIC register setup sequences.
53985 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53986 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53987 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53988 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53989 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53990 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53991 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53992 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53993 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53994 (SYSCALL_ERROR_HANDLER): Likewise.
53995 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53996 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53997 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53998 (SYSCALL_ERROR_HANDLER): Likewise.
54000 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54001 (HAVE_GCC_GOTDATA): New.
54002 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54003 relocation support in both binutils and gcc.
54004 * sysdeps/sparc/elf/configure: Regenerate.
54006 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54007 * sysdeps/sparc/sparc32/elf/configure: Delete.
54008 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54009 * sysdeps/sparc/sparc64/elf/configure: Delete.
54010 * sysdeps/sparc/elf/configure.in: New file.
54011 * sysdeps/sparc/elf/configure: Generate.
54013 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54014 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54015 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54016 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54017 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54019 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54021 * manual/install.texi: Do not mention specific glibc version
54023 * manual/libc.texinfo (VERSION, UPDATED): Update.
54024 (@copying): Use @copyright{} and range of years.
54026 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54029 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54030 [crti.S not in sysdirs] (generated): Do not append.
54031 [crti.S not in sysdirs] (omit-deps): Likewise.
54032 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54033 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54034 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54035 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54036 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54038 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54039 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54040 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54041 * csu/defs.awk: Remove file.
54042 * sysdeps/generic/initfini.c: Likewise.
54043 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54045 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54048 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54050 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54051 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54052 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54053 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54054 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54055 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54057 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54058 (__EPOLL_PACKED): Define to empty if not defined by
54060 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54064 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54066 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54067 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54068 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54069 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54071 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54072 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54075 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54077 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54079 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54080 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54081 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54084 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
54086 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54087 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54089 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
54091 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54092 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54094 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54096 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54099 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
54101 * math/w_acos.c: Use non-signaling floating-point comparisons.
54102 * math/w_acosf.c: Likewise.
54103 * math/w_acosh.c: Likewise.
54104 * math/w_acoshf.c: Likewise.
54105 * math/w_acoshl.c: Likewise.
54106 * math/w_acosl.c: Likewise.
54107 * math/w_asin.c: Likewise.
54108 * math/w_asinf.c: Likewise.
54109 * math/w_asinl.c: Likewise.
54110 * math/w_atanh.c: Likewise.
54111 * math/w_atanhf.c: Likewise.
54112 * math/w_atanhl.c: Likewise.
54113 * math/w_exp2.c: Likewise.
54114 * math/w_exp2f.c: Likewise.
54115 * math/w_exp2l.c: Likewise.
54116 * math/w_j0.c: Likewise.
54117 * math/w_j0f.c: Likewise.
54118 * math/w_j0l.c: Likewise.
54119 * math/w_j1.c: Likewise.
54120 * math/w_j1f.c: Likewise.
54121 * math/w_j1l.c: Likewise.
54122 * math/w_jn.c: Likewise.
54123 * math/w_jnf.c: Likewise.
54124 * math/w_log.c: Likewise.
54125 * math/w_log10.c: Likewise.
54126 * math/w_log10f.c: Likewise.
54127 * math/w_log10l.c: Likewise.
54128 * math/w_log2.c: Likewise.
54129 * math/w_log2f.c: Likewise.
54130 * math/w_log2l.c: Likewise.
54131 * math/w_logf.c: Likewise.
54132 * math/w_logl.c: Likewise.
54133 * math/w_sqrt.c: Likewise.
54134 * math/w_sqrtf.c: Likewise.
54135 * math/w_sqrtl.c: Likewise.
54136 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54137 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54138 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54139 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54140 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54142 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54145 * manual/string.texi (strnlen): Use correct parameter name in
54146 equivalent expression.
54148 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54151 * manual/users.texi (seteuid): Consistently use neweuid for
54154 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54157 * manual/nss.texi (Services in the NSS configuration): Correct
54158 list of services in example configuration file.
54160 2012-02-19 Nick Bowler <nbowler@draconx.ca>
54163 * manual/arith.texi: Remove statements about negative zero
54164 behaving identically to zero.
54166 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54169 * manual/install.texi: Do not document upgrading from libc5.
54171 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54174 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54176 2012-02-18 David S. Miller <davem@davemloft.net>
54178 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54179 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54180 %o7 across the call.
54181 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54183 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54184 SETUP_PIC_REG_LEAF.
54185 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54186 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54187 * sysdeps/sparc/crtn.S: Likewise.
54189 2012-02-17 Ulrich Drepper <drepper@gmail.com>
54191 * aout/Makefile: Remove.
54193 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
54196 * manual/examples/argp-ex1.c (main): Format definition in GNU
54198 * manual/examples/argp-ex2.c (main): Likewise.
54199 * manual/examples/argp-ex3.c (main): Likewise.
54200 * manual/examples/argp-ex4.c (main): Likewise.
54201 * manual/examples/longopt.c (main): Use new-style prototype
54203 * manual/examples/strncat.c (main): Specify return type and use
54204 (void) for arguments.
54205 * manual/examples/subopt.c (main): Use char **argv argument.
54207 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54210 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54213 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
54216 * manual/string.texi (strchr): Change when strchrnul is
54219 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
54222 * manual/locale.texi (setlocale): Document LOCPATH.
54224 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54227 * manual/process.texi (execle): Move @dots{} before last argument.
54229 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
54232 * manual/charset.texi (Generic Charset Conversion): Fix typo
54233 (LC_TYPE -> LC_CTYPE).
54235 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
54238 * manual/arith.texi (scalbn): Use @var{} on parameter names.
54239 (scalbnf): Likewise.
54240 (scalbnl): Likewise.
54241 (scalbln): Likewise.
54242 (scalblnf): Likewise.
54243 (scalblnl): Likewise.
54244 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54245 (vwarnx): Likewise.
54248 * manual/filesys.texi (telldir): Use braces around return type.
54249 * manual/llio.texi (mmap): Add space after comma.
54250 (mmap64): Likewise.
54251 * manual/math.texi (jn): Use @var{} on parameter names.
54257 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54259 * manual/resource.texi (ulimit): Use @dots{} instead of literal
54261 (sched_get_priority_min): Remove semicolon on @deftypefun line.
54262 (sched_get_priority_max): Likewise.
54263 * manual/signal.texi (sigvec): Add space after comma.
54264 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54266 (if_indextoname): Likewise.
54267 (if_freenameindex): Likewise.
54268 (sendto): Use ',' instead of '.' in prototype.
54269 * manual/startup.texi (syscall): Use @dots{} instead of literal
54271 * manual/stdio.texi (__fpending): Separate initial words of
54272 paragraph from @deftypefun line.
54273 * manual/syslog.texi (syslog): Use @dots{} instead of literal
54275 (vsyslog): Use @var{} on parameter names.
54276 * manual/terminal.texi (stty): Use @var{} on parameter names.
54277 * manual/users.texi (getutmp): Use @var{} on parameter names.
54278 (getutmpx): Likewise.
54280 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54283 * manual/stdio.texi (fopen): Fix typos in description of
54286 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
54289 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54290 get clock_id definition.
54292 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
54295 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54296 (madvise): Cast every argument to void on its own.
54298 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54301 * manual/startup.texi (Exit Status): Fix typo.
54303 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54306 * manual/examples/argp-ex1.c: Include <stdlib.h>.
54307 * manual/examples/argp-ex2.c: Likewise.
54308 * manual/examples/argp-ex3.c: Likewise.
54310 2012-02-16 Richard Henderson <rth@redhat.com>
54312 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54313 * sysdeps/s390/s390-32/initfini.c: Remove.
54314 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54315 * sysdeps/s390/s390-64/initfini.c: Remove.
54317 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54319 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54320 compiler output for sysdeps/generic/initfini.c.
54321 * sysdeps/sh/elf/initfini.c: Remove file.
54323 2012-02-16 David S. Miller <davem@davemloft.net>
54326 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54328 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54329 * sysdeps/sparc/crti.S: New file.
54330 * sysdeps/sparc/crtn.S: New file.
54331 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54332 * sysdeps/sparc/sparc64/Makefile: Likewise.
54334 2012-02-15 Mike Frysinger <vapier@gentoo.org>
54337 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54339 2012-02-15 Roland McGrath <roland@hack.frob.com>
54342 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54344 * mach/devstream.c (cookie_io_functions_t): Macro removed.
54345 (write, read, close): Likewise.
54346 Patch by Aurelien Jarno <aurelien@aurel32.net>.
54348 2012-02-15 Joseph Myers <joseph@codesourcery.com>
54350 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54351 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54352 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54353 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54355 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54359 2012-02-14 Marek Polacek <polacek@redhat.com>
54361 * sysdeps/x86_64/crti.S: New file.
54362 * sysdeps/x86_64/crtn.S: New file.
54363 * sysdeps/x86_64/elf/initfini.c: Remove file.
54365 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54367 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54368 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54369 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54370 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54372 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54376 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54378 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54379 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54380 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54381 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54383 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54387 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
54389 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54390 __feraiseexcept instead of feraiseexcept.
54392 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54393 nanosleep invocations.
54394 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54395 strings, and add error checking for a nanosleep invocations.
54397 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
54399 Replace FSF snail mail address with URLs, as per GNU coding standards.
54400 Most of the snail mail addresses were wrong anyway, and omitting
54401 them makes the source code easier to maintain. Almost all of the
54402 changes are to license notices and to locale LC_IDENTIFICATION
54403 addresses, except for this one:
54404 * manual/libc.texinfo: In "Published by", give the FSF's URL,
54405 not its snail mail address.
54407 2012-02-09 Richard Henderson <rth@twiddle.net>
54409 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54410 of kernel-features.h.
54412 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54414 2012-02-08 Marek Polacek <polacek@redhat.com>
54416 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54417 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54418 * sysdeps/gnu/_G_config.h: Likewise.
54419 * sysdeps/generic/_G_config.h: Likewise.
54421 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
54423 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54427 * sysdeps/powerpc/powerpc32/crti.S: New file.
54428 * sysdeps/powerpc/powerpc32/crtn.S: New file.
54429 * sysdeps/powerpc/powerpc64/crti.S: New file.
54430 * sysdeps/powerpc/powerpc64/crtn.S: New file.
54432 * Makeconfig (have-initfini): Don't set.
54433 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54434 * configure.in (nopic_initfini): Don't substitute.
54435 * config.h.in (HAVE_INITFINI): Don't #undef.
54436 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54437 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54439 2012-02-08 Joseph Myers <joseph@codesourcery.com>
54441 Support crti.S and crtn.S provided directly by architectures.
54442 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54443 [crti.S in sysdirs] (omit-deps): Likewise.
54444 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54445 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54446 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54447 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54448 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54449 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54450 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54451 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54452 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54453 compiler output for sysdeps/generic/initfini.c.
54454 * sysdeps/i386/elf/Makefile: Remove file.
54455 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54457 2012-02-07 Marek Polacek <polacek@redhat.com>
54459 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54460 * sysdeps/gnu/_G_config.h: Likewise.
54461 * sysdeps/mach/hurd/_G_config.h: Likewise.
54463 2012-02-07 Marek Polacek <polacek@redhat.com>
54465 * math/Makefile (tests): Add tst-CMPLX2.
54466 * math/tst-CMPLX2.c: New file.
54468 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
54470 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54472 * math/libm-test.inc (jn_test): Add missing L suffix.
54474 2012-02-06 Marek Polacek <polacek@redhat.com>
54476 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54477 * sysdeps/i386/fpu/e_powf.S: Likewise.
54478 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54479 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54480 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54481 * sysdeps/i386/fpu/e_pow.S: Likewise.
54482 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54483 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54484 * sysdeps/i386/fpu/s_expm1.S: Likewise.
54485 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54486 * sysdeps/i386/fpu/e_log2.S: Likewise.
54487 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54488 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54489 * sysdeps/i386/fpu/e_powl.S: Likewise.
54490 * sysdeps/i386/fpu/s_log1p.S: Likewise.
54491 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54492 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54493 * sysdeps/i386/fpu/e_logl.S: Likewise.
54494 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54495 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54496 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54497 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54498 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54499 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54500 * sysdeps/i386/fpu/e_log.S: Likewise.
54501 * sysdeps/i386/fpu/s_cexp.S: Likewise.
54502 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54503 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54504 * sysdeps/i386/fpu/e_logf.S: Likewise.
54505 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54506 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54507 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54508 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54509 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54510 * sysdeps/i386/fpu/e_log10.S: Likewise.
54511 * sysdeps/i386/fpu/s_frexp.S: Likewise.
54512 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54513 * sysdeps/i386/fpu/s_asinh.S: Likewise.
54514 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54515 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54516 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54517 * sysdeps/i386/asm-syntax.h: Likewise.
54518 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54519 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54520 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54521 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54522 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54523 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54524 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54525 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54526 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54527 * sysdeps/powerpc/sysdep.h: Likewise.
54528 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54529 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54531 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54534 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54536 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54538 * sysdeps/i386/sysdep.h: Include <features.h>.
54539 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54542 2012-02-05 Joseph Myers <joseph@codesourcery.com>
54544 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54546 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54549 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54551 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54552 (SETUP_PIC_REG): Use GET_PC_THUNK.
54553 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54556 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54558 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54559 for non-PIC compilation.
54560 (SETUP_PIC_REG): Add .p2align directive.
54561 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54562 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54563 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54564 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54565 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54566 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54567 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54568 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54569 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54570 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54571 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54572 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54573 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54574 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54575 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54576 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54577 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54578 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54579 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54580 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54581 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54582 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54583 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54584 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54585 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54586 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54587 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54588 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54589 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54590 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54591 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54592 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54593 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54594 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54595 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54596 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54597 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54598 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54599 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54600 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54601 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54603 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54605 * math/tst-CMPLX.c: Include <stdio.h>.
54607 2012-01-31 Joseph Myers <joseph@codesourcery.com>
54609 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54611 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54612 * sysdeps/sparc/bits/mathdef.h: Likewise.
54614 2012-01-31 Marek Polacek <polacek@redhat.com>
54616 * libio/libio.h: Don't define _PARAMS.
54617 * locale/programs/config.h: Don't define PARAMS.
54618 * stdlib/strtol_l.c: Likewise.
54619 (__strtol_l): Remove PARAMS from the prototype.
54621 2012-01-31 Ulrich Drepper <drepper@gmail.com>
54623 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
54624 names. Just use the correct names. Remove unnecessary wrapper
54626 * malloc/arena.c: Likewise.
54627 * malloc/hooks.c: Likewise.
54629 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54630 ARENA_TEST says not to. Simplify test for creation of a new arena.
54631 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54633 2012-01-30 Ulrich Drepper <drepper@gmail.com>
54635 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54637 (update_get_addr): New function.
54638 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54639 GET_ADDR_MODULE parameter.
54641 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54643 * crypt/cert.c: Remove __STDC__ conditionals.
54644 * crypt/crypt-entry.c: Likewise.
54645 * crypt/crypt_util.c: Likewise.
54646 * libio/filedoalloc.c: Likewise.
54647 * libio/fileops.c: Likewise.
54648 * libio/genops.c: Likewise.
54649 * libio/iofclose.c: Likewise.
54650 * libio/iofdopen.c: Likewise.
54651 * libio/iofopen.c: Likewise.
54652 * libio/iofopen64.c: Likewise.
54653 * libio/iogetdelim.c: Likewise.
54654 * libio/iopopen.c: Likewise.
54655 * libio/obprintf.c: Likewise.
54656 * libio/oldfileops.c: Likewise.
54657 * libio/oldiofclose.c: Likewise.
54658 * libio/oldiofdopen.c: Likewise.
54659 * libio/oldiofopen.c: Likewise.
54660 * libio/oldiopopen.c: Likewise.
54661 * libio/wfiledoalloc.c: Likewise.
54662 * libio/wgenops.c: Likewise.
54663 * locale/programs/xmalloc.c: Likewise.
54664 * misc/syslog.c: Likewise.
54665 * stdio-common/xbug.c: Likewise.
54666 * string/memchr.c: Likewise.
54667 * string/memcmp.c: Likewise.
54668 * string/memrchr.c: Likewise.
54669 * string/rawmemchr.c: Likewise.
54670 * sysdeps/posix/getcwd.c: Likewise.
54671 * time/strftime_l.c: Likewise.
54673 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54675 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54676 * config.make.in (config-cflags-sse2avx): Define.
54677 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54680 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
54682 * scripts/config.guess: Update from upstream config git repository.
54683 * scripts/config.sub: Likewise.
54685 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
54687 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54689 (R_TILEPRO_*, R_TILEGX_*): New macros.
54691 * scripts/firstversions.awk: Fix bug in version range handling.
54693 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54695 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54697 * include/sys/epoll.h: New file.
54698 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54701 2012-01-28 Ulrich Drepper <drepper@gmail.com>
54703 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54704 Avoid unnecessary __WORDSIZE == 64 test.
54705 (fmaxf): Use VEX format if possible.
54710 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54711 * math/math_private.h: Remove libc_fegetround* and
54713 * sysdeps/i386/configure.in: Check for -msse2avx.
54714 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54715 also if SSE2AVX is defined.
54716 Remove libc_fegetround* and libc_fesetround*.
54717 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54718 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
54719 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54721 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54722 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54723 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54724 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54725 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54727 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54729 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54731 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54733 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54735 2012-01-27 Ulrich Drepper <drepper@gmail.com>
54738 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54740 * Makeconfig (libm): Define.
54741 * elf/Makefile: Add rules to build and run tst-relsort1.
54742 * elf/tst-relsort1.c: New file.
54743 * elf/tst-relsort1mod1.c: New file.
54744 * elf/tst-relsort1mod2.c: New file.
54746 2012-01-27 Joseph Myers <joseph@codesourcery.com>
54748 * math/s_ldexp.c: Remove __STDC__ conditionals.
54749 * math/s_ldexpf.c: Likewise.
54750 * math/s_ldexpl.c: Likewise.
54751 * math/s_nextafter.c: Likewise.
54752 * math/s_nexttowardf.c: Likewise.
54753 * math/s_significand.c: Likewise.
54754 * math/s_significandf.c: Likewise.
54755 * math/s_significandl.c: Likewise.
54756 * math/w_jnl.c: Likewise.
54757 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54758 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54759 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54760 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54761 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54762 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54763 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54764 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54765 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54766 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54767 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54768 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54769 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54770 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54771 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54772 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54773 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54774 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54775 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54776 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54777 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54778 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54779 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54780 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54781 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54782 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54783 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54784 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54785 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54786 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54787 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54788 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54789 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54790 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54791 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54792 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54793 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54794 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54795 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54796 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54797 * sysdeps/ieee754/k_standard.c: Likewise.
54798 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54799 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54800 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54801 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54802 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54803 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54804 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54805 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54806 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54807 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54808 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54809 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54810 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54811 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54812 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54813 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54814 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54815 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54816 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54817 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54818 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54819 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54820 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54821 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54822 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54823 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54824 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54825 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54826 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54827 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54828 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54829 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54830 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54831 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54832 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54833 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54834 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54835 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54836 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54837 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54838 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54839 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54840 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54841 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54842 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54843 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54844 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54845 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54846 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54847 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54848 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54849 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54850 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54851 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54852 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54853 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54854 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54855 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54856 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54857 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54858 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54859 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54860 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54861 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54862 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54863 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54864 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54865 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54866 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54867 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54868 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54869 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54870 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54871 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54872 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54873 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54874 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54875 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54876 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54877 * sysdeps/ieee754/s_matherr.c: Likewise.
54878 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54879 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54880 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54881 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54883 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54885 * crypt/md5.h: Remove __STDC__ conditionals.
54886 * libio/libioP.h: Likewise.
54887 * locale/programs/config.h: Likewise.
54888 * sysdeps/generic/sysdep.h: Likewise.
54889 * sysdeps/i386/asm-syntax.h: Likewise.
54890 * sysdeps/s390/asm-syntax.h: Likewise.
54891 * sysdeps/unix/sysdep.h: Likewise.
54892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54895 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54897 * libio/libio.h: Remove __STDC__ conditionals.
54898 * malloc/obstack.h: Likewise.
54899 * math/complex.h: Likewise.
54900 * math/math.h: Likewise.
54901 * sysdeps/generic/_G_config.h: Likewise.
54902 * sysdeps/gnu/_G_config.h: Likewise.
54903 * sysdeps/mach/hurd/_G_config.h: Likewise.
54904 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54905 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54906 * sysdeps/sparc/bits/mathdef.h: Likewise.
54908 2012-01-26 Ulrich Drepper <drepper@gmail.com>
54911 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54912 Clean up HAS_* macros.
54913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54914 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54916 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54918 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54919 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54920 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54921 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54922 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54924 2012-01-25 Joseph Myers <joseph@codesourcery.com>
54926 * elf/tst-unique3.cc (gets): Remove declaration.
54927 * elf/tst-unique3lib.cc (gets): Likewise.
54928 * elf/tst-unique3lib2.cc (gets): Likewise.
54929 * elf/tst-unique4.cc (gets): Likewise.
54931 2012-01-24 Ulrich Drepper <drepper@gmail.com>
54933 * include/stdio.h: Add C++ protection. Add gets declarations and
54935 * debug/tst-chk1.c: Don't declare gets here.
54936 * stdio-common/tst-gets.c: Likewise.
54938 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54940 * posix/glob: Remove directory.
54942 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54944 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54946 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
54948 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54949 of the non-standard EPFNOSUPPORT.
54951 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
54953 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54954 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54955 ANYWHERE set to 1 only on KERN_NO_SPACE error.
54957 2012-01-21 Ulrich Drepper <drepper@gmail.com>
54959 * wcsmbs/uchar.h: Test __STDC_VERSION__.
54961 2012-01-20 Ulrich Drepper <drepper@gmail.com>
54963 * nscd/aicache.c (addhstaiX): Do not cache negative results of
54965 * nscd/grpcache.c (cache_addgr): Likewise.
54966 * nscd/hstcache.c (cache_addhst): Likewise.
54967 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54968 * nscd/pwdcache.c (cache_addpw): Likewise.
54969 * nscd/servicescache.c (cache_addserv): Likewise.
54971 2012-01-16 Ulrich Drepper <drepper@gmail.com>
54973 * malloc/malloc.c: Various cleanups.
54974 * malloc/hooks.c: Likewise.
54976 * stdlib/Makefile (tests): Add bug-fmtmsg1.
54977 * stdlib/bug-fmtmsg1.c: New file.
54979 * stdlib/fmtmsg.c (init): Add missing unlock.
54980 Patch by Peng Haitao <penght@cn.fujitsu.com>.
54982 2012-01-12 Marek Polacek <polacek@redhat.com>
54984 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54987 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54989 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54990 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54991 macro to ensure uniqueness of label name.
54992 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54993 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54995 2012-01-11 Ulrich Drepper <drepper@gmail.com>
54997 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54999 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55000 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55001 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55002 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55004 2012-01-10 Ulrich Drepper <drepper@gmail.com>
55006 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55008 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55009 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55010 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55012 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55014 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55015 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55016 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55017 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55019 * math/bits/math-finite.h: Add ldexp support.
55021 2012-01-10 Marek Polacek <polacek@redhat.com>
55023 * locale/programs/localedef.h (show_archive_content): Add noreturn
55026 2012-01-09 Ulrich Drepper <drepper@gmail.com>
55028 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55030 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55032 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55034 * io/Makefile (headers): Add bits/poll2.h.
55036 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
55038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55039 typo #include statement.
55041 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55043 * include/sys/cdefs.h: Define __attribute_alloc_size.
55044 * catgets/gencat.c: Add alloc_size attribute and apply consistently
55045 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55046 * elf/pldd.c: Likewise.
55047 * iconv/iconv_charmap.c: Likewise.
55048 * iconv/iconvconfig.c: Likewise.
55049 * iconv/strtab.c: Likewise.
55050 * locale/programs/locale.c: Likewise.
55051 * locale/programs/localedef.h: Likewise.
55052 * locale/programs/simple-hash.c: Likewise.
55053 * nscd/nscd.h: Likewise.
55054 * nss/makedb.c: Likewise.
55055 * sysdeps/generic/ldconfig.h: Likewise.
55056 * locale/programs/localedef.c: Remove xmalloc prototype.
55057 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55059 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55061 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55064 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55066 * math/Makefile (tests): Add tst-CMPLX.
55067 * math/tst-CMPLX.c: New file.
55069 * math/complex.h (CMPLXL): Fix typo.
55071 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55072 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55074 * debug/tst-chk1.c: Add poll and ppoll tests.
55075 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55076 * include/sys/poll.h: Add hidden proto for ppoll.
55077 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55078 * sysdeps/mach/hurd/ppoll.c: Likewise.
55079 * io/ppoll.c: Likewise.
55080 * debug/poll_chk.c: New file.
55081 * debug/ppoll_chk.c: New file.
55082 * include/bits/poll2.h: New file.
55083 * io/bits/poll2.h: New file.
55086 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55088 * configure.in: static is always set to yes. Remove.
55089 * config.make.in: Don't set build-static.
55090 * Makeconfig: Remove use of build-static.
55091 * dlfcn/Makefile: Likewise.
55092 * elf/Makefile: Likewise.
55093 * math/Makefile: Likewise.
55094 * misc/Makefile: Likewise.
55095 * nptl/Makefile: Likewise.
55096 * sysdeps/mach/hurd/Makefile: Likewise.
55098 * configure.in: PWD_P is not used anymore.
55099 * config.make.in: Remove PWD_P entry.
55101 * configure.in: Remove last remnants of RANLIB.
55102 No need to check for signed size_t anymore.
55103 Don't set libc_commonpagesize and libc_relro_required here for Alpha
55105 Remove __builtin_expect test because we require at least gcc 3.4.
55106 * aclocal.m4: Likewise.
55108 * wcsmbs/mbrtoc16.c: Implement using towc function.
55109 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55110 * wcsmbs/wcsmbsload.c: Likewise.
55111 * iconv/gconv_simple.c: Likewise.
55112 * iconv/gconv_int.h: Likewise.
55113 * iconv/gconv_builtin.h: Likewise.
55114 * iconv/iconv_prog.c: Remove CHAR16 handling.
55116 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55118 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55120 * configure.in: Remove --with-elf and --enable-bounded options.
55121 Dont set base_machine for ia64. More non-ELF conditions removed.
55122 Remove testing and setting of leading underscore information.
55123 * config.make.in (build-bounded): Set to no.
55124 * config.h.in: Remove NO_UNDERSCORES entry.
55125 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
55127 * csu/start.c: Remove !NO_UNDERSCORE code.
55128 * locale/localeinfo.h: Likewise.
55129 * sysdeps/generic/machine-gmon.h: Likewise.
55130 * sysdeps/generic/sysdep.h: Likewise.
55131 * sysdeps/i386/sysdep.h: Likewise.
55132 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55133 * sysdeps/mach/sysdep.h: Likewise.
55134 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55135 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55136 * sysdeps/sh/sysdep.h: Likewise.
55137 * sysdeps/sparc/sparc32/alloca.S: Likewise.
55138 * sysdeps/unix/i386/sysdep.S: Likewise.
55139 * sysdeps/unix/sparc/start.c: Likewise.
55140 * sysdeps/unix/sparc/sysdep.S: Likewise.
55141 * sysdeps/unix/sparc/sysdep.h: Likewise.
55142 * sysdeps/unix/start.c: Likewise.
55143 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55144 * sysdeps/x86_64/sysdep.h: Likewise.
55146 2012-01-07 Ulrich Drepper <drepper@gmail.com>
55149 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55151 * argp/argp-fmtstream.h: Use const instead __const.
55152 * argp/argp.h: Likewise.
55153 * assert/assert.h: Likewise.
55154 * bits/fenv.h: Likewise.
55155 * bits/sched.h: Likewise.
55156 * bits/sigset.h: Likewise.
55157 * bits/sigthread.h: Likewise.
55158 * catgets/nl_types.h: Likewise.
55159 * conform/data/pthread.h-data: Likewise.
55160 * crypt/crypt-private.h: Likewise.
55161 * crypt/crypt.h: Likewise.
55162 * crypt/crypt_util.c: Likewise.
55163 * ctype/ctype.h: Likewise.
55164 * debug/execinfo.h: Likewise.
55165 * debug/mbsnrtowcs_chk.c: Likewise.
55166 * debug/mbsrtowcs_chk.c: Likewise.
55167 * debug/wcsnrtombs_chk.c: Likewise.
55168 * debug/wcsrtombs_chk.c: Likewise.
55169 * debug/wcstombs_chk.c: Likewise.
55170 * dirent/dirent.h: Likewise.
55171 * dlfcn/dlfcn.h: Likewise.
55172 * elf/neededtest4.c: Likewise.
55173 * grp/grp.h: Likewise.
55174 * gshadow/gshadow.h: Likewise.
55175 * iconv/gconv.h: Likewise.
55176 * iconv/gconv_int.h: Likewise.
55177 * iconv/gconv_simple.c: Likewise.
55178 * iconv/iconv.h: Likewise.
55179 * iconv/loop.c: Likewise.
55180 * iconv/skeleton.c: Likewise.
55181 * include/aio.h: Likewise.
55182 * include/aliases.h: Likewise.
55183 * include/argz.h: Likewise.
55184 * include/arpa/inet.h: Likewise.
55185 * include/assert.h: Likewise.
55186 * include/dirent.h: Likewise.
55187 * include/dlfcn.h: Likewise.
55188 * include/execinfo.h: Likewise.
55189 * include/fcntl.h: Likewise.
55190 * include/fenv.h: Likewise.
55191 * include/glob.h: Likewise.
55192 * include/grp.h: Likewise.
55193 * include/libintl.h: Likewise.
55194 * include/mntent.h: Likewise.
55195 * include/netdb.h: Likewise.
55196 * include/pwd.h: Likewise.
55197 * include/rpc/netdb.h: Likewise.
55198 * include/sched.h: Likewise.
55199 * include/search.h: Likewise.
55200 * include/shadow.h: Likewise.
55201 * include/signal.h: Likewise.
55202 * include/stdio.h: Likewise.
55203 * include/stdlib.h: Likewise.
55204 * include/string.h: Likewise.
55205 * include/sys/socket.h: Likewise.
55206 * include/sys/stat.h: Likewise.
55207 * include/sys/statfs.h: Likewise.
55208 * include/sys/statvfs.h: Likewise.
55209 * include/sys/syslog.h: Likewise.
55210 * include/sys/time.h: Likewise.
55211 * include/sys/uio.h: Likewise.
55212 * include/time.h: Likewise.
55213 * include/unistd.h: Likewise.
55214 * include/utmp.h: Likewise.
55215 * include/wchar.h: Likewise.
55216 * include/wctype.h: Likewise.
55217 * inet/aliases.h: Likewise.
55218 * inet/arpa/inet.h: Likewise.
55219 * inet/netinet/ether.h: Likewise.
55220 * inet/netinet/in.h: Likewise.
55221 * intl/libintl.h: Likewise.
55222 * io/bits/fcntl2.h: Likewise.
55223 * io/fcntl.h: Likewise.
55224 * io/ftw.h: Likewise.
55225 * io/sys/poll.h: Likewise.
55226 * io/sys/stat.h: Likewise.
55227 * io/sys/statfs.h: Likewise.
55228 * io/sys/statvfs.h: Likewise.
55229 * io/utime.h: Likewise.
55230 * libio/bits/stdio.h: Likewise.
55231 * libio/bits/stdio2.h: Likewise.
55232 * libio/libio.h: Likewise.
55233 * libio/libioP.h: Likewise.
55234 * libio/stdio.h: Likewise.
55235 * locale/lc-ctype.c: Likewise.
55236 * locale/locale.h: Likewise.
55237 * login/utmp.h: Likewise.
55238 * malloc/arena.c: Likewise.
55239 * malloc/malloc.c: Likewise.
55240 * malloc/malloc.h: Likewise.
55241 * malloc/mcheck.c: Likewise.
55242 * malloc/mtrace.c: Likewise.
55243 * math/bits/mathcalls.h: Likewise.
55244 * math/fenv.h: Likewise.
55245 * math/math_private.h: Likewise.
55246 * misc/bits/error.h: Likewise.
55247 * misc/bits/syslog.h: Likewise.
55248 * misc/err.h: Likewise.
55249 * misc/error.h: Likewise.
55250 * misc/fstab.h: Likewise.
55251 * misc/mntent.h: Likewise.
55252 * misc/regexp.h: Likewise.
55253 * misc/search.h: Likewise.
55254 * misc/sgtty.h: Likewise.
55255 * misc/sys/mman.h: Likewise.
55256 * misc/sys/syslog.h: Likewise.
55257 * misc/sys/uio.h: Likewise.
55258 * misc/sys/xattr.h: Likewise.
55259 * misc/ttyent.h: Likewise.
55260 * nis/rpcsvc/ypclnt.h: Likewise.
55261 * nss/nss.h: Likewise.
55262 * posix/bits/unistd.h: Likewise.
55263 * posix/fnmatch.h: Likewise.
55264 * posix/glob.h: Likewise.
55265 * posix/sched.h: Likewise.
55266 * posix/spawn.h: Likewise.
55267 * posix/sys/wait.h: Likewise.
55268 * posix/unistd.h: Likewise.
55269 * posix/wordexp.h: Likewise.
55270 * pwd/pwd.h: Likewise.
55271 * resolv/netdb.h: Likewise.
55272 * resource/sys/resource.h: Likewise.
55273 * rt/aio.h: Likewise.
55274 * rt/bits/mqueue2.h: Likewise.
55275 * rt/mqueue.h: Likewise.
55276 * shadow/shadow.h: Likewise.
55277 * signal/signal.h: Likewise.
55278 * socket/send.c: Likewise.
55279 * socket/sendto.c: Likewise.
55280 * socket/sys/socket.h: Likewise.
55281 * stdio-common/printf.h: Likewise.
55282 * stdlib/bits/stdlib.h: Likewise.
55283 * stdlib/fmtmsg.h: Likewise.
55284 * stdlib/monetary.h: Likewise.
55285 * stdlib/stdlib.h: Likewise.
55286 * stdlib/ucontext.h: Likewise.
55287 * streams/stropts.h: Likewise.
55288 * string/argz.h: Likewise.
55289 * string/bits/string2.h: Likewise.
55290 * string/string.h: Likewise.
55291 * string/strings.h: Likewise.
55292 * sunrpc/rpc/auth.h: Likewise.
55293 * sunrpc/rpc/auth_des.h: Likewise.
55294 * sunrpc/rpc/clnt.h: Likewise.
55295 * sunrpc/rpc/netdb.h: Likewise.
55296 * sunrpc/rpc/pmap_clnt.h: Likewise.
55297 * sunrpc/rpc/xdr.h: Likewise.
55298 * sysdeps/generic/inttypes.h: Likewise.
55299 * sysdeps/generic/net/if.h: Likewise.
55300 * sysdeps/generic/sys/swap.h: Likewise.
55301 * sysdeps/gnu/net/if.h: Likewise.
55302 * sysdeps/gnu/utmpx.h: Likewise.
55303 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55304 * sysdeps/i386/i486/bits/string.h: Likewise.
55305 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55306 * sysdeps/s390/bits/string.h: Likewise.
55307 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55308 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55309 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55310 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55311 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55312 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55313 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55314 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55315 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55316 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55317 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55318 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55319 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55320 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55321 * sysdeps/unix/sysv/linux/readv.c: Likewise.
55322 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55323 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55324 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55325 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55326 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55327 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55328 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55329 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55330 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55331 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55332 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55333 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55334 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55335 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55336 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55337 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55338 * sysvipc/sys/ipc.h: Likewise.
55339 * sysvipc/sys/msg.h: Likewise.
55340 * sysvipc/sys/sem.h: Likewise.
55341 * sysvipc/sys/shm.h: Likewise.
55342 * termios/termios.h: Likewise.
55343 * time/sys/time.h: Likewise.
55344 * time/time.h: Likewise.
55345 * wcsmbs/bits/wchar2.h: Likewise.
55346 * wcsmbs/uchar.h: Likewise.
55347 * wcsmbs/wchar.h: Likewise.
55348 * wctype/wctype.h: Likewise.
55351 * Makeconfig: Remove all but ELF support including AIX support.
55352 * Makerules: Likewise.
55353 * config.h.in: Likewise.
55354 * config.make.in: Likewise.
55355 * configure: Likewise.
55356 * configure.in: Likewise.
55357 * csu/Makefile: Likewise.
55358 * csu/version.c: Likewise.
55359 * debug/Makefile: Likewise.
55360 * dlfcn/Makefile: Likewise.
55361 * elf/Makefile: Likewise.
55362 * extra-lib.mk: Likewise.
55363 * iconv/Makefile: Likewise.
55364 * include/libc-symbols.h: Likewise.
55365 * include/shlib-compat.h: Likewise.
55366 * resolv/Makefile: Likewise.
55367 * resolv/res_libc.c: Likewise.
55368 * rt/Makefile: Likewise.
55369 * sysdeps/i386/asm-syntax.h: Likewise.
55370 * sysdeps/i386/sysdep.h: Likewise.
55371 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55372 * sysdeps/mach/sysdep.h: Likewise.
55373 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55374 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55375 * sysdeps/s390/asm-syntax.h: Likewise.
55376 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55377 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55378 * sysdeps/sh/sysdep.h: Likewise.
55379 * sysdeps/unix/sparc/sysdep.h: Likewise.
55380 * sysdeps/wordsize-32/divdi3.c: Likewise.
55381 * sysdeps/x86_64/sysdep.h: Likewise.
55383 * argp/Versions: Remove _argp_unlock_xxx.
55386 * abilist/ld.abilist: Update. Adjust for removal of tls option.
55387 * abilist/libBrokenLocale.abilist: Likewise.
55388 * abilist/libanl.abilist: Likewise.
55389 * abilist/libc.abilist: Likewise.
55390 * abilist/libcrypt.abilist: Likewise.
55391 * abilist/libdl.abilist: Likewise.
55392 * abilist/libm.abilist: Likewise.
55393 * abilist/libnsl.abilist: Likewise.
55394 * abilist/libpthread.abilist: Likewise.
55395 * abilist/libresolv.abilist: Likewise.
55396 * abilist/librt.abilist: Likewise.
55397 * abilist/libthread_db.abilist: Likewise.
55398 * abilist/libutil.abilist: Likewise.
55399 * abilist/libnss_db.abilist: New file.
55401 * scripts/abilist.awk: Add support for indirect functions.
55403 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55405 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55407 * shlib-versions: Remove entries for ports architectures.
55409 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
55411 * elf/stackguard-macros.h: Remove support for IA-64.
55412 * elf/tst-auditmod1.c: Likewise.
55413 * sysdeps/generic/ldsodefs.h: Likewise.
55415 * sysdeps/unix/sysv/linux/configure.in: Ports should define
55416 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55420 * configure.in: Remove --enable-omitfp support.
55422 * config.make.in: Likewise.
55423 * Makeconfig: Likewise.
55424 * manual/install.texi: Likewise.
55426 In case anyone cares, the IA-64 architecture could move to ports.
55427 * sysdeps/ia64/*: Removed.
55428 * sysdeps/unix/sysv/linux/ia64/*: Removed.
55429 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55432 * configure.in: Remove entries for unsupported architectures.
55435 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55436 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
55438 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55439 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55440 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
55441 fall back to using wcrtomb.
55442 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55443 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
55445 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55446 * wcsmbs/tst-c16c32-1.c: New file.
55448 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55451 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55453 * elf/tst-unique3.cc: Add explicit declaration of gets.
55454 * elf/tst-unique3lib.cc: Likewise.
55455 * elf/tst-unique3lib2.cc: Likewise.
55456 * elf/tst-unique4.cc: Likewise.
55458 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55460 2012-01-06 Joseph Myers <joseph@codesourcery.com>
55463 * assert/assert.h (static_assert): Don't define for C++.
55464 * libio/stdio.h (gets): Do declare for C++ <= C++11.
55465 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55467 2012-01-03 Ulrich Drepper <drepper@gmail.com>
55469 * iconv/loop.c (single loop): Fix assertion in storing of
55472 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55474 2012-01-01 Ulrich Drepper <drepper@gmail.com>
55476 * posix/getconf.c: Update copyright year.
55477 * nss/getent.c: Likewise.
55478 * nss/makedb.c: Likewise.
55479 * iconv/iconvconfig.c: Likewise.
55480 * iconv/iconv_prog.c: Likewise.
55481 * elf/ldconfig.c: Likewise.
55482 * elf/pldd.c: Likewise.
55483 * elf/sotruss.ksh: Likewise.
55484 * catgets/gencat.c: Likewise.
55485 * csu/version.c: Likewise.
55486 * elf/ldd.bash.in: Likewise.
55487 * elf/sprof.c (print_version): Likewise.
55488 * locale/programs/locale.c: Likewise.
55489 * locale/programs/localedef.c: Likewise.
55490 * login/programs/pt_chown.c: Likewise.
55491 * nscd/nscd.c (print_version): Likewise.
55492 * debug/xtrace.sh: Likewise.
55493 * malloc/memusage.sh: Likewise.
55494 * malloc/mtrace.pl: Likewise.
55495 * debug/catchsegv.sh: Likewise.
55497 2011-12-30 Jakub Jelinek <jakub@redhat.com>
55499 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55502 2011-12-24 Ulrich Drepper <drepper@gmail.com>
55505 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55506 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55508 * iconv/gconv_int.h: Likewise.
55509 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55510 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55511 from libc for GLIBC_2.16.
55512 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55513 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55514 * wcsmbs/uchar.h: Really define mbstate_t.
55515 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55516 * wcsmbs/c16rtomb.c: New file.
55517 * wcsmbs/mbrtoc16.c: New file.
55518 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55519 for C/POSIX locale.
55520 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55521 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55523 * wcsmbs/wchar.h: Add missing __restrict.
55525 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55528 * time/Makefile (routines): Add timespec_get.
55529 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55530 * time/time.h: Define TIME_UTC and declare timespec_get. Define
55531 timespec for ISO C11.
55532 * time/timespec_get.c: New file.
55533 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55534 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55537 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55538 * stdlib/stdlib.h: Declare aligned_alloc.
55539 * Versions.def: Add GLIBC_2.16 for libc.
55540 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55543 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55546 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55550 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55553 * assert/assert.h (static_assert): Define.
55555 * version.h: Update for 2.16 development version.
55558 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55561 * version.h (RELEASE): Bump for 2.15 release.
55562 * include/features.h (__GLIBC_MINOR__): Bump to 15.
55564 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55565 Patch by Marek Polacek <mpolacek@redhat.com>.
55567 * bits/byteswap.h: Protect long long constants with __extension__.
55568 * sysdeps/i386/bits/byteswap.h: Likewise.
55569 * sysdeps/ia64/bits/byteswap.h: Likewise.
55570 * sysdeps/s390/bits/byteswap.h: Likewise.
55571 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55573 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55576 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55577 destination buffer.
55578 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55580 2011-12-23 Marek Polacek <polacek@redhat.com>
55582 * elf/dl-addr.c (determine_info): Add inline keyword.
55583 * elf/tst-auditmod4b.c (check_avx): Likewise.
55584 * elf/tst-auditmod6b.c (check_avx): Likewise.
55585 * elf/tst-auditmod6c.c (check_avx): Likewise.
55586 * elf/tst-auditmod7b.c (check_avx): Likewise.
55588 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55590 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55593 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55596 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55597 processing for last bytes.
55599 2011-08-06 Bruno Haible <bruno@clisp.org>
55602 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55603 U+0385, not to U+1FEE.
55606 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55607 entry for U+00A5 U+0301.
55609 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55612 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55613 buffer for the output is too small.
55615 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55619 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55620 SSE flags if possible.
55622 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55625 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55626 processing for last bytes.
55628 2011-12-22 Joseph Myers <joseph@codesourcery.com>
55630 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55631 (syscall-list-default-options, syscall-list-default-condition)
55632 (syscall-list-includes): Define.
55633 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55634 list of ABIs and options and #if conditions for each ABI. Do not
55635 handle common syscalls between ABIs specially.
55636 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55638 (syscall-list-variants, syscall-list-32bit-options)
55639 (syscall-list-32bit-condition, syscall-list-64bit-options)
55640 (syscall-list-64bit-condition): Define.
55641 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55642 (syscall-list-variants, syscall-list-32bit-options)
55643 (syscall-list-32bit-condition, syscall-list-64bit-options)
55644 (syscall-list-64bit-condition): Define.
55645 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55647 (syscall-list-variants, syscall-list-32bit-options)
55648 (syscall-list-32bit-condition, syscall-list-64bit-options)
55649 (syscall-list-64bit-condition): Define.
55650 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55652 (syscall-list-variants, syscall-list-32bit-options)
55653 (syscall-list-32bit-condition, syscall-list-64bit-options)
55654 (syscall-list-64bit-condition): Define.
55656 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55658 * locale/iso-639.def: Add brx entry.
55661 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55662 Proposed by Mariusz_Cukr <marcukr@op.pl>.
55664 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55665 __feraiseexcept_renamed.
55667 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55670 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55671 EPOLLET with unsigned values.
55672 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55673 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55675 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55676 to large cancellation.
55677 * math/s_cacoshf.c: Likewise.
55678 * math/s_cacoshl.c: Likewise.
55680 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
55684 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55685 * math/s_cacoshf.c: Likewise.
55686 * math/s_cacoshl.c: Likewise.
55688 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55691 * iconv/gconv.h: Define __GCONV_SWAP.
55692 * iconvdata/unicode.c: The swap bit must be stored in __flags.
55693 * iconvdata/utf-16.c: Likewise.
55694 * iconvdata/utf-32.c: Likewise.
55696 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
55699 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55700 numerator after shifting it by one limb.
55702 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
55704 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55705 under [__USE_EXTERN_INLINES].
55707 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55710 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55712 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55714 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55715 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55717 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55718 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55719 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55720 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55721 for strncasecmp/strncasecmp_l compilation.
55722 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55723 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55725 2011-12-08 Marek Polacek <mpolacek@redhat.com>
55728 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55731 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55734 * time/tzfile.c (__tzfile_read): Check values from file header.
55736 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
55738 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55739 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55740 * powerpc/powerpc32/dl-start.S: Likewise.
55741 * powerpc/powerpc32/elf/start.S: Likewise.
55742 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55743 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55744 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55745 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55746 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55747 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55748 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55749 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55750 * powerpc/powerpc32/fpu/s_round.S: Likewise.
55751 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55752 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55753 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55754 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55755 * powerpc/powerpc32/memset.S: Likewise.
55756 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55757 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55758 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55759 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55760 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55761 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55762 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55763 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55764 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55765 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55766 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55767 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55768 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55770 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55772 * math/libm-test.inc: Added more nearbyint tests.
55773 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55774 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55775 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55776 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55778 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
55780 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55783 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55785 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55786 Add wcscpy-ssse3 wcscpy-c.
55787 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55788 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55789 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55790 * sysdeps/x86_64/wcschr.S: New file.
55791 * sysdeps/x86_64/wcsrchr.S: New file.
55792 * string/test-strcmp.c: Remove checking of wcscmp function for
55794 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55795 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55796 wcsrchr-sse2 wcsrchr-c.
55797 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55798 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55799 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55800 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55801 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55802 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55803 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55804 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55805 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55806 * wcsmbc/wcschr.c (WCSCHR): New macro.
55808 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55810 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55811 * wcsmbs/test-wcsrchr.c: New file.
55812 * string/test-strrchr.c: Add wcsrchr support.
55814 * wcsmbs/test-wcscpy.c: New file.
55815 * string/test-strcpy.c: Add wcscpy support.
55818 2011-12-10 Ulrich Drepper <drepper@gmail.com>
55820 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55823 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
55826 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55828 2011-12-04 Ulrich Drepper <drepper@gmail.com>
55830 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55831 Minor optimizations.
55833 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55834 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55835 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55837 2011-12-03 Ulrich Drepper <drepper@gmail.com>
55839 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55840 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55841 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55842 for gcc to avoid warnings.
55843 * inet/Makefile (tests): Add tst-checks.
55844 * inet/tst-checks.c: New file.
55846 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55849 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55852 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55853 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55855 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55857 2011-12-02 Ulrich Drepper <drepper@gmail.com>
55859 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55862 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55864 2011-11-29 Joseph Myers <joseph@codesourcery.com>
55866 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55867 conditional on GCC version.
55868 (__arch_compare_and_exchange_val_8_acq)
55869 (__arch_compare_and_exchange_val_16_acq)
55870 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55871 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55872 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55874 2011-12-02 Joseph Myers <joseph@codesourcery.com>
55876 * sysdeps/sh/backtrace.c: New file.
55878 2011-12-02 Andreas Schwab <schwab@redhat.com>
55880 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
55883 2011-12-01 Andreas Schwab <schwab@redhat.com>
55885 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55886 falling back to utime.
55888 2011-11-30 Andreas Schwab <schwab@redhat.com>
55890 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55891 expectations for float.
55893 2011-11-29 Andreas Schwab <schwab@redhat.com>
55895 * locale/weight.h (findidx): Add parameter len.
55896 * locale/weightwc.h (findidx): Likewise.
55897 * posix/fnmatch_loop.c (FCT): Adjust caller.
55898 * posix/regcomp.c (build_equiv_class): Likewise.
55899 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55900 * posix/regexec.c (check_node_accept_bytes): Likewise.
55901 * string/strcoll_l.c (STRCOLL): Likewise.
55902 * string/strxfrm_l.c (STRXFRM): Likewise.
55904 2011-11-17 Ulrich Drepper <drepper@gmail.com>
55906 * Makefile.in: Remove CVSOPT handling.
55907 * configure.in: Remove use of AC_REVISION.
55908 * iconvdata/Makefile (distribute): No need to filter out CVS.
55909 * scripts/list-sources.sh: Remove CVS, subversion and monotone
55912 2011-11-16 Andreas Schwab <schwab@redhat.com>
55914 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55915 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55916 [USE_AS_STRNCASECMP_L]: Likewise.
55917 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55918 NO_TLS_DIRECT_SEG_REFS.
55919 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55920 Fix argument offsets for non-PIC.
55921 [USE_AS_STRNCASECMP_L]: Likewise.
55922 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55923 NO_TLS_DIRECT_SEG_REFS.
55925 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55927 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55929 * locale/loadlocale.c (_nl_load_locale): Likewise.
55931 2011-11-15 Andreas Schwab <schwab@redhat.com>
55933 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55934 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55935 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55936 (SYSCALL_GETTIME): Set errno on error.
55938 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55939 count references to noai6ai_cached.
55941 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55943 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55945 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55946 FD_CLOEXEC for /proc/self/maps.
55948 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55949 FD_CLOEXEC for /proc/meminfo.
55951 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55954 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
55955 FD_CLOEXEC for given file.
55957 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55959 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55960 FD_CLOEXEC for /etc/hosts.
55961 (_gethtent): Likewise.
55963 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55965 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55966 cancellation and set FD_CLOEXEC for /etc/netgroup.
55968 * nss/nss_files/files-key.c (search): Don't allow cancellation when
55969 reading /etc/publickey.
55971 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55972 allow cancellation when reading /etc/group.
55974 * nss/nss_files/files-alias.c (internal_setent): Don't allow
55976 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
55978 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55979 when using data file.
55981 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55983 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55984 (write_nis_obj): Use "c" and "e" in fopen.
55986 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55988 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55990 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55992 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55994 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55997 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55999 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56001 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56003 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56004 file parsing and set FD_CLOEXEC.
56006 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56008 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56010 2011-11-14 Andreas Schwab <schwab@redhat.com>
56012 * malloc/arena.c (arena_get2): Don't call reused_arena when
56013 _int_new_arena failed.
56015 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56017 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56018 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56019 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56020 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56021 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56022 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56023 to compile strcasecmp and strncasecmp.
56024 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56025 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56027 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56029 2011-11-13 Ulrich Drepper <drepper@gmail.com>
56031 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56032 locale-defines.sym to gen-as-const-headers.
56033 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56034 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56035 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56036 to compile strcasecmp and strncasecmp.
56037 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56038 strcasecmp_l and strncasecmp_l.
56039 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56040 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56041 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56042 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56043 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56044 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56045 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56046 * sysdeps/i386/i686/multiarch/strncase.S: New file.
56047 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56048 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56049 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56051 2011-11-12 Ulrich Drepper <drepper@gmail.com>
56053 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56054 result of SYSDEP_GETTIME_CPU to retval.
56055 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56056 parameter list to macro. Remove trailing semicolon. Adjust users.
56058 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56061 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56063 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56065 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56066 from unused variable.
56068 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56070 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56073 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56076 * sunrpc/rpc_prot.c (rejected): Fix case value.
56078 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56079 unsigned long long int to avoid warnings in shift.
56081 * posix/regex_internal.c (re_string_reconstruct): Actually use result
56083 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56086 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56087 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56088 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56090 * nis/nis_table.c (nis_list): Use variable of correct type for
56091 result of __follow_path call.
56093 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56095 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56096 of math functions ceil, trunc, floor, round, and sqrt, when
56097 avaliable on the platform.
56098 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56100 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56101 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56102 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56104 2011-10-30 Marek Polacek <mpolacek@redhat.com>
56106 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56107 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56109 2011-11-11 Roland McGrath <roland@hack.frob.com>
56111 * include/unistd.h: Fix __readlink return type.
56112 Reported by Chris Metcalf <cmetcalf@tilera.com>.
56114 2011-11-11 Ulrich Drepper <drepper@gmail.com>
56116 * stdlib/ucontext.h: Undo last change for makecontext.
56118 2011-11-11 Andreas Schwab <schwab@redhat.com>
56120 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56122 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56123 * setjmp/setjmp.h: Mark functions as non-leaf.
56124 * setjmp/bits/setjmp2.h: Likewise.
56125 * stdlib/ucontext.h: Likewise.
56127 2011-11-10 Andreas Schwab <schwab@redhat.com>
56129 * malloc/arena.c (_int_new_arena): Don't increment narenas.
56130 (reused_arena): Don't check arena limit.
56131 (arena_get2): Atomically check arena limit.
56133 2011-11-08 Ulrich Drepper <drepper@gmail.com>
56135 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56136 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56141 2011-11-07 Andreas Schwab <schwab@redhat.com>
56143 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56144 handler when locking.
56146 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56147 Fix size of allocated buffer.
56149 2011-11-04 Andreas Schwab <schwab@redhat.com>
56152 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56153 declarations for long double functions.
56154 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56156 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56158 2011-11-03 Andreas Schwab <schwab@redhat.com>
56160 * nscd/nscd.c (main): Don't start AVC thread until credentials are
56163 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56166 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
56168 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56170 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
56172 * include/alloca.h (stackinfo_alloca_round): Define.
56173 (extend_alloca): Use it.
56174 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56175 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56178 * scripts/check-local-headers.sh: Ignore libaudit.h.
56180 * nscd/Makefile (extra-objs): Make recursively expanded.
56182 2011-11-01 Ulrich Drepper <drepper@gmail.com>
56184 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56185 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56187 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56188 * posix/tst-rfc3484-2.c: Likewise.
56189 * posix/tst-rfc3484-3.c: Likewise.
56191 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56193 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56195 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56196 process_vm_writev from libc using GLIBC_2.15 version.
56198 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56200 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
56202 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56205 2011-10-31 Ulrich Drepper <drepper@gmail.com>
56208 * nss/getent.c (initgroups_keys): Show error message in case no group
56211 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56212 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56213 __bump_nl_timestamp.
56214 * nscd/connections (nscd_init): When host database is served open
56215 netlink socket and request notification about configuration changes.
56216 (main_loop_poll): Track netlink file descriptor and bump timestamp
56217 in case data becomes available.
56218 (main_loop_epoll): Likewise.
56219 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56220 (database_pers_head): Add extra_data fileds.
56221 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56222 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56223 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56225 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56226 in6ai data, call __free_in6ai.
56227 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56228 Add -DHAVE_NETLINK.
56229 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
56230 interface information. Reuse previous data if netlink timestamp
56232 (__bump_nl_timestamp): New function.
56233 (__free_in6ai): New function.
56235 2011-10-30 Ulrich Drepper <drepper@gmail.com>
56237 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56238 close_not_cancel_no_status here.
56239 (__check_pf): Reorganize code a bit to not call close twice if OOM.
56241 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56244 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56247 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56248 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56249 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56251 2011-07-03 Andreas Jaeger <aj@suse.de>
56254 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56255 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56256 * math/libm-test.inc (sin_test): Add test case.
56258 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56261 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56262 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56264 * elf/chroot_canon.c (chroot_canon): Cleanups.
56266 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56269 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56270 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56272 * string/test-strchr.c: Make usable for strchrnul testing.
56273 * string/test-strchrnul.c: New file.
56274 * string/Makefile (strop-tests): Add strchrnul.
56276 * po/it.po: Update from translation team.
56277 * po/es.po: Likewise.
56279 2011-10-28 Ulrich Drepper <drepper@gmail.com>
56281 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56282 the three constants needed as parameters. Drop the others.
56283 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56284 __m128i_strloadu_tolower.
56285 Create and initialize variable zero and use it in all the places
56286 where _mm_setzero_si128 was used.
56288 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56289 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56290 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56291 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56293 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56294 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56295 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56296 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56297 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56298 __mpranred, __mptan.
56299 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56300 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56301 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56302 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56303 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56304 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56305 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56306 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56307 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56309 2011-10-28 Andreas Schwab <schwab@redhat.com>
56311 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56312 redefine if SHARED.
56313 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56315 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56316 wide char related routines to wcsmbs subdir.
56318 2011-10-27 Andreas Schwab <schwab@redhat.com>
56321 * misc/sys/cdefs.h (__THROWNL): Define.
56322 * posix/unistd.h: Use __THREADNL instead of __THREAD
56323 for memory synchronization functions.
56325 2011-10-26 Roland McGrath <roland@hack.frob.com>
56328 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56330 * manual/stdio.texi (Obstack Streams): Node removed.
56332 2011-10-26 Andreas Schwab <schwab@redhat.com>
56334 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56335 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56336 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56338 * math/math_private.h (math_force_eval): Allow non-addressable
56340 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56342 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56344 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56345 file is not needed.
56347 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56348 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56349 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56350 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56351 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56352 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56353 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56354 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56356 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56357 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56358 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56359 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56360 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56361 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56362 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56363 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56364 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56365 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56366 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56367 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56368 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56369 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56370 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56371 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56372 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56373 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56374 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56376 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56377 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
56379 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56380 place. Use VEX encoding when compiling for AVX.
56382 2011-10-25 Andreas Schwab <schwab@redhat.com>
56384 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56385 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56387 * string/test-strchr.c (do_test): Don't generate NUL bytes.
56389 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56391 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56392 useless if() expression.
56393 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56394 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56395 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56396 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56397 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56398 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56399 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56400 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56401 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56402 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56403 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56404 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56405 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56406 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56407 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56408 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56409 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56410 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56411 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56413 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56415 2011-10-25 Andreas Schwab <schwab@redhat.com>
56417 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56419 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56421 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56423 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56424 .text section. Avoid duplicate constants.
56425 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56426 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56427 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56428 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56429 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56431 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56432 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56433 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56434 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56435 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56436 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56437 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56438 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56439 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56440 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56441 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56442 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56443 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56444 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56445 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56446 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56447 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56448 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56449 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56450 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56451 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56452 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56453 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56454 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56455 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56456 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56457 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56458 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56459 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56460 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56461 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56462 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56463 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56464 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56465 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56466 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56467 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56468 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56469 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56471 2011-10-24 Ulrich Drepper <drepper@gmail.com>
56473 * sysdeps/x86_64/dla.h: Move to ...
56474 * sysdeps/x86_64/fpu/dla.h: ...here.
56475 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56476 situations. Use __builtin_fma only for gcc 4.6 and up.
56478 * config.make.in: Add have-mfma4 entry.
56479 * configure.in: Substitute libc_cv_cc_fma4.
56480 * math/Makefile (dbl-only-routines): Add sincostab.
56481 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56482 Use __sincostab not sincos.
56483 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56485 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56488 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
56490 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
56491 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
56492 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56493 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56495 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56496 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56498 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
56499 define aliases when function name is a macro.
56500 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56501 sysdeps/ieee754/dbl-64/sincos.tbl.
56502 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56503 fma4-enabled routines.
56504 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56505 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56506 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56507 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56508 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56509 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56510 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56511 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56512 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56513 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56514 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56515 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56516 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56517 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56518 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56519 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56520 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56521 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56522 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56523 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56524 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56525 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56526 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56527 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56528 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56529 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56530 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56531 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56532 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56533 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56535 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56537 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56544 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56546 2011-10-24 Andreas Schwab <schwab@redhat.com>
56548 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56550 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56552 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56554 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56556 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56558 * string/strnlen.c: Don't define STRNLEN, reverse logic.
56559 Remove unused variable magic_bits.
56560 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56562 * string/strnlen.c: Define and use STRNLEN macro.
56563 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56564 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56565 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56566 * wcsmbs/wcslen.c: Define and use WCSLEN.
56567 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56568 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56569 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56570 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56571 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56572 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56573 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56575 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56578 strnlen-sse2-no-bsf.
56579 Rename strlen-no-bsf to strlen-sse2-no-bsf.
56580 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56581 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56582 Add strnlen support.
56583 (USE_AS_STRNLEN): New macro.
56584 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56585 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56586 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56587 * sysdeps/x86_64/wcslen.S: New file.
56589 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
56591 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56592 XMM-moves are used for copying on small sizes.
56594 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56596 * wcsmbs/Makefile (strop-tests): Add wcschr.
56597 * wcsmbs/test-wcschr.c: New file.
56598 * string/test-strchr.c: Update.
56599 Add wcschr support.
56602 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56604 * wcsmbs/Makefile (strop-tests): Add wcslen.
56605 * wcsmbs/test-wcslen.c: New file.
56606 * string/test-strlen.c: Update.
56607 Add wcslen support.
56610 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56612 * po/it.po: Update from translation team.
56614 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56616 * sysdeps/x86_64/wcscmp.S: Update.
56617 Fix wrong comparison semantics.
56618 wcscmp shall use signed comparison not unsigned.
56619 Don't use substraction to avoid overflow bug.
56620 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56621 * wcsmbc/wcscmp.c: Likewise.
56622 * string/test-strcmp.c: Likewise.
56623 Add new tests to check cases with negative values.
56625 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56627 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56628 * sysdeps/x86_64/dla.h: ...here. New file.
56629 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56630 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56632 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56633 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56634 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56635 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56636 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56639 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
56641 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56642 __ynl_finite aliases.
56644 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56648 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56650 [DLA_FMA] (EMULV): Use DLA_FMA.
56651 [DLA_FMA] (MUL12): Use EMULV.
56652 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56653 that are not needed.
56654 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56656 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56657 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56658 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56659 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56660 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56662 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
56664 * math/s_nan.c: Undef __nan.
56665 * math/s_nanf.c: Undef __nanf.
56666 * math/s_nanl.c: Undef __nanl.
56667 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56670 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56672 * math/s_catan.c: Add branch predictions.
56673 * math/s_catanf.c: Likewise.
56674 * math/s_catanh.c: Likewise.
56675 * math/s_catanhf.c: Likewise.
56676 * math/s_catanhl.c: Likewise.
56677 * math/s_catanl.c: Likewise.
56678 * math/s_cexp.c: Likewise.
56679 * math/s_cexpf.c: Likewise.
56680 * math/s_cexpl.c: Likewise.
56681 * math/s_clog.c: Likewise.
56682 * math/s_clog10.c: Likewise.
56683 * math/s_clog10f.c: Likewise.
56684 * math/s_clog10l.c: Likewise.
56685 * math/s_clogf.c: Likewise.
56686 * math/s_clogl.c: Likewise.
56687 * math/s_csqrt.c: Likewise.
56688 * math/s_csqrtf.c: Likewise.
56689 * math/s_csqrtl.c: Likewise.
56690 * math/s_ctanf.c: Likewise.
56691 * math/s_ctanh.c: Likewise.
56692 * math/s_ctanhf.c: Likewise.
56693 * math/s_ctanhl.c: Likewise.
56694 * math/s_ctanl.c: Likewise.
56696 * math/math_private.h: Define __nan, __nanf, __nanl.
56697 * math/s_cacosh.c: Include <math_private.h>.
56698 * math/s_cacoshl.c: Likewise.
56699 * math/s_casinh.c: Likewise.
56700 * math/s_casinhf.c: Likewise.
56701 * math/s_casinhl.c: Likewise.
56702 * math/s_ccos.c: Rely entire on ccosh.
56703 * math/s_ccosf.c: Rely entire on ccoshf.
56704 * math/s_ccosl.c: Rely entirely on ccoshl.
56705 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
56706 Remove tests for FE_INVALID.
56707 * math/s_ccoshf.c: Likewise.
56708 * math/s_ccoshl.c: Likewise.
56709 * math/s_csin.c: Likewise.
56710 * math/s_csinf.c: Likewise.
56711 * math/s_csinh.c Likewise.
56712 * math/s_csinhf.c: Likewise.
56713 * math/s_csinhl.c: Likewise.
56714 * math/s_csinl.c: Likewise.
56715 * math/s_ctan.c: Likewise.
56716 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56717 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56718 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56720 2011-10-21 Ulrich Drepper <drepper@gmail.com>
56722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56723 compilation problems.
56725 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56728 2011-10-20 Ulrich Drepper <drepper@gmail.com>
56730 * sysdeps/i386/configure.in: Test for -mfma4 option.
56731 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56732 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56733 COMMON_CPUID_INDEX_80000001.
56734 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56735 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56736 use it if FMA3 is not supported.
56737 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56739 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56740 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56742 2011-10-20 Andreas Schwab <schwab@redhat.com>
56745 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56746 it would create a cycle with a link time dependency.
56748 2011-10-19 Ulrich Drepper <drepper@gmail.com>
56750 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56752 * string/Makefile (strop-tests): Add rawmemchr.
56753 * string/test-rawmemchr.c: New file.
56755 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56756 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
56757 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
56758 when compiling str{,n}casecmp and when AVX is available. Hook up
56759 new optimized code in initializers.
56761 2011-10-19 Andreas Schwab <schwab@redhat.com>
56763 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56764 __feraiseexcept instead of feraiseexcept.
56766 2011-10-18 Ulrich Drepper <drepper@gmail.com>
56768 * math/math_private.h: Define defaults for libc_fetestexcept and
56770 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56771 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56772 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56773 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56774 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56775 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56776 libc_fetestexcept and libc_feupdateenv.
56778 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56779 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56780 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56781 * sysdeps/x86_64/fpu/math_private.h: Define special version of
56782 libc_feholdexcept_setround.
56784 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56785 Add s_nearbyint-c and s_nearbyintf-c.
56786 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56787 nearbyintf inlines.
56788 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56789 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56790 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56791 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56793 * math/math_private.h: Define defaults for libc_fegetround,
56794 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56795 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56796 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56797 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56798 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56799 standard functions.
56800 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56801 Remove comments and hacks for old compiler versions.
56802 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56803 libc_fegetround, libc_fesetround, libc_feholdexcept, and
56804 libc_feholdexceptl.
56806 2011-10-18 Andreas Schwab <schwab@redhat.com>
56808 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56809 (__feraiseexcept_renamed): Add __NTH.
56810 (feraiseexcept): Add __NTH. Rename local variables to fix
56811 namespace violations.
56813 2011-10-17 Ulrich Drepper <drepper@gmail.com>
56815 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56817 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56819 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56820 recently added interfaces.
56821 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56823 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56824 about macro parameter expansion.
56826 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56827 __NO_MATH_INLINES is defined. Cleanups.
56829 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56830 and __floorf is target has SSE4.1.
56831 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56832 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56833 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56834 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56836 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56838 (floorf): Likewise.
56840 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56842 2011-10-17 Andreas Schwab <schwab@redhat.com>
56844 * misc/sys/cdefs.h: Fix last change.
56846 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56849 2011-10-16 Ulrich Drepper <drepper@gmail.com>
56851 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56853 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56854 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56855 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56856 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56857 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56858 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56859 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56860 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56861 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56862 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56863 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56864 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56865 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56866 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56867 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56868 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56869 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56870 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56871 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56872 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56873 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56874 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56876 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56877 ceil, ceilf, floor, floorf.
56879 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56880 Perform IRELATIVE relocations last.
56882 * elf/do-rel.h: Add another parameter nrelative, replacing the
56883 local variable with the same name. Change name of the function
56884 to end in Rel or Rela (uppercase).
56885 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56886 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
56887 elf_dynamic_do_##reloc function.
56889 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56891 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56892 is sufficient, at least on modern CPUs.
56894 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56896 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56897 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56899 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56901 * math/bits/math-finite.h: Add entries for exp.
56902 * math/e_expl.c: Add __*_finite alias.
56903 * sysdeps/i386/fpu/e_exp.S: Likewise.
56904 * sysdeps/i386/fpu/e_expf.S: Likewise.
56905 * sysdeps/i386/fpu/e_expl.c: Likewise.
56906 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56907 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56908 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56909 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56910 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56911 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56912 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56914 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56915 is sufficient, at least on modern CPUs.
56917 * ctype/ctype-info.c (__ctype_init): Define.
56918 * include/ctype.h (__ctype_init): Declare.
56919 (__ctype_b_loc): The variable is always initialized.
56920 (__ctype_toupper_loc): Likewise.
56921 (__ctype_tolower_loc): Likewise.
56922 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56923 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56925 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
56927 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56929 * configure.in: Also look in $cxxmachine/include for C++ system
56932 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56934 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56935 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56936 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56937 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
56938 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56939 (USE_AS_WMEMCMP): New macro.
56941 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56942 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56943 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56944 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56945 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56946 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56947 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56948 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56949 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56950 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56951 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56952 (USE_AS_WMEMCMP): New macro.
56953 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56954 * sysdeps/string/test-memcmp.c: Update.
56955 Fix simple_wmemcmp.
56957 * wcsmbs/wmemcmp.c: Update.
56958 (WMEMCMP): New macro.
56961 2011-10-12 Andreas Jaeger <aj@suse.de>
56964 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56966 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56968 * libio/iofwide.c (do_length): Avoid warning.
56970 * ctype/ctype.h (__isctype_f): Add missing __THROW.
56972 2011-10-14 Ulrich Drepper <drepper@gmail.com>
56974 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56976 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56977 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56978 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56979 * sysdeps/i386/i686/fpu/e_log.S: New file.
56980 * sysdeps/i386/i686/fpu/e_logf.S: New file.
56981 * sysdeps/i386/i686/fpu/e_logl.S: New file.
56983 * ctype/ctype.h: Add support for inlined isXXX functions when
56984 compiling C++ code.
56986 2011-10-14 Andreas Schwab <schwab@redhat.com>
56988 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56990 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56992 2011-10-13 Roland McGrath <roland@hack.frob.com>
56995 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56997 2011-10-13 Andreas Schwab <schwab@redhat.com>
56999 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57000 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57003 * sysdeps/x86_64/memrchr.S: Check for zero size.
57005 * string/stratcliff.c: Add memrchr tests.
57007 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57009 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57010 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57011 rawmemchr-sse2 rawmemchr-sse2-bsf.
57012 * sysdeps/i386/i686/multiarch/memchr.S: New file.
57013 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57014 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57015 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57016 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57017 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57018 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57019 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57020 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57021 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57022 * string/memrchr.c (MEMRCHR): New macro.
57024 2011-10-12 Ulrich Drepper <drepper@gmail.com>
57026 Add integration with gcc's -ffinite-math-only and optimize wrapper
57028 * Versions.def: Define GLIBC_2.15 version for libm.
57029 * math/Makefile (headers): Add bits/math-finite.h.
57030 * math/bits/math-finite.h: New file.
57031 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57032 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57033 * math/e_acoshl.c: Add __*_finite alias.
57034 * math/e_acosl.c: Likewise.
57035 * math/e_asinl.c: Likewise.
57036 * math/e_atan2l.c: Likewise.
57037 * math/e_atanhl.c: Likewise.
57038 * math/e_coshl.c: Likewise.
57039 * math/e_exp10.c: Likewise.
57040 * math/e_exp10f.c: Likewise.
57041 * math/e_exp10l.c: Likewise.
57042 * math/e_exp2l.c: Likewise.
57043 * math/e_fmodl.c: Likewise.
57044 * math/e_gammal_r.c: Likewise.
57045 * math/e_hypotl.c: Likewise.
57046 * math/e_j0l.c: Likewise.
57047 * math/e_j1l.c: Likewise.
57048 * math/e_jnl.c: Likewise.
57049 * math/e_lgammal_r.c: Likewise.
57050 * math/e_log10l.c: Likewise.
57051 * math/e_log2l.c: Likewise.
57052 * math/e_logl.c: Likewise.
57053 * math/e_powl.c: Likewise.
57054 * math/e_sinhl.c: Likewise.
57055 * math/e_sqrtl.c: Likewise.
57056 * math/e_scalb.c: Completely rewritten and optimized.
57057 * math/e_scalbf.c: Likewise.
57058 * math/e_scalbl.c: Likewise.
57059 * math/w_acos.c: Likewise.
57060 * math/w_acosf.c: Likewise.
57061 * math/w_acosl.c: Likewise.
57062 * math/w_acosh.c: Likewise.
57063 * math/w_acoshf.c: Likewise.
57064 * math/w_acoshl.c: Likewise.
57065 * math/w_asin.c: Likewise.
57066 * math/w_asinf.c: Likewise.
57067 * math/w_asinl.c: Likewise.
57068 * math/w_atan2.c: Likewise.
57069 * math/w_atan2f.c: Likewise.
57070 * math/w_atan2l.c: Likewise.
57071 * math/w_atanh.c: Likewise.
57072 * math/w_atanhf.c: Likewise.
57073 * math/w_atanhl.c: Likewise.
57074 * math/w_exp10.c: Likewise.
57075 * math/w_exp10f.c: Likewise.
57076 * math/w_exp10l.c: Likewise.
57077 * math/w_fmod.c: Likewise.
57078 * math/w_fmodf.c: Likewise.
57079 * math/w_fmodl.c: Likewise.
57080 * math/w_j0.c: Likewise.
57081 * math/w_j0f.c: Likewise.
57082 * math/w_j0l.c: Likewise.
57083 * math/w_j1.c: Likewise.
57084 * math/w_j1f.c: Likewise.
57085 * math/w_j1l.c: Likewise.
57086 * math/w_jn.c: Likewise.
57087 * math/w_jnf.c: Likewise.
57088 * math/w_log.c: Likewise.
57089 * math/w_logf.c: Likewise.
57090 * math/w_logl.c: Likewise.
57091 * math/w_log10.c: Likewise.
57092 * math/w_log10f.c: Likewise.
57093 * math/w_log10l.c: Likewise.
57094 * math/w_log2.c: Likewise.
57095 * math/w_log2f.c: Likewise.
57096 * math/w_log2l.c: Likewise.
57097 * math/w_pow.c: Likewise.
57098 * math/w_powf.c: Likewise.
57099 * math/w_powl.c: Likewise.
57100 * math/w_remainder.c: Likewise.
57101 * math/w_remainderf.c: Likewise.
57102 * math/w_remainderl.c: Likewise.
57103 * math/w_scalb.c: Likewise.
57104 * math/w_scalbf.c: Likewise.
57105 * math/w_scalbl.c: Likewise.
57106 * math/w_sqrt.c: Likewise.
57107 * math/w_sqrtf.c: Likewise.
57108 * math/w_sqrtl.c: Likewise.
57109 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57110 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
57112 * math/math_private.h: Declare __kernel_standard_f.
57113 * math/w_cosh.c: Remove cruft and optimize a bit.
57114 * math/w_coshf.c: Likewise.
57115 * math/w_coshl.c: Likewise.
57116 * math/w_exp2.c: Likewise.
57117 * math/w_exp2f.c: Likewise.
57118 * math/w_exp2l.c: Likewise.
57119 * math/w_hypot.c: Likewise.
57120 * math/w_hypotf.c: Likewise.
57121 * math/w_hypotl.c: Likewise.
57122 * math/w_lgamma.c: Likewise.
57123 * math/w_lgamma_r.c: Likewise.
57124 * math/w_lgammaf.c: Likewise.
57125 * math/w_lgammaf_r.c: Likewise.
57126 * math/w_lgammal.c: Likewise.
57127 * math/w_lgammal_r.c: Likewise.
57128 * math/w_sinh.c: Likewise.
57129 * math/w_sinhf.c: Likewise.
57130 * math/w_sinhl.c: Likewise.
57131 * math/w_tgamma.c: Likewise.
57132 * math/w_tgammaf.c: Likewise.
57133 * math/w_tgammal.c: Likewise.
57134 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57135 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57136 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57137 Minor optimizations. Pretty printing. Remove cruft.
57138 * sysdeps/i386/fpu/e_acosf.S: Likewise.
57139 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57140 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57141 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57142 * sysdeps/i386/fpu/e_acosl.c: Likewise.
57143 * sysdeps/i386/fpu/e_asin.S: Likewise.
57144 * sysdeps/i386/fpu/e_asinf.S: Likewise.
57145 * sysdeps/i386/fpu/e_atan2.S: Likewise.
57146 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57147 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57148 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57149 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57150 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57151 * sysdeps/i386/fpu/e_exp10.S: Likewise.
57152 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57153 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57154 * sysdeps/i386/fpu/e_exp2.S: Likewise.
57155 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57156 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57157 * sysdeps/i386/fpu/e_fmod.S: Likewise.
57158 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57159 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57160 * sysdeps/i386/fpu/e_hypot.S: Likewise.
57161 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57162 * sysdeps/i386/fpu/e_log.S: Likewise.
57163 * sysdeps/i386/fpu/e_log10.S: Likewise.
57164 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57165 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57166 * sysdeps/i386/fpu/e_log2.S: Likewise.
57167 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57168 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57169 * sysdeps/i386/fpu/e_logf.S: Likewise.
57170 * sysdeps/i386/fpu/e_logl.S: Likewise.
57171 * sysdeps/i386/fpu/e_pow.S: Likewise.
57172 * sysdeps/i386/fpu/e_powf.S: Likewise.
57173 * sysdeps/i386/fpu/e_powl.S: Likewise.
57174 * sysdeps/i386/fpu/e_remainder.S: Likewise.
57175 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57176 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57177 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57178 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57179 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57180 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57181 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57182 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57183 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57184 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57185 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57186 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57187 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57188 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57189 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57190 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57191 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57192 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57193 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57194 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57195 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57196 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57197 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57199 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57200 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57201 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57202 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57203 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57204 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57205 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57206 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57207 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57208 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57209 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57210 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57211 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57212 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57213 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57214 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57215 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57216 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57217 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57218 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57219 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57220 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57221 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57222 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57223 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57224 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57225 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57226 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57227 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57228 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57229 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57230 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57231 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57232 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57233 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57234 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57235 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57236 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57237 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57238 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57239 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57240 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57241 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57242 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57243 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57244 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57246 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57247 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57248 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57249 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57250 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57251 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57252 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57253 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57254 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57255 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57256 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57257 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57258 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57259 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57260 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57261 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57262 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57263 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57264 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57265 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57266 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57267 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57268 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57269 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57270 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57271 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57272 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57273 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57274 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57275 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57276 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57277 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57278 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57279 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57280 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57281 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57282 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57283 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57284 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57285 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57286 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57287 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57288 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57289 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57290 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57291 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57292 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57293 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
57294 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57295 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57296 (__isnanf): Likewise.
57297 (__isinf_ns): Likewise.
57298 (__isinf_nsf): Likewise.
57299 (__finite): Likewise.
57300 (__finitef): Likewise.
57301 (__ieee754_sqrt): Define as macro.
57302 (__ieee754_sqrtf): Define as macro.
57303 (__ieee754_sqrtl): Define as macro.
57304 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57306 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57307 __FINITE_MATH_ONLY__ consistent.
57308 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57310 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
57312 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57315 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57317 2011-10-09 Ulrich Drepper <drepper@gmail.com>
57319 * po/ja.po: Update from translation team.
57321 2011-10-08 Roland McGrath <roland@hack.frob.com>
57323 * locale/programs/locarchive.c (prepare_address_space): New function.
57324 (create_archive, enlarge_archive, open_archive): Use it.
57326 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57327 inside [SHARED], where it is used.
57329 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57331 * nss/getent.c (netgroup_keys): Remove unused variable.
57332 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57334 2011-10-08 Ulrich Drepper <drepper@gmail.com>
57336 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57337 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57338 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57339 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57340 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57341 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57342 * math/Makefile (libm-calls): Add s_isinf_ns.
57343 * math/divtc3.c: Use __isinf_nsl instead of isinf.
57344 * math/multc3.c: Likewise.
57345 * math/s_casin.c: Likewise.
57346 * math/s_casinf.c: Likewise.
57347 * math/s_casinl.c: Likewise.
57348 * math/s_ccos.c: Likewise.
57349 * math/s_ccosf.c: Likewise.
57350 * math/s_ccosl.c: Likewise.
57351 * math/s_ctan.c: Likewise.
57352 * math/s_ctanf.c: Likewise.
57353 * math/s_ctanh.c: Likewise.
57354 * math/s_ctanhf.c: Likewise.
57355 * math/s_ctanhl.c: Likewise.
57356 * math/s_ctanl.c: Likewise.
57357 * math/w_fmod.c: Likewise.
57358 * math/w_fmodf.c: Likewise.
57359 * math/w_fmodl.c: Likewise.
57360 * math/w_remainder.c: Likewise.
57361 * math/w_remainderf.c: Likewise.
57362 * math/w_remainderl.c: Likewise.
57363 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57364 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57365 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57366 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57367 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57368 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57369 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57370 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57372 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57374 * stdio-common/printf_fphex.c: Likewise.
57375 * stdio-common/printf_size.c: Likewise.
57377 * math/e_exp10.c: Include math_private.h using <...> not "...".
57378 * math/e_exp10f.c: Likewise.
57379 * math/e_exp10l.c: Likewise.
57380 * math/e_exp2l.c: Likewise.
57381 * math/e_j0l.c: Likewise.
57382 * math/e_j1l.c: Likewise.
57383 * math/e_jnl.c: Likewise.
57384 * math/e_lgammal_r.c: Likewise.
57385 * math/e_rem_pio2l.c: Likewise.
57386 * math/e_scalb.c: Likewise.
57387 * math/e_scalbf.c: Likewise.
57388 * math/e_scalbl.c: Likewise.
57389 * math/k_cosl.c: Likewise.
57390 * math/k_sinl.c: Likewise.
57391 * math/k_tanl.c: Likewise.
57392 * math/s_cacoshf.c: Likewise.
57393 * math/s_catan.c: Likewise.
57394 * math/s_catanf.c: Likewise.
57395 * math/s_catanh.c: Likewise.
57396 * math/s_catanhf.c: Likewise.
57397 * math/s_catanhl.c: Likewise.
57398 * math/s_catanl.c: Likewise.
57399 * math/s_ccosh.c: Likewise.
57400 * math/s_ccoshf.c: Likewise.
57401 * math/s_ccoshl.c: Likewise.
57402 * math/s_cexp.c: Likewise.
57403 * math/s_cexpf.c: Likewise.
57404 * math/s_cexpl.c: Likewise.
57405 * math/s_clog.c: Likewise.
57406 * math/s_clog10.c: Likewise.
57407 * math/s_clog10f.c: Likewise.
57408 * math/s_clog10l.c: Likewise.
57409 * math/s_clogf.c: Likewise.
57410 * math/s_clogl.c: Likewise.
57411 * math/s_csin.c: Likewise.
57412 * math/s_csinf.c: Likewise.
57413 * math/s_csinh.c: Likewise.
57414 * math/s_csinhf.c: Likewise.
57415 * math/s_csinhl.c: Likewise.
57416 * math/s_csinl.c: Likewise.
57417 * math/s_csqrt.c: Likewise.
57418 * math/s_csqrtf.c: Likewise.
57419 * math/s_csqrtl.c: Likewise.
57420 * math/s_ctan.c: Likewise.
57421 * math/s_ctanf.c: Likewise.
57422 * math/s_ctanh.c: Likewise.
57423 * math/s_ctanhf.c: Likewise.
57424 * math/s_ctanhl.c: Likewise.
57425 * math/s_ctanl.c: Likewise.
57426 * math/s_ldexp.c: Likewise.
57427 * math/s_ldexpf.c: Likewise.
57428 * math/s_ldexpl.c: Likewise.
57429 * math/s_significand.c: Likewise.
57430 * math/s_significandf.c: Likewise.
57431 * math/s_significandl.c: Likewise.
57432 * math/w_acos.c: Likewise.
57433 * math/w_acosf.c: Likewise.
57434 * math/w_acosh.c: Likewise.
57435 * math/w_acoshf.c: Likewise.
57436 * math/w_acoshl.c: Likewise.
57437 * math/w_acosl.c: Likewise.
57438 * math/w_asin.c: Likewise.
57439 * math/w_asinf.c: Likewise.
57440 * math/w_asinl.c: Likewise.
57441 * math/w_atan2.c: Likewise.
57442 * math/w_atan2f.c: Likewise.
57443 * math/w_atan2l.c: Likewise.
57444 * math/w_atanh.c: Likewise.
57445 * math/w_atanhf.c: Likewise.
57446 * math/w_atanhl.c: Likewise.
57447 * math/w_cosh.c: Likewise.
57448 * math/w_coshf.c: Likewise.
57449 * math/w_coshl.c: Likewise.
57450 * math/w_dremf.c: Likewise.
57451 * math/w_exp10.c: Likewise.
57452 * math/w_exp10f.c: Likewise.
57453 * math/w_exp10l.c: Likewise.
57454 * math/w_exp2.c: Likewise.
57455 * math/w_exp2f.c: Likewise.
57456 * math/w_fmod.c: Likewise.
57457 * math/w_fmodf.c: Likewise.
57458 * math/w_fmodl.c: Likewise.
57459 * math/w_hypot.c: Likewise.
57460 * math/w_hypotf.c: Likewise.
57461 * math/w_hypotl.c: Likewise.
57462 * math/w_j0.c: Likewise.
57463 * math/w_j0f.c: Likewise.
57464 * math/w_j0l.c: Likewise.
57465 * math/w_j1.c: Likewise.
57466 * math/w_j1f.c: Likewise.
57467 * math/w_j1l.c: Likewise.
57468 * math/w_jn.c: Likewise.
57469 * math/w_jnf.c: Likewise.
57470 * math/w_jnl.c: Likewise.
57471 * math/w_lgamma.c: Likewise.
57472 * math/w_lgamma_r.c: Likewise.
57473 * math/w_lgammaf.c: Likewise.
57474 * math/w_lgammaf_r.c: Likewise.
57475 * math/w_lgammal.c: Likewise.
57476 * math/w_lgammal_r.c: Likewise.
57477 * math/w_log.c: Likewise.
57478 * math/w_log10.c: Likewise.
57479 * math/w_log10f.c: Likewise.
57480 * math/w_log10l.c: Likewise.
57481 * math/w_log2.c: Likewise.
57482 * math/w_log2f.c: Likewise.
57483 * math/w_log2l.c: Likewise.
57484 * math/w_logf.c: Likewise.
57485 * math/w_logl.c: Likewise.
57486 * math/w_pow.c: Likewise.
57487 * math/w_powf.c: Likewise.
57488 * math/w_powl.c: Likewise.
57489 * math/w_remainder.c: Likewise.
57490 * math/w_remainderf.c: Likewise.
57491 * math/w_remainderl.c: Likewise.
57492 * math/w_scalb.c: Likewise.
57493 * math/w_scalbf.c: Likewise.
57494 * math/w_scalbl.c: Likewise.
57495 * math/w_sinh.c: Likewise.
57496 * math/w_sinhf.c: Likewise.
57497 * math/w_sinhl.c: Likewise.
57498 * math/w_sqrt.c: Likewise.
57499 * math/w_sqrtf.c: Likewise.
57500 * math/w_sqrtl.c: Likewise.
57501 * math/w_tgamma.c: Likewise.
57502 * math/w_tgammaf.c: Likewise.
57503 * math/w_tgammal.c: Likewise.
57505 * po/ja.po: Update from translation team.
57507 2011-09-29 Andreas Jaeger <aj@suse.de>
57510 * sunrpc/netname.c (netname2host): Fix logic.
57514 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57516 * math/w_remainder.c (__remainder): Likewise.
57517 * math/w_remainderf.c (__remainderf): Likewise.
57518 * math/libm-test.inc (remainder_test): Add test cases.
57520 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57522 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
57525 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57527 * string/test-memcmp.c: Avoid unncessary #defines.
57528 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57530 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57532 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57533 Use new sse2 version for core i3 - i7 as it's faster
57534 than sse42 version.
57535 (bit_Prefer_PMINUB_for_stringop): New.
57536 * sysdeps/x86_64/rawmemchr.S: Update.
57537 Replace with faster SSE2 version.
57538 * sysdeps/x86_64/memrchr.S: New file.
57539 * sysdeps/x86_64/memchr.S: Update.
57540 Replace with faster SSE2 version.
57542 2011-09-12 Marek Polacek <mpolacek@redhat.com>
57544 * elf/dl-load.c (lose): Add cast to avoid warning.
57546 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57548 * po/ca.po: Update from translation team.
57550 * inet/getnetgrent_r.c: Hook up nscd.
57551 * nscd/Makefile (routines): Add nscd_netgroup.
57552 (nscd-modules): Add netgroupcache.
57553 (CFLAGS-netgroupcache.c): Define.
57554 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57555 (cache_search): Add const to second parameter.
57556 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57558 (dbs): Add netgrdb entry.
57559 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57560 (verify_persistent_db): Handle netgrdb.
57561 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57562 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57564 (netgroup_response_header): Define.
57565 (innetgroup_response_header): Define.
57566 (datahead): Add netgroup_response_header and innetgroup_response_header
57568 * nscd/nscd.conf: Add entries for netgroup cache.
57569 * nscd/nscd.h (dbtype): Add netgrdb.
57570 (_PATH_NSCD_NETGROUP_DB): Define.
57571 (netgroup_iov_disabled): Declare.
57572 (xmalloc, xcalloc, xrealloc): Move declarations here.
57573 (cache_search): Adjust prototype.
57574 Add netgroup-related prototypes.
57575 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57576 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57577 (__nscd_innetgr): Declare.
57578 * nscd/selinux.c (perms): Use access_vector_t as element type and
57579 add netgroup-related initializers.
57580 * nscd/netgroupcache.c: New file.
57581 * nscd/nscd_netgroup.c: New file.
57582 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57583 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57584 For four parameters use innetgr.
57585 * nss/nss_files/files-init.c: Add definition and callback for netgr.
57586 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57587 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57588 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57590 * nscd/connections.c (register_traced_file): Don't register file
57591 for disabled databases.
57593 2011-10-06 Ulrich Drepper <drepper@gmail.com>
57595 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57597 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57598 from tree and freeing node.
57600 2011-09-25 Jiri Olsa <jolsa@redhat.com>
57602 * nss/nsswitch.c (__nss_database_lookup): Handle
57603 nss_parse_service_list out of memory case.
57605 2011-09-15 Jiri Olsa <jolsa@redhat.com>
57607 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57608 out of memory case.
57610 2011-10-04 Andreas Schwab <schwab@redhat.com>
57612 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57613 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57615 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57616 elf_machine_rela, elf_machine_lazy_rel.
57617 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57618 (ELF_DYNAMIC_DO_REL): Likewise.
57619 (ELF_DYNAMIC_DO_RELA): Likewise.
57620 (ELF_DYNAMIC_RELOCATE): Likewise.
57621 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57622 to ELF_DYNAMIC_DO_REL.
57623 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57624 (dl_main): In trace mode always set __RTLD_NOIFUNC.
57625 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57627 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57628 skip_ifunc, don't call ifunc function if non-zero.
57629 (elf_machine_rela): Likewise.
57630 (elf_machine_lazy_rel): Likewise.
57631 (elf_machine_lazy_rela): Likewise.
57632 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57633 (elf_machine_lazy_rel): Likewise.
57634 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57636 (elf_machine_lazy_rel): Likewise.
57637 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57639 (elf_machine_lazy_rel): Likewise.
57640 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57641 (elf_machine_lazy_rel): Likewise.
57642 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57643 (elf_machine_lazy_rel): Likewise.
57644 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57645 (elf_machine_lazy_rel): Likewise.
57646 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57647 (elf_machine_lazy_rel): Likewise.
57648 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57649 (elf_machine_lazy_rel): Likewise.
57650 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57651 (elf_machine_lazy_rel): Likewise.
57653 2011-09-28 Ulrich Drepper <drepper@gmail.com>
57655 * nss/nss_files/files-init.c (_nss_files_init): Use static
57656 initialization for all the *_traced_file variables.
57658 2011-09-28 Andreas Schwab <schwab@redhat.com>
57660 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57662 2011-09-27 Roland McGrath <roland@hack.frob.com>
57665 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57667 2011-09-27 Andreas Schwab <schwab@redhat.com>
57669 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57670 Reread the line before reparsing it.
57672 2011-09-26 Andreas Schwab <schwab@redhat.com>
57674 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57676 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
57677 Maxim Kuvyrkov <maxim@codesourcery.com>
57678 Joseph Myers <joseph@codesourcery.com>
57680 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57681 if needed for __stack_chk_guard.
57683 2011-09-19 Roland McGrath <roland@hack.frob.com>
57685 * sysdeps/posix/spawni.c (script_execute): Always define it.
57686 It will be optimized away if unused.
57687 (maybe_script_execute): New function.
57688 (__spawni): Call it.
57690 * Makerules: Don't include tls.make.
57691 (config-tls): Always set to thread.
57692 * tls.make.c: File removed.
57694 2011-09-19 Mike Frysinger <vapier@gentoo.org>
57696 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57697 * config.make.in (CPPFLAGS-config): New substituted variable.
57699 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57701 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57704 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57705 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57707 2011-09-15 Roland McGrath <roland@hack.frob.com>
57709 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57710 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57711 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57712 (CALL_FAIL): Likewise.
57713 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57714 (CALL_FAIL): Macro removed.
57715 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57717 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57719 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57720 for __FINITE_MATH_ONLY__ == 1.
57722 2011-09-15 Andreas Schwab <schwab@redhat.com>
57724 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57725 __ieee754_sqrt instead of sqrt.
57726 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57727 __ieee754_sqrtf instead of sqrtf.
57728 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57729 __floorf instead of floorf.
57730 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57731 __floorf, __truncf instead of floorf, truncf.
57733 2011-09-14 Ulrich Drepper <drepper@gmail.com>
57735 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57737 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57738 __extern_always_inline.
57739 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57742 2011-09-14 Andreas Schwab <schwab@redhat.com>
57744 * elf/rtld.c (dl_main): Also relocate in dependency order when
57745 doing symbol dependency testing.
57747 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
57749 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57750 Always define `refsym'.
57752 2011-09-13 Andreas Schwab <schwab@redhat.com>
57754 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57755 (__FD_ELT): Renamed from __FDELT.
57756 * misc/bits/select2.h (__FD_ELT): Likewise.
57757 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57758 __FD_MASK instead of __FDELT, __FDMASK.
57759 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57761 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57764 * elf/Makefile (gen-ldd): Fix pattern.
57766 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57767 (init_tls): Likewise.
57769 2011-09-12 Ulrich Drepper <drepper@gmail.com>
57771 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57773 2011-09-12 Andreas Schwab <schwab@redhat.com>
57775 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57776 `struct cmsghdr *' instead of `void *'.
57777 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57780 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
57782 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57784 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57785 ldd_rewrite_script.
57787 2011-09-11 Ulrich Drepper <drepper@gmail.com>
57789 * configure.in: Remove --with-tls option.
57790 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57791 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57792 out in case it is missing.
57793 * sysdeps/ia64/elf/configure.in: Likewise.
57794 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57795 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57796 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57797 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57798 * sysdeps/sh/elf/configure.in: Likewise.
57799 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57800 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57801 * sysdeps/x86_64/elf/configure.in: Likewise.
57802 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57803 * sysdeps/mach/hurd/tls.h: Likewise.
57806 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57809 * configure.in: Fix use of AC_INIT.
57811 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57813 2011-09-10 Ulrich Drepper <drepper@gmail.com>
57815 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57817 * malloc/hooks.c: Likewise.
57820 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
57821 variables statically.
57822 (narenas): Initialize.
57823 (list_lock): Initialize.
57824 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
57825 initializtion of main_arena and list_lock. Small cleanups.
57826 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57827 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
57828 Add initializers to main_arena and mp_.
57829 (malloc_state): Remove pagesize member. Change all users to use
57832 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57833 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
57834 is always initialized.
57836 * malloc/malloc.c: Removed unused configurations and dead code.
57837 * malloc/arena.c: Likewise.
57838 * malloc/hooks.c: Likewise.
57839 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57841 * include/tls.h: Removed. USE___THREAD must always be defined.
57842 * bits/libc-tsd.h: Don't handle !USE___THREAD.
57843 * elf/dl-libc.c: Likewise.
57844 * elf/dl-tsd.c: Likewise.
57845 * include/errno.h: Likewise.
57846 * include/netdb.h: Likewise.
57847 * include/resolv.h: Likewise.
57848 * inet/herrno-loc.c: Likewise.
57849 * inet/herrno.c: Likewise.
57850 * malloc/arena.c: Likewise.
57851 * malloc/hooks.c: Likewise.
57852 * malloc/malloc.c: Likewise.
57853 * resolv/res-state.c: Likewise.
57854 * resolv/res_libc.c: Likewise.
57855 * sysdeps/i386/dl-machine.h: Likewise.
57856 * sysdeps/ia64/dl-machine.h: Likewise.
57857 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57858 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57859 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57860 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57861 * sysdeps/sh/dl-machine.h: Likewise.
57862 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57863 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57864 * sysdeps/unix/i386/sysdep.S: Likewise.
57865 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57866 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57867 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57868 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57869 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57870 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57871 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57872 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57875 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57876 * sysdeps/x86_64/dl-machine.h: Likewise.
57877 * tls.make.c: Likewise.
57879 * configure.in: Remove --with-__thread option. Make tests for
57880 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57881 tls_model attribute fail if no support is available. Remove
57883 * Makeconfig: Adjust for dropped configure option. All features are
57885 * Makerules: Likewise.
57886 * Versions.def: Likewise.
57887 * argp/argp-fmtstream.c: Likewise.
57888 * argp/argp-fmtstream.h: Likewise.
57889 * argp/argp-help.c: Likewise.
57890 * assert/assert.c: Likewise.
57891 * config.h.in: Likewise.
57892 * config.make.in: Likewise.
57893 * configure: Likewise.
57894 * configure.in: Likewise.
57895 * csu/Versions: Likewise.
57896 * csu/init.c: Likewise.
57897 * elf/tst-audit2.c: Likewise.
57898 * elf/tst-tls10.c: Likewise.
57899 * elf/tst-tls10.h: Likewise.
57900 * elf/tst-tls11.c: Likewise.
57901 * elf/tst-tls12.c: Likewise.
57902 * elf/tst-tls14.c: Likewise.
57903 * elf/tst-tlsmod11.c: Likewise.
57904 * elf/tst-tlsmod12.c: Likewise.
57905 * elf/tst-tlsmod13.c: Likewise.
57906 * elf/tst-tlsmod13a.c: Likewise.
57907 * elf/tst-tlsmod14a.c: Likewise.
57908 * elf/tst-tlsmod15b.c: Likewise.
57909 * elf/tst-tlsmod16a.c: Likewise.
57910 * elf/tst-tlsmod16b.c: Likewise.
57911 * elf/tst-tlsmod7.c: Likewise.
57912 * elf/tst-tlsmod8.c: Likewise.
57913 * elf/tst-tlsmod9.c: Likewise.
57914 * gmon/gmon.c: Likewise.
57915 * grp/fgetgrent_r.c: Likewise.
57916 * grp/putgrent.c: Likewise.
57917 * hurd/fopenport.c: Likewise.
57918 * include/libc-symbols.h: Likewise.
57919 * include/tls.h: Likewise.
57920 * intl/gettextP.h: Likewise.
57921 * intl/loadinfo.h: Likewise.
57922 * locale/global-locale.c: Likewise.
57923 * locale/localeinfo.h: Likewise.
57924 * mach/devstream.c: Likewise.
57925 * malloc/arena.c: Likewise.
57926 * malloc/set-freeres.c: Likewise.
57927 * misc/err.c: Likewise.
57928 * misc/getttyent.c: Likewise.
57929 * misc/mntent_r.c: Likewise.
57930 * posix/getopt.c: Likewise.
57931 * posix/wordexp.c: Likewise.
57932 * pwd/fgetpwent_r.c: Likewise.
57933 * resolv/Versions: Likewise.
57934 * resolv/res_hconf.c: Likewise.
57935 * shadow/fgetspent_r.c: Likewise.
57936 * shadow/putspent.c: Likewise.
57937 * stdio-common/printf_fphex.c: Likewise.
57938 * stdio-common/tmpfile.c: Likewise.
57939 * stdlib/abort.c: Likewise.
57940 * stdlib/fmtmsg.c: Likewise.
57941 * sunrpc/auth_unix.c: Likewise.
57942 * sunrpc/clnt_perr.c: Likewise.
57943 * sunrpc/clnt_tcp.c: Likewise.
57944 * sunrpc/clnt_udp.c: Likewise.
57945 * sunrpc/clnt_unix.c: Likewise.
57946 * sunrpc/openchild.c: Likewise.
57947 * sunrpc/svc_simple.c: Likewise.
57948 * sunrpc/svc_tcp.c: Likewise.
57949 * sunrpc/svc_udp.c: Likewise.
57950 * sunrpc/svc_unix.c: Likewise.
57951 * sunrpc/xdr.c: Likewise.
57952 * sunrpc/xdr_array.c: Likewise.
57953 * sunrpc/xdr_rec.c: Likewise.
57954 * sunrpc/xdr_ref.c: Likewise.
57955 * sunrpc/xdr_stdio.c: Likewise.
57957 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57959 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57961 2011-07-03 Andreas Jaeger <aj@suse.de>
57963 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57964 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57965 regenerate with gen-libm-tests.pl.
57967 2010-05-12 Petr Baudis <pasky@suse.cz>
57970 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57971 around j0() zero points by switching to j1().
57972 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57973 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57974 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57975 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57977 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57979 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57981 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57983 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57984 Patch in part by Pavel Roskin <proski@gnu.org>.
57987 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57989 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
57990 Free memory block if necessary.
57993 * libio/genops.c (INTDEF): For string streams the _lock pointer can
57994 be NULL. Don't lock in this case.
57996 2011-09-09 Roland McGrath <roland@hack.frob.com>
57998 * elf/elf.h (ELFOSABI_GNU): New macro.
57999 (ELFOSABI_LINUX): Define to that.
58001 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
58003 * string/strncat.c (strncat): Undef the symbol in case it has been
58004 defined in bits/string.h.
58006 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58008 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58010 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58013 2011-08-17 Andreas Jaeger <aj@suse.de>
58015 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58017 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
58018 Ian Lance Taylor <iant@google.com>
58020 * math/libm-test.inc (lround_test): New testcase.
58021 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58023 2011-09-08 Ulrich Drepper <drepper@gmail.com>
58025 * Makefile: Remove support for automatic cvs check-ins.
58026 * Makerules: Likewise.
58027 * config.make.in: Likewise.
58028 * configure.in: Likewise.
58029 * intl/Makefile: Likewise.
58030 * locale/Makefile: Likewise.
58031 * po/Makefile: Likewise.
58032 * posix/Makefile: Likewise.
58033 * sysdeps/gnu/Makefile: Likewise.
58034 * sysdeps/mach/hurd/Makefile: Likewise.
58035 * sysdeps/sparc/sparc32/Makefile: Likewise.
58038 * posix/Makefile (bug-regex32-ENV): Define.
58039 Patch by John Stanley <jpsinthemix@verizon.net>.
58041 * misc/Makefile (headers): Add bits/select2.h.
58042 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58043 * misc/bits/select2.h: New file.
58044 * include/bits/select2.h: New file.
58045 * debug/Makefile (routines): Add fdelt_chk.
58046 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58047 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58049 * debug/fdelt_chk.c: New file.
58051 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
58052 * wcsmbs/test-wmemcmp.c: Likewise.
58053 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58054 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58056 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58058 * string/Makefile (strop-tests): Add memcmp.
58059 * string/test-wmemcmp.c: New file.
58060 * string/test-memcmp.c: Add wmemcmp support.
58062 2011-09-08 Roland McGrath <roland@hack.frob.com>
58065 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58068 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58069 garbage value in a __mach_port_mod_refs call in the cases of the
58070 task-self and thread-self ports.
58072 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58074 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58076 2011-09-08 Andreas Schwab <schwab@redhat.com>
58078 * elf/dl-load.c (lose): Check for non-null L.
58080 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58082 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58084 * elf/dl-libc.c (dlerror_run): Pass back error code from
58088 * elf/dl-load.c (lose): Free l_origin if it is valid.
58090 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58092 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58093 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58094 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58095 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58096 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58097 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58099 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58101 * sysdeps/powerpc/fpu/e_hypot.c: New file.
58102 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58103 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58104 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58105 * sysdeps/powerpc/fpu/k_cosf.c: New file.
58106 * sysdeps/powerpc/fpu/k_sinf.c: New file.
58107 * sysdeps/powerpc/fpu/s_cosf.c: New file.
58108 * sysdeps/powerpc/fpu/s_sinf.c: New file.
58109 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58110 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58112 2011-08-15 Alan Modra <amodra@gmail.com>
58115 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58116 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58117 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
58118 ppc_mcount to static-only-routines.
58119 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58121 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58122 __mcount_internal with usual JUMPTARGET. Remove useless nop.
58124 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
58126 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58127 for finite and infinity parameters.
58129 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58131 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58132 and add nop instructions for throughput optimization.
58133 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58135 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
58137 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58138 aligned copy for power7 with vector-scalar instructions.
58139 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58141 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
58143 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58146 2011-09-07 Andreas Schwab <schwab@redhat.com>
58149 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58152 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58154 * sysdeps/unix/sysv/linux/x86_64/init-first.c
58155 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58156 syscall wrapper around clock_gettime in __vdso_clock_gettime.
58157 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58160 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58162 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58163 Forgot to demangle the pointer.
58165 * sysdeps/i386/sysdep.h: Define atom_text_section.
58166 * sysdeps/x86_64/sysdep.h: Likewise.
58167 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58168 section with atom_text_section.
58169 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58170 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58171 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58172 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58173 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58175 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58176 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58177 already be defined. Change to take two parameters and don't assign
58178 result to variable. Adjust all users.
58179 Define INTERNAL_GETTIME if not already defined.
58180 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58183 HAVE_CLOCK_GETTIME_VSYSCALL.
58184 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58186 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58187 gettimeofday vsyscall, just use time.
58189 2011-09-06 Andreas Schwab <schwab@redhat.com>
58191 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58194 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58196 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58198 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58200 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58201 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58202 syscall if possible.
58204 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58206 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58207 e_ident. Don't pass to find_mapsXX.
58208 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58210 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58213 strchr-sse2-no-bsf strrchr-sse2-no-bsf
58214 * sysdeps/x86_64/multiarch/strchr.S: Update.
58215 Check bit_slow_BSF bit.
58216 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58217 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58218 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58220 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58223 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58225 (tryshell): Define.
58226 (__spawni): Change last parameter to be flag. Test
58227 SPAWN_XFLAGS_USE_PATH flag to use path or not.
58228 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58229 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58230 * posix/spawni.c: Likewise.
58231 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58232 * posix/spawnp.c: Likewise. Change normal version to use
58233 SPAWN_XFLAGS_USE_PATH.
58234 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58235 SPAWN_XFLAGS_TRY_SHELL.
58238 * posix/glob.h: Remove gcc 1.x support.
58241 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58243 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58246 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58248 * sysdeps/i386/i686/multiarch/strchr.S: New file.
58249 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58250 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58251 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58252 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58253 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58255 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58257 * sysdeps/x86_64/wcscmp.S: New file.
58259 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58260 wcscmp-c wcscmp-sse2
58261 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58262 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58263 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58264 * wcsmbs/wcscmp.c: Allow renaming.
58266 2011-09-05 David S. Miller <davem@davemloft.net>
58268 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58269 stack slot, rather than the struct return pointer slot.
58270 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58271 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58273 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58275 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58277 * po/ja.po: Update from translation team.
58280 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58281 kernel in 64-bit binaries.
58283 2011-09-01 David S. Miller <davem@davemloft.net>
58285 * elf/elf.h (HWCAP_SPARC_*): Move to..
58286 * sysdeps/sparc/sysdep.h: this new file and add new values.
58287 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58288 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58289 _DL_HWCAP_COUNT to 24.
58290 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58292 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58293 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58294 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58295 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58296 instead of magic constants.
58297 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58299 2011-08-31 David S. Miller <davem@davemloft.net>
58301 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58303 Reimplement to do errno handling inline.
58304 (SYSCALL_ERROR_HANDLER): New macro.
58305 (__SYSCALL_STRING): Do not do errno handling in asm.
58306 (__CLONE_SYSCALL_STRING): Delete.
58307 (__INTERNAL_SYSCALL_STRING): Delete.
58308 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58309 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58310 (PSEUDO): Reimplement to do errno handling inline.
58311 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58312 (SYSCALL_ERROR_HANDLER): New macro.
58313 (__SYSCALL_STRING): Do not do errno handling in asm.
58314 (__CLONE_SYSCALL_STRING): Delete.
58315 (__INTERNAL_SYSCALL_STRING): Delete.
58316 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58317 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58319 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58320 (inline_syscall*): Add 'err' argument.
58321 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58322 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58323 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58324 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58326 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58327 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58329 2011-08-30 Andreas Schwab <schwab@redhat.com>
58331 * elf/rtld.c (dl_main): Relocate objects in dependency order.
58333 2011-08-29 Jiri Olsa <jolsa@redhat.com>
58335 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58338 2011-08-24 David S. Miller <davem@davemloft.net>
58340 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58342 2011-08-24 Andreas Schwab <schwab@redhat.com>
58344 * elf/Makefile: Add rules to build and run unload8 test.
58345 * elf/unload8.c: New file.
58346 * elf/unload8mod1.c: New file.
58347 * elf/unload8mod1x.c: New file.
58348 * elf/unload8mod2.c: New file.
58349 * elf/unload8mod3.c: New file.
58351 * elf/dl-close.c (_dl_close_worker): Reset private search list if
58354 2011-08-23 David S. Miller <davem@davemloft.net>
58356 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58357 subtract stack bias.
58358 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58359 %sp not %fp in calculations.
58360 (_JMPBUF_UNWINDS_ADJ): Likewise.
58362 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58363 (aio_suspend): Call it to force an exception region around the
58364 AIO_MISC_WAIT() invocation.
58366 2011-08-23 Andreas Schwab <schwab@redhat.com>
58368 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58371 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
58373 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58375 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58376 and <dl-machine.h>.
58377 (Elf64_FuncDesc): Remove.
58379 2011-08-22 David S. Miller <davem@davemloft.net>
58381 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58382 sigaltstack check, add missing cfi directives.
58383 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58384 missing cfi directives, and sigaltstack handling.
58386 2011-08-16 Andreas Schwab <schwab@redhat.com>
58389 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58390 object is seen twice.
58391 * elf/dl-fini.c (_dl_sort_fini): Likewise.
58393 * elf/Makefile (distribute): Add tst-initorder2.c.
58394 (tests): Add tst-initorder2.
58395 (modules-names): Add tst-initorder2a tst-initorder2b
58396 tst-initorder2c tst-initorder2d. Add rules to build them.
58397 ($(objpfx)tst-initorder2.out): New rule.
58398 * elf/tst-initorder2.c: New file.
58399 * elf/tst-initorder2.exp: New file.
58401 2011-08-22 Andreas Schwab <schwab@redhat.com>
58403 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58405 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58406 dependencies back to end of function.
58408 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58409 $(elfobjdir)/ld.so.
58411 2011-08-21 Ulrich Drepper <drepper@gmail.com>
58413 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58414 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58415 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58416 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58417 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58418 of __vdso_gettimeofday.
58419 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58420 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
58422 (_libc_vdso_platform_setup): Remove initialization of
58423 __vdso_gettimeofday and __vdso_time.
58425 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58427 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58428 and fgetc_unlocked.
58429 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58432 * elf/dl-open.c (add_to_global): Report additions to the global scope
58433 for LD_DEBUG=scopes.
58434 (dl_open_worker): Also print scope of newly loaded dependencies.
58435 (_dl_show_scope): Indicate if there is no scope.
58438 * stdio-common/Makefile (tests): Add bug24.
58439 * stdio-common/bug24.c: New file.
58441 2011-08-19 Andreas Jaeger <aj@suse.de>
58444 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58445 non-existant file when using close-on-exec mode.
58447 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58449 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58450 the very first instruction.
58452 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58453 the CFI state in the end.
58454 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58455 inclusion of dl-trampoline.h.
58456 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58458 2011-08-19 Andreas Schwab <schwab@redhat.com>
58460 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58461 expectations for long double.
58463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58464 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58466 2011-08-14 David S. Miller <davem@davemloft.net>
58468 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58469 artificual limit depends upon the system page size.
58471 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58473 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58474 * resolv/Makefile: Define CFLAGS-libresolv.
58476 2011-08-17 Andreas Schwab <schwab@redhat.com>
58478 * nss/makedb.c (compute_tables): Make variables used in nested
58481 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58483 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58484 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58485 if buffer was too small.
58487 * elf/pldd.c (main): Attach to all threads in the process.
58488 Rewrite /proc handling to use *at functions.
58490 2011-08-16 Ulrich Drepper <drepper@gmail.com>
58492 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58493 specifies first scope to show.
58494 (dl_open_worker): Update callers. Move printing scope of new
58495 object to before the relocation.
58496 * elf/rtld.c (dl_main): Update _dl_show_scope call.
58497 * sysdeps/generic/ldsodefs.h: Update declaration.
58499 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58500 string for the scope number.
58502 2011-08-14 Ulrich Drepper <drepper@gmail.com>
58504 * nscd/servicescache.c (cache_addserv): Make sure written is always
58507 2011-08-14 Roland McGrath <roland@hack.frob.com>
58509 * sysdeps/i386/i486/bits/atomic.h
58510 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58511 statement expression, so as to suppress "set but not used" warning.
58512 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58514 * string/strncat.c (STRNCAT): Use prototype definition.
58516 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58517 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58519 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58520 (localedef-modules): Add localedef.
58521 (locale-modules): Add locale.
58523 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58524 * elf/rtld.c (dl_main): Invert order of assignment in last change,
58525 to avoid a warning.
58527 2011-08-14 David S. Miller <davem@davemloft.net>
58529 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58530 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58532 2011-08-13 Ulrich Drepper <drepper@gmail.com>
58534 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58535 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58536 * elf/rtld.c (dl_main): Set l_name of vDSO.
58537 Call _dl_show_scope when DL_DEBUG_SCOPES.
58538 (process_dl_debug): Recognize scopes flag and also set it for all.
58539 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58540 Declare _dl_show_scope.
58542 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58543 (do_dlopen): Pass caller_dlopen to dl_open.
58544 (__libc_dlopen_mode): Initialize caller_dlopen.
58546 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58547 of libc. Make tolower call locale-independent. Optimize a bit by
58548 using isdigit instead of isalnum.
58549 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58551 2011-08-12 Ulrich Drepper <drepper@gmail.com>
58553 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58554 was a dependency or dynamically loaded.
58556 2011-08-11 Ulrich Drepper <drepper@gmail.com>
58558 * intl/l10nflist.c: Allow architecture-specific pop function.
58559 * sysdeps/x86_64/l10nflist.c: New file.
58561 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58564 2011-08-10 Andreas Schwab <schwab@redhat.com>
58566 * include/dirent.h: Add libc_hidden_proto for scandirat and
58567 scandirat64. Don't declare __scandirat64.
58568 * dirent/scandirat.c: Add libc_hidden_def.
58569 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58570 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58572 2011-08-10 David S. Miller <davem@davemloft.net>
58574 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58576 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58577 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58578 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58580 2011-08-09 Ulrich Drepper <drepper@gmail.com>
58582 * Versions.def [libc]: Add GLIBC_2.15.
58583 * dirent/Makefile (routines): Add scandirat and scandirat64.
58584 * dirent/Versions [libc]: Export scandirat and scandirat64 for
58586 * dirent/dirent.h: Declare scandirat and scandirat64.
58587 * dirent/scandirat.c: New file.
58588 * dirent/scandirat64.c: New file.
58589 * sysdeps/wordsize-64/scandirat.c: New file.
58590 * sysdeps/wordsize-64/scandirat64.c: New file.
58591 * dirent/opendir.c: Define opendirat.
58592 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
58594 * dirent/scandir64.c: Adjust for scandir.c change.
58595 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
58596 __scandirat64, and __scandir_cancel_handler.
58597 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
58598 additional parameter and use openat instead of open (outside of ld.so).
58599 Add new __opendir as wrapper around __opendirat.
58600 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58601 here without requiring old scandirat implementation.
58603 2011-08-08 Ulrich Drepper <drepper@gmail.com>
58605 * dirent/scandir.c (cancel_handler): Renamed to
58606 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
58607 defined. Adjust users.
58608 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58609 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58611 2011-08-04 Ulrich Drepper <drepper@gmail.com>
58613 * string/test-string.h (IMPL): Use __STRING to expand name and then
58616 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
58619 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58621 * string/Makefile: Update.
58622 (strop-tests): Append strncat.
58623 * string/test-wcscmp.c: New file.
58624 New comprehensive test for wcscmp.
58625 * string/test-strcmp.c: Update.
58626 (WIDE): New define.
58628 2011-07-22 Andreas Schwab <schwab@redhat.com>
58630 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58633 2011-07-26 Andreas Schwab <schwab@redhat.com>
58635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58636 encoding to ACE if AI_IDN.
58638 2011-08-01 Jakub Jelinek <jakub@redhat.com>
58640 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58641 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58643 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58645 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58646 Fix overflow bug in strncat.
58647 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58649 * string/test-strncat.c: Update.
58650 Add new tests for checking overflow bugs.
58652 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58655 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58656 * sysdeps/i386/i686/multiarch/strcat.S: New file.
58657 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58658 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58659 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58660 * sysdeps/i386/i686/multiarch/strncat.S: New file.
58661 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58662 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58664 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58665 (USE_AS_STRCAT): Define.
58666 Add strcat and strncat support.
58667 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58669 2011-07-25 Andreas Schwab <schwab@redhat.com>
58671 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58672 __n bigger than INT_MAX+1.
58673 (__strncmp_g): Likewise.
58675 2011-07-23 Ulrich Drepper <drepper@gmail.com>
58677 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58678 * libio/stido.h: Likewise.
58680 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58682 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58685 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58686 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58687 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58688 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58689 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58692 * scripts/test-installation.pl: Don't expect libnss_test1 to be
58695 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58697 (_dl_x86_64_save_sse): Likewise.
58699 2011-07-22 Ulrich Drepper <drepper@gmail.com>
58701 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58703 (_dl_x86_64_save_sse): Likewise.
58705 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58707 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58709 2011-07-21 Andreas Schwab <schwab@redhat.com>
58711 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58713 (_dl_x86_64_save_sse): Use correct AVX check.
58715 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58717 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58718 bug in strncpy/strncat.
58719 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58721 2011-07-21 Ulrich Drepper <drepper@gmail.com>
58723 * string/tester.c (test_strcat): Add tests for different alignments
58724 of source and destination.
58725 (test_strncat): Likewise.
58727 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58730 * posix/glob.c (glob): Check passed in values before using them in
58731 expressions to avoid some overflows.
58732 (glob_in_dir): Likewise.
58735 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58736 check for AVX enablement so that we don't crash with old kernels and
58738 * elf/tst-audit4.c: Add same checks here.
58739 * elf/tst-audit6.c: Likewise.
58741 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58743 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
58745 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58747 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58749 * po/cs.po: Update from translation team.
58750 * po/bg.po: Likewise.
58752 2011-07-12 Marek Polacek <mpolacek@redhat.com>
58754 * misc/sys/cdefs.h: Add support for const attribute.
58755 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58756 to gnu_dev_{major,minor,makedev} functions.
58758 2011-07-20 Marek Polacek <mpolacek@redhat.com>
58760 * intl/dcigettext.c (get_output_charset): Add missing bracket.
58762 2011-07-20 Andreas Schwab <schwab@redhat.com>
58764 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58767 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58769 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58770 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58771 register in order to avoid conflicts with the soft frame pointer
58772 being held in r11 when necessary.
58773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58774 (INTERNAL_VSYSCALL_NCS): Likewise.
58776 2011-07-14 Marek Polacek <mpolacek@redhat.com>
58778 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58779 * elf/dl-fini.c (_dl_fini): Adjust caller.
58780 * elf/dl-close.c (_dl_close_worker): Likewise.
58781 * sysdeps/generic/ldsodefs.h: Adjust declaration.
58783 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58785 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58786 "aux_cache->nlibs < 0".
58788 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58789 in the reload-count case.
58791 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58794 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58795 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58796 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58797 * sysdeps/x86_64/multiarch/strcat.S: New file.
58798 * sysdeps/x86_64/multiarch/strncat.S: New file.
58799 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58800 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58801 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58802 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58803 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58804 (USE_AS_STRCAT): Define.
58805 Add strcat and strncat support.
58806 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58807 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58808 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58809 * string/strncat.c: Update.
58810 (USE_AS_STRNCAT): Define.
58811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58812 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58814 * sysdeps/x86_64/multiarch/init-arch.h
58815 (bit_Prefer_PMINUB_for_stringop): New.
58816 (index_Prefer_PMINUB_for_stringop): Likewise.
58817 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58818 bit_Prefer_PMINUB_for_stringop.
58820 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58822 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58824 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58825 of casting of buffer.
58826 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58827 buffer32 and buffer64.
58828 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58829 writes instead of casting of buffer.
58830 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58832 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58835 2011-07-19 Andreas Schwab <schwab@redhat.com>
58837 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58839 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58841 * nscd/nscd.c (termination_handler): Don't do anything for a database
58842 if it has not yet been initialized.
58844 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58846 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58848 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58850 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58852 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58854 * po/nl.po: Update from translation team.
58855 * po/sv.po: Likewise.
58857 2011-07-16 Roland McGrath <roland@hack.frob.com>
58859 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58860 now disallowed by GCC.
58862 * configure.in (use-default-link): Default to yes if a test -shared
58863 link meets our qualifications.
58864 * configure: Regenerated.
58866 * config.make.in (output-format): New variable.
58867 * configure.in: Check for ld --print-output-format support.
58868 * configure: Regenerated.
58869 * Makerules ($(common-objpfx)format.lds)
58870 [$(output-format) != unknown]: Just use $(output-format),
58871 instead of the linker-script munging.
58873 2011-07-14 Roland McGrath <roland@hack.frob.com>
58875 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58876 of $(common-objpfx)shlib.lds.
58877 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58879 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58880 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58882 * configure.in (-z relro check): Adjust test code to add a large
58883 writable data section after it.
58884 * configure: Regenerated.
58886 2011-07-11 Roland McGrath <roland@hack.frob.com>
58888 * configure.in (-z relro check): Fix test code to make the variable
58890 * configure: Regenerated.
58892 2011-07-11 Ulrich Drepper <drepper@gmail.com>
58894 * nscd/nscd.h (struct traced_file): Define.
58895 (struct database_dyn): Remove inotify_descr, reset_res, and filename
58896 elements. Add traced_files.
58897 (inotify_fd): Declare.
58898 (register_traced_file): Declare.
58899 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58900 (inotify_fd): Export.
58901 (resolv_conf_descr): Remove.
58902 (nscd_init): Move inotify descriptor creation to main.
58903 Don't register files for notification here.
58904 (register_traced_file): New function.
58905 (invalidate_cache): Don't use reset_res to determine whether to call
58906 res_init, go through the list of registered files.
58907 (main_loop_poll): The inotify descriptors are now stored in the
58908 structures for the traced files.
58909 (main_loop_epoll): Likewise
58910 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
58911 to __nss_disable_nscd.
58912 * nscd/cache.c (prune_cache): There is no single inotify descriptor
58913 for a database anymore. Check the records for all the registered
58915 * nss/Makefile (libnss_files-routines): Add files-init.
58916 (libnss_db-routines): Add db-init.
58917 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58918 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58919 * nss/nss_db/db-init.c: New file.
58920 * nss/nss_files/files-init.c: New file.
58921 * nss/nsswitch.c (nss_load_library): New function. Broken out of
58922 __nss_lookup_function.
58923 (__nss_lookup_function): Call nss_load_library.
58924 (nss_load_all_libraries): New function.
58925 (__nss_disable_nscd): Take parameter with callback function for files
58926 to register. Set is_nscd. Load all the DSOs for the NSS modules
58927 used for the cached services.
58928 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58929 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58930 options for features to all the files in nscd.
58932 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58934 2011-07-10 Roland McGrath <roland@hack.frob.com>
58936 * csu/elf-init.c (__libc_csu_init): Comment typo.
58938 2011-07-09 Ulrich Drepper <drepper@gmail.com>
58940 * po/pl.po: Update from translation team.
58941 * po/ja.po: Likewise.
58942 * po/ru.po: Likewise.
58943 * po/ko.po: Likewise.
58944 * po/fr.po: Likewise.
58946 2011-07-09 Roland McGrath <roland@hack.frob.com>
58948 * configure.in (.ctors/.dtors header and trailer check):
58949 Use an empirical test on a built program.
58950 * configure: Regenerated.
58952 * configure.in (-z relro check): Use an empirical test on a built DSO.
58953 Detect, but do not require, on ia64.
58954 * configure: Regenerated.
58956 * configure.in (READELF): Find it with AC_CHECK_TOOL.
58957 Update tests that use readelf to use $READELF instead.
58958 * configure: Regenerated.
58960 2011-07-08 Ulrich Drepper <drepper@gmail.com>
58962 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58963 if the result is not used.
58965 2011-07-05 Andreas Jaeger <aj@suse.de>
58968 * stdlib/tst-strtod.c: Add testcase.
58970 2011-07-07 Ulrich Drepper <drepper@gmail.com>
58972 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58973 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58974 The latter has a higher limit. Take additional parameter to pass to
58976 (__pathconf): Pass file to __statfs_link_max.
58977 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58979 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58983 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58984 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58986 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58987 (__statfs_filesize_max): Likewise.
58988 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58990 2011-07-05 Andreas Jaeger <aj@suse.de>
58992 * resolv/res_comp.c (dn_skipname): Remove unused variable.
58994 2011-07-06 Marek Polacek <mpolacek@redhat.com>
58996 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58998 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59001 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
59003 * Makefile (strop-tests): Add strncat.
59004 * string/test-strncat.c: New file.
59006 2011-06-30 Marek Polacek <mpolacek@redhat.com>
59008 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59010 2011-06-21 Andreas Jaeger <aj@suse.de>
59012 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59013 Copy rule from iconvdata/Makefile.
59015 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59018 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59019 but no long options are defined, just return 'W'.
59021 2011-06-22 Marek Polacek <mpolacek@redhat.com>
59024 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59026 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59028 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59030 (innetgr): Likewise.
59032 2011-07-05 Roland McGrath <roland@hack.frob.com>
59034 * config.make.in (install_root): Default to $(DESTDIR).
59036 2011-07-05 Ulrich Drepper <drepper@gmail.com>
59038 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59040 2011-07-02 Roland McGrath <roland@hack.frob.com>
59042 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59044 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59045 containing directory rather than embedding absolute directory names.
59047 * scripts/check-local-headers.sh: Rewritten using awk.
59048 Match by word, not by line. Print error messages for matches.
59049 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59051 * Makerules [shlib-lds-flags empty]:
59052 ($(common-objpfx)libc_pic.opts): New target.
59053 ($(common-objpfx)libc_pic.os.clean): New target.
59054 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59056 * config.make.in (OBJCOPY): New variable.
59057 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59058 * configure: Regenerated.
59060 * config.make.in (use-default-link): New variable.
59061 * configure.in (use_default_link): Grok --with-default-link to set it.
59062 * configure: Regenerated.
59063 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59064 (shlib-lds, shlib-lds-flags): Define to empty.
59066 * Makerules (shlib-lds): New variable.
59067 (shlib-lds-flags): New variable.
59068 (build-shlib, build-moduile, build-module-asneeded): Use it.
59069 ($(common-objpfx)libc.so): Use $(shlib-lds).
59070 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59071 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59073 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59074 DT_FLAGS/DT_FLAGS_1 with zero flags.
59076 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59077 linker script munging.
59079 2011-07-02 Ulrich Drepper <drepper@gmail.com>
59081 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59083 * crypt/sha512.c (sha512_process_block): Perform total addition using
59084 128-bit if possible.
59085 (__sha512_finish_ctx): Likewise.
59086 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59088 * crypt/sha256.c (SWAP64): Define.
59089 (sha256_process_block): Perform total addition using 64-bit if
59091 (__sha256_finish_ctx): Likewise.
59093 2011-07-01 Ulrich Drepper <drepper@gmail.com>
59095 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
59096 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59097 * nscd/hstcache.c (cache_addhst): Likewise.
59098 * nscd/grpcache.c (cache_addgr): Likewise.
59099 * nscd/aicache.c (addhstaiX): Likewise
59100 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59102 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
59104 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59105 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59106 * nscd/hstcache.c (cache_addhst): Likewise.
59107 * nscd/grpcache.c (cache_addgr): Likewise.
59108 * nscd/aicache.c (addhstaiX): Likewise
59110 2011-07-01 Andreas Schwab <schwab@redhat.com>
59112 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59113 domain only when needed.
59115 2011-06-30 Andreas Schwab <schwab@redhat.com>
59117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59118 is always restored.
59120 2011-06-29 Ulrich Drepper <drepper@gmail.com>
59122 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59123 are re-adding the entry.
59124 * nscd/servicescache.c (cache_addserv): Likewise.
59126 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
59128 * sysdeps/generic/dl-irel.h: fix protection against multiple
59130 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59132 2011-06-28 Ulrich Drepper <drepper@gmail.com>
59135 * malloc/memusage.sh: Fix quoting in message.
59136 * debug/xtrace.sh: Likewise.
59138 * configure.in: Remove support for --experimental-malloc option, make
59140 * config.make.in: Likewise.
59141 * malloc/Makefile: Likewise.
59143 2011-06-27 Andreas Schwab <schwab@redhat.com>
59145 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59146 two-byte characters.
59148 2011-06-27 Roland McGrath <roland@hack.frob.com>
59150 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59151 AC_CACHE_CHECK invocation.
59152 * configure: Regenerated.
59154 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59156 2011-06-27 Ulrich Drepper <drepper@gmail.com>
59159 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
59160 bit from old_res_options.
59162 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59164 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59165 value type for setfct.
59167 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
59169 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59170 __gettimeofday instead of gettimeofday.
59172 2011-06-26 Ulrich Drepper <drepper@gmail.com>
59174 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59176 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
59178 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59180 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59183 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59186 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59187 strcpy-sse2-unaligned strncpy-sse2-unaligned
59188 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59189 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59190 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59191 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59192 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59193 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59194 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59195 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59196 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59197 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59198 (STRCPY): Support SSE2 and SSSE3 versions.
59200 2011-06-24 Ulrich Drepper <drepper@gmail.com>
59203 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59204 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59205 kernels which artificially limit size of requests.
59207 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59209 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59210 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59211 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59212 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59213 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59214 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59215 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59216 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59217 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59218 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59219 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59220 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59221 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59222 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59223 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59225 Enable unaligned load optimization for Intel Core i3, i5 and i7
59227 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59229 (index_Fast_Unaligned_Load): Define.
59230 (HAS_FAST_UNALIGNED_LOAD): Define.
59232 2011-06-23 Marek Polacek <mpolacek@redhat.com>
59234 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59236 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59239 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59240 until it is clear that the information is realy needed.
59241 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59243 2011-06-22 Andreas Schwab <schwab@redhat.com>
59245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59247 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59249 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59250 /sys/devices/system/cpu/online if it is usable.
59252 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59253 reading the information from the /proc filesystem to once a second.
59255 2011-06-21 Andreas Jaeger <aj@suse.de>
59257 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59258 NULL after inclusion of kernel headers.
59260 2011-06-21 Ulrich Drepper <drepper@gmail.com>
59262 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59263 calls to internal_setent.
59266 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59267 addresses using gethostbyname4_r ignore IPv4 addresses.
59269 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59270 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
59272 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59274 2011-06-20 David S. Miller <davem@davemloft.net>
59276 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59278 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59280 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59281 (elf_irel): Use it.
59282 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59283 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59284 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59285 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59286 * sysdeps/x86_64/dl-irel.h: Likewise.
59288 * elf/dl-runtime.c: Use elf_ifunc_invoke.
59289 * elf/dl-sym.c: Likewise.
59291 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59293 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
59294 need to dereference resplen2.
59296 2011-06-14 Andreas Schwab <schwab@redhat.com>
59298 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59300 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59302 * Makeconfig: Define vardbdir and inst_vardbdir.
59303 * nss/Makefile: Add rules to install db-Makefile.
59305 * nss/nss_db/db-XXX.c: Cleanup.
59307 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59308 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59310 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59311 * nss/makedb.c: Implement -g option to specify that value strings
59312 are generated and should not be added to table iterated over for
59314 * nss/nss_db/db-initgroups.c: New file.
59316 * nss/getent.c: Add support for initgroups lookups through getgrouplist
59319 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59320 (internal_getgrouplist): Adjust to name change.
59321 Update use_initgroups_entry if this is not the first call.
59322 * nss/databases.def: Add initgroups entry.
59324 * nss/makedb.c (compute_tables): Check result of multiple hash table
59325 sizes to minimize maximum chain length.
59327 2011-06-14 Ulrich Drepper <drepper@gmail.com>
59329 * Versions.def: Add entry for libnss_db.
59330 * shlib-versions: Likewise.
59331 * nss/Makefile: Add rules to build libnss_db.
59332 * nss/Versions: Add libnss_db information. Organize libnss_files
59334 * nss/db-Makefile: Add gshadow support. Change rules for the new
59335 makedb progra. Some minor improvements to generate smaller files.
59336 * nss/nss_db/nss_db.h: Move NSS database header data structures to
59338 * nss/makedb.c: ...here.
59339 Improve database format to be smaller and require less memory at
59341 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
59343 * nss/nss_db/db-netgrp.c: Likewise.
59344 * nss/nss_db/db-open.c: Likewise.
59345 * nss/nss_files/flies-XXX.x: Adjust comments.
59346 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59347 * nss/nss_files/files-grp.c: Likewise.
59348 * nss/nss_files/files-hosts.c: Likewise.
59349 * nss/nss_files/files-network.c: Likewise.
59350 * nss/nss_files/files-proto.c: Likewise.
59351 * nss/nss_files/files-pwd.c: Likewise.
59352 * nss/nss_files/files-rpc.c: Likewise.
59353 * nss/nss_files/files-service.c: Likewise.
59354 * nss/nss_files/files-sgrp.c: Likewise.
59355 * nss/nss_files/files-spwd.c: Likewise.
59356 * nss/nss_db/db-alias.c: Removed.
59357 * nss/nss_db/dummy-db.h: Removed.
59359 2011-06-02 Ulrich Drepper <drepper@gmail.com>
59361 * nss/makedb.c: Rewritten to not use database library.
59362 * nss/Makefile: Update to build new makedb program.
59364 2011-06-14 Andreas Jaeger <aj@suse.de>
59366 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59367 memset declaration.
59369 2011-06-10 Andreas Schwab <schwab@redhat.com>
59371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59374 2011-06-10 Roland McGrath <roland@hack.frob.com>
59376 * Makerules (shlib.lds): Fail if the linker script comes out empty.
59377 * elf/Makefile ($(objpfx)ld.so): Likewise.
59379 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59380 Don't list ld.so twice in dependencies.
59382 * posix/bug-regex31.c: Include <stdlib.h>.
59384 * nscd/hstcache.c (cache_addhst): Remove unused variable.
59386 * nis/nss_compat/compat-spwd.c
59387 (getspent_next_nss_netgr): Remove unused variable.
59388 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59390 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59391 nonmembers" output to use the right array.
59393 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59395 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59397 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59398 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59399 * catgets/gencat.c (read_input_file): Likewise.
59400 * locale/programs/locarchive.c (enlarge_archive): Likewise.
59402 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59403 variable definition inside #if's controlling its use.
59405 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59407 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59409 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59411 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59414 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59416 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59417 * configure: Regenerated.
59419 * Makerules: Revert last change.
59420 * elf/Makefile: Likewise.
59422 2011-06-09 Roland McGrath <roland@hack.frob.com>
59424 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59425 * elf/Makefile ($(objpfx)librtld.os): Likewise.
59426 (reloc-link): Likewise.
59428 2011-06-09 Ulrich Drepper <drepper@gmail.com>
59430 * elf/Makefile: Add rules to build pldd.
59431 * elf/pldd.c: New file.
59432 * elf/pldd-xx.c: New file.
59434 2011-06-07 Ulrich Drepper <drepper@gmail.com>
59436 * version.h: Update for 2.15 development version.
59438 2011-06-07 David S. Miller <davem@davemloft.net>
59440 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59442 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59443 elf_machine_lazy_rel): Likewise.
59444 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59445 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59446 elf_machine_lazy_rel): Likewise.
59447 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59448 dl_hwcap via passed in argument.
59449 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59452 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59454 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
59456 2011-06-06 Roland McGrath <roland@hack.frob.com>
59459 * manual/fdl-1.1.texi: New file, verbatim from:
59460 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59461 * manual/lgpl-2.1.texi: New file, verbatim from:
59462 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59463 * manual/Makefile (licenses): New variable, list those new file names.
59465 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59467 * manual/fdl.texi: File removed.
59468 * manual/lesser.texi: File removed.
59469 * manual/libc.texinfo (Copying, Documentation License):
59470 Use new @include file names, put @appendix directive before @include.
59472 2011-06-04 Jakub Jelinek <jakub@redhat.com>
59475 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59476 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59477 (mq_open): Add __NTH.
59479 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
59481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59482 Assume Intel Core i3/i5/i7 processor if AVX is available.
59484 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59486 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59489 2011-05-31 Andreas Schwab <schwab@redhat.com>
59491 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59492 memory. Use alloca_account. Fix memory leak when retrying.
59494 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59496 * version.h (RELEASE): Bump for 2.14 release.
59497 * include/features.h (__GLIBC_MINOR__): Bump to 14.
59499 * config.make.in (RANLIB): Remove entry.
59501 2011-05-30 Ulrich Drepper <drepper@gmail.com>
59503 * po/Makefile (po-sed-cmd): Add ksh to extensions.
59504 (libc.pot): Work around missing support for .ksh extension in xgettext.
59507 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59508 if both request failed.
59509 (send_dg): In case of server errors clear resplen or *resplen2.
59512 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59513 when there are multiple maps.
59514 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59515 (_dl_fini): Remove test here.
59517 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59519 2011-05-29 Ulrich Drepper <drepper@gmail.com>
59522 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59523 bit from old_res_options.
59524 (gaih_inet): Likewise.
59527 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59530 * resolv/res_init.c (res_setoptions): Make the code more compact.
59533 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59537 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59539 * malloc/malloc.h: Mark malloc hook variables as deprecated.
59542 * malloc/malloc.h: Declare malloc hook variables as volatile.
59544 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59548 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59549 raise in the comment.
59550 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59551 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59552 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59554 2011-05-28 Ulrich Drepper <drepper@gmail.com>
59557 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59558 grow the buffers more if it already has to be sufficient.
59559 (build_wcs_upper_buffer): Likewise.
59560 * posix/regexec.c (check_matching): Likewise.
59561 (clean_state_log_if_needed): Likewise.
59562 (extend_buffers): Don't enlarge buffers beyond size of the input
59564 Patches mostly by Emil Wojak <emil@wojak.eu>.
59565 * posix/bug-regex32.c: New file.
59566 * posix/Makefile (tests): Add bug-regex32.
59568 * locale/findlocale.c (_nl_find_locale): Return right away if
59569 _nl_explode_name failed.
59570 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59572 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59574 * debug/xtrace.sh: Unify messages.
59575 * malloc/memusage.sh: Likewise.
59578 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59579 time symbol from vDSO. Substitute with vsyscall if not available.
59580 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59583 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59584 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59585 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59586 Add sendmmsg and internal_sendmmsg.
59587 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59588 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59589 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59591 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59592 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59593 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59595 2011-05-27 Ulrich Drepper <drepper@gmail.com>
59598 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59599 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
59601 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59605 * iconvdata/Makefile (tests): Add bug-iconv9.
59606 * iconvdata/bug-iconv9.c: New file.
59608 2011-05-27 Andreas Schwab <schwab@redhat.com>
59611 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59613 2011-05-25 Jakub Jelinek <jakub@redhat.com>
59615 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59616 (struct user_regs_struct): Change intcs field back to cs.
59618 2011-05-25 Ulrich Drepper <drepper@gmail.com>
59620 * po/ja.po: Update from translation team.
59622 2011-05-23 Ulrich Drepper <drepper@gmail.com>
59625 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59626 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59628 2011-05-20 Andreas Schwab <schwab@redhat.com>
59630 * stdlib/longlong.h: Update from GCC.
59632 2011-05-23 Andreas Schwab <schwab@redhat.com>
59634 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59636 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59637 Add parameter name.
59638 (__sysconf): Pass it down.
59640 2011-05-22 Ulrich Drepper <drepper@gmail.com>
59643 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59645 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59646 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59647 add in in __libc_use_alloca calls. Adjust callers.
59648 (glob): Use malloc in some situations.
59650 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59651 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59654 2011-05-21 Ulrich Drepper <drepper@gmail.com>
59656 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59657 and CLOCK_BOOTTIME_ALARM.
59660 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59663 * string/_strerror.c (__strerror_r): Print negative errors as signed
59667 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59668 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59669 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59671 * configure.in: Fix typo in redirection and correct removal of test
59672 files in two cases.
59675 * locale/setlocale.c (new_composite_name): Fix test to check for
59676 identical name of all categories.
59679 * libio/filedoalloc.c (local_isatty): New function.
59680 (_IO_file_doallocate): Use local_isatty.
59681 * stdio-common/perror.c (perror): In case a new stream is used
59682 forward the stream error.
59683 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59686 2011-05-20 Ulrich Drepper <drepper@gmail.com>
59689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59691 * include/alloca.h (extend_alloca_account): Define.
59694 * posix/regex.h: Fix comments with documentation of user-accessible
59695 fields after compilation and describe correct free'ing of pattern
59696 after re_compile_pattern.
59697 Patch by Reuben Thomas <rrt@sc3d.org>.
59699 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
59701 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59702 and -mno-altivec to prevent the compiler from using Altivec and/or
59703 VSX instructions when the corresponding registers are not available.
59705 2011-05-19 Andreas Schwab <schwab@redhat.com>
59707 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59709 2011-05-19 Ulrich Drepper <drepper@gmail.com>
59711 * libio/freopen.c (freopen): Use __dup2, not dup2.
59712 * libio/freopen64.c (freopen64): Likewise.
59714 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
59717 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59718 * math/Makefile (tests): Add test-powl.
59719 (CFLAGS-test-powl.c): Define.
59720 * math/test-powl.c: New file.
59722 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
59724 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59726 2011-05-17 Ulrich Drepper <drepper@gmail.com>
59729 * iconvdata/gb18030.c: Update to GB18020-2005.
59731 2011-05-16 Ulrich Drepper <drepper@gmail.com>
59733 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59734 RE_SYNTAX_POSIX_AWK): Update to match recent development.
59735 Patch by Aharon Robbins <arnold@skeeve.com>.
59738 * stdlib/putenv.c (putenv): Don't always create copy of the variable
59742 * misc/pselect.c (__pselect): Handle timeout value errors hidden
59743 through underflows.
59746 * misc/error.c (error_at_line): Ensure file_name and old_file_name
59747 point to strings before performing equality test for error_one_per_line
59751 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59754 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59755 (struct user_fpregs_struct): Avoid __uint*_t types.
59758 * malloc/mtrace.c (tr_where): Add additional parameter to point to
59759 symbol info. Use it instead of calling _dl_addr locally.
59760 (lock_and_info): New function.
59761 (tr_freehook): Call lock_and_info and pass symbol info as additional
59762 parameter to tr_where.
59763 (tr_mallochook): Likewise.
59764 (tr_reallochook): Likewise.
59765 (tr_memalignhook): Likewise.
59767 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
59768 used and couldn't be at all thread-safe.
59770 2011-05-15 Ulrich Drepper <drepper@gmail.com>
59772 * libio/freopen.c (freopen): Don't close old file descriptor
59773 before the new one is opened. Instead dup the new file descriptor
59774 to the old one after the new stream is created.
59775 * libio/freopen64.c (freopen64): Likewise.
59776 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59777 * libio/fileops.c (_IO_new_file_close_it): Handle new
59778 _IO_FLAGS2_NOCLOSE flag.
59779 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59780 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59781 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59782 _IO_FLAGS2_NOCLOSE flag.
59783 * include/unistd.h: Add hidden_proto for dup3.
59784 Define __have_dup3.
59785 * io/dup3.c: Define hidden symbol.
59786 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59789 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59790 when an incomplete long option is used.
59791 * posix/tst-getopt_long1.c: New file.
59792 * posix/Makefile (tests): Add tst-getopt_long1.
59795 * scripts/config.guess: Update from autoconf-2.68.
59796 * scripts/config.sub: Likewise.
59799 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59801 (has_cpuclock): ...this. New function.
59802 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59803 macro here based on has_cpuclock code.
59806 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59807 First byte (not low byte) is now always NUL.
59808 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59810 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59811 Use non-cancelable interfaces.
59814 * locale/iso-639.def: Add entry for Sorani.
59817 * include/stdlib.h: Move include protection to the right place.
59818 Define abort_msg_s. Declare __abort_msg with it.
59819 * stdlib/abort.c (__abort_msg): Adjust type.
59820 * assert/assert.c (__assert_fail_base): New function. Majority
59821 of code from __assert_fail. Allocate memory for __abort_msg with
59823 (__assert_fail): Now call __assert_fail_base.
59824 * assert/assert-perr.c: Remove bulk of implementation. Use
59825 __assert_fail_base.
59826 * include/assert.hL Declare __assert_fail_base.
59827 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59829 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59831 2011-05-14 Ulrich Drepper <drepper@gmail.com>
59835 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59836 until all modules are registered in the DTV.
59837 * elf/Makefile: Add rules to build and run tst-tls19.
59838 * elf/tst-tls19.c: New file.
59839 * elf/tst-tls19mod1.c: New file.
59840 * elf/tst-tls19mod2.c: New file.
59841 * elf/tst-tls19mod3.c: New file.
59842 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59845 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59849 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59850 two-byte sequence errors.
59851 * iconvdata/Makefile (tests): Add bug-iconv8.
59852 * iconvdata/bug-iconv8.c: New file.
59855 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59858 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59861 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59862 (dummy_getcfa): New function.
59863 (init): Get _Unwind_GetCFA address, use dummy if not found.
59864 (backtrace_helper): In recursion check, also check whether CFA changes.
59865 (__backtrace): Completely initialize arg.
59867 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59868 storing incomplete byte sequence in state object. Avoid testing for
59869 guaranteed too small input if we know there is enough data available.
59871 2011-05-11 Andreas Schwab <schwab@redhat.com>
59873 * Makeconfig (+link-pie): Indent.
59874 * Rules (binaries-pie): Define if $(have-fpie) and
59876 (binaries-shared): Also filter out $(binaries-pie).
59877 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59878 * nscd/Makefile (others-pie): Add nscd.
59879 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59880 ($(objpfx)nscd): Remove command override.
59881 * login/Makefile (others-pie): Add pt_chown.
59882 ($(objpfx)pt_chown): Remove command override.
59883 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59884 remove command overrides.
59886 2011-05-13 Ulrich Drepper <drepper@gmail.com>
59888 * libio/tst_putwc.c: Fix error messages.
59891 * libio/fileops.c (_IO_new_file_close_it): Always flush when
59892 currently writing and seek to current position when not.
59893 * libio/Makefile (tests): Add bug-fclose1.
59894 * libio/bug-fclose1.c: New file.
59896 2011-05-12 Ulrich Drepper <drepper@gmail.com>
59899 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59900 don't set DF_1_NODELETE here.
59901 (do_lookup_x): When entering new entry test for copy relocation
59902 and if necessary set DF_1_NODELETE flag.
59903 * elf/tst-unique4.cc: New file.
59904 * elf/tst-unique4.h: New file.
59905 * elf/tst-unique4lib.cc: New file.
59906 * elf/Makefile: Add rules to build and run tst-unique4.
59907 Patch by Piotr Bury <pbury@goahead.com>.
59909 2011-05-11 Ulrich Drepper <drepper@gmail.com>
59912 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59915 * misc/mntent_r.c (addmntent): Flush the stream after the output
59918 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59919 (is_trusted_path_normalize): Skip initial colon. Append slash
59920 to empty buffer. Duplicate is_trusted_path code but allow
59921 constructed patch to be prefix.
59922 (is_dst): Allow $ORIGIN followed by /.
59923 (_dl_dst_substitute): Correct clearing of check_for_trusted.
59924 Correct testing of result of is_trusted_path_normalize
59925 (decompose_rpath): Fix warning.
59927 2011-05-10 Ulrich Drepper <drepper@gmail.com>
59930 * grp/initgroups.c (internal_getgrouplist): When we found the service
59931 list through the initgroups entry in nsswitch.conf do not always
59932 continue on a successful lookup. Don't always use the
59933 __nss_group_database value if it is set.
59934 * nss/nsswitch.conf (initgroups): Change action for successful db
59935 lookup to continue for compatibility.
59937 2011-05-09 Ulrich Drepper <drepper@gmail.com>
59940 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59942 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59944 * iconvdata/tst-tables.sh: Likewise.
59945 * iconvdata/cp770.c: New file.
59946 * iconvdata/cp771.c: New file.
59947 * iconvdata/cp772.c: New file.
59948 * iconvdata/cp773.c: New file.
59949 * iconvdata/cp774.c: New file.
59950 * iconvdata/testdata/CP770: New file.
59951 * iconvdata/testdata/CP770..UTF8: New file.
59952 * iconvdata/testdata/CP771: New file.
59953 * iconvdata/testdata/CP771..UTF8: New file.
59954 * iconvdata/testdata/CP772: New file.
59955 * iconvdata/testdata/CP772..UTF8: New file.
59956 * iconvdata/testdata/CP773: New file.
59957 * iconvdata/testdata/CP773..UTF8: New file.
59958 * iconvdata/testdata/CP774: New file.
59959 * iconvdata/testdata/CP774..UTF8: New file.
59961 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59963 * iconvdata/gen-8bit-gap.sh: Likewise.
59964 * iconvdata/gen-8bit.sh: Likewise.
59966 * locale/iso-639.def: Add ary entry.
59969 * locale/C-translit.h.in: Add U20A1 transliteration.
59972 * locale/iso-639.def: Add wae entry.
59973 Patch by Kevin Bortis <bortis@translate-wae.ch>.
59976 * locale/programs/localedef.c (construct_output_path): Use ssize_t
59980 * locale/C-translit.h.in: Add entry for U20B9.
59981 Patch by pravin.d.s@gmail.com.
59983 2011-05-08 Ulrich Drepper <drepper@gmail.com>
59986 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59987 ENAMETOOLONG use generic getcwd.
59988 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
59989 in rtld. Use *stat64.
59990 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59991 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59992 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59993 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59994 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59995 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59996 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59997 __fstatat64 macros.
59998 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59999 * dirent/rewinddir.c: Add libc_hidden_def.
60000 * sysdeps/mach/hurd/rewinddir.c: Likewise.
60001 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
60003 * include/dirent.h (__alloc_dir): Add flags parameter.
60004 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60005 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60007 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
60008 from fdopendir if O_CLOEXEC is already set.
60010 2011-03-15 Alan Modra <amodra@gmail.com>
60012 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60013 l_tls_firstbyte_offset non-zero. Save padding offset in
60014 l_tls_firstbyte_offset for later use.
60015 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60016 freeing static tls block.
60018 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
60020 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60021 where #ifdef was intended. The intent is to prevent ARG_MAX from
60022 being defined by the kernel headers.
60024 2011-05-07 Ulrich Drepper <drepper@gmail.com>
60027 * resolv/resolv.h: Define RES_NOTLDQUERY.
60028 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60029 no-tld-query and set RES_NOTLDQUERY.
60030 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60031 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60032 modern BIND to search name as TLD unless forbidden.
60034 2011-05-07 Petr Baudis <pasky@suse.cz>
60035 Ulrich Drepper <drepper@gmail.com>
60038 * elf/dl-load.c (fillin_rpath): Move trusted path check...
60039 (is_trusted_path): ...to here.
60040 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60041 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60042 using is_trusted_path_normalize() in setuid scripts.
60044 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
60046 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60047 __BEGIN/__END_DECLS.
60049 2011-05-06 Ulrich Drepper <drepper@gmail.com>
60051 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60052 NSS_STATUS_NOTFOUND if no record was found.
60054 2011-05-05 Andreas Schwab <schwab@redhat.com>
60056 * sunrpc/Makefile (headers): Add rpc/netdb.h.
60057 (headers-not-in-tirpc): Remove rpc/netdb.h
60058 * resolv/netdb.h: Revert last change.
60060 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
60062 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60063 circular dependency between libgcc.a and libc.a.
60065 2011-05-05 Andreas Schwab <schwab@redhat.com>
60067 * resolv/netdb.h: Don't include <rpc/netdb.h>.
60068 * nis/Makefile: Don't install rpcsvc/*.
60069 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60070 instead of <rpc/types.h>.
60071 (MAXHOSTNAMELEN): Define.
60073 2011-05-03 Andreas Schwab <schwab@redhat.com>
60075 * elf/ldconfig.c (add_dir): Don't crash on empty path.
60077 2011-04-28 Maciej Babinski <mbabinski@google.com>
60080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60081 gethostbyname4_r when IPv6 results are possible.
60083 2011-05-02 Ulrich Drepper <drepper@gmail.com>
60086 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60087 _PC_PIPE_BUF handling.
60089 2011-04-30 Bruno Haible <bruno@clisp.org>
60092 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60093 * resolv/netdb.h (getnameinfo): Change type of flags parameter
60095 * inet/getnameinfo.c (getnameinfo): Likewise.
60097 2011-04-29 Ulrich Drepper <drepper@gmail.com>
60099 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60100 to groups setting in database lookup.
60101 * nss/nsswitch.conf: Add initgroups entry.
60103 2011-04-22 Ulrich Drepper <drepper@gmail.com>
60106 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60108 Patch by Eric Blake <eblake@redhat.com>.
60110 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
60112 * sunrpc/Makefile (need-export-routines): Add svc_run.
60113 (routines): Remove svc_run.
60114 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60115 * sunrpc/clnt_perr.c (clnt_perrno): Export.
60116 * sunrpc/svc_run.c (svc_run): Likewise.
60117 * sunrpc/svc_udp.c (svcudp_create): Likewise.
60119 2011-04-21 Ulrich Drepper <drepper@gmail.com>
60121 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60122 problem in reallocation in last patch.
60124 2011-04-20 Ulrich Drepper <drepper@gmail.com>
60126 * sunrpc/Makefile: Move inclusion of Rules.
60128 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60130 * nss/nss_files/files-initgroups.c: New file.
60131 * nss/Makefile (libnss_files-routines): Add files-initgroups.
60132 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60133 _nss_files_initgroups_dyn.
60135 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
60137 * elf/elf.h (R_ARM_IRELATIVE): Define.
60139 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60141 * po/ru.po: Update from translation team.
60143 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60145 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60148 2011-02-06 Mike Frysinger <vapier@gentoo.org>
60151 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60152 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60153 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60154 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60155 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60157 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
60159 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60161 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60162 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60163 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60165 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60168 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60170 * stdlib/bug-getcontext.c: New file.
60171 * stdlib/Makefile: Add rules to build and run bug-getcontext.
60173 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60175 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60176 instructions into .machine "z9-109".
60177 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60178 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60180 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60182 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60183 between environment variables and auxiliary vector.
60185 2011-04-16 Ulrich Drepper <drepper@gmail.com>
60187 * Makefile: Add rules to build linkobj/libc.so.
60188 * include/libc-symbols.h: Define libc_hidden_nolink.
60189 * include/rpc/auth.h: Mark functions which are to be hidden.
60190 * include/rpc/auth_des.h: Likewise.
60191 * include/rpc/auth_unix.h: Likewise.
60192 * include/rpc/clnt.h: Likewise.
60193 * include/rpc/des_crypt.h: Likewise.
60194 * include/rpc/key_prot.h: Likewise.
60195 * include/rpc/pmap_clnt.h: Likewise.
60196 * include/rpc/pmap_prot.h: Likewise.
60197 * include/rpc/pmap_rmt.h: Likewise.
60198 * include/rpc/rpc_msg.h: Likewise.
60199 * include/rpc/svc.h: Likewise.
60200 * include/rpc/svc_auth.h: Likewise.
60201 * include/rpc/xdr.h: Likewise.
60202 * nis/Makefile: Link all DSOs against linkobj/libc.so.
60203 * nss/Makefile: Likewise.
60204 * sunrpc/Makefile: Don't install headers. Build library with normal
60205 entry points. Don't build rpcinfo. Link RPC tests appropriately.
60206 * sunrpc/auth_des.c: Hide exported symbols by default, export some
60207 for the compat linking library. Remove use of INTDEF/INTUSE.
60208 * sunrpc/auth_none.c: Likewise.
60209 * sunrpc/auth_unix.c: Likewise.
60210 * sunrpc/authdes_prot.c: Likewise.
60211 * sunrpc/authuxprot.c: Likewise.
60212 * sunrpc/clnt_gen.c: Likewise.
60213 * sunrpc/clnt_perr.c: Likewise.
60214 * sunrpc/clnt_raw.c: Likewise.
60215 * sunrpc/clnt_simp.c: Likewise.
60216 * sunrpc/clnt_tcp.c: Likewise.
60217 * sunrpc/clnt_udp.c: Likewise.
60218 * sunrpc/clnt_unix.c: Likewise.
60219 * sunrpc/des_crypt.c: Likewise.
60220 * sunrpc/des_soft.c: Likewise.
60221 * sunrpc/get_myaddr.c: Likewise.
60222 * sunrpc/key_call.c: Likewise.
60223 * sunrpc/key_prot.c: Likewise.
60224 * sunrpc/netname.c: Likewise.
60225 * sunrpc/pm_getmaps.c: Likewise.
60226 * sunrpc/pm_getport.c: Likewise.
60227 * sunrpc/pmap_clnt.c: Likewise.
60228 * sunrpc/pmap_prot.c: Likewise.
60229 * sunrpc/pmap_prot2.c: Likewise.
60230 * sunrpc/pmap_rmt.c: Likewise.
60231 * sunrpc/publickey.c: Likewise.
60232 * sunrpc/rpc_cmsg.c: Likewise.
60233 * sunrpc/rpc_common.c: Likewise.
60234 * sunrpc/rpc_dtable.c: Likewise.
60235 * sunrpc/rpc_prot.c: Likewise.
60236 * sunrpc/rpc_thread.c: Likewise.
60237 * sunrpc/rtime.c: Likewise.
60238 * sunrpc/svc.c: Likewise.
60239 * sunrpc/svc_auth.c: Likewise.
60240 * sunrpc/svc_authux.c: Likewise.
60241 * sunrpc/svc_raw.c: Likewise.
60242 * sunrpc/svc_run.c: Likewise.
60243 * sunrpc/svc_simple.c: Likewise.
60244 * sunrpc/svc_tcp.c: Likewise.
60245 * sunrpc/svc_udp.c: Likewise.
60246 * sunrpc/svc_unix.c: Likewise.
60247 * sunrpc/svcauth_des.c: Likewise.
60248 * sunrpc/xcrypt.c: Likewise.
60249 * sunrpc/xdr.c: Likewise.
60250 * sunrpc/xdr_array.c: Likewise.
60251 * sunrpc/xdr_float.c: Likewise.
60252 * sunrpc/xdr_intXX_t.c: Likewise.
60253 * sunrpc/xdr_mem.c: Likewise.
60254 * sunrpc/xdr_rec.c: Likewise.
60255 * sunrpc/xdr_ref.c: Likewise.
60256 * sunrpc/xdr_sizeof.c: Likewise.
60257 * sunrpc/xdr_stdio.c: Likewise.
60259 2011-04-10 Ulrich Drepper <drepper@gmail.com>
60262 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60263 * sysdeps/ia64/dl-tls.h: Likewise.
60264 * sysdeps/powerpc/dl-tls.h: Likewise.
60265 * sysdeps/s390/dl-tls.h: Likewise.
60266 * sysdeps/sh/dl-tls.h: Likewise.
60267 * sysdeps/sparc/dl-tls.h: Likewise.
60268 * sysdeps/x86_64/dl-tls.h: Likewise.
60269 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60271 2011-03-14 Andreas Schwab <schwab@redhat.com>
60273 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60274 rpath element also skip the following colon.
60275 (expand_dynamic_string_token): Add is_path parameter and pass
60276 down to DL_DST_REQUIRED and _dl_dst_substitute.
60277 (decompose_rpath): Call expand_dynamic_string_token with
60278 non-zero is_path. Ignore empty rpaths.
60279 (_dl_map_object_from_fd): Call expand_dynamic_string_token
60282 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
60284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60287 2011-04-09 Ulrich Drepper <drepper@gmail.com>
60290 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60291 Patch by Filipe David Manana <fdmanana@apache.org>.
60293 2011-04-07 Andreas Schwab <schwab@redhat.com>
60295 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60296 Maintain aligned stack.
60297 (CHECK_RSP): Remove unused macro.
60299 2011-04-03 Ulrich Drepper <drepper@gmail.com>
60301 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60302 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60304 2011-04-02 Ulrich Drepper <drepper@gmail.com>
60306 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60308 * include/features.h: Mention __USE_XOPEN2K8 in comment.
60310 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
60313 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60314 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60315 * sysdeps/x86_64/memmove.c: New file.
60316 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60317 (memcpy): Renamed to ...
60318 (__new_memcpy): This.
60319 (memcpy): Provide GLIBC_2_14 memcpy.
60320 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60321 (memcpy): Provide GLIBC_2_2_5 memcpy.
60323 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60326 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60328 2011-03-30 Andreas Schwab <schwab@redhat.com>
60330 * misc/syncfs.c: New file.
60331 * misc/Makefile (routines): Add syncfs.
60332 * posix/unistd.h: Declare syncfs.
60333 * sysdeps/unix/syscalls.list: Add syncfs.
60335 2011-04-01 Andreas Schwab <schwab@redhat.com>
60337 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60339 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60340 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60341 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60342 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60344 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60345 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60347 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60349 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60350 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60351 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60352 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60353 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60354 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60355 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60357 * io/Makefile: Compile fallocate.c, fallocate64.c, and
60358 sync_file_range.c with -fexceptions.
60359 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60360 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60361 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60362 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60363 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60364 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60365 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60366 sync_file_range as cancellation point
60367 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
60368 now a wrapper around __call_sync_file_range with cancellation handling.
60369 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60370 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
60371 function name to __call_sync_file_range.
60372 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60373 Add call_sync_file_range.
60375 2011-04-01 Andreas Schwab <schwab@redhat.com>
60377 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60380 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60382 * iconv/iconv.h: Fix typo in comment.
60383 * io/fcntl.h: Likewise.
60384 * libio/stdio.h: Likewise.
60385 * posix/spawn.h: Likewise.
60386 * posix/unistd.h: Likewise.
60387 * stdlib/stdlib.h: Likewise.
60388 * time/time.h: Likewise.
60389 * wcsmbs/wchar.h: Likewise.
60391 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60392 open_by_handle): Add.
60393 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60394 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
60395 Augment a few comments.
60396 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60397 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60398 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60399 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60400 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60401 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60404 * io/fcntl.h (AT_EMPTY_PATH): Define.
60406 2011-03-30 Ulrich Drepper <drepper@gmail.com>
60408 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60409 * sysdeps/unix/sysv/linux/bits/time.h: New file.
60410 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60412 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
60413 * Versions.def: Add GLIBC_2.14.
60414 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60417 2011-03-22 Ulrich Drepper <drepper@gmail.com>
60419 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60421 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60423 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
60426 * string/test-strncmp.c (do_page_test): New function.
60427 (check2): Likewise.
60428 (test_main): Call check2.
60429 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60431 2011-03-20 Ulrich Drepper <drepper@gmail.com>
60434 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60435 Handle cache information in CPU leaf 4.
60436 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60438 2011-03-18 Ulrich Drepper <drepper@gmail.com>
60441 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60442 character representation.
60443 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60445 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
60447 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60448 END(__isnan) to END(__isnanf) to match function entry point/label
60449 EALIGN(__isnanf,...).
60451 2011-03-10 Jakub Jelinek <jakub@redhat.com>
60453 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60455 2011-03-10 Ulrich Drepper <drepper@gmail.com>
60458 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60459 copy from the symbol referenced in the relocation to initialize the
60461 Patch by Piotr Bury <pbury@goahead.com>.
60462 * elf/Makefile: Add rules to build and tst-unique3.
60463 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60464 * elf/tst-unique3.cc: New file.
60465 * elf/tst-unique3.h: New file.
60466 * elf/tst-unique3lib.cc: New file.
60467 * elf/tst-unique3lib2.cc: New file.
60469 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60471 2011-03-10 Mike Frysinger <vapier@gentoo.org>
60473 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60474 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
60477 2011-03-06 Ulrich Drepper <drepper@gmail.com>
60479 * elf/dl-load.c (_dl_map_object): If we are looking for the first
60480 to-be-loaded object along a path to loader is ld.so.
60482 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60483 Ulrich Drepper <drepper@gmail.com>
60485 * sysdeps/x86_64/memset.S: After aligning destination, code
60486 branches to different locations depending on the value of
60487 misalignment, when multiarch is enabled. Fix this.
60489 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60491 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60492 Set _x86_64_preferred_memory_instruction for AMD processsors.
60493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60494 Set bit_Prefer_SSE_for_memop for AMD processors.
60496 2011-03-04 Ulrich Drepper <drepper@gmail.com>
60498 * libio/fmemopen.c (fmemopen): Optimize a bit.
60500 2011-03-03 Andreas Schwab <schwab@redhat.com>
60502 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60504 2011-03-03 Roland McGrath <roland@redhat.com>
60506 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60508 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
60510 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60511 __bzero_ultra1 instead of __memset_ultra1.
60513 2011-02-23 Andreas Schwab <schwab@redhat.com>
60514 Ulrich Drepper <drepper@gmail.com>
60517 * include/link.h (struct link_map): Add l_orig_initfini.
60518 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60519 returning unsuccessfully.
60520 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60521 close of a file loaded at startup, restore the original l_initfini
60523 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60524 list, store the pointer.
60525 * elf/Makefile ($(objpfx)noload-mem): New rule.
60526 (noload-ENV): Define.
60527 (tests): Add $(objpfx)noload-mem.
60528 * elf/noload.c: Include <memcheck.h>.
60529 (main): Call mtrace. Close all opened handles.
60531 2011-02-17 Andreas Schwab <schwab@redhat.com>
60534 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60535 dependencies are missing.
60537 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
60539 Fix __if_freereq crash: Unlike the generic version which uses free,
60541 * sysdeps/mach/hurd/ifreq.h: New file.
60543 2011-01-27 Petr Baudis <pasky@suse.cz>
60544 Ulrich Drepper <drepper@gmail.com>
60547 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60548 to extend_alloca().
60549 * stdio-common/bug23.c: New file.
60550 * stdio-common/Makefile (tests): Add bug23.
60552 2010-09-28 Andreas Schwab <schwab@redhat.com>
60553 Ulrich Drepper <drepper@gmail.com>
60556 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60557 before performing relro protection. At old place add assertion
60558 to make sure nothing changed.
60560 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
60561 Glauber de Oliveira Costa <glommer@gmail.com>
60563 * elf/elf.h: Add new ARM TLS relocs.
60565 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
60567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60568 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60570 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
60572 * sysdeps/wordsize-64/tst-writev.c: New file.
60574 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
60576 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60577 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60578 insns in _dl_start to prevent a TOC reference before relocs are
60581 2011-02-15 Ulrich Drepper <drepper@gmail.com>
60584 * Makeconfig: Remove RANLIB definition.
60585 * Makerules: Don't use RANLIB.
60586 * aclocal.m4: Remove ranlib test.
60587 * configure.in: No need to check for ranlib.
60588 * elf/rtld-Rules: Don't use RANLIB.
60590 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
60592 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60594 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60595 inclusion protection macro.
60597 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60598 SIGRTMIN and SIGRTMAX and print information in that case only when
60599 SIGRTMIN is defined.
60601 2011-02-11 Jakub Jelinek <jakub@redhat.com>
60603 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60604 arginfo fn returning -1.
60606 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60607 and thousands string is zero terminated.
60609 2011-02-03 Andreas Schwab <schwab@redhat.com>
60611 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60612 sysdeps/unix/sysv/linux/bits/socket.h.
60614 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
60616 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60617 (__CPU_COUNT): Remove old macros.
60618 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60619 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60620 (__CPU_ALLOC, __CPU_FREE): Add macros.
60621 (__sched_cpualloc, __sched_cpufree): Add declarations.
60623 2011-02-05 Ulrich Drepper <drepper@gmail.com>
60625 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60626 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60627 * nscd/aicache.c (addhstaiX): Return timeout of added value.
60628 (readdhstai): Return value of addhstaiX call.
60629 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60630 (addgrbyX): Return value returned by cache_addgr.
60631 (readdgrbyname): Return value returned by addgrbyX.
60632 (readdgrbygid): Likewise.
60633 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60634 (addpwbyX): Return value returned by cache_addpw.
60635 (readdpwbyname): Return value returned by addhstbyX.
60636 (readdpwbyuid): Likewise.
60637 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60638 (addservbyX): Return value returned by cache_addserv.
60639 (readdservbyname): Return value returned by addservbyX:
60640 (readdservbyport): Likewise.
60641 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60642 (addhstbyX): Return value returned by cache_addhst.
60643 (readdhstbyname): Return value returned by addhstbyX.
60644 (readdhstbyaddr): Likewise.
60645 (readdhstbynamev6): Likewise.
60646 (readdhstbyaddrv6): Likewise.
60647 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60648 (readdinitgroups): Return value returned by addinitgroupsX.
60649 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60650 (prune_cache): Keep track of timeout value of re-added entries.
60651 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60652 * nscd/nscd.h: Adjust prototypes of readd* functions.
60654 2011-02-04 Roland McGrath <roland@redhat.com>
60656 * nis/nis_server.c (nis_servstate): Use the right name for 0.
60657 (nis_stats): Likewise.
60658 * nis/nis_modify.c (nis_modify): Likewise.
60659 * nis/nis_remove.c (nis_remove): Likewise.
60660 * nis/nis_add.c (nis_add): Likewise.
60662 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60664 * posix/fnmatch_loop.c: Add some consts.
60666 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60668 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
60671 * config.make.in (config-cflags-novzeroupper): Define.
60672 * configure.in: Substitute libc_cv_cc_novzeroupper.
60673 * elf/Makefile (AVX-CFLAGS): Define.
60674 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60675 (CFLAGS-tst-auditmod4a.c): Likewise.
60676 (CFLAGS-tst-auditmod4b.c): Likewise.
60677 (CFLAGS-tst-auditmod6b.c): Likewise.
60678 (CFLAGS-tst-auditmod6c.c): Likewise.
60679 (CFLAGS-tst-auditmod7b.c): Likewise.
60680 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60682 2011-02-02 Ulrich Drepper <drepper@gmail.com>
60684 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60685 function to the callback.
60686 Patch partly by Jiri Olsa <jolsa@redhat.com>.
60688 2011-02-02 Andreas Schwab <schwab@redhat.com>
60690 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60693 2011-01-19 Ulrich Drepper <drepper@gmail.com>
60696 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60698 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60700 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60703 * elf/Makefile: Add rules to build and run new test.
60704 * elf/tst-initorder.c: New file.
60705 * elf/tst-initorder.exp: New file.
60706 * elf/tst-initordera1.c: New file.
60707 * elf/tst-initordera2.c: New file.
60708 * elf/tst-initordera3.c: New file.
60709 * elf/tst-initordera4.c: New file.
60710 * elf/tst-initorderb1.c: New file.
60711 * elf/tst-initorderb2.c: New file.
60712 * elf/tst-order-a1.c: New file.
60713 * elf/tst-order-a2.c: New file.
60714 * elf/tst-order-a3.c: New file.
60715 * elf/tst-order-a4.c: New file.
60716 * elf/tst-order-b1.c: New file.
60717 * elf/tst-order-b2.c: New file.
60718 * elf/tst-order-main.c: New file.
60719 New test case by George Gensure <werkt0@gmail.com>.
60721 2010-10-01 Andreas Schwab <schwab@redhat.com>
60723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60724 decoding ACE if AI_CANONIDN.
60726 2011-01-18 Ulrich Drepper <drepper@gmail.com>
60728 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60730 2011-01-17 Ulrich Drepper <drepper@gmail.com>
60732 * version.h (RELEASE): Bump for 2.13 release.
60733 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60735 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60737 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60739 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60740 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60741 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60742 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60743 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60744 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60746 * posix/getconf.c: Update copyright year.
60747 * catgets/gencat.c: Likewise.
60748 * csu/version.c: Likewise.
60749 * debug/catchsegv.sh: Likewise.
60750 * debug/xtrace.sh: Likewise.
60751 * elf/ldconfig.c: Likewise.
60752 * elf/ldd.bash.in: Likewise.
60753 * elf/sprof.c (print_version): Likewise.
60754 * iconv/iconv_prog.c: Likewise.
60755 * iconv/iconvconfig.c: Likewise.
60756 * locale/programs/locale.c: Likewise.
60757 * locale/programs/localedef.c: Likewise.
60758 * malloc/memusage.sh: Likewise.
60759 * malloc/mtrace.pl: Likewise.
60760 * nscd/nscd.c (print_version): Likewise.
60761 * nss/getent.c: Likewise.
60763 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60764 PF_CAIF, and PF_ALG.
60765 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60767 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
60769 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60770 (modules-names): Use them.
60771 (ifunc-test-modules, ifunc-pie-tests): Define.
60772 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60773 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60774 (test-extras): Likewise.
60775 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60776 $(compile-command.c).
60777 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60778 (all-built-dso): Define.
60779 (check-textrel.out, check-execstack.out): Depend on it.
60781 * configure.in: Don't override --enable-multi-arch.
60783 2011-01-15 Ulrich Drepper <drepper@gmail.com>
60786 * nscd/hstcache.c (tryagain): Define.
60787 (cache_addhst): Return tryagain not notfound for temporary errors.
60788 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60791 2011-01-14 Ulrich Drepper <drepper@gmail.com>
60794 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60795 to make the syscall.
60796 * sysdeps/unix/sysv/linux/setgroups.c: New file.
60799 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60800 and fall back to matching as normal character if the string ends before
60801 the matching ']' is found. This is what POSIX requires.
60802 * posix/testfnm.c: Adjust test result.
60803 * posix/globtest.sh: Adjust test result. Add new test.
60804 * posix/tst-fnmatch.input: Likewise.
60805 * posix/tst-fnmatch2.c: Add new test.
60807 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
60809 * elf/Makefile (check-execstack): Revert last change. Depend on
60811 (check-execstack.h): New target.
60812 (generated): Add check-execstack.h.
60813 * elf/check-execstack.c: Include "check-execstack.h".
60814 (main): Revert last change.
60815 (handle_file): Return zero if GNU_STACK is absent and
60816 DEFAULT_STACK_PERMS doesn't include PF_X.
60818 2011-01-13 Ulrich Drepper <drepper@gmail.com>
60820 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60821 in child fails because the descriptor is already closed.
60822 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60823 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60824 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60827 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60831 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60832 temporary buffer used to handle multi lookups locally.
60833 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60835 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60837 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60840 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
60842 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60843 alignment for SSE2.
60845 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60848 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60849 characters. When rounding increased number of integer digits recompute
60851 * stdio-common/tst-grouping.c: New file.
60852 * stdio-common/Makefile: Add rules to build and run tst-grouping.
60854 2011-01-09 Ulrich Drepper <drepper@gmail.com>
60856 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60857 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
60859 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60861 * bits/select.h: Likewise.
60863 2011-01-08 Ulrich Drepper <drepper@gmail.com>
60865 * po/ja.po: Update from translation team.
60867 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
60870 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60871 implementation just like for lxstat, fxstatat, et al.
60873 2010-12-27 Jim Meyering <meyering@redhat.com>
60876 * posix/regexec.c (build_trtable): Return failure indication upon
60877 calloc failure. Otherwise, re_search_internal could infloop on OOM.
60879 2010-12-25 Ulrich Drepper <drepper@gmail.com>
60882 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60883 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60884 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60885 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60888 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60891 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60892 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60894 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
60896 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60897 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60898 script has SORT_BY_INIT_PRIORITY.
60899 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60900 NO_CTORS_DTORS_SECTIONS is defined.
60901 * elf/soinit.c: Likewise.
60902 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60903 NO_CTORS_DTORS_SECTIONS is defined.
60904 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60905 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60906 * sysdeps/sh/init-first.c: Likewise.
60907 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60909 2010-12-24 Ulrich Drepper <drepper@gmail.com>
60911 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60912 always use the slow path.
60914 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
60916 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60917 similar rule which adds the sysdep directories to the header search in
60918 order to pick up the correct platform stackinfo.h.
60919 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60920 perform test if it is, otherwise return successfully without testing.
60921 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60922 DEFAULT_STACK_PERMS define in stackinfo.h.
60923 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60924 defined in stackinfo.h.
60925 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60926 DEFAULT_STACK_PERMS defined in stackinfo.h.
60927 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60928 * sysdeps/ia64/stackinfo.h: Likewise.
60929 * sysdeps/s390/stackinfo.h: Likewise.
60930 * sysdeps/sh/stackinfo.h: Likewise.
60931 * sysdeps/sparc/stackinfo.h: Likewise.
60932 * sysdeps/x86_64/stackinfo.h: Likewise.
60933 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60934 PF_X for powerpc64. Retain PF_X for powerpc32.
60936 2010-12-19 Ulrich Drepper <drepper@gmail.com>
60938 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60940 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60941 GETDENTS_64BIT_ALIGNED.
60943 2010-12-14 Ulrich Drepper <dreper@gmail.com>
60945 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60947 2010-12-10 Andreas Schwab <schwab@redhat.com>
60949 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60952 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60953 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60955 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60956 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60958 2010-12-09 Ulrich Drepper <drepper@gmail.com>
60961 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60964 2010-12-09 Jakub Jelinek <jakub@redhat.com>
60966 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60968 2010-12-03 Ulrich Drepper <drepper@gmail.com>
60970 * po/it.po: Update from translation team.
60972 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
60974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60977 2010-11-30 Ulrich Drepper <drepper@gmail.com>
60979 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60981 2010-11-24 Andreas Schwab <schwab@redhat.com>
60983 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60985 (gaih_getanswer_slice): Likewise.
60987 2010-10-20 Jakub Jelinek <jakub@redhat.com>
60989 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60991 2010-05-31 Petr Baudis <pasky@suse.cz>
60994 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60995 silently even in the chroot mode.
60997 2010-11-22 Ulrich Drepper <drepper@gmail.com>
60999 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61000 last patch a bit. Pretty printing
61002 2010-05-31 Petr Baudis <pasky@suse.cz>
61005 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61006 initialization of skip_initgroups_dyn.
61008 2010-11-19 Ulrich Drepper <drepper@gmail.com>
61010 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61011 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61013 2010-11-16 Ulrich Drepper <drepper@gmail.com>
61015 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61017 2010-11-11 Andreas Schwab <schwab@redhat.com>
61019 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61020 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61021 (tst-fnmatch-ENV): Set MALLOC_TRACE.
61022 ($(objpfx)tst-fnmatch-mem): New rule.
61023 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61024 * posix/tst-fnmatch.c (main): Call mtrace.
61026 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
61028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61029 Support Intel processor model 6 and model 0x2c.
61031 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
61033 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61036 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
61039 * string/test-strncasecmp.c (check_result): New function.
61040 (do_one_test): Use it.
61041 (check1): New function.
61042 (test_main): Use it.
61043 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61044 Support strcasecmp and strncasecmp.
61046 2010-11-08 Ulrich Drepper <drepper@gmail.com>
61049 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61050 * sysdeps/x86_64/bits/byteswap.h: Likewise.
61052 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
61054 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61058 * sysdeps/x86_64/multiarch/bzero.S: New file.
61059 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61060 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61061 * sysdeps/x86_64/multiarch/memset.S: New file.
61062 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61064 Set bit_Prefer_SSE_for_memop for Intel processors.
61065 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61067 (index_Prefer_SSE_for_memop): Define.
61068 (HAS_PREFER_SSE_FOR_MEMOP): Define.
61070 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
61072 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61073 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61075 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
61078 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61079 (__x86_64_raw_data_cache_size_half): Likewise.
61080 (__x86_64_raw_shared_cache_size): Likewise.
61081 (__x86_64_raw_shared_cache_size_half): Likewise.
61083 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61084 (__x86_64_raw_data_cache_size_half): Likewise.
61085 (__x86_64_raw_shared_cache_size): Likewise.
61086 (__x86_64_raw_shared_cache_size_half): Likewise.
61087 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61088 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61089 and __x86_64_raw_shared_cache_size_half. Round
61090 __x86_64_data_cache_size_half, __x86_64_data_cache_size
61091 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61092 to multiple of 256 bytes.
61094 2010-11-03 Ulrich Drepper <drepper@gmail.com>
61097 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61098 of inacessible symlinks. Verify result of symlink before returning it.
61099 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61100 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61102 2010-10-28 Erich Ritz <erichritz@gmail.com>
61104 * math/math.h (isinf): Fix typo in comment.
61106 2010-11-01 Ulrich Drepper <drepper@gmail.com>
61108 * po/da.po: Update from translation team.
61110 2010-10-26 Ulrich Drepper <drepper@gmail.com>
61112 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61113 is added to the list.
61115 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61116 Ulrich Drepper <drepper@gmail.com>
61118 * elf/dl-object.c (_dl_new_object): Don't append the new object to
61119 the global list here. Move code to...
61120 (_dl_add_to_namespace_list): ...here. New function.
61121 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61122 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61123 * elf/dl-load.c (lose): Don't remove the element from the list.
61124 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61125 (_dl_map_object): Likewise.
61127 2010-10-25 Ulrich Drepper <drepper@gmail.com>
61130 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61131 into all bytes of SSE register.
61132 Patch by Richard Li <richardpku@gmail.com>.
61134 2010-10-24 Ulrich Drepper <drepper@gmail.com>
61137 * malloc/malloc.c (_int_free): Fill correct number of bytes when
61140 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
61142 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61143 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61144 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61145 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61150 2010-10-22 Andreas Schwab <schwab@redhat.com>
61152 * include/dlfcn.h (__RTLD_SECURE): Define.
61153 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
61154 mode & __RTLD_SECURE instead.
61155 (open_path): Rename preloaded parameter to secure.
61156 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61157 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61158 * elf/dl-deps.c (openaux): Likewise.
61159 * elf/rtld.c (struct map_args): Remove is_preloaded.
61160 (map_doit): Don't use it.
61161 (dl_main): Likewise.
61162 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61163 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61165 2010-09-09 Andreas Schwab <schwab@redhat.com>
61167 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61168 (sysd-rules-targets): Remove duplicates.
61169 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61170 rtld-%.$o dependency.
61172 2010-10-18 Andreas Schwab <schwab@redhat.com>
61174 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61175 _dl_map_object do it.
61177 2010-10-19 Ulrich Drepper <drepper@gmail.com>
61179 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61180 fast fma builtins, define the macros in the C99 standard.
61181 (FP_FAST_FMAF): Likewise.
61182 (FP_FAST_FMAL): Likewise.
61183 * sysdeps/x86_64/bits/mathdef.h: Likewise.
61185 * bits/mathdef.h: Update copyright year.
61186 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61188 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
61190 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61191 builtins, define the macros in the C99 standard.
61192 (FP_FAST_FMAF): Likewise.
61193 (FP_FAST_FMAL): Likewise.
61194 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61196 (FP_FAST_FMAF): Likewise.
61198 2010-10-15 Jakub Jelinek <jakub@redhat.com>
61201 * math/libm-test.inc (fma_test): Some new testcases.
61202 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61203 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61204 y and infinite z. Do multiplication by C already in long double.
61205 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61207 y and infinite z. Do bitwise or of inexact bit into u.d.
61208 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61209 * sysdeps/i386/fpu/s_fmaf.S: Removed.
61210 * sysdeps/i386/fpu/s_fma.S: Removed.
61211 * sysdeps/i386/fpu/s_fmal.S: Removed.
61213 2010-10-16 Jakub Jelinek <jakub@redhat.com>
61216 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61218 computation is not scheduled after fetestexcept. Fix value
61219 of minimum denormal long double.
61221 2010-10-14 Jakub Jelinek <jakub@redhat.com>
61224 * math/libm-test.inc (fma_test): Add some more tests.
61225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61228 2010-10-15 Andreas Schwab <schwab@redhat.com>
61230 * scripts/data/localplt-s390-linux-gnu.data: New file.
61231 * scripts/data/localplt-s390x-linux-gnu.data: New file.
61233 2010-10-13 Jakub Jelinek <jakub@redhat.com>
61236 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61237 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61239 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61241 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61243 if one of x and y is very large and the other is subnormal.
61244 * sysdeps/s390/fpu/s_fmaf.c: New file.
61245 * sysdeps/s390/fpu/s_fma.c: New file.
61246 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61247 * sysdeps/powerpc/fpu/s_fma.S: New file.
61248 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61249 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61250 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61252 2010-10-12 Jakub Jelinek <jakub@redhat.com>
61255 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61257 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61258 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61259 * sysdeps/i386/i686/multiarch/s_fma.c: Include
61260 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61261 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61262 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61263 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61265 2010-10-12 Ulrich Drepper <drepper@redhat.com>
61268 * posix/regcomp.c (parse_branch): One more memory leak plugged.
61269 * posix/bug-regex31.input: Add test case.
61271 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61273 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61274 * posix/bug-regex31.input: New file.
61277 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61278 (parse_sub_exp): Fix last change, use postorder.
61280 * posix/bug-regex31.c: New file.
61281 * posix/Makefile: Add rules to build and run bug-regex31.
61283 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61286 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61289 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61290 to have entries in sys_siglist.
61293 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61296 2010-10-07 Jakub Jelinek <jakub@redhat.com>
61299 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61300 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61301 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61302 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61303 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61304 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61305 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61306 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61307 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61308 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61309 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61310 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61311 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61312 * math/ftestexcept.c (fetestexcept): Likewise.
61313 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61314 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61315 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61316 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61317 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61318 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61319 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61321 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61324 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61327 2010-10-06 Ulrich Drepper <drepper@gmail.com>
61329 * string/bug-strstr1.c: New file.
61330 * string/Makefile: Add rules to build and run bug-strstr1.
61332 2010-10-05 Eric Blake <eblake@redhat.com>
61335 * string/str-two-way.h (two_way_long_needle): Always clear memory
61336 when skipping input due to the shift table.
61338 2010-10-03 Ulrich Drepper <drepper@gmail.com>
61341 * malloc/mcheck.c: Handle large requests.
61344 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61345 for strncmp and strncasecmp.
61346 * string/stratcliff.c: Add tests for strcmp and strncmp.
61347 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61349 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61351 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61354 2010-09-30 Andreas Jaeger <aj@suse.de>
61356 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61357 (CGROUP_SUPER_MAGIC): Define.
61358 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61359 Handle btrfs and cgroup file systems.
61360 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61363 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
61365 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61366 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61368 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61371 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61372 trying to locate the ELF header.
61374 2010-09-27 Andreas Schwab <schwab@redhat.com>
61377 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61378 Mask out sign-bit copies when constructing f_fsid.
61380 2010-09-24 Petr Baudis <pasky@suse.cz>
61382 * debug/stack_chk_fail_local.c: Add missing licence exception.
61383 * debug/warning-nop.c: Likewise.
61385 2010-09-15 Joseph Myers <joseph@codesourcery.com>
61387 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61388 implementing getdents64 using getdents syscall, set d_type if
61389 __ASSUME_GETDENTS32_D_TYPE.
61391 2010-09-16 Andreas Schwab <schwab@redhat.com>
61393 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61394 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61396 2010-09-21 Ulrich Drepper <drepper@redhat.com>
61399 * posix/unistd.h: Undo change of feature selection for ftruncate from
61402 2010-09-20 Ulrich Drepper <drepper@redhat.com>
61404 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61407 2010-09-20 Andreas Schwab <schwab@redhat.com>
61409 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61411 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61413 2010-09-14 Andreas Schwab <schwab@redhat.com>
61415 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61416 variables after CHECK_SP call.
61417 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61419 2010-09-13 Andreas Schwab <schwab@redhat.com>
61420 Ulrich Drepper <drepper@redhat.com>
61422 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61423 re-relocationg ld.so.
61424 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61425 _dl_init_paths call.
61426 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
61429 2010-09-14 Ulrich Drepper <drepper@redhat.com>
61431 * resolv/res_init.c (__res_vinit): Count the default server we added.
61433 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
61434 Ulrich Drepper <drepper@redhat.com>
61437 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61438 (____longjmp_chk): Use %ebx for saving value across system call.
61441 2010-09-06 Andreas Schwab <schwab@redhat.com>
61443 * manual/Makefile: Don't mix pattern rules with normal rules.
61445 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
61447 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61449 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61450 * libio/iofopncook.c (_IO_cookie_init): Likewise.
61451 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61452 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61453 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61456 2010-09-04 Ulrich Drepper <drepper@redhat.com>
61459 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61460 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61462 2010-09-02 Ulrich Drepper <drepper@redhat.com>
61464 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61465 * sysdeps/x86_64/addmul_1.S: Likewise.
61466 * sysdeps/x86_64/lshift.S: Likewise.
61467 * sysdeps/x86_64/mul_1.S: Likewise.
61468 * sysdeps/x86_64/rshift.S: Likewise.
61469 * sysdeps/x86_64/sub_n.S: Likewise.
61470 * sysdeps/x86_64/submul_1.S: Likewise.
61472 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
61474 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61475 Define __sched_param instead of SCHED_* and sched_param when
61476 <bits/sched.h> is included with __need_schedparam defined.
61477 * bits/sched.h [__need_schedparam]
61478 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61479 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61480 (__defined_schedparam): Define to 1.
61481 (__sched_param): New structure, identical to sched_param.
61482 (__need_schedparam): Undefine.
61484 2010-08-31 Mike Frysinger <vapier@gentoo.org>
61486 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61487 (epoll_create1): Declare.
61489 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61491 2010-08-31 Andreas Schwab <schwab@redhat.com>
61494 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61495 shifting retval into place.
61497 2010-09-01 Ulrich Drepper <drepper@redhat.com>
61499 * nis/rpcsvc/nis.h: Update copyright notice.
61500 * nis/rpcsvc/nis.x: Likewise.
61501 * nis/rpcsvc/nis_callback.h: Likewise.
61502 * nis/rpcsvc/nis_callback.x: Likewise.
61503 * nis/rpcsvc/nis_object.x: Likewise.
61504 * nis/rpcsvc/nis_tags.h: Likewise.
61505 * nis/rpcsvc/yp.h: Likewise.
61506 * nis/rpcsvc/yp.x: Likewise.
61507 * nis/rpcsvc/ypupd.h: Likewise.
61508 * nis/yp_xdr.c: Likewise.
61509 * nis/ypupdate_xdr.c: Likewise.
61511 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
61512 mainly the body of pmap_getport. Add parameters to specify timeouts.
61513 (pmap_getport): Use __libc_rpc_getport.
61514 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61515 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61516 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61518 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
61520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61523 2010-08-27 Roland McGrath <roland@redhat.com>
61525 * sysdeps/i386/i686/multiarch/Makefile
61526 (CFLAGS-varshift.c): New variable.
61528 2010-08-27 Ulrich Drepper <drepper@redhat.com>
61530 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61531 * sysdeps/i386/i686/multiarch/varshift.c: New file.
61533 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61535 * sysdeps/x86_64/strlen.S: Minimal code improvement.
61537 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
61539 * sysdeps/x86_64/strlen.S: Unroll the loop.
61540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61541 strlen-sse2 strlen-sse2-bsf.
61542 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61543 __strlen_no_bsf if bit_Slow_BSF is set.
61544 (__strlen_sse42): Removed.
61545 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61546 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61548 2010-08-25 Roland McGrath <roland@redhat.com>
61550 * sysdeps/x86_64/multiarch/varshift.S: File removed.
61551 * sysdeps/x86_64/multiarch/varshift.c: New file.
61552 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61553 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61554 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61555 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61557 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
61559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61560 strlen-sse2 strlen-sse2-bsf.
61561 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61562 __strlen_sse2_bsf if bit_Slow_BSF is unset.
61563 (__strlen_sse2): Removed.
61564 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61565 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61567 bit_Slow_BSF for Atom.
61568 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61569 (index_Slow_BSF): Define.
61570 (HAS_SLOW_BSF): Define.
61572 2010-08-25 Ulrich Drepper <drepper@redhat.com>
61575 * resolv/res_init.c (__res_vinit): When no server address at all
61576 is given default to loopback.
61578 2010-08-24 Roland McGrath <roland@redhat.com>
61580 * configure.in: Remove config-name.h generation.
61581 * configure: Regenerated.
61582 * config-name.in: File removed.
61583 * scripts/config-uname.sh: New file.
61584 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61585 ($(objdir)config-name.h): New target.
61587 * sunrpc/rpc_parse.h: Avoid nested comment.
61589 2010-08-24 Richard Henderson <rth@redhat.com>
61590 Ulrich Drepper <drepper@redhat.com>
61591 H.J. Lu <hongjiu.lu@intel.com>
61593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61595 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61596 Replace _mm_srli_si128 with __m128i_shift_right. Replace
61597 _mm_alignr_epi8 with _mm_loadu_si128.
61598 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61599 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61600 (__m128i_shift_right): Removed.
61601 * sysdeps/i386/i686/multiarch/varshift.h: New file.
61602 * sysdeps/i386/i686/multiarch/varshift.S: New file.
61603 * sysdeps/x86_64/multiarch/varshift.h: New file.
61604 * sysdeps/x86_64/multiarch/varshift.S: New file.
61606 2010-08-21 Mike Frysinger <vapier@gentoo.org>
61608 * configure.in: Move assembler checks to before sysdep dir checking.
61610 2010-08-20 Petr Baudis <pasky@suse.cz>
61612 * LICENSES: Sync the sunrpc license.
61614 2010-08-19 Ulrich Drepper <drepper@redhat.com>
61616 * sunrpc/auth_des.c: Update copyright notice once again.
61617 * sunrpc/auth_none.c: Likewise.
61618 * sunrpc/auth_unix.c: Likewise.
61619 * sunrpc/authdes_prot.c: Likewise.
61620 * sunrpc/authuxprot.c: Likewise.
61621 * sunrpc/bindrsvprt.c: Likewise.
61622 * sunrpc/clnt_gen.c: Likewise.
61623 * sunrpc/clnt_perr.c: Likewise.
61624 * sunrpc/clnt_raw.c: Likewise.
61625 * sunrpc/clnt_simp.c: Likewise.
61626 * sunrpc/clnt_tcp.c: Likewise.
61627 * sunrpc/clnt_udp.c: Likewise.
61628 * sunrpc/clnt_unix.c: Likewise.
61629 * sunrpc/des_crypt.c: Likewise.
61630 * sunrpc/des_soft.c: Likewise.
61631 * sunrpc/get_myaddr.c: Likewise.
61632 * sunrpc/getrpcport.c: Likewise.
61633 * sunrpc/key_call.c: Likewise.
61634 * sunrpc/key_prot.c: Likewise.
61635 * sunrpc/openchild.c: Likewise.
61636 * sunrpc/pm_getmaps.c: Likewise.
61637 * sunrpc/pm_getport.c: Likewise.
61638 * sunrpc/pmap_clnt.c: Likewise.
61639 * sunrpc/pmap_prot.c: Likewise.
61640 * sunrpc/pmap_prot2.c: Likewise.
61641 * sunrpc/pmap_rmt.c: Likewise.
61642 * sunrpc/rpc/auth.h: Likewise.
61643 * sunrpc/rpc/auth_unix.h: Likewise.
61644 * sunrpc/rpc/clnt.h: Likewise.
61645 * sunrpc/rpc/des_crypt.h: Likewise.
61646 * sunrpc/rpc/key_prot.h: Likewise.
61647 * sunrpc/rpc/netdb.h: Likewise.
61648 * sunrpc/rpc/pmap_clnt.h: Likewise.
61649 * sunrpc/rpc/pmap_prot.h: Likewise.
61650 * sunrpc/rpc/pmap_rmt.h: Likewise.
61651 * sunrpc/rpc/rpc.h: Likewise.
61652 * sunrpc/rpc/rpc_des.h: Likewise.
61653 * sunrpc/rpc/rpc_msg.h: Likewise.
61654 * sunrpc/rpc/svc.h: Likewise.
61655 * sunrpc/rpc/svc_auth.h: Likewise.
61656 * sunrpc/rpc/types.h: Likewise.
61657 * sunrpc/rpc/xdr.h: Likewise.
61658 * sunrpc/rpc_clntout.c: Likewise.
61659 * sunrpc/rpc_cmsg.c: Likewise.
61660 * sunrpc/rpc_common.c: Likewise.
61661 * sunrpc/rpc_cout.c: Likewise.
61662 * sunrpc/rpc_dtable.c: Likewise.
61663 * sunrpc/rpc_hout.c: Likewise.
61664 * sunrpc/rpc_main.c: Likewise.
61665 * sunrpc/rpc_parse.c: Likewise.
61666 * sunrpc/rpc_parse.h: Likewise.
61667 * sunrpc/rpc_prot.c: Likewise.
61668 * sunrpc/rpc_sample.c: Likewise.
61669 * sunrpc/rpc_scan.c: Likewise.
61670 * sunrpc/rpc_scan.h: Likewise.
61671 * sunrpc/rpc_svcout.c: Likewise.
61672 * sunrpc/rpc_tblout.c: Likewise.
61673 * sunrpc/rpc_util.c: Likewise.
61674 * sunrpc/rpc_util.h: Likewise.
61675 * sunrpc/rpcinfo.c: Likewise.
61676 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61677 * sunrpc/rpcsvc/key_prot.x: Likewise.
61678 * sunrpc/rpcsvc/klm_prot.x: Likewise.
61679 * sunrpc/rpcsvc/mount.x: Likewise.
61680 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61681 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61682 * sunrpc/rpcsvc/rex.x: Likewise.
61683 * sunrpc/rpcsvc/rstat.x: Likewise.
61684 * sunrpc/rpcsvc/rusers.x: Likewise.
61685 * sunrpc/rpcsvc/sm_inter.x: Likewise.
61686 * sunrpc/rpcsvc/spray.x: Likewise.
61687 * sunrpc/rpcsvc/yppasswd.x: Likewise.
61688 * sunrpc/rtime.c: Likewise.
61689 * sunrpc/svc.c: Likewise.
61690 * sunrpc/svc_auth.c: Likewise.
61691 * sunrpc/svc_authux.c: Likewise.
61692 * sunrpc/svc_raw.c: Likewise.
61693 * sunrpc/svc_run.c: Likewise.
61694 * sunrpc/svc_simple.c: Likewise.
61695 * sunrpc/svc_tcp.c: Likewise.
61696 * sunrpc/svc_udp.c: Likewise.
61697 * sunrpc/svc_unix.c: Likewise.
61698 * sunrpc/svcauth_des.c: Likewise.
61699 * sunrpc/xcrypt.c: Likewise.
61700 * sunrpc/xdr.c: Likewise.
61701 * sunrpc/xdr_array.c: Likewise.
61702 * sunrpc/xdr_float.c: Likewise.
61703 * sunrpc/xdr_mem.c: Likewise.
61704 * sunrpc/xdr_rec.c: Likewise.
61705 * sunrpc/xdr_ref.c: Likewise.
61706 * sunrpc/xdr_sizeof.c: Likewise.
61707 * sunrpc/xdr_stdio.c: Likewise.
61709 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61712 2010-08-19 Andreas Schwab <schwab@redhat.com>
61714 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61716 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
61718 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61719 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61720 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61721 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61722 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61723 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61724 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61725 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61726 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61727 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61728 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61729 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61730 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61731 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61733 2010-07-26 Anton Blanchard <anton@samba.org>
61735 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61736 * malloc/arena.c (heap_trim): Likewise.
61738 2010-08-16 Ulrich Drepper <drepper@redhat.com>
61740 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61742 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61743 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61745 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
61747 * sysdeps/i386/elf/Makefile: New file.
61749 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61751 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61752 from fanotify_init.
61753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61754 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61756 2010-08-15 Ulrich Drepper <drepper@redhat.com>
61758 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61760 * sysdeps/multiarch/strcmp.S: Likewise.
61762 2010-08-14 Ulrich Drepper <drepper@redhat.com>
61764 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61765 strncase_l-nonascii.
61766 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61767 Add strncase_l-ssse3.
61768 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61769 * sysdeps/x86_64/strcmp.S: Likewise.
61770 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61771 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61772 * sysdeps/x86_64/strncase.S: New file.
61773 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61774 * sysdeps/x86_64/strncase_l.S: New file.
61775 * string/Makefile (strop-tests): Add strncasecmp.
61776 * string/test-strncasecmp.c: New file.
61778 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61781 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61782 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61784 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61786 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61788 2010-08-12 Ulrich Drepper <drepper@redhat.com>
61790 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61791 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61792 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61794 2010-05-01 Alan Modra <amodra@gmail.com>
61796 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61797 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61798 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61799 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61800 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61801 tidying. Don't tail-call __sigjmp_save for static lib.
61802 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61804 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61805 (CALL_MCOUNT): Add eh info, and nop after bl.
61806 (TAIL_CALL_SYSCALL_ERROR): New macro.
61807 (PSEUDO_RET): Use it.
61808 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61809 Correct save location of integer regs and cr.
61810 (_dl_profile_resolve): Correct cr save location. Delete nops
61811 after bl when SHARED. Reduce cfi size a little by better
61812 placement of cfi directives.
61813 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61814 make a stack frame. Instead use parm save area as a temp.
61815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61816 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
61817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61818 Don't make a stack frame for parent, use parm save area.
61819 Increase child stack frame to 112 bytes. Don't save unused reg,
61820 and adjust reg usage. Set up cfi on error recovery and
61821 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61823 (__makecontext): Add dummy nop after jump to exit.
61824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61825 Use correct parm save area and cr save, reduce stack frame.
61826 Correct cfi for possible PSEUDO_RET frame setup.
61827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61828 Branch to local label emitted by PSEUDO_RET rather than
61831 2010-08-12 Andreas Schwab <schwab@redhat.com>
61834 * locale/programs/locale.c (print_assignment): New function.
61835 (show_locale_vars): Use it.
61837 2010-08-11 Ulrich Drepper <drepper@redhat.com>
61839 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61841 (struct statfs64): Likewise.
61842 (_STATFS_F_FLAGS): Define.
61843 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61844 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61845 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61846 (ST_VALID): Define locally.
61847 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61848 __statvfs_getflags, use the provided value.
61849 * sysdeps/unix/sysv/linux/kernel-features.h: Define
61850 __ASSUME_STATFS_F_FLAGS.
61852 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61854 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61855 Add sys/fanotify.h.
61856 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61857 fanotify_mask for GLIBC_2.13.
61858 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61859 fanotify_init and fanotify_mark.
61860 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61861 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61863 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61865 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61866 prlimit64 for GLIBC_2.13.
61867 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61869 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61872 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61873 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61874 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61875 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
61877 * sysdeps/unix/sysv/linux/prlimit.c: New file.
61880 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61881 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61883 * nss/Makefile: Add rules to build and run tst-nss-test1.
61884 * shlib-versions: Add entry for libnss_test1.
61885 * nss/nss_test1.c: New file.
61886 * nss/tst-nss-test1.c: New file.
61888 * nss/nsswitch.c (__nss_database_custom): Define new variable.
61889 (__nss_configure_lookup): Set appropriate entry in
61890 __nss_configure_lookup to true.
61891 * nss/nsswitch.h: Define enum with indeces of databases in
61892 databases and __nss_database_custom arrays. Declare
61893 __nss_database_custom.
61894 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61895 to avoid using nscd when custom rules are installed.
61896 * nss/getXXbyYY_r.c: Likewise.
61897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61899 * nss/nss_files/files-parse.c: Whitespace fixes.
61901 2010-08-09 Ulrich Drepper <drepper@redhat.com>
61904 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61905 * posix/fnmatch_loop.c: Likewise.
61907 2010-07-17 Andi Kleen <ak@linux.intel.com>
61909 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61910 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61911 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61912 * Versions.def [GLIBC_2.13]: Add.
61914 2010-08-06 Ulrich Drepper <drepper@redhat.com>
61916 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61917 Also fail if tpwd after pwuid call is NULL.
61919 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
61921 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61922 when converting to ms.
61924 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61926 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61927 EOPNOTSUPP errors with ENOTTY.
61928 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61929 EOPNOTSUPP errors with ENOTTY.
61931 2010-07-31 Ulrich Drepper <drepper@redhat.com>
61933 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61934 Add strcasecmp_l-ssse3.
61935 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61937 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61938 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61939 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61941 2010-07-30 Ulrich Drepper <drepper@redhat.com>
61943 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61945 * string/Makefile (strop-tests): Add strcasecmp.
61946 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61947 strcasecmp_l-nonascii.
61948 (gen-as-const-headers): Add locale-defines.sym.
61949 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61950 * sysdeps/x86_64/strcasecmp.S: New file.
61951 * sysdeps/x86_64/strcasecmp_l.S: New file.
61952 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61953 * sysdeps/x86_64/locale-defines.sym: New file.
61954 * string/test-strcasecmp.c: New file.
61956 * string/test-strcasestr.c: Test both ends of the range of characters.
61957 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61959 2010-07-29 Roland McGrath <roland@redhat.com>
61962 * manual/locale.texi (Yes-or-No Questions): Fix example code.
61964 2010-07-27 Ulrich Drepper <drepper@redhat.com>
61966 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61969 2010-07-27 Andreas Schwab <schwab@redhat.com>
61971 * manual/memory.texi (Malloc Tunable Parameters): Document
61974 2010-07-26 Roland McGrath <roland@redhat.com>
61977 * configure.in (-fgnu89-inline check): Set and substitute
61978 gnu89_inline, not libc_cv_gnu89_inline.
61979 * configure: Regenerated.
61980 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61982 2010-07-26 Ulrich Drepper <drepper@redhat.com>
61984 * string/test-strnlen.c: New file.
61985 * string/Makefile (strop-tests): Add strnlen.
61986 * string/tester.c (test_strnlen): Add a few more test cases.
61987 * string/tst-strlen.c: Better error reporting.
61989 * sysdeps/x86_64/strnlen.S: New file.
61991 2010-07-24 Ulrich Drepper <drepper@redhat.com>
61993 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61994 lower-latency instructions.
61996 2010-07-23 Ulrich Drepper <drepper@redhat.com>
61998 * string/test-strcasestr.c: New file.
61999 * string/test-strstr.c: New file.
62000 * string/Makefile (strop-tests): Add strstr and strcasestr.
62001 * string/str-two-way.h: Don't undefine MAX.
62002 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62004 2010-07-21 Andreas Schwab <schwab@redhat.com>
62006 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62007 strcasestr-nonascii.
62008 (CFLAGS-strcasestr-nonascii.c): Define.
62009 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62010 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62011 Remove unused attribute.
62013 2010-07-20 Roland McGrath <roland@redhat.com>
62015 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62016 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
62017 ld.so.cache was broken. With it, there is no way to disable dsocaps
62018 like LD_HWCAP_MASK can disable hwcaps.
62020 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62022 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62024 2010-07-16 Ulrich Drepper <drepper@redhat.com>
62026 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62027 call in strcasestr.
62028 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62029 __strcasestr_sse42_nonascii.
62030 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62031 strcasestr-nonascii.c.
62032 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62034 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
62036 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62037 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62038 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62039 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62041 2010-07-09 Ulrich Drepper <drepper@redhat.com>
62043 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62046 2010-07-06 Andreas Schwab <schwab@redhat.com>
62049 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62052 2010-07-06 Ulrich Drepper <drepper@redhat.com>
62054 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62055 _PC_PIPE_BUF using F_GETPIPE_SZ.
62057 2010-07-05 Roland McGrath <roland@redhat.com>
62059 * manual/arith.texi (Rounding Functions): Fix rint description
62060 implicit in round description.
62062 2010-07-02 Ulrich Drepper <drepper@redhat.com>
62064 * elf/Makefile: Fix linking for a few tests to make recent linker
62067 2010-06-30 Andreas Schwab <schwab@redhat.com>
62069 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62070 $(common-objpfx)libc_nonshared.a.
62072 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
62074 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62075 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62076 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62077 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62078 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62079 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62080 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62081 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62096 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62097 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62098 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62099 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62100 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62101 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62102 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62103 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62104 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62105 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62106 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62107 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62123 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
62125 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62126 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
62127 * string/memmove.c (memmove): Renamed to ...
62128 (MEMMOVE): ...this. Default to memmove.
62129 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62130 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62133 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62134 mempcpy-ssse3-back memmove-ssse3-back.
62135 * sysdeps/x86_64/multiarch/bcopy.S: New file .
62136 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62137 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62138 * sysdeps/x86_64/multiarch/memcpy.S: New file.
62139 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62140 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62141 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62142 * sysdeps/x86_64/multiarch/memmove.c: New file.
62143 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62144 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62145 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62146 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62147 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62148 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62150 (index_Fast_Copy_Backward): Define.
62151 (HAS_ARCH_FEATURE): Define.
62152 (HAS_FAST_REP_STRING): Define.
62153 (HAS_FAST_COPY_BACKWARD): Define.
62155 2010-06-21 Andreas Schwab <schwab@redhat.com>
62157 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62158 Restore proper fallback handling.
62160 2010-06-19 Ulrich Drepper <drepper@redhat.com>
62163 * posix/group_member.c (__group_member): Correct checking loop.
62165 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62166 OOM in getpwuid_r correctly. Return error number when the caller
62167 should return, otherwise -1.
62168 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62169 call returning > 0 value.
62170 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62172 2010-06-07 Andreas Schwab <schwab@redhat.com>
62174 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62175 libc_nonshared.a from targets in modules-names.
62177 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
62179 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62182 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
62184 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62185 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62186 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62187 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62189 2010-06-02 Andreas Schwab <schwab@redhat.com>
62191 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62193 2010-06-14 Ulrich Drepper <drepper@redhat.com>
62195 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62197 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62198 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62201 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62202 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62204 2010-06-14 Roland McGrath <roland@redhat.com>
62206 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62208 2010-06-07 Jakub Jelinek <jakub@redhat.com>
62210 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62211 __REDIRECT followed by __THROW.
62212 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62213 * posix/getopt.h (getopt): Likewise.
62215 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62217 * hurd/lookup-at.c (__file_name_lookup_at): Accept
62218 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
62219 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62221 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62222 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62224 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
62226 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62228 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
62231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62232 Properly check family and model.
62234 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
62236 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62238 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
62240 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62242 2010-05-21 Ulrich Drepper <drepper@redhat.com>
62244 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62247 2010-05-19 Andreas Schwab <schwab@redhat.com>
62249 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62252 2010-05-21 Andreas Schwab <schwab@redhat.com>
62254 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62255 and internal_recvmmsg.
62256 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62257 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62258 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62259 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62261 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62262 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62263 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62265 2010-05-20 Andreas Schwab <schwab@redhat.com>
62267 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62269 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
62271 POWER7 optimizations.
62272 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62273 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62275 2010-05-19 Ulrich Drepper <drepper@redhat.com>
62277 * version.h: Update for 2.13 development version.
62279 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
62281 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62282 exceptions. Return 0.
62284 2010-05-07 Roland McGrath <roland@redhat.com>
62286 * elf/ldconfig.c (main): Add a const.
62288 2010-05-06 Ulrich Drepper <drepper@redhat.com>
62290 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62291 (args_options): Add no-idn option.
62292 (ahosts_keys_int): Add idn_flags to ai_flags.
62293 (parse_option): Handle 'i' option to clear idn_flags.
62295 * malloc/malloc.c (_int_free): Possible race in the most recently
62296 added check. Only act on the data if no current modification
62299 See ChangeLog.17 for earlier changes.